start-sanitize-d10v
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 14f16b5cd1a2c3da5ce271bb8caa652f0d8b4a74..78529f8b7c98de44d6597ecb7a6785e166190748 100644 (file)
@@ -1,3 +1,846 @@
+start-sanitize-d10v
+       Wed Jul 17 14:51:52 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * Makefile.in (ALL_MACHINES): Add cpu-d10v.o
+       (BFD32_BACKENDS) Add elf32-d10v.o
+       * archures.c: Add bfd_d10v_arch.
+       * bfd-in2.h: Add bfd_d10v_arch.
+       * config.bfd (d10v-*-*): New target.
+       * configure: (bfd_elf32_d10v_vec) New vector.
+       * configure.in: (bfd_elf32_d10v_vec) New vector.
+       * cpu-d10v.c: New file.
+       * elf.c (prep_headers): Added case bfd_arch_d10v.
+       * elf32-d10v.c: New file.
+       * libbfd.h: Rebuild.
+       * reloc.c (BFD_RELOC_D10V_10_PCREL_R, BFD_RELOC_D10V_10_PCREL_L, BFD_RELOC_D10V_18,
+         BFD_RELOC_D10V_18_PCREL): Define.
+       * targets.c (bfd_elf32_d10v_vec): New vector.
+end-sanitize-d10v
+       
+Wed Jul 17 10:58:55 1996  Kim Knuttila  <krk@cygnus.com>
+
+       * coff-ppc.c (coff_ppc_relocate_section): Removed bogus fprintf
+
+Tue Jul 16 23:49:02 1996  Stu Grossman  (grossman@critters.cygnus.com)
+
+       * archures.c bfd-in2.h:  Add bfd_mach_i386_i386 and
+       bfd_mach_i386_i8086 machine types.
+
+Wed Jul 10 12:42:56 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ecoff.c (_bfd_ecoff_new_section_hook): Set SEC_CODE for _INIT
+       and _FINI sections.
+
+Wed Jul 10 11:18:21 1996  Richard Henderson  <rth@tamu.edu>
+
+       * coffcode.h (coff_set_section_contents): A/UX does not require
+       special handling of the _LIB section.
+
+Tue Jul  9 15:52:20 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * coff-h8300.c (h8300_reloc16_extra_cases): Use the correct
+       value for R_RELBYTE.
+
+       * reloc16.c (bfd_coff_reloc16_relax_section): Only "shrinks"
+       array if one was allocated.
+
+Tue Jul  9 12:21:54 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       From Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>:
+       * elf32-mips.c (struct mips_elf_link_hash_table): Add new fields
+       use_rld_obj_head and rld_value.
+       (mips_elf_link_hash_table_create): Initialize new fields.
+       (mips_elf_add_symbol_hook): Mark __rld_obj_head symbol as
+       dynamic.
+       (mips_elf_create_dynamic_sections): Create .rld_map section.  If
+       __rld_obj_head symbol not seen, create an __rld_map symbol.
+       (mips_elf_size_dynamic_sections): Make space in .rld_map section.
+       Create a DT_MIPS_RLD_MAP entry rather than a DT_DEBUG entry.
+       (mips_elf_finish_dynamic_symbol): Save value of __rld_map or
+       __rld_obj_head symbol.
+       (mips_elf_finish_dynamic_sections): Handle DT_MIPS_RLD_MAP.
+
+Mon Jul  8 16:18:03 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf32-mips.c (mips_reloc_map): Remove BFD_RELOC_32_PCREL entry.
+
+       * elf32-ppc.c (ppc_elf_howto_raw): For R_PPC_ADDR16_HA, use
+       ppc_elf_addr16_ha_reloc.
+       (ppc_elf_addr16_ha_reloc): New static function.
+
+       * coff-mips.c (struct mips_hi): Define.
+       (mips_refhi_list): New static variable.
+       (mips_refhi_addr, mips_refhi_addend): Remove.
+       (mips_refhi_reloc): Maintain a list of unmatched REFHI relocs.
+       (mips_reflo_reloc): Process mips_refhi_list.
+       (mips_relhi_list): New static variable.
+       (mips_relhi_addr, mips_relhi_addend): Remove.
+       (mips_relhi_reloc): Maintain a list of unmatched RELHI relocs.
+       (mips_rello_reloc): Process mips_relhi_list.
+       (mips_relocate_section): Permit an arbitrary number of REFHI or
+       RELHI relocs before the associated REFLO or RELLO reloc.
+
+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.
+
+Fri Jun 21 12:35:27 1996  Richard Henderson  <rth@tamu.edu>
+
+       * elf64-alpha.c: New file.
+       * config.bfd (alpha-*-linuxecoff*): New target.
+       (alpha-*-linux*, alpha-*-elf*): New targets.
+       * configure.in (bfd_elf64_alpha_vec): New vector.
+       * configure: Rebuild.
+       * targets.c (bfd_elf64_alpha_vec): Declare.
+       (bfd_target_vector): Add bfd_elf64_alpha_vec if BFD64.
+       * reloc.c (BFD_RELOC_ALPHA_GPDISP): Define.
+       * bfd-in2.h, libbfd.h: Rebuild.
+       * Makefile.in: Rebuild dependencies.
+       (BFD64_BACKENDS): Add elf64-alpha.o.
+       (BFD64_BACKENDS_CFILES): Add elf64-alpha.c.
+
+Thu Jun 20 18:14:25 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ecoff.c (ecoff_armap_hash): If hlog is 0, just return 0, rather
+       than relying on a right shift of 32.
+
+Thu Jun 20 11:00:57 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * coffcode.h (coff_set_alignment_hook): Change COFF_IMAGE_WITH_PE
+       ifdef to COFF_WITH_PE.
+       (coff_compute_section_file_positions): Likewise.
+       (coff_write_object_contents): Likewise.  Delete COFF_OBJ_WITH_PE.
+       * pe-{arm,i386,ppc}.c (COFF_OBJ_WITH_PE): Delete.
+       * peicode.h (pe_bfd_copy_private_bfd_data): Delete ifdef
+       COFF_IMAGE_WITH_PE, always include.
+
+       * peicode.h (coff_swap_scnhdr_out): ".drectve" doesn't have trailing 0.
+
+Wed Jun 19 11:37:52 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf.c (map_sections_to_segments): Fix up the test for -Ttext to
+       approximate the correct answer if SIZEOF_HEADERS was not used.
+
+       * binary.c (binary_set_section_contents): Set section file
+       position based on LMA rather than VMA.
+
+Wed Jun 19 11:19:25 1996  Manfred Hollstein KS/EIC5 60/3/142 #40283  <manfred@lts.sel.alcatel.de>
+
+       * linker.c (_bfd_generic_link_output_symbols): Don't output any
+       symbols if info->strip == strip_all.
+
+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.
+       
+       * archures.c (bfd_mach_h8300s): Add.
+       * bfd-in2.h: Rebuilt.
+       * coff-h8300.c (funcvec_hash_newfunc): Handle H8/S too.
+       (BADMAG): Likewise.
+       (h8300_reloc16_estimate): Likewise.
+       (h8300_reloc16_extra_cases): Likewise.
+       (h8300_bfd_link_add_symbols): Likewise.
+       * coffcode.h (coff_set_arch_mach_hook): Likewise.
+       (coff_set_flags): Likewise.
+       * cpu-h8300.c (h8300_scan): Likewise.
+       Add H8/S to bfd_h8300_arch list.
+
+Tue Jun 18 14:42:58 1996  Klaus Kaempf  <kkaempf@progis.de>
+
+       Added support for Alpha OpenVMS:
+       * evax.h, evax-alpha.c, evax-egsd.c, evax-emh.c: New files.
+       * evax-etir.c, evax-misc.c, hosts/alphavms.h: New files.
+       * config.h-vms, makefile.vms: New files.
+       * config.bfd (alpha-*-*vms*): New target.
+       * configure.in (evax_alpha_vec): New target vector.
+       * configure: Rebuild.
+       * reloc.c (BFD_RELOC_SWREL32, BFD_RELOC_SWREL64): Define.
+       (BFD_RELOC_ALPHA_LINKAGE, BFD_RELOC_ALPHA_BASEREG): Define.
+       * targets.c (bfd_target_evax_flavour): Define.
+       (evax_alpha_vec): Declare.
+       (bfd_target_vector): Add ecoffalpha_little_vec and evax_alpha_vec
+       if BFD64 is defined.
+       * bfd-in2.h, libbfd.h: Rebuild.
+       * Makefile.in: Rebuild dependencies.
+       (BFD64_BACKENDS): Add evax-alpha.o, evax-egsd.o, evax-etir.o,
+       evax-emh.o, and evax-misc.o.
+       (BFD64_BACKENDS_CFILES): Add evax-alpha.c, evax-egsd.c,
+       evax-etir.c, evax-emh.c, and evax-misc.c.
+       (HFILES): Add evax.h.
+
+Tue Jun 18 13:54:18 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * coff-h8300.c (h8300_reloc16_extra_cases): Make name a const
+       pointer.
+       (h8300_bfd_link_add_symbols): Likewise.
+
+Mon Jun 17 10:06:50 1996  Jeffrey A. Law  <law@rtl.cygnus.com>
+
+       * som.h (R_HPPA_BEGIN_TRY, R_HPPA_END_TRY): Define.
+       * som.c (som_write_fixups): Handle R_BEGIN_TRY and R_END_TRY.
+
+Mon Jun 17 12:49:11 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf32-mips.c (mips_elf_relocate_section): Don't create a reloc
+       for R_MIPS_REL32 and R_MIPS_32 relocs if no dynamic sections were
+       created.
+       (mips_elf_check_relocs): Only create .rel.dyn for R_MIPS_REL32 and
+       R_MIPS_32 relocs if creating a shared library.
+
+Thu Jun 13 20:14:51 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * peicode.h (add_data_entry): Use pei_section_data rather than
+       _cooked_size.  Corresponds to May 13 change in coffcode.h.
+
+Thu Jun 13 10:23:40 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * cofflink.c (_bfd_coff_final_link): Handle long section names.
+       * coffcode.h (coff_write_object_contents): If there are long
+       section names, always set the f_symptr field, even if there are no
+       symbols.
+       * peicode.h (coff_swap_filehdr_in): Don't clear the f_symptr field
+       if there are no symbols.
+
+       * coffgen.c (make_a_section_from_file): Check return value of
+       _bfd_coff_read_string_table.
+       (coff_real_object_p): Check return value of
+       make_a_section_from_file.
+       (_bfd_coff_read_string_table): Check that there are some symbols
+       before trying to read the string table size.
+
+Wed Jun 12 11:16:37 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * xcofflink.c (xcoff_link_add_symbols): When considering whether
+       to replace a symbol in a dynamic object with a symbol from another
+       dynamic object, do the replacement if the existing symbol is
+       global linkage code.
+
+       * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Check explicitly
+       for _ptrgl, and treat it as global linkage code.
+
+       * aoutx.h (NAME(aout,find_nearest_line)): Notice if we find a
+       filename or N_SO symbol past the offset, and use it to indicate
+       that there is no line number or function when appropriate.
+
+Tue Jun 11 15:24:48 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * xcofflink.c (xcoff_build_ldsyms): Set XCOFF_DEF_REGULAR for a
+       common symbol defined by the linker.  Don't export function code
+       even if export_defineds is set.
+
+Mon Jun 10 11:57:27 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * coff-h8300.c (howto_table): Add new entries for R_BCC_INV
+       and R_JMP_DEL.
+       (rtype2howto): Handle R_BCC_INV and R_JMP_DEL.
+       (h8300_symbol_address_p): New function.
+       (h8300_reloc16_estimate): Eliminate jumps made unnecessary by
+       relaxing.
+
+Sun Jun  9 16:30:20 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * coff-h8300.c (h8300_reloc16_estimate): Fix many minor spacing
+       problems.
+       (h8300_reloc16_estimate, cases R_JMP1, R_JMP2): Adjust "dot"
+       correctly for the two variants.  Allow relaxing if the target
+       is 128 bytes away since after relaxation it'll be 126 bytes away.
+       (h8300_reloc16_estimate, case R_PCRWORD): Correctly adjust
+       "dot" and "value".  Allow relaxing if the target is 128 bytes
+       away since after relaxation it'll be 126 bytes away.
+       * reloc16.c (bfd_coff_reloc16_relax_section): Keep relaxing
+       the given section until nothing changes.
+
+Thu Jun  6 15:24:45 1996  Richard Henderson  <rth@tamu.edu>
+
+       * ecoff.c (_bfd_ecoff_new_section_hook): Remove the _PDATA
+       alignment hack--we can get the lnnoptr info another way without
+       suddenly increasing the alignment requirements.  Set the flags for
+       the _PDATA section.
+       (ecoff_compute_section_file_positions): Do so.
+
+Thu Jun  6 11:24:37 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ieee.c (ieee_write_object_contents): Put a timestamp in the file
+       to keep the HP emulator database happy.
+
+       * config.bfd: Recognize powerpc-*-linux* and powerpcle-*-linux*.
+       From Kevin Buettner <kev@primenet.com>.
+
+Wed Jun  5 15:16:04 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * aoutx.h (translate_to_native_sym_flags): Don't try to print the
+       name of a NULL section.
+
+Tue Jun  4 18:53:58 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * linker.c (_bfd_generic_link_add_one_symbol): If notice_all is
+       set, always call the notice callback.
+
+       * VERSION: Increment for bfdlink.h change.
+
+Mon Jun  3 11:01:53 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * coff-sh.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set to 4.
+       (sh_relax_delete_bytes): Correct handling of differently sized
+       trailing alignment reloc.
+
+       * bfd-in.h: Use #error if BFD_HOST_64_BIT can not be defined.
+       * bfd-in2.h: Rebuild.
+       * configure.in: Warn if there is no known 64 bit type.
+       * configure: Rebuild.
+
+       * Makefile.in: Rebuild dependencies.
+       (BFD32_BACKENDS): Add ppcboot.o.
+       (BFD32_BACKENDS_CFILES): Add ppcboot.c.
+
+       * elf32-mips.c (mips_elf_size_dynamic_sections): Initialize c.
+       From Per Fogelstrom <per.fogelstrom@mailbox200.swipnet.se>.
+
+Sat Jun  1 21:49:58 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf64-mips.c (bfd_mips_elf64_swap_reginfo_in)
+       (bfd_mips_elf64_swap_reginfo_out): Move from here...
+       * elf32-mips.c (bfd_mips_elf64_swap_reginfo_in)
+       (bfd_mips_elf64_swap_reginfo_out): ...to here.
+
+Fri May 31 13:51:28 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf64-mips.c: Improve reloc special_functions and handling of
+       SHT_MIPS_OPTIONS section.
+       * elf32-mips.c (_bfd_mips_elf_hi16_reloc): Rename from
+       mips_elf_hi16_reloc and make globally visible.
+       (_bfd_mips_elf_lo16_reloc): Rename from mips_elf_lo16_reloc and
+       make globally visible.
+       (_bfd_mips_elf_got16_reloc): Rename from mips_elf_got16_reloc and
+       make globally visible.
+       (_bfd_mips_elf_gprel16_reloc): Rename from mips_elf_gprel16_reloc
+       and make globally visible.
+       (gprel16_with_gp): Check howto->src_mask before using value in
+       insn.
+       (_bfd_mips_elf_gprel32_reloc): Rename from mips_elf_gprel32_reloc
+       and make globally visible.
+       (gprel32_with_gp): Check howto->src_mask before fetching value.
+       (bfd_mips_elf_swap_options_in): New function.
+       (bfd_mips_elf_swap_options_out): New function.
+       (_bfd_mips_elf_set_private_flags): Rename from
+       mips_elf_set_private_flags and make globally visible.
+       (_bfd_mips_elf_copy_private_bfd_data): Rename from
+       mips_elf_copy_private_bfd_data and make globally visible.
+       (_bfd_mips_elf_merge_private_bfd_data): Rename from
+       mips_elf_merge_private_bfd_data and make globally visible.
+       (_bfd_mips_elf_section_from_shdr): Accept .MIPS.options as a name
+       for a SHT_MIPS_OPTIONS section.
+       (mips_elf32_section_from_shdr): Handle SHT_MIPS_OPTIONS section.
+       (_bfd_mips_elf_fake_sections): Consider .MIPS.options to be the
+       name of a SHT_MIPS_OPTIONS section.
+       (_bfd_mips_elf_set_section_contents): New function.
+       (mips_elf32_section_processing): Set the GP value in a
+       SHT_MIPS_OPTIONS section.
+       (_bfd_mips_elf_find_nearest_line): Rename from
+       mips_elf_find_nearest_line and make globally visible.
+       (bfd_elf32_set_section_contents): Define.
+       * elf-bfd.h (_bfd_mips_elf_hi16_reloc): Declare.
+       (_bfd_mips_elf_lo16_reloc): Declare.
+       (_bfd_mips_elf_gprel16_reloc): Declare.
+       (_bfd_mips_elf_got16_reloc): Declare.
+       (_bfd_mips_elf_gprel32_reloc): Declare.
+       (_bfd_mips_elf_set_private_flags): Declare.
+       (_bfd_mips_elf_copy_private_bfd_data): Declare.
+       (_bfd_mips_elf_merge_private_bfd_data): Declare.
+       (_bfd_mips_elf_find_nearest_line): Declare.
+       (_bfd_mips_elf_set_section_contents): Declare.
+
+       * elf32-hppa.c (elf32_hppa_info_to_howto): Rename from
+       elf_info_to_howto.
+       (elf_info_to_howto): Define.
+       * elf32-sparc.c (elf32_sparc_info_to_howto): Rename from
+       elf_info_to_howto.
+       (elf_info_to_howto): Define.
+       * elf64-sparc.c (sparc64_elf_info_to_howto): Rename from
+       elf_info_to_howto.
+       (elf_info_to_howto): Define.
+
+       * coff-w65.c (h8300_reloc16_estimate): Rename R_MOVB[12] to
+       R_MOV16B[12], to match change in coff/internal.h.
+
+Thu May 30 12:38:49 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf64-mips.c: Extensive additions to provide better support for
+       writing files and for gas.
+       * elf32-mips.c (_bfd_mips_elf_object_p): New function, broken out
+       of mips_elf_object_p.
+       (mips_elf32_object_p): Rename from mips_elf_object_p; call
+       _bfd_mips_elf_object_p.
+       (_bfd_mips_elf_final_write_processing): Rename from
+       mips_elf_final_write_processing and make globally visible.
+       (_bfd_mips_elf_fake_sections): Rename from
+       mips_elf_fake_sections and make globally visible.
+       (_bfd_mips_elf_section_from_bfd_section): Rename from
+       mips_elf_section_from_bfd_section and make globally visible.
+       (_bfd_mips_elf_section_processing): New function, broken out of
+       mips_elf_section_processing.
+       (mips_elf32_section_processing): Rename from
+       mips_elf_section_processing; call
+       _bfd_mips_elf_section_processing.
+       (_bfd_mips_elf_symbol_processing): Rename from
+       mips_elf_symbol_processing and make globally visible.
+       (_bfd_mips_elf_read_ecoff_info): Rename from
+       mips_elf_read_ecoff_info and make globally visible.
+       (mips_elf32_ecoff_debug_swap): Rename from
+       mips_elf_ecoff_debug_swap.
+       * elf.c (_bfd_elf_symbol_from_bfd_symbol): Use asymbol rather than
+       struct symbol_cache_entry.
+       (_bfd_elf_validate_reloc): New function, moved in from
+       elfcode.h:validate_reloc.
+       * elfcode.h (validate_reloc): Remove; moved into elf.c and renamed
+       to _bfd_elf_validate_reloc.  Change all callers.
+       * elf-bfd.h (bfd_section_from_shdr): Declare.
+       (_bfd_elf_symbol_from_bfd_symbol): Declare.
+       (_bfd_elf_validate_reloc): Declare.
+       (_bfd_mips_elf_object_p): Declare.
+       (_bfd_mips_elf_fake_sections): Declare.
+       (_bfd_mips_elf_section_from_bfd_section): Declare.
+       (_bfd_mips_elf_section_processing): Declare.
+       (_bfd_mips_elf_symbol_processing): Declare.
+       (_bfd_mips_elf_read_ecoff_info): Declare.
+       (_bfd_mips_elf_final_write_processing): Declare.
+       * elfxx-target.h (bfd_elfNN_get_reloc_upper_bound): Don't define
+       if already defined.
+
+       * elf32-mips.c (mips_elf_object_p): Handle E_MIPS_ARCH_4.
+       (mips_elf_final_write_processing): Likewise.
+
+Wed May 29 16:15:29 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       64-bit MIPS ELF ABI objdump support:
+       * elf64-mips.c: New file.
+       * Makefile.in: Rebuild dependencies.
+       (BFD64_BACKENDS): Add elf64-mips.o.
+       (BFD64_BACKENDS_CFILES): Add elf64-mips.c.
+       * config.bfd (mips*el-*-elf*) Add bfd_elf64_bigmips_vec and
+       bfd_elf64_littlemips_vec to targ_selvecs.
+       (mips*-*-elf*): Likewise.
+       * confingure.in: Add bfd_elf64_bigmips_vec and
+       bfd_elf64_littlemips_vec to vector switch.
+       * configure: Rebuild.
+       * elf32-mips.c (_bfd_mips_elf_section_from_shdr): New function,
+       broken out of mips_elf_section_from_shdr.
+       (mips_elf32_section_from_shdr): Rename from
+       mips_elf_section_from_shdr.  Call new function.
+       (elf_backend_section_from_shdr): Update name of renamed function.
+       * elf-bfd.h (struct elf_size_info): Change second parameter of
+       write_out_phdrs to be const.  Likewise for second parameter of
+       swap_symbol_out.
+       (struct bfd_elf_section_data): Add rel_hdr2 field.
+       (bfd_elf32_swap_symbol_in): Change second parameter to be const.
+       (bfd_elf32_swap_symbol_out): Likewise.
+       (bfd_elf32_swap_reloc_in): Likewise.
+       (bfd_elf32_swap_reloc_out): Likewise.
+       (bfd_elf32_swap_reloca_in): Likewise.
+       (bfd_elf32_swap_reloca_out): Likewise.
+       (bfd_elf32_swap_phdr_in): Likewise.
+       (bfd_elf32_swap_phdr_out): Likewise.
+       (bfd_elf32_swap_dyn_in): Likewise.
+       (bfd_elf32_swap_dyn_out): Likewise.
+       (bfd_elf32_slurp_symbol_table): Declare.
+       (bfd_elf32_write_shdrs_and_ehdr): Declare.
+       (bfd_elf32_write_out_phdrs): Declare.
+       (bfd_elf64_swap_symbol_in): Change second parameter to be const.
+       (bfd_elf64_swap_symbol_out): Likewise.
+       (bfd_elf64_swap_reloc_in): Likewise.
+       (bfd_elf64_swap_reloc_out): Likewise.
+       (bfd_elf64_swap_reloca_in): Likewise.
+       (bfd_elf64_swap_reloca_out): Likewise.
+       (bfd_elf64_swap_phdr_in): Likewise.
+       (bfd_elf64_swap_phdr_out): Likewise.
+       (bfd_elf64_swap_dyn_in): Likewise.
+       (bfd_elf64_swap_dyn_out): Likewise.
+       (bfd_elf64_slurp_symbol_table): Declare.
+       (bfd_elf64_write_shdrs_and_ehdr): Declare.
+       (bfd_elf64_write_out_phdrs): Declare.
+       (_bfd_mips_elf_section_from_shdr): Declare.
+       * elf.c (bfd_section_from_shdr): Remove assertion requiring
+       SHT_REL/SHT_RELA to match use_rela_p.  If there is already a reloc
+       section for the section, add the new one to rel_hdr2.  Increment
+       reloc_count rather than setting it.
+       * elfcode.h (elf_slurp_symbol_table): Define name as macro.
+       Remove static declaration.
+       (elf_write_shdrs_and_ehdr): Define name as macro.
+       (elf_write_out_phdrs): Likewise.
+       (elf_swap_ehdr_in, elf_swap_ehdr_out): Declare.
+       (elf_swap_shdr_in, elf_swap_shdr_out): Declare.
+       (elf_swap_symbol_in): Change second parameter to be const.
+       (elf_swap_symbol_out): Likewise.
+       (elf_swap_ehdr_in, elf_swap_ehdr_out): Likewise.
+       (elf_swap_shdr_in, elf_swap_shdr_out): Likewise.
+       (elf_swap_phdr_in, elf_swap_phdr_out): Likewise.
+       (elf_swap_reloc_in, elf_swap_reloc_out): Likewise.
+       (elf_swap_reloca_in, elf_swap_reloca_out): Likewise.
+       (elf_write_out_phdrs): Rename from write_out_phdrs.  Change second
+       parameter to be const.  Make non-static.
+       (elf_write_shdrs_and_ehdr): Rename from write_shdrs_and_ehdr.
+       Make non-static.
+       (elf_slurp_symbol_table): Make non-static.
+       (NAME(_bfd_elf,size_info)): Update names of renamed functions.
+       * elfxx-target.h (elf_info_to_howto): Define if not defined.
+       (elf_backend_size_info): Likewise.
+       (elfNN_bed): Use elf_backend_size_info.
+       * targets.c (bfd_elf64_bigmips_vec): Declare.
+       (bfd_elf64_littlemips_vec): Declare.
+       (bfd_target_vector): Add bfd_elf64_bigmips_vec and
+       bfd_elf64_littlemips_vec if BFD64 is defined.
+       
+       * libbfd.c (bfd_get_file_window): Add cast to fprintf argument.
+
+Tue May 28 11:42:08 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * coff-sh.c (sh_relax_delete_bytes): Insert nop instructions, not
+       zeroes, in alignment holes.
+
+       * configure: Rebuild with autoconf 2.10.
+
+       * aoutx.h (NAME(aout,find_nearest_line)): Make room for the
+       potential leading underscore in the allocated buffer.
+
+Fri May 24 14:28:38 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * elf32-ppc.c (ppc_elf_add_symbol_hook): Do not put small common
+       symbols into .sbss if this is a relocatable link.
+
+Thu May 23 12:26:24 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Warn about
+       undefined symbols when creating a shared library.
+
+Fri May 17 13:54:15 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * coff-sh.c: Add a bunch of new code and static const arrays to
+       support aligning loads and stores on four byte memory boundaries.
+       Also:
+       (sh_coff_howtos): Add entries for R_SH_CODE, R_SH_DATA and
+       R_SH_LABEL.
+       (sh_relax_section): Look for R_SH_CODE relocs.  If we find one,
+       call sh_align_loads.
+       (sh_relax_delete_bytes): Don't mark R_SH_CODE or R_SH_DATA relocs
+       as unused.
+
+Thu May 16 16:34:13 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * cache.c (bfd_open_file): Unlink the file before opening it for
+       write.  From Marty Leisner <leisner@sdsp.mc.xerox.com>.
+
+       * opncls.c (bfd_fdopenr): Set opened_once.
+
+Tue May 14 12:35:32 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * som.c (som_slurp_reloc_table): Clear external_relocs cache after
+       freeing it.
+
+       * libbfd.c: Remove #ifdef FILE_OFFSET_IS_CHAR_INDEX, and compile
+       the code unconditionally.
+
+Mon May 13 19:51:37 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * libcoff-in.h (struct pei_section_tdata): Define structure.
+       (pei_section_data): Define macro.
+       * libcoff.h: Rebuild.
+       * coffcode.h (coff_set_alignment_hook): If COFF_IMAGE_WITH_PE,
+       store s_paddr field in pei_section_data.
+       (coff_compute_section_file_positions): Use pei_section_data rather
+       than _cooked_size, and don't overwrite an existing value.
+       (coff_write_object_contents): If COFF_OBJ_WITH_PE, set s_paddr to
+       0.  If COFF_IMAGE_WITH_PE, set s_paddr to pei_section_data.
+       * peicode.h (coff_bfd_copy_private_section_data): Define if
+       COFF_IMAGE_WITH_PE.
+       (pe_bfd_copy_private_section_data): New static function if
+       COFF_IMAGE_WITH_PE.
+
+Wed May  8 16:10:38 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * srec.c (srec_set_arch_mach): Write as a function rather than a
+       macro definition.
+
+       * xcofflink.c (_bfd_xcoff_bfd_link_add_symbols): If an archive has
+       no map, just check each member in turn to see whether it is
+       required.
+
+Wed May  8 09:17:34 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * ppcboot.c (ppcboot_object_p): Check for type 0x41 in partition
+       table.  Call BFD_ASSERT to validate header size, instead of
+       calling fatal.
+       (ppcboot_bfd_print_private_bfd_data): Put quotes around partition
+       name.
+
+Tue May  7 16:10:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * ppcboot.c: New target for looking at PPCbug boot records.
+
+       * config{ure.in,.bfd}: Add support for ppcboot target.
+       * targets.c: Ditto.
+       * configure: Regenerate.
+               
+Tue May  7 11:15:19 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * coff-h8300.c (howto_table): Update names to match recent
+       changes to include/coff/internal.h.  Fix minor errors in the
+       existing relocs.  Add R_MOVL1 and R_MOVL2.
+       (rtype2howto): Similarly.
+       (h8300_reloc16_estimate): Rewrite to simplify, fix bugs in the
+       existing relaxing code  and peform more relaxing.
+       (h8300_reloc16_extra_cases): Likewise.
+
+Mon May  6 18:24:09 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * reloc16.c (bfd_coff_reloc16_get_value): Handle common
+       symbols correctly.
+
+Sat May  4 05:08:45 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * elfcode.h (elf_object_p):  Reject generic ELF target if
+       e_machine matches an alternate machine code in a specific backend.
+
+       * netbsd-core.c (netbsd_core_vec):  Remove initializer for
+       obsolete align_power_min field.
+
+Fri May  3 13:07:35 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * coff-h8300.c (reloc_howto_type): Add howto entry for
+       R_PCRWORD_B.
+       (rtype2howto): Handle R_PCRWORD_B.
+       (h8300_reloc16_extra_cases): Handle R_PCRWORD_B.
+       (h8300_reloc_16_estimate): Likewise.  Try to turn a 16bit
+       pc-relative branch (R_PCRWORD) into an 8bit pc-relative
+       branch (R_PCWORD_B).
+
+Fri May  3 10:47:41 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * aoutx.h (translate_from_native_sym_flags): Set the section for
+       BSF_CONSTRUCTOR symbols.
+
+       * cofflink.c (_bfd_coff_link_input_bfd): Correct setting of
+       last_bf_index.
+
+Wed May  1 18:39:32 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * coffcode.h (coff_write_object_contents): In comdat section lookup,
+       stop looking when section is found.
+
+Wed May  1 14:17:57 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * coffcode.h (STRING_SIZE_SIZE): Define.
+       (styp_to_sec_flags): Handle long symbol names when looking for the
+       section symbol.
+       (bfd_coff_backend_data): Add _bfd_coff_long_section_names field.
+       (bfd_coff_long_section_names): Define.
+       (coff_write_object_contents): Handle long section names.
+       (bfd_coff_std_swap_table): Initialize new field.
+       * libcoff.h: Rebuild.
+       * coffgen.c (make_a_section_from_file): Handle long section
+       names.
+       (coff_write_symbols): Handle long section names.
+       * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field.
+       * coff-mips.c (mips_ecoff_backend_data): Likewise.
+       * pe-arm.c (COFF_LONG_SECTION_NAMES): Define.
+       * pei-arm.c (COFF_LONG_SECTION_NAMES): Define.
+       * pe-i386.c (COFF_LONG_SECTION_NAMES): Define.
+       * pei-i386.c (COFF_LONG_SECTION_NAMES): Define.
+       * pe-ppc.c (COFF_LONG_SECTION_NAMES): Define.
+       * pei-ppc.c (COFF_LONG_SECTION_NAMES): Define.
+
+       * bout.c (b_out_callback): Set lma of sections.
+       (b_out_bfd_get_relocated_section_contents): Rename in_abfd
+       parameter to output_bfd.  Used input_bfd instead of output_bfd in
+       several places.
+
+Tue Apr 30 17:56:39 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * aoutx.h (translate_from_native_sym_flags): Don't create
+       SEC_CONSTRUCTOR sections.
+       * ecoff.c (ecoff_set_symbol_info): Likewise.
+
+       * elf32-mips.c (mips_elf_copy_private_bfd_data): Copy elf_gp.
+       From Don Bowman <bowman@waterloo.hp.com>.
+
+Tue Apr 30 17:06:32 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * coff-arm.c (armcoff_little_vec): If COFF_WITH_PE is defined, add
+       SEC_LINK_ONCE and SEC_LINK_DUPLICATES to section_flags.
+
+Mon Apr 29 13:15:17 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf32-mips.c (struct mips_elf_link_hash_entry): Add
+       mips_32_relocs field.
+       (mips_elf_link_hash_newfunc): Initialize mips_32_relocs field.
+       (mips_elf_relocate_section): Copy R_MIPS_REL32 and R_MIPS_32
+       relocs against a global symbol which is not defined in a regular
+       file.
+       (mips_elf_check_relocs): For a R_MIPS_REL32 or R_MIPS_32 reloc
+       against a global symbol, increment mips_32_relocs.
+       (mips_elf_adjust_dynamic_symbol): If mips_32_relocs is set, and
+       the symbol is not defined in a regular file, make room in the
+       .rel.dyn section.
+
 Fri Apr 26 18:00:37 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * ecoff.c (ecoff_compute_section_file_positions): Track the real
@@ -2673,7 +3516,7 @@ Fri Oct 27 18:14:39 1995  Ian Lance Taylor  <ian@cygnus.com>
 
 Fri Oct 27 14:42:15 1995  Niklas Hallqvist  <niklas@appli.se>
 
-       * PORTING, aout-arm.c, aout-encap.c, aout-rce.c, aout-target.h,
+       * PORTING, aout-arm.c, aout-encap.c, aout-target.h,
        aoutx.h, gen-aout.c, host-aout.c, hp300bsd.c, i386aout.c
        i386bsd.c, i386dynix.c, i386linux.c, i386lynx.c, i386mach3.c,
        i386netbsd.c, m68klynx.c, m88kmach3.c, mipsbsd.c, newsos3.c,
This page took 0.031052 seconds and 4 git commands to generate.