From: Ian Lance Taylor Date: Wed, 1 Nov 1995 19:31:48 +0000 (+0000) Subject: Wed Nov 1 14:26:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 * 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 2e7c4841e57..682ad4758e9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,19 @@ +Wed Nov 1 14:26:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 + + * 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 * i386linux.c (MY(vec)): Declare before use. diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 0a015f139d9..4d6c866212d 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -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) diff --git a/bfd/configure b/bfd/configure index 98454e527fc..6d31a047720 100755 --- a/bfd/configure +++ b/bfd/configure @@ -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 < int main() { return 0; } diff --git a/bfd/configure.in b/bfd/configure.in index 4ac13b7394f..f0815321cd7 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -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") diff --git a/bfd/hosts/.Sanitize b/bfd/hosts/.Sanitize index f6ff29c9c1b..367d2eb7497 100644 --- a/bfd/hosts/.Sanitize +++ b/bfd/hosts/.Sanitize @@ -26,6 +26,7 @@ Things-to-keep: alphalinux.h decstation.h +delta68.h dpx2.h hp300bsd.h i386bsd.h