* config/sun3.h: String argument to fprintf is const.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index abcbb1dda92a4c63f397374099a6b35a98e271b7..a3057c475dbd2c6dc2288199b0f21ced72e12e00 100644 (file)
@@ -1,3 +1,386 @@
+Fri Apr  9 10:43:20 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * config/sun3.h: String argument to fprintf is const.
+
+       * coff-mips.c: Renamed PAGE_SIZE to ROUND_SIZE, to avoid confusion
+       on systems which define PAGE_SIZE in <limits.h>.
+
+Thu Apr  8 10:28:00 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * trad-core.c (trad_unix_core_file_failing_signal): Use new macro
+       TRAD_UNIX_CORE_FILE_FAILING_SIGNAL to allow host files to specify
+       the core file failing signal.
+       * hosts/decstation.h (TRAD_UNIX_CORE_FILE_FAILING_SIGNAL): Define
+       to supply the core file failing signal.
+
+Thu Apr  8 09:17:35 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coffcode.h (styp_to_sec_flags): Only set SEC_SHARED_LIBRARY for
+       a STYP_NOLOAD | STYP_BSS section if BSS_NOLOAD_IS_SHARED_LIBRARY
+       is defined.  On many COFF targets STYP_BSS is always STYP_NOLOAD.
+       * coff-i386.h (BSS_NOLOAD_IS_SHARED_LIBRARY): Define.
+
+Wed Apr  7 11:33:06 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coff-mips.c (PAGESIZE): Correct value.
+
+Tue Apr  6 12:05:44 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coff-mips.c (ecoff_find_nearest_line): Address of first PDR is
+       an offset (patch from Jean-Daniel Fekete <jdf@lri.lri.fr>).
+
+Mon Apr  5 12:07:12 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coffcode.h (styp_to_sec_flags): Set SEC_SHARED_LIBRARY for a
+       STYP_NOLOAD | STYP_BSS section.  Don't set SEC_NEVER_LOAD for a
+       STYP_INFO section.
+       (coff_compute_section_file_positions): Force vma and lma of _LIB
+       section to be zero.
+       (coff_set_section_contents): Count number of entries in new lma
+       field, not in vma.
+       * coffgen.c (make_a_section_from_file): Force lineno_count of
+       SEC_SHARED_LIBRARY section to be zero, since it is non-zero on the
+       SCO 3.2v4 shared library.
+       * seclet.c (rel): Copy over any section with contents, not just
+       loadable sections.
+
+       * coff-mips.c (ecoff_make_empty_symbol): Zero out newly allocated
+       symbol.
+
+       * coff-i386.c (coff_i386_reloc): New function, to generate
+       relocateable output correctly.
+       (howto_table): Use coff_i386_reloc for all reloc types.
+       (CALC_ADDEND): Use a more efficient hack to get the correct addend
+       for a common symbol.
+       (i386comm_value): Removed; no longer needed.
+
+Sun Apr  4 15:08:48 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * coffcode.h (coff_set_section_contents): Don't write out
+       sections without a filepos.
+
+Fri Apr  2 14:35:05 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * seclet.c (seclet_dump_seclet): Correct SEC_HAS_CONTENTS test.
+
+Wed Mar 31 17:41:05 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * reloc.c (bfd_reloc_code_real_type): Added BFD_RELOC_MIPS_GPREL.
+       * libecoff.h (ecoff_data_type): Added gp_size field.
+       * coff-mips.c (ecoff_mkobject_hook): Initialize gp_size to 8.
+       (ecoff_set_symbol_info): Compare against gp_size, not hardcoded 8.
+       Set flags to 0 for large common symbols.
+       (ecoff_gprel_reloc): Handle non-zero addend for external symbols,
+       which can occur for gas-generated relocs.
+       (ecoff_bfd_reloc_type_lookup): Added BFD_RELOC_MIPS_GPREL case.
+       * bfd.c (bfd_get_gp_size, bfd_set_gp_size): New functions.
+       * Makefile.in (bfd.o): Now depends on coff/sym.h and libecoff.h.
+
+Tue Mar 30 09:33:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * srec.c (srec_set_section_contents): Use lma field for load
+       address.
+       * section.c: Add declaration of lma field to section structure.
+       * coffcode.h (coff_write_object_contents): Use lma field for load
+       address.
+       * bfd-in.h (bfd_set_section_vma): Set lma along with vma.       
+
+       * aoutx.h (translate_from_native_sym_flags): Now handles indirect
+       symbols in a better way. (translate_to_native_sym_flag): Set the
+       N_INDR bit when necessary. (aout<>slurp_symbol_table): Maintain
+       indirect state.
+       * section.c: Added BFD_IND_SECTION_NAME and bfd_ind_section.
+       (bfd_make_section): Cope with new builtin section.
+       * syms.c (bfd_decode_symclass): Can now print indirect section
+       info.
+
+Wed Mar 24 13:36:33 1993  Per Bothner  (bothner@rtl.cygnus.com)
+
+       * aout-target.h (MY(object_p)):  Fail if MACHTYPE_OK is
+       defined, and yields false.
+       * aout-mipsbsd.c, i386bsd.c:  Define MACHTYPE_OK appropriately.
+
+       * archive.c (snarf_ar_hdr):  Add support for reading (only,
+       so far) BSD-4.4-style extended headers.
+       * archive.c:  Some more comments.
+
+Wed Mar 24 02:05:10 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
+
+       * Makefile.in: fix rule for dvi and info, so that the recursive
+       makes does the right thing, instead of always info
+
+Wed Mar 24 02:56:44 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * libbfd.c (bfd_seek): Disable optimized handling for archives and
+       archive members; they need more special reatment.  For now, verify
+       that computed and actual file positions correspond.
+
+Tue Mar 23 08:45:33 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * mipsbsd.c: Renamed from aout-mipsbsd.c.
+       (set_arch_mach): Delete non-MIPS code.
+       (reloc_howto_type_lookup): Ditto.
+       * Makefile.in: Adjusted.
+
+       * libbfd.c (bfd_tell): Update `where' field.
+       (bfd_seek): Don't do anything if we're not changing the file
+       position.  If FILE_OFFSET_IS_CHAR_INDEX is defined, check `where'
+       field against a SEEK_SET request.  Call bfd_tell to re-update
+       `where' field when done.
+       (bfd_read, bfd_write) [FILE_OFFSET_IS_CHAR_INDEX]: Maintain
+       `where' field.
+       * hosts/sparc.h: Define FILE_OFFSET_IS_CHAR_INDEX.
+
+Mon Mar 22 23:18:10 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
+
+       * Makefile.in: added installcheck target
+
+Mon Mar 22 14:57:18 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coff-mips.c (ecoff_set_symbol_info): Relocate encapsulated stabs
+       if the type is not stNil.
+
+Tue Mar 16 10:35:27 1993  Ken Raeburn  (raeburn@cygnus.com)
+
+       * elf32.c (elf_little_vec, elf_big_vec): Delete now-invalid
+       forward declarations.
+
+       * elf32-sparc.c (elf_sparc_howto_table): Don't use CONST here,
+       it's implied by the type.
+
+Fri Mar 12 18:58:08 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
+
+       * configure.host: recognize sparc-sun-solaris2* instead of sparc-sun-solaris*
+
+Tue Mar  9 09:23:12 1993  Jim Kingdon  (kingdon@cygnus.com)
+
+       * rs6000-core.c: Add .ldinfo section.
+
+Fri Mar 12 11:57:52 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * Makefile.in (MAKEOVERRIDES): Define to be empty.
+
+Fri Mar 12 08:32:11 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * section.c (bfd_set_section_contents): whitespace
+       * seclet.c (seclet_dump_seclet): Don't try and fill sections with
+       no contents.
+
+Thu Mar 11 19:26:15 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
+
+       * hosts/go32.h: don't define POSIX_UTIME
+
+Tue Mar  9 10:52:01 1993  Fred Fish  (fnf@cygnus.com)
+
+       * elf32.c (elf_object_p):  Use ELF_ARCH stored in xvec to match
+       against machine architecture stored in the ELF header, to resolve
+       ambiguities.
+       * elf32.c (bfd_section_from_shdr):  Bfd_make_section can return
+       NULL, so only use results when non-NULL.
+       * targets.c (elf32_m68k_vec, elf32_i860_vec):  Add extern decls
+       and add to vector of targets.
+
+Mon Mar  8 15:13:44 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coff-mips.c (ecoff_set_symbol_info): Encapsulated STABS symbols
+       are always just debugging symbols.
+
+       * coff-mips.c (ecoff_[gs]et_sym_index): Moved macros from here...
+       libecoff.h (ecoff_[gs]et_sym_index): ...to here.
+
+Mon Mar  8 14:55:13 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * hppa.c (_PA_RISC_ID): Defined if not already defined (e.g., for
+       hpux 7).  Patch from friedman@gnu.ai.mit.edu.
+       (hppa_object_p): Only check for DL_MAGIC and SHL_MAGIC if they're
+       defined, which they aren't in hpux 7.0.
+
+       * aix386-core.c: Include uinfo.h and coredump.h.  Patch from Minh
+       Tran-Le, tranle@intellicorp.com.
+
+Fri Mar  5 14:54:21 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coff-mips.c (ecoff_generic_reloc): If the addend is non-zero, go
+       ahead and do the relocation.
+       (ecoff_refhi_reloc): Don't to the relocation here, just remember
+       what needs to be done.
+       (ecoff_reflo_reloc): Do the REFHI relocation here.
+
+Thu Mar  4 14:44:01 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coff-mips.c (ecoff_bfd_reloc_type_lookup): New function.
+       (ecoff_write_object_contents): Added BFD_ASSERT calls to ensure
+       relocs are reasonable.
+       * coff-msym.c: Eliminated uses of DEFUN.
+       (ecoff_swap_tir_out): New function.     
+
+Tue Mar  2 17:52:58 1993  Fred Fish  (fnf@cygnus.com)
+
+       (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
+       * configure.host (vax-*-ultrix2*):  Add triplet.
+       * hosts/vaxult2.h:  New file.
+       * config/vaxult2.mh:  New file.
+
+       * aoutx.h (string.h):  Include for strchr and friends.
+       * archive.c (string.h):  Include for memchr and friends.
+       * elf32.c (string.h):  Include for strrchr and friends.
+
+Sat Feb 27 00:44:24 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * aoutf1.c (sunos4_reloc_type_lookup): Unused; deleted.
+       (MY_set_sizes): Use sunos4_set_sizes.
+
+       * elf32.c: Renamed from elf.c.  Several CPU-specific functions
+       deleted, as well as elf-big and elf-little targets.
+       * libelf.h: New file.
+       * elf32-sparc.c, elf32-i386.c, elf32-i860.c, elf32-m68k.c: New
+       files, new targets.
+       * Makefile.in, config/*-elf.mt, targets.c: Adjusted.
+
+       * i386linux.c (TARGETNAME): Use hyphens instead of parentheses.
+
+       * coffcode.h (coff_compute_section_file_positions): Don't need
+       variable "old_sofar" if compiling for i960.
+
+       * reloc.c (bfd_default_reloc_type_lookup): First argument is now a
+       bfd pointer.
+       * libbfd.h: Updated.
+
+       * ieee.c (exten, envi): "static" belongs first in declaration.
+
+Fri Feb 26 17:37:34 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * srec.c: add support for symbolsrec, srecords with symbols in
+       them.
+
+Thu Feb 25 11:43:30 1993  John Gilmore  (gnu@cacophony.cygnus.com)
+
+       * ieee.c:  cast all arguments of ieee_write_byte to bfd_byte
+       to avoid lint complaints.
+
+Thu Feb 25 02:15:52 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * elf.c (elf_write_object_contents): Section ".shstrtab" should be
+       type SHT_STRTAB.  Don't alter file offset for section 0.
+       (reloc_type_names): Now an array instead of a macro.  Still inside
+       "#if 0", since it's used only in debugging code also in "#if 0".
+       (struct elf_reloc_map_elt, struct elf_reloc_map): New types.
+       (sort_reloc_map): New function.
+       (sparc_reloc_map): New variable.
+       (elf_bfd_reloc_type_lookup): New function.
+
+Tue Feb 23 12:17:16 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * bfd-in.h (JUMP_TABLE): Added bfd_reloc_type_lookup and
+       bfd_make_debug_symbol; they were already in the target structure.
+       * Adjusted all uses of JUMP_TABLE.
+       * coffgen.c, libcoff-in.h (coff_bfd_make_debug_symbol): Renamed
+       from coff_make_debug_symbol.
+       * libcoff.h: Updated accordingly.
+
+       * Minor cleanups provoked by gcc warnings:
+       * aoutx.h (NAME(aout, reloc_type_lookup)),
+       cpu-h8300.c (local_bfd_reloc_type_lookup),
+       cpu-z8k.c (local_bfd_reloc_type_lookup): Added default case to
+       switches.
+       * archive.c (do_slurp_bsd_armap, do_slurp_coff_armap),
+       ieee.c (ieee_slurp_section_data),
+       elf.c (elf_make_sections, elf_fake_sections,
+       elf_compute_section_file_positions, elf_write_object_contents):
+       Removed unused variables.
+       * archures.c: Removed /* from within comment.
+       * bout.c (b_out_squirt_out_relocs): Initialize r_extern.
+       * oasys.c (oasys_write_data): Initialize i.
+
+Mon Feb 22 18:40:06 1993  Per Bothner  (bothner@rtl.cygnus.com)
+
+       * libcoff.h (obj_raw_syment_coun):  New macro.
+       * coffgen.c (coff_get_normalized_symtab):  Initialize
+       raw_syment_count.
+       * coffgen.c (coff_find_nearest_line):  Numerous little fixes.
+
+Mon Feb 22 15:03:07 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coff-mips.c (ecoff_set_symbol_info): stBlock symbols are always
+       debugging symbols.
+       (ecoff_get_debug): Offset the fdr adr by the adr of the first pdr,
+       for compatibility with tools from MIPS.
+
+       * config/bigmips.mt: New file; default vector is ecoff_big_vec.
+       * config/irix3.mt, config/irix4.mt: Removed.
+       * configure.in (mips-*-ecoff): New target; uses bigmips.mt.
+       (mips-sgi-*, mips-big-*): Use bigmips rather than irix3.
+
+Wed Feb 17 23:40:41 1993  John Gilmore  (gnu@cygnus.com)
+
+       * hosts/hp300bsd.h:  Add gross hack to determine whether we
+       are running on BSD 4.3 or BSD 4.4, and use appropriate include
+       files (and set other parameters) to match.
+
+Wed Feb 17 12:28:13 1993  K. Richard Pixley  (rich@cygnus.com)
+
+       * trad-core.c (trad_unix_make_empty_symbol): wrap PARAMS around an
+         ansi definition which otherwise confuses non-ansi compilers.
+
+       * aout-adobe.c (aout_adobe_object_p): eliminate a warning from vax
+         ultrix cc by forward declaring getenv as is done in
+         bfd_find_target.
+
+Tue Feb 16 17:56:58 1993  K. Richard Pixley  (rich@cygnus.com)
+
+       * elf.c (elf_info_to_howto): cast an enum into unsigned char
+         avoiding a fatal error in vax ultrix 4.2 cc.
+
+Tue Feb 16 00:44:54 1993  John Gilmore  (gnu@cygnus.com)
+
+       * bfd-in.h, VERSION:  Roll to version 2.1.
+
+Mon Feb 15 20:43:51 1993  John Gilmore  (gnu@cygnus.com)
+
+       * oasys.c (oasys_write_object_contents):  Lint.
+       * srec.c:  Whitespace cleanup.
+
+Fri Feb 12 14:23:07 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * coffgen.c (coff_print_symbol): Print correct tagndx value;
+       cleaned up output formatting a bit.
+
+Fri Feb 12 08:28:56 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * coffcode.h (coff_set_arch_mach_hook): *FIXME* the H8/300 is always
+       relaxable.  Should be moved somewhere else.
+
+Thu Feb 11 14:09:42 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * aout-mipsbsd.c: Eliminated uses of DEFUN.
+       (aout_mips_*_vec): Added seclet_link element.
+
+       * Makefile.in (BFD_BACKENDS, CFILES, aout-mipsbsd.o): Added
+       support for aout-mipsbsd target.
+
+       * bout.c (get_value): Don't truncate 32-bit addend to 16 bits.
+
+Fri Feb  5 08:08:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * cpu-h8500.c (scan_mach): return false if it's not an H8/500
+
+Thu Feb  4 12:52:40 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       Add support for the H8/500
+
+       * coff-h8500.c, cpu-h8500.c, archures.c, coffcode.h, targets.c
+
+Thu Feb  4 12:35:02 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * libecoff.h: New file.  Defines ECOFF backend data for gdb.
+       * coff-mips.c: Now includes libecoff.h.
+       (ecoff_data_type): Moved to libecoff.h.
+       (ecoff_slurp_symbolic_info): Made globally visible so that gdb can
+       call it.  If there is ever another ECOFF target, this and the
+       swapping functions should be accessed via an ECOFF specific target
+       vector.
+       * Makefile.in (coff-mips.o): Depends on libecoff.h.
+
 Wed Feb  3 09:14:36 1993  Ian Lance Taylor  (ian@cygnus.com)
 
        * coffcode.h: Removed MIPS specific information, since coff-mips.c
@@ -15,16 +398,39 @@ Tue Feb  2 15:36:55 1993  Per Bothner  (bothner@cygnus.com)
        reading more robust:  Fail if string index is out of string
        table range.
 
+Tue Feb  2 11:43:25 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * bout.c (b_out_get_relocated_section_contents, cases PCREL24 and
+       PCREL13): Don't take dst_address into account; the input file has
+       already taken care of that.
+
 Tue Feb  2 11:41:06 1993  Ian Lance Taylor  (ian@cygnus.com)
 
        * coff-mips.c: Completed support for linker and binutils.
 
+Mon Feb  1 14:45:38 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * bout.c (b_out_get_relocated_section_contents, case ABS32): Keep
+       original addend from section contents.
+
 Thu Jan 28 21:01:37 1993  John Gilmore  (gnu@cygnus.com)
 
        Fix minor bugs reported by Carl Greco, <cgreco@parrot.creighton.edu>:
        * hosts/delta88.h (strtol):  Fix prototype.
        * config/m88k-coff.mt (SELECT_ARCHITECTURES):  Fix name.
 
+Wed Jan 27 17:16:51 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * elf.c: Get rid of "#ifdef sparc".
+       (RELOC_TYPE_NAMES): Never used (currently), so don't include it.
+       (elf_sparc_howto_table): Renamed from elf_howto_table, and always
+       used.
+       (elf_info_to_howto): Use runtime conditionals on CPU type, not
+       compile type conditionals on host CPU.
+       (elf_little_vec, elf_big_vec): Use bfd_default_reloc_type_lookup,
+       not null pointer.
+       (reloc_type, RELOC_TYPE_NAMES): Include i386 values.
+
 Tue Jan 26 11:43:14 1993  Ian Lance Taylor  (ian@cygnus.com)
 
        * section.c (SEC_IS_COMMON): New section flag, needed for MIPS
@@ -49,6 +455,20 @@ Mon Jan 25 15:27:36 1993  Ian Lance Taylor  (ian@cygnus.com)
        * coffswap.h (coff_swap_aouthdr_in, coff_swap_aouthdr_in): Swap
        additional MIPS ECOFF fields.
 
+Sat Jan 23 18:36:20 PST 1993  Ralph Campbell  (ralphc@pyramid.com)
+
+       * configure.host: added mips-dec-bsd*
+       * configure.in: added mips-dec-bsd*
+       * aout-mipsbsd.c: new file for mips-dec-bsd*
+       * aout-target.h: don't define '' if 'MY_BFD_TARGET' is defined.
+       * aoutx.h: added mips support.
+       * archures.c: added mips support to bfd_default_scan().
+       * cpu-mips.c: added support for R4000 (untested).
+       * libaout.h: added MIPS1 & MIPS2 magic numbers.
+       * reloc.c: fix typo's in comments. Added BFD_RELOC entries which I
+               hope will make it into include/bfd.h.
+       * targets.c: added aout_mips_*_vec.
+
 Wed Jan 20 17:15:52 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * config/decstation.mt: Set DEFAULT_VECTOR to ecoff_little_vec.
This page took 0.036204 seconds and 4 git commands to generate.