Wed Nov 1 14:26:02 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 <manfred@lts...
authorIan Lance Taylor <ian@airs.com>
Wed, 1 Nov 1995 19:31:48 +0000 (19:31 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 1 Nov 1995 19:31:48 +0000 (19:31 +0000)
* 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.

bfd/ChangeLog
bfd/coffcode.h
bfd/configure
bfd/configure.in
bfd/hosts/.Sanitize

index 2e7c4841e573b74302e02e61acf3b9179bb3ff5c..682ad4758e97421c96ceca4af815f426b64dc4ae 100644 (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.
index 0a015f139d91ca4c67f1ec227ff6ac2646ecd9bc..4d6c866212d003be9e0cc24e6ac85181a945ca5c 100644 (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)
index 98454e527fc6ceadfa80479dc41bb2093fb828dd..6d31a04772010813a7e0347218068aa34de883c6 100755 (executable)
@@ -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; }
index 4ac13b7394fadb4f7bb41491868aa89b3a620e75..f0815321cd76e9fe6742ebd4eb32731383ef593d 100644 (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")
index f6ff29c9c1b8085a74da5d748a796c7179c661c1..367d2eb749786bb2cd6ea9c19f2b5d18b00d0ca3 100644 (file)
@@ -26,6 +26,7 @@ Things-to-keep:
 
 alphalinux.h
 decstation.h
+delta68.h
 dpx2.h
 hp300bsd.h
 i386bsd.h