Ifdef-out debugging code, and ifdef-out code that aborts on unhandled
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 488f6ad1ec314f8806e8bfad883b018ce9318fb6..7e6ae1010dd627ee1c88e9010fcc0306fc64cdef 100644 (file)
@@ -1,3 +1,487 @@
+Tue Apr 14 14:34:42 1992  Fred Fish  (fnf@cygnus.com)
+
+       * elf.c (bfd_add_strtab, bfd_add_2_to_strtab):  CONST spreads
+       like ooze.
+       * elf.c (elf_compute_section_file_positions,
+       elf_write_object_contents):  Return boolean, not NULL (which
+       can be void *).
+       * elf.c (bfd_section_from_shdr):  Ifdef-out debugging code.
+       Also ifdef-out code that aborts on unhandled section types.
+
+Fri Apr 10 22:29:18 1992  Fred Fish  (fnf@cygnus.com)
+
+       * configure.in:  Recognize ncr3000 config
+       * Makefile.in (MINUS_G):  Pass on to recursive makes.
+       * hosts/ncr3000.h, config/ncr3000.mh:  Add host config files.
+
+Thu Apr  2 17:42:45 1992  John Gilmore  (gnu at cygnus.com)
+
+       * Makefile.in:  Now that we have sym.h and symconst.h, compile
+       coff-msym.c on all systems.
+       * config/{decstation.mh, irix3.mh, irix4.mh}:  Remove coff-msym.o dep.
+       * coff-msym.c:  Update include files and comments; add weakext bit.
+
+Wed Apr  1 23:16:38 1992  John Gilmore  (gnu at cygnus.com)
+
+       * archive.c, bfd.c, bout.c, coffcode.h, init.c, reloc.c,
+       section.c, srec.c, syms.c, coff-h8300.c:  Lint.
+
+Sun Mar 29 09:37:59 1992  John Gilmore  (gnu at cygnus.com)
+
+       * bout.c, coff-a29k.c, coff-i960.c:  Lint.
+       * configure.in:  Add new host and target configs.
+       * elf.c (bfd_prstatus, bfd_fpregset):  Avoid typename of register
+       structs, which vary; just use member name. 
+       (elf_object_p, elf_core_file_p):  Lint, fix comments.
+       * config/sparc-elf.mt, hosts/sysv4.h:  New config files.        
+
+Sat Mar 28 13:07:02 1992  Fred Fish  (fnf@cygnus.com)
+
+       * elf.c (elf_object_p, elf_core_file_p):  Fix to use only a single
+       local, disposable, copy of the external form of section header
+       table and program header table entries.
+
+Thu Mar 26 16:59:58 1992  John Gilmore  (gnu at cygnus.com)
+
+       * Makefile.in:  Set MINIMIZE back to 0 for a real release.
+
+Tue Mar 24 15:57:03 1992  K. Richard Pixley  (rich@cygnus.com)
+
+       * configure.in: config/irix4.m[ht], hosts/irix4.h: add support for
+         irix4.
+
+Mon Mar 23 22:37:34 1992  Stu Grossman  (grossman at cygnus.com)
+
+       * coff-msym.c (ecoff_swap_rfd_in):  remove & for array ref.
+
+Tue Mar 17 14:12:25 1992  Per Bothner  (bothner@rtl.cygnus.com)
+
+       * bout.c (b_out_slurp_reloc_table):  Use BFD_ASSERT macro,
+       not internal bfd_assert function (twice).
+
+Tue Mar 17 10:45:12 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * aout-target.h: change ar_max_namelen to 15 (the right value)
+       * coff-a29k, coffcode.h: more hangovers from the bfd_abs_section
+       change
+
+Mon Mar 16 14:57:22 1992  Steve Chamberlain  (sac@rtl.cygnus.com)
+
+       * archive.c (bfd_generic_archive_p): check for bout archives too.
+       * bout.c: make it work again.
+
+Sat Mar 14 17:30:40 1992  Fred Fish  (fnf@cygnus.com)
+
+       * elf.c (elf_corefile_note):  Call bfd_xmalloc() instead of bare
+       malloc().
+       * reloc.c (bfd_generic_get_relocated_section_contents):  Call
+       bfd_xmalloc() instead of bare malloc().
+
+Fri Mar 13 15:44:37 1992  K. Richard Pixley  (rich@cygnus.com)
+
+       * Makefile.in: pass down MAKEINFO on info.
+
+Fri Mar 13 07:41:13 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * config/mt-<foo> now <foo>.mt, config/mh-<foo> now <foo>.mh.
+       host/h-<foo> now just <foo>. 
+       * configure.in: reflect changes
+
+Thu Mar 12 11:15:02 1992  Per Bothner  (bothner@cygnus.com)
+
+       * libbfd-in.h (set_tdata):  Make change of Feb 27 in the
+       actual source file, not just the generated libbfd.h.
+
+Sat Mar  7 10:33:41 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * coff-i960.c (icoff_little_vec): add COFF_SWAP_TABLE so we can run
+       gdb on little-endian 960 code. 
+       * archive.c (compute_and_write_armap): indirect symbols should go
+       into the archive header too.
+
+Fri Mar  6 21:55:16 1992  K. Richard Pixley  (rich@cygnus.com)
+
+       * Makefile.in: added check target.
+
+Thu Mar  5 23:51:42 1992  John Gilmore  (gnu at cygnus.com)
+
+       * coff-msym.c:  Move this file from gdb/ecoff.c.  It
+       handles byte-swapping for ECOFF (MIPS symbol) files.
+       * config/mh-decstation, config/mh-irix3:  Add coff-msym.o
+       to the files built on MIPS-based hosts.
+       * Makefile.in:  Add rule for coff-msym.
+
+Thu Mar  5 21:36:05 1992  K. Richard Pixley  (rich@cygnus.com)
+
+       * Makefile.in: added clean-info target.  MINIMIZE=1.
+
+Sun Mar  1 22:32:58 1992  Per Bothner  (bothner@cygnus.com)
+
+       * coff-rs6000.c:  Move core file functions into separate
+       new file rs6000-core.c.  This is needed because reading
+       core files depends on native include files that conflict
+       with ../include/coff/rs6000.h.
+       * config/mh-rs6000:  Add rs6000-core.o to HDEPFILES.
+
+Thu Feb 27 22:19:55 1992  Per Bothner  (bothner@cygnus.com)
+
+       * aoutx.h (NAME(aout,print_symbol)): Don't print
+       symbol addresss for undefined symbols.
+       * coff-rs6000.c:  Various updates (due to target-
+       independent changes).
+       * libbfd.h:  Ditto (tdata field is now a union).
+       * hosts/h-sparc.h:  Removed prototype for bogus function
+       'emset' (presumably should have been 'memset' - which is there).
+
+Thu Feb 27 11:46:33 1992  John Gilmore  (gnu at cygnus.com)
+
+       * configure.in (mips-big-* target):  Same is Iris.
+
+Thu Feb 27 09:24:56 1992  Steve Chamberlain  (sac at thepub.cygnus.com)
+
+       * aoutx.h (translate_from_native_sym_flags): when creating an
+       alias symbol, fill in the section as undefined, rather than
+       leaving it blank. If an output section can't be found for a
+       symbol, then don't core dump.
+
+Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
+
+       * Makefile.in, configure.in: removed traces of namesubdir,
+         -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
+         copyrights to '92, changed some from Cygnus to FSF.
+
+Wed Feb 26 19:40:59 1992  Steve Chamberlain  (sac at thepub.cygnus.com)
+
+       * bfd.c: lint
+       * coff-h8300.c: fix stupid reloc subtraction bug
+       * coffcode.h (coff_swap_aux_out): only swap a tvndx by 2 bytes,
+       since that's how wide it is. (coff_slurp_symbol_table): always zero out
+       the symbol.flags and done_lineno fields.
+
+Tue Feb 25 14:29:24 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
+
+       * coffcode.h (coff_write_symbol): write out the correct number of
+       auxents. 
+       * cpu-h8300.c: fix disassembly bug
+
+Fri Feb 21 21:39:56 1992  John Gilmore  (gnu at cygnus.com)
+
+       * bfd-in.h (bfd_errmsg), coffcode.h (coff_swap_aux_in,
+       section_from_bfd_index), cpu-h8300.c (howto*_callback),
+       reloc.c, section.c (bfd_map_over_sections), targets.c
+       (bfd_target_list):  Protolint.
+       * libbfd.h:  Update to match a libbfd-in.h from a month ago.
+
+Fri Feb 21 10:57:54 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
+
+       * coffcode.h (coff_swap_aux_in): lint, (coff_print_symbol): prints
+       out tagndx too.
+       * aoutx.h (swap_std_reloc_out, swap_ext_reloc_out): use the output
+       section of a symbol rather than the section of a reffed symbol to
+       determine the r_index of an emmitted reloc.
+
+Thu Feb 20 18:10:34 1992  Per Bothner  (bothner at cygnus.com)
+
+       * PORTING: New (preliminary) porting guide.
+
+Wed Feb 19 21:39:37 1992  John Gilmore  (gnu at cygnus.com)
+
+       * bout.c (callj_callback), coff-a29k.c (a29k_reloc), coff-m88k.c
+       (howto_hvrt16):  lint.
+
+Mon Feb 17 12:02:17 1992  Per Bothner  (bothner at cygnus.com)
+
+       * hp300bsd.c (new), config/mt-hp300bsd:  Make hp300bsd
+       a full configuration (with possible cross-development),
+       instead of using host-aout.c.
+
+Sun Feb 16 13:01:49 1992  Per Bothner  (bothner at cygnus.com)
+
+       * aout-target.h (MY(write_object_contents):
+       Set obj_reloc_entry_size (abfd).
+       * gen-aout.c:  Change to emit a .c files, not a .h file.
+
+Thu Feb 13 20:11:47 1992  Fred Fish  (fnf at cygnus.com)
+
+       * elf.c (elf_slurp_symbol_table):  Remove obsolete use of
+       BSF_ABSOLUTE and replace with bfd_abs_section reference.
+
+Thu Feb 13 17:22:44 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
+
+       * coffcode.h (get_normalized_symtab): fixed bug where symbols
+       with more than one auxent can cause nasty core dumps. 
+
+       * coffcode.h, libcoff.c: added new fielded to coff_symbol_struct
+       "done_lineno" so that a symbol which appears twice in the symbol
+       table only gets it's linenumbers relocated once. Modifed
+       (coff_write_native_symbol) and (coff_make_empty_symbol) to make
+       use of it.
+
+Tue Feb  4 15:39:55 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
+
+       * aoutx.h: (translate_from_native_sym_flags): fix constructor
+       stuff to use the New Order.
+
+Fri Jan 31 01:34:45 1992  Stu Grossman  (grossman at cygnus.com)
+
+       * ieee.c:  Change type of envi[] to unsigned char.
+
+       * configure.in:  fix vax ultrix configuration.
+
+       * elf.c (bfd_section_from_shdr):  Deal with null return from
+       bfd_make_section().  (elf_object_p):  Select endianess properly.
+
+Fri Jan 31 01:19:55 1992  John Gilmore  (gnu at cygnus.com)
+
+       * hosts/h-tahoe.h, h-vaxbsd.h:  Fix stack in core files.
+
+Thu Jan 30 23:51:07 1992  John Gilmore  (gnu at cygnus.com)
+
+       * Makefile.in:  host-aout.c doesn't depend on aout-params.h.
+       * aout-target.h:  Use TARGET_BIG_ENDIAN_P to set up vector.
+       * host-aout.c:  Don't use aout-params.h; configure these systems
+       in their xm files, not in a randomly generated file.
+       * hosts/h-hp300bsd.h, h-tahoe.h, h-vaxbsd.h, h-vaxult.h:
+       Specify byte order.
+       * hosts/h-vaxbsd.h:  Define the form of exec and core files.
+
+Thu Jan 30 13:02:41 1992  Per Bothner  (bothner at cygnus.com)
+
+       * config/mt-tahoe, config/mt-vax:  Change DEFAULT_VECTOR to
+       host_aout_vec here as well.
+
+Thu Jan 30 11:41:45 1992  Stu Grossman  (grossman at cygnus.com)
+
+       * host-aout.c:  Change TARGETNAME to "a.out" to be compatible with
+       gdb.  config/mt-hp300bsd:  Change DEFAULT_VECTOR to host_aout_vec
+       to prevent undefined symbol.
+
+Thu Jan 30 07:26:53 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
+
+       Various lints found on PersSony
+       * aoutx.h: cast an enum 
+       * coff-a29k.c: many ints in reloc structure turned to enum
+       * coffcode.h: more enums
+       * cpu-h8300.c: more enums
+       * opncls.c: more enums
+
+Thu Jan 30 01:19:56 1992  John Gilmore  (gnu at cygnus.com)
+
+       * configure.in:  Make Tahoe configuration work again.
+       * bfd-in.h:  Remove trailing comma from enum declaration.
+       * ieee.c:  Can't put byte values >0x7F into a signed char.
+
+Tue Jan 28 21:10:51 1992  Fred Fish  (fnf at cygnus.com)
+
+       * Makefile.in:  Add dependencies for various coff-*.o files.
+
+       * elf.c:  Remove extraneous paren from core_prpsinfo and
+       core_prpstatus macros, rename core_prpstatus to core_prstatus.
+       Replace references to old section "size" member with new
+       "_raw_size" member.  Implement elf_make_empty_symbol, which
+       is now used.
+
+Tue Jan 28 14:51:40 1992  Stu Grossman  (grossman at cygnus.com)
+
+       * trad-core.c, bfd.c, ../include/bfd.h:  Various fixes for PMAX
+       core reading.
+
+Tue Jan 28 10:46:32 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
+
+       * coffcode.h (bfd_coff_relax_section): now static.
+       (bfd_coff_get_relocated_section_contents): various type lints.
+
+Mon Jan 27 19:44:08 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
+
+       New entry point in the transfer vector - bfd_relax_section.
+
+       * aout-target.h: add to vector, call generic_relax
+       * bfd-in.h: add to vector
+       * bfd.c: add #define for vector
+       * bout.c: add to vector, call generic_relax
+       * coffcode.h: add to vector, also now has coff specific relax code
+       for the relaxable H8/300 relocs. Also clean up abs section cruft.
+       * elf.c: call generic_relax
+       * ieee.c: call new vector, clean up some bugs due to the creation
+       of bfd_abs_section
+       * libbfd.h: add bfd_generic_relax_section EXFUN
+       * oasys.c: call generic_relax
+       * reloc.c: implement generic_relax
+       * seclet.c: moved much of this into coffcode.h
+       * srec.c: call generic_relax
+       * targets.c: define new transfer vector
+
+Fri Jan 24 14:40:17 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
+
+       * everything: now modified to use smaller reloc type. Self hosts
+       on sun3 & sun4.
+
+Sat Jan 18 17:00:16 1992  Fred Fish  (fnf at cygnus.com)
+
+       * config/mh-stratus, config/mt-i860-elf, hosts/h-stratus:
+       New files for stratus.
+
+       * configure.in:  Add configuration fragments for stratus.
+
+Wed Jan 15 10:02:43 1992  Fred Fish  (fnf at cygnus.com)
+
+       * aoutx.h (NAME(aout,find_nearest_line)): Declare various filename
+       variables as CONST since they are set to point to a const char
+       string.  Fixes compiler complaints.
+
+Fri Jan 10 17:44:53 1992  Fred Fish  (fnf at cygnus.com)
+
+       * hosts/h-amix.h hosts/h-i386v4.h:  Change abort() to a function
+       returning void.
+
+Fri Jan 10 14:33:32 1992  Per Bothner  (bothner at cygnus.com)
+
+       * aoutx.h (NAME(aout,find_nearest_line)):  Recognize N_SOL
+       symbols, so that we can emit the correct file name even
+       if it's an include file.
+
+Thu Jan  2 16:43:34 1992  John Gilmore  (gnu at cygnus.com)
+
+       * coff-i960.c:  Add COFF_SWAP_TABLE to little_vec as well as big_vec.
+       (Reported by john@labtam.labtam.oz.au (John Carey)).
+
+Wed Jan  1 04:23:06 1992  Fred Fish  (fnf at cygnus.com)
+
+       * elf.c:  Change all '#if HAVE_PROCFS' to '#ifdef HAVE_PROCFS'.
+
+       * config/mh-amix, config/mh-i386v4:  Remove HDEFINES that was
+       being used to -DHAVE_PROCFS.
+
+       * hosts/h-amix, hosts/h-i386v4:  Add '#define HAVE_PROCFS'.  Move
+       '#include "fopen-same.h"' to end of file to match other h-* files.
+
+Fri Dec 20 12:06:17 1991  Fred Fish  (fnf at cygnus.com)
+
+       * configure.in:  Change svr4 references to sysv4.  Add case
+       "unknown" for target vendor and infer some targets based
+       on the specified operating system.
+
+Wed Dec 18 17:17:59 1991  Stu Grossman  (grossman at cygnus.com)
+
+       * bfd-in.h, libaout.h:  ANSIfy enums.
+
+Wed Dec 18 16:12:25 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
+
+       * archive.c (normalize): created version for VMS which removes the
+       VMS directory crap from the front and end of a filename, eg turn
+       [-.foo]bar.obj;123 into bar.obj
+       (bfd_construct_extended_name_table): now writes index into an
+       extended name table in decimal - the same base used to read an
+       extended name table.
+
+Wed Dec 18 14:40:39 1991  Per Bothner  (bothner at cygnus.com)
+
+       * aout-encap.c:  Fix to use aout-target.h.
+       * aoutf1.h:  Use standard MY_object_p and MY_callback
+       in aout-target.h.  Remove target-specific versions.
+       * host-aout.c:  Re-write to use aout-target.h.
+       * gen-aout.c:  New files use with host-aout.c to generate
+       host-specific a.out-related parameters.
+       * Makefile.in:  host-aout.o depends on aout-params.h, which is
+       generated by gen-aout.
+       * aout-target.h:  Make a little more flexible.
+       * libaout.h, aout-target.h:  Removed WORK_OUT_FILE_POSTIONS
+       macro.  Instead, inline it in aout-target.h.
+       * newsos3.c:  Define N_SHARED_LIB(x) as 0 to avoid
+       a gcc -Wall warning.
+       * archive.c:  Add missing commas in DEFUN macro (2 places).
+       * elf.c, coffcode.h, aoutf1.h:  Use ANSI functions instead of
+       Berkeley ones, now that libiberty has them:
+       bcopy->memcpy, bzero->memset, bcmp->memcmp.
+       * aoutx.h:  Various touch-ups:  Re-formatting, fix a cast,
+       remove unused variable.
+
+Tue Dec 17 19:48:59 1991  Fred Fish  (fnf at cygnus.com)
+
+       * elf.c (elf_core_file_matches_executable_p):  Enclose corename
+       and execname inside HAVE_PROCFS ifdef since they are unused
+       when it is not defined.
+
+Mon Dec 16 12:00:10 1991  Fred Fish  (fnf at cygnus.com)
+
+       * elf.c:  Flag all sections as either code or data.  We can't
+       be sure what they are anyway, since ELF doesn't fit the
+       traditional model of text+data+bss very well.  Add new local
+       function elf_read() to simplify code.  Record entry point in
+       the bfd structure.
+
+Thu Dec 12 21:01:22 1991  John Gilmore  (gnu at cygnus.com)
+
+       * hosts/h-*.h:  Configure fopen using ../include/fopen-*.h
+       rather than N copies of the same lines.
+
+Wed Dec 11 16:39:45 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
+
+       * cpu-h8300.c: disassemble branch displacements correctly
+       * coff-h8300.c: put reloc offsets out in 32bits
+
+       * makefile.dos, configdj.bat: New files from DJ
+       * cache.c: fopen with new macros is needed for DOS.
+       * ieee.c: environ renamed to envi to stop an include file
+       conflict.
+       * opncls.c, coff-rs6000.c: more fopens with macros.
+
+Tue Dec 10 04:07:24 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
+
+       * Makefile.in: infodir belongs in datadir.
+
+Sat Dec  7 16:39:23 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
+
+        * Makefile.in: fix where docdir lives
+
+        * aoutx.h, archive.c, archures.c, bfd.c, cache.c, coff-m88k.c,
+        coffcode.h, core.c, ctor.c, elf.c, format.c, ieee.c, init.c,
+        libbfd.c, libbfd.h, libcoff.h, opncls.c, reloc.c, section.c,
+        srec.c, syms.c, targets.c : all new documentation and lint
+        removal.
+
+
+Sat Dec  7 07:22:09 1991  John Gilmore  (gnu at cygnus.com)
+
+       * coffcode.h, srec.c:  Lint.
+
+Fri Dec  6 22:58:48 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
+
+       * Makefile.in: install using INSTALL_DATA, added standards.text
+         support.
+
+       * configure.in: mark directory as target dependent.  configure
+         nows works in objdir always so make file existence checks
+         against ${srcdir}.
+
+Thu Dec  5 22:46:19 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
+
+       * Makefile.in: idestdir and ddestdir go away.  Added copyrights
+         and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
+         and mandir now keyed off datadir by default.
+
+Wed Dec  4 10:14:17 1991  Steve Chamberlain  (sac at rtl.cygnus.com)
+
+       * aoutf1.h (sunos_<size>_object_p, sunos4_callback): moved the
+       computation of arch and machine type so it's worked out before
+       some_aout_object_p is called. 
+       * aoutx.h: (some_aout_object_p): don't set arch and mach to
+       unknown.
+       * archures.c: add extra field 'section_align_power' to hold
+       default section alignment in object files.
+       * cpu-a29k.c, cpu-h8300.c, cpu-i386.c, cpu-i960.c, cpu-m68k.c,
+       cpu-m88k.c, cpu-mips.c, cpu-rs6000.c, cpu-sparc.c, cpu-vax.c:
+       initialize the new field.
+       * bout.c (b_out_callback): replace the text size, since aout
+       fries them.
+       * aoutx.h: Documentation in the new style
+
+Wed Dec  4 02:00:30 1991  John Gilmore  (gnu at cygnus.com)
+
+       * bfd.c (bfd_get_mtime):  Don't cache mtime any more; only
+       use the saved value if mtime_set is already set (intended
+       for archive files, though apparently not used yet).
+
 Tue Dec  3 22:54:50 1991  John Gilmore  (gnu at cygnus.com)
 
        * targets.c:  Revise comments about how to configure the target
This page took 0.027812 seconds and 4 git commands to generate.