Commit Graph

11 Commits

Author SHA1 Message Date
Jim Kingdon
4d09e8acfb * elfcode.h: Use memset not bzero.
* trad-core.c: Don't include <sys/file.h>.
	* i386linux.h: Include <sys/file.h>.
	* coff-m68k-un.c: new file to handle names with underscores on
	svr3 machines.
	* coff-m68k.c (m68k_rtype2howto): added #ifdef ONLY_DECLARE_RELOCS
	to not duplicate the function in the executable.
	(TARGET_SYM, TARGET_NAME, NAMES_HAVE_UNDERSCORE): new macros needed
	by coff-m68k-un.c.
	* coffcode.h (MC68KBCSMAGIC): case added.
	* targets.c: Add m68kcoffun_vec.
	* configure.host: added support for Bull dpx/2.
	* config/dpx2.mh, hosts/dpx2.h: new files.
	* Makefile.in: added target coff-m68k-un.
1993-07-11 23:23:20 +00:00
Jim Kingdon
31568a6f41 * trad-core.c (trad_unix_core_file_p): Check the file size. 1993-04-26 21:03:35 +00:00
Ian Lance Taylor
0dc1bc8b3f Added 1993 copyrights to files that I have changed in 1993. Some were
missing 1992 copyrights, although they changed in 1992.
1993-02-16 16:54:20 +00:00
John Gilmore
1f29e30b1f * aout-target.h, aoutf1.h, trad-core.c, coffcode.h, libaout.h:
Eliminate all PROTO calls, replace with PARAMS for readability.

* aoutx.h:  Add type to callback parameter.
* coff-mips.c:  Don't call trad-core.h, not needed.
* trad-core.c:  Incorporate trad-core.h declarations.  Fix comments.
* trad-core.h:  Eliminate, unused.
1992-11-28 13:00:18 +00:00
John Gilmore
637942e4db * trad-core.c: Pass the u.u_ar0 value as the negative of the
virtual-memory-address of the .reg section.  We can't just make a
section for "all the regs and nothing else" because only GDB knows
exactly where the regs are (scattered around the upage and stack).
Clean up memory allocation.  Remove big- and little-endian
vectors, replace with single vector; this only runs on the host,
in host byte order.  Replace byteswap routines with aborts in case
anyone calls them.
* targets.c:  There's only one trad_core_vec now.
* aoutf1.h (sunos_core_file_p):  VMA of .reg* now needs to be 0.
1991-10-16 18:56:07 +00:00
John Gilmore
6a46902732 * Makefile.in: Rename XDEPFILES.
* trad-core.c:  Document how to use it nowadays.
* i386aout.c, newsos3.c:  Clean up.
* i386coff.c:  Allow 386 coff files to be used as core files too
(for reading core files from embedded systems).
1991-10-11 04:51:42 +00:00
Stu Grossman
7307c104b3 Retract last edit. System type should determine whether this file gets loaded
at all.
1991-08-31 02:01:17 +00:00
Stu Grossman
9712c6e200 Merge in irix support. 1991-08-31 00:54:16 +00:00
John Gilmore
359f1dee91 Rename liba.out.h to libaout.h for brain death file systems. Change callers. 1991-05-29 02:44:10 +00:00
Steve Chamberlain
7ed4093abc *** empty log message *** 1991-05-21 00:14:16 +00:00
John Gilmore
ff37ea550b Initial revision 1991-05-02 04:11:17 +00:00