Wed Nov 1 14:26:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>

* coff-m88k.c (rtype2howto): New static function.
	(RTYPE2HOWTO): Use it rather than a macro definition.

	* coffcode.h (coff_write_object_contents): set internal_a.magic
	to PAGEMAGICPEXECPAGED #if defined (M68) && !defined (LYNXOS).

	* configure.in: m68*-motorola-sysv3* does not use ptrace-core.o;
	define TRAD_HEADER to new file hosts/delta68.h.
	m88*-motorola-sysv*, however, does use ptrace-core.o.
	* hosts/delta68.h: New file.

	* ptrace-core.c (ptrace_unix_core_file_p): change bfd_zmalloc to
	bfd_zalloc; provide proper parm abfd to calls to bfd_zalloc.
This commit is contained in:
Ian Lance Taylor 1995-11-01 19:31:48 +00:00
parent f10c3c09a7
commit 7f82c7e1ee
5 changed files with 35 additions and 3 deletions

View File

@ -1,3 +1,19 @@
Wed Nov 1 14:26:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts.sel.alcatel.de>
* coff-m88k.c (rtype2howto): New static function.
(RTYPE2HOWTO): Use it rather than a macro definition.
* coffcode.h (coff_write_object_contents): set internal_a.magic
to PAGEMAGICPEXECPAGED #if defined (M68) && !defined (LYNXOS).
* configure.in: m68*-motorola-sysv3* does not use ptrace-core.o;
define TRAD_HEADER to new file hosts/delta68.h.
m88*-motorola-sysv*, however, does use ptrace-core.o.
* hosts/delta68.h: New file.
* ptrace-core.c (ptrace_unix_core_file_p): change bfd_zmalloc to
bfd_zalloc; provide proper parm abfd to calls to bfd_zalloc.
Wed Nov 1 13:51:54 1995 Ken Raeburn <raeburn@cygnus.com>
* i386linux.c (MY(vec)): Declare before use.

View File

@ -2226,6 +2226,10 @@ coff_write_object_contents (abfd)
#if defined(LYNXOS)
internal_a.magic = LYNXCOFFMAGIC;
#endif /* LYNXOS */
#else
#if defined (PAGEMAGICPEXECPAGED)
internal_a.magic = PAGEMAGICPEXECPAGED;
#endif
#endif /* M68 || WE32K || M68K */
#if defined(ARM)

11
bfd/configure vendored
View File

@ -1116,6 +1116,13 @@ EOF
COREFILE=trad-core.o
cat >> confdefs.h <<\EOF
#define TRAD_HEADER "hosts/hp300bsd.h"
EOF
;;
m68*-motorola-sysv3*)
COREFILE=trad-core.o
cat >> confdefs.h <<\EOF
#define TRAD_HEADER "hosts/delta68.h"
EOF
;;
@ -1135,7 +1142,7 @@ EOF
;;
m88*-*-sysv4*) ;;
m88*-motorola-sysv*) COREFILE=trad-core.o ;;
m88*-motorola-sysv*) COREFILE=ptrace-core.o ;;
m88*-*-mach3*)
COREFILE=trad-core.o
cat >> confdefs.h <<\EOF
@ -1219,7 +1226,7 @@ EOF
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1223 "configure"
#line 1230 "configure"
#include "confdefs.h"
#include <sys/procfs.h>
int main() { return 0; }

View File

@ -200,6 +200,10 @@ changequote([,])dnl
COREFILE=trad-core.o
AC_DEFINE(TRAD_HEADER,"hosts/hp300bsd.h")
;;
m68*-motorola-sysv3*)
COREFILE=trad-core.o
AC_DEFINE(TRAD_HEADER, "hosts/delta68.h")
;;
m68*-motorola-sysv*) COREFILE=ptrace-core.o ;;
m68*-sony-*)
COREFILE=trad-core.o
@ -210,7 +214,7 @@ changequote([,])dnl
AC_DEFINE(TRAD_HEADER,"hosts/m68knbsd.h")
;;
m88*-*-sysv4*) ;;
m88*-motorola-sysv*) COREFILE=trad-core.o ;;
m88*-motorola-sysv*) COREFILE=ptrace-core.o ;;
m88*-*-mach3*)
COREFILE=trad-core.o
AC_DEFINE(TRAD_HEADER,"hosts/m88kmach3.h")

View File

@ -26,6 +26,7 @@ Things-to-keep:
alphalinux.h
decstation.h
delta68.h
dpx2.h
hp300bsd.h
i386bsd.h