* section.c (bfd_get_section_contents): Put in parens to get
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 020e56e6a4c1930540eb9ae41e088f59d8e9e464..d14c9c5373c3b61c052dae80245101ccefa89387 100644 (file)
@@ -1,5 +1,185 @@
+Mon Jun 27 18:07:06 1994  Steve Chamberlain  (sac@cirdan.cygnus.com)
+
+       * section.c (bfd_get_section_contents): Put in parens to get
+       precedence right.
+
+Sun Jun 26 18:08:29 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * libelf.h (relocate_section): New argument "output_names" added
+       to prototype.
+       * elfcode.h (elf_link_input_bfd): New argument "output_names"
+       added to prototype of relocate_section.  Pass the output symbol
+       names to relocate_section.
+       * elf32-i386.c (elf_i386_relocate_section): Use "output_names" to
+       determine the name of a local symbol.
+       * elf32-mips.c (mips_elf_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+
+Fri Jun 24 08:15:42 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       Add Solaris BCP (the part of Solaris which allows it to run
+       SunOS4 a.out files) core file handling.
+       * aoutf1.h (external_solaris_bcp_core, swapcore_solaris_bcp):
+       New structure and its swap in function.
+       (internal_sunos_core):  New member c_data_addr, to receive the
+       start address of the data section in the core file.
+       (swapcore_sun3, swapcore_sparc, sunos4_core_file_p):  Use it.
+       (sunos4_core_file_p):  Recognize Solaris BCP core file.
+       (sunos4_core_file_matches_executable_p):  Always indicate match
+       for Solaris BCP core files.
+
+Thu Jun 23 15:31:28 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       Preliminary support for generating shared libraries, from Eric
+       Youngdale <ericy@cais.cais.com>.
+       * elfcode.h (prep_headers): If DYNAMIC, set e_type to ET_DYN.
+       (elf_link_add_object_symbols): If generating a shared library,
+       create dynamic sections for first input BFD with the right format.
+       (elf_link_create_dynamic_sections): Don't create .interp section
+       if creating a shared library.
+       (elf_link_input_bfd): Skip dynamic sections in input file.
+       (elf_bfd_final_link): If creating a shared library, it's OK for
+       dynobj to have sections which are not SEC_IN_MEMORY.
+       * elf32-i386.c (elf_i386_size_dynamic_sections): Only set .interp
+       section if not creating a shared library.
+       * elf32-sparc.c (elf_sparc_size_dynamic_sections): Likewise.
+
+       * elfcode.h (elf_object_p): Don't set DYNAMIC just because there
+       is an SHT_DYNAMIC section.
+
+       * cf-i386lynx.c (i386coff_vec): Don't include DYNAMIC in
+       object_flags.
+       * coff-sparc.c (sparccoff_vec): Likewise.
+       * hppabsd-core.c (hppabsd_core_vec): Likewise.
+
+       * aoutx.h (NAME(aout,some_aout_object_p)): Don't set SEC_RELOC
+       just because DYNAMIC is set.
+
+Thu Jun 23 12:53:41 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
+
+       * configure.in: Change --with-targets to --enable-targets and
+       --with-64-bit-bfd to --enable-64-bit-bfd.
+       * Makefile.in, mpw-make.in, targets.c: Change comments.
+
+Wed Jun 22 17:59:59 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * config.bfd (powerpc-*-elf*): New target, just like
+       powerpc-*-sysv4*.
+
+       * linker.c (FAIL): Undefine macro before defining as enum.
+
+Wed Jun 22 10:52:47 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * linker.c (_bfd_generic_link_add_archive_symbols): Initialize
+       pass from abfd->archive_pass, and save it there as well.
+
+       * hash.c (bfd_hash_allocate): Don't call bfd_set_error if
+       obstack_alloc returns NULL unless the size is non-zero.
+
+       * linker.c (archive_hash_allocate): Define.
+       (_bfd_generic_link_add_archive_symbols): Use archive_hash_allocate
+       rather than obstack_alloc, for clarity.
+
+       * elfcode.h (elf_get_reloc_upper_bound): Correct.
+
+       * aout64.c (BMAGIC, QMAGIC): Define if not already defined.  From
+       Peter Schauer <pes@regent.e-technik.tu-muenchen.de>.
+
+       Linux ZMAGIC support from Eric Youngdale <ericy@cais.cais.com>.
+       * libaout.h (struct aoutdata): Add field zmagic_disk_block_size.
+       * aout-target.h (MY(callback)): Only set alignment according to
+       architecture if the section sizes are aligned to that alignment,
+       for backward compatibility.
+       (MY(set_sizes)): Initialize zmagic_disk_block_size field.
+       * aoutx.h (adjust_z_magic): Set ztih if using q_magic_format.  Set
+       text section filepos to zmagic_disk_block_size if not ztih.  Use a
+       different padding algorithm if not ztih.
+       * i386linux.c (MY_text_includes_header): Don't define.
+
+       * aoutx.h (aout_link_check_ar_symbols): Just skip N_STAB and N_FN
+        symbols; don't look them up in the hash table.  From
+        ralphc@pyramid.com (Ralph Campbell).
+
+Tue Jun 21 11:47:20 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * coff-go32.c (go32coff_archive_p): Remove unused function.
+
+       * section.c (bfd_abs_section): Make const.
+       (bfd_abs_section_ptr, bfd_is_abs_section): Define.
+       (bfd_und_section): Make const.
+       (bfd_und_section_ptr, bfd_is_und_section): Define.
+       (bfd_com_section): Make const.
+       (bfd_com_section_ptr): Define.
+       (bfd_ind_section): Make const.
+       (bfd_ind_section_ptr, bfd_is_ind_section): Define.
+       (bfd_abs_symbol, bfd_com_symbol): Make const.
+       (bfd_und_symbol, bfd_ind_symbol): Likewise.
+       (global_syms): Cast initialization of section field.
+       (STD_SECTION): Define as const, and cast initializations.
+       * bfd-in2.h: Rebuilt.
+       * Many files: Change uses of bfd_abs_section, etc., to use
+       bfd_abs_section_ptr or bfd_is_abs_section, etc.
+
+Mon Jun 20 11:06:27 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * Many files: change all bfd_target vectors to be const.  Change
+       all uses of bfd_target * to be const bfd_target *.  Change
+       bfd_target_vector and bfd_default_vector arrays to be const
+       bfd_target * const *.
+
+       * ecoff.c, libecoff.h, ecoffswap.h, coff-alpha.c, coff-mips.c,
+       elf32-mips.c: Renamed all externally visible ECOFF routines which
+       are local to BFD to start with _bfd_ecoff instead of just ecoff.
+
+       * ecoff.c (ecoff_swap_tir_in): Change input argument to const.
+       (ecoff_swap_tir_out): Likewise.
+       (ecoff_swap_rndx_in, ecoff_swap_rndx_out): Likewise.
+       (ecoff_slurp_symbolic_info): Add new arguments to correspond to
+       read_debug_info entry point in ecoff_debug_swap structure.
+       Change all calls.
+       * libecoff.h (ecoff_slurp_symbolic_info): Change declaration.
+       * ecoffswap.h (ecoff_swap_tir_in, ecoff_swap_tir_out): Declare.
+       (ecoff_swap_rndx_in, ecoff_swap_rndx_out): Declare.
+       * coff-alpha.c (alpha_ecoff_backend_data): Initialize new
+       ecoff_debug_swap fields.
+       * coff-mips.c (mips_ecoff_backend_data): Likewise.
+       * elf32-mips.c (mips_elf_read_ecoff_info): Undefine READ.
+       (mips_elf_ecoff_debug_swap): Initialize new ecoff_debug_swap
+       fields.
+       * configure.in (bfd_elf32_bigmips_vec): Use ecoff.o and
+       ecofflink.o.
+       (bfd_elf32_littlemips_vec): Likewise.
+       (ecoff_big_vec, ecoff_little_vec): Likewise.
+       (ecoffalpha_little_vec): Likewise.
+       * Makefile.in (BFD_LIBS): Remove ecoff.o and ecofflink.o.
+       (BFD32_BACKENDS): Add ecoff.o and ecofflink.o.
+
+       * aoutx.h (NAME(aout,final_link)): Check flavour of sub, not abfd,
+       when computing reloc sizes.  From Eric Youngdale
+       <ericy@cais.cais.com>.
+       * elfcode.h (elf_bfd_final_link): Don't try to compute maximum
+       reloc count or size for a non-ELF file.
+
+       * mipsbsd.c (MY_final_link_callback): Define to avoid warning.
+
+       * hp300hpux.c (MY_final_link_callback): Define to avoid warning.
+       (BMAGIC, QMAGIC): Define; used by aoutx.h.
+       (MY(slurp_symbol_table)): Change translate_from_native_sym_flags
+       calls to use new parameters.
+
+Fri Jun 17 14:45:32 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * aout-target.h (MY(callback)): Set the alignments of the text,
+       data and bss sections after determining the architecture.
+
+       * sunos.c (sunos_add_one_symbol): Treat a common symbol from a
+       dynamic object as being in the .bss section of the object, rather
+       than as being undefined.
+
 Fri Jun 17 11:16:50 1994  Jeff Law  (law@snake.cs.utah.edu)
 
+       * libhppa.h (bfd_hppa_insn2fmt, hppa_rebuild_insn): Make INLINE.
+
        * elf32-hppa.h (elf_hppa_final_processing): Delete decl.
 
 Thu Jun 16 23:36:23 1994  Jeff Law  (law@snake.cs.utah.edu)
This page took 0.024962 seconds and 4 git commands to generate.