Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x68k Add ELF support.



details:   https://anonhg.NetBSD.org/src/rev/2740da8a6b97
branches:  trunk
changeset: 518818:2740da8a6b97
user:      minoura <minoura%NetBSD.org@localhost>
date:      Thu Dec 06 04:13:12 2001 +0000

description:
Add ELF support.

diffstat:

 sys/arch/x68k/conf/ALL             |  6 +++---
 sys/arch/x68k/conf/GENERIC         |  6 +++---
 sys/arch/x68k/conf/INSTALL         |  8 ++++----
 sys/arch/x68k/conf/TOKOCHAN        |  6 +++---
 sys/arch/x68k/conf/std.x68k        |  3 ++-
 sys/arch/x68k/include/db_machdep.h |  5 ++++-
 6 files changed, 19 insertions(+), 15 deletions(-)

diffs (162 lines):

diff -r 8a77421f77a0 -r 2740da8a6b97 sys/arch/x68k/conf/ALL
--- a/sys/arch/x68k/conf/ALL    Thu Dec 06 04:02:22 2001 +0000
+++ b/sys/arch/x68k/conf/ALL    Thu Dec 06 04:13:12 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: ALL,v 1.45 2001/11/25 01:27:49 minoura Exp $
+#      $NetBSD: ALL,v 1.46 2001/12/06 04:13:12 minoura Exp $
 
 #
 #      ALL -- everything that currently exist including experimental
@@ -6,7 +6,7 @@
 
 include "arch/x68k/conf/std.x68k"
 
-#ident                 "ALL-$Revision: 1.45 $"
+#ident                 "ALL-$Revision: 1.46 $"
 
 maxusers       32
 
@@ -136,11 +136,11 @@
 options        COMPAT_12       # NetBSD 1.2 binary compatibility
 options        COMPAT_13       # NetBSD 1.3 binary compatibility
 options        COMPAT_14       # NetBSD 1.4 binary compatibility
+#options       COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
 options        COMPAT_M68K4K   # NetBSD/m68k4k binaries
 #options       COMPAT_SUNOS    # SunOS 4.x binary compatibility; broken
 options        COMPAT_SVR4     # SVR4 binary compatibility; broken
 options        COMPAT_LINUX    # Linux/m68k binary compatibility
-options        EXEC_ELF32      # 32-bit ELF executables (Linux, SVR4)
 #options       TCP_COMPAT_42   # 4.2BSD TCP/IP bug compat. Not recommended.
 
 ## File systems.
diff -r 8a77421f77a0 -r 2740da8a6b97 sys/arch/x68k/conf/GENERIC
--- a/sys/arch/x68k/conf/GENERIC        Thu Dec 06 04:02:22 2001 +0000
+++ b/sys/arch/x68k/conf/GENERIC        Thu Dec 06 04:13:12 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC,v 1.67 2001/11/25 01:23:45 minoura Exp $
+#      $NetBSD: GENERIC,v 1.68 2001/12/06 04:13:12 minoura Exp $
 
 #
 #      GENERIC
@@ -6,7 +6,7 @@
 
 include "arch/x68k/conf/std.x68k"
 
-#ident                 "GENERIC-$Revision: 1.67 $"
+#ident                 "GENERIC-$Revision: 1.68 $"
 
 maxusers       8
 
@@ -136,11 +136,11 @@
 options        COMPAT_12       # NetBSD 1.2 binary compatibility
 options        COMPAT_13       # NetBSD 1.3 binary compatibility
 options        COMPAT_14       # NetBSD 1.4 binary compatibility
+#options       COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
 #options       COMPAT_M68K4K   # NetBSD/m68k4k binaries
 #options       COMPAT_SUNOS    # SunOS 4.x binary compatibility; broken
 #options       COMPAT_SVR4     # SVR4 binary compatibility; broken
 #options       COMPAT_LINUX    # Linux/m68k binary compatibility
-#options       EXEC_ELF32      # 32-bit ELF executables (Linux, SVR4)
 #options       TCP_COMPAT_42   # 4.2BSD TCP/IP bug compat. Not recommended.
 
 ## File systems.
diff -r 8a77421f77a0 -r 2740da8a6b97 sys/arch/x68k/conf/INSTALL
--- a/sys/arch/x68k/conf/INSTALL        Thu Dec 06 04:02:22 2001 +0000
+++ b/sys/arch/x68k/conf/INSTALL        Thu Dec 06 04:13:12 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: INSTALL,v 1.44 2001/11/25 05:21:12 isaki Exp $
+#      $NetBSD: INSTALL,v 1.45 2001/12/06 04:13:12 minoura Exp $
 
 #
 #      INSTALL -- installation kernel.
@@ -6,7 +6,7 @@
 
 include "arch/x68k/conf/std.x68k"
 
-#ident                 "INSTALL-$Revision: 1.44 $"
+#ident                 "INSTALL-$Revision: 1.45 $"
 
 makeoptions    COPTS="-Os"             # Optimise for space. Implies -O2
 
@@ -18,7 +18,7 @@
 options        MEMORY_DISK_SERVER=0    # No user space hooks
 #options       MINIROOTSIZE=2400       # 1.2M, same as a 130mm floppy
 #options       MINIROOTSIZE=2880       # 1.44M, same as a 90mm floppy
-options        MINIROOTSIZE=2400
+options        MINIROOTSIZE=2550
 
 ## System kernel configuration.  See options(4) for more detail.
 
@@ -142,11 +142,11 @@
 #options       COMPAT_12       # NetBSD 1.2 binary compatibility
 #options       COMPAT_13       # NetBSD 1.3 binary compatibility
 #options       COMPAT_14       # NetBSD 1.4 binary compatibility
+#options       COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
 #options       COMPAT_M68K4K   # NetBSD/m68k4k binaries
 #options       COMPAT_SUNOS    # SunOS 4.x binary compatibility; broken
 #options       COMPAT_SVR4     # SVR4 binary compatibility; broken
 #options       COMPAT_LINUX    # Linux/m68k binary compatibility
-#options       EXEC_ELF32      # 32-bit ELF executables (Linux, SVR4)
 #options       TCP_COMPAT_42   # 4.2BSD TCP/IP bug compat. Not recommended.
 
 ## File systems.
diff -r 8a77421f77a0 -r 2740da8a6b97 sys/arch/x68k/conf/TOKOCHAN
--- a/sys/arch/x68k/conf/TOKOCHAN       Thu Dec 06 04:02:22 2001 +0000
+++ b/sys/arch/x68k/conf/TOKOCHAN       Thu Dec 06 04:13:12 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: TOKOCHAN,v 1.22 2001/11/25 01:27:49 minoura Exp $
+#      $NetBSD: TOKOCHAN,v 1.23 2001/12/06 04:13:12 minoura Exp $
 
 #
 #      TOKOCHAN -- Believe in the BSD power; Toko to issyo-ni make all!
@@ -6,7 +6,7 @@
 
 include "arch/x68k/conf/std.x68k"
 
-#ident                 "TOKOCHAN-$Revision: 1.22 $"
+#ident                 "TOKOCHAN-$Revision: 1.23 $"
 
 maxusers       10
 
@@ -137,11 +137,11 @@
 #options       COMPAT_12       # NetBSD 1.2 binary compatibility
 options        COMPAT_13       # NetBSD 1.3 binary compatibility
 options        COMPAT_14       # NetBSD 1.4 binary compatibility
+#options       COMPAT_AOUT_M68K # compatibility with NetBSD/m68k a.out
 #options       COMPAT_M68K4K   # NetBSD/m68k4k binaries
 #options       COMPAT_SUNOS    # SunOS 4.x binary compatibility; broken
 #options       COMPAT_SVR4     # SVR4 binary compatibility; broken
 #options       COMPAT_LINUX    # Linux/m68k binary compatibility
-#options       EXEC_ELF32      # 32-bit ELF executables (Linux, SVR4)
 #options       TCP_COMPAT_42   # 4.2BSD TCP/IP bug compat. Not recommended.
 
 ## File systems.
diff -r 8a77421f77a0 -r 2740da8a6b97 sys/arch/x68k/conf/std.x68k
--- a/sys/arch/x68k/conf/std.x68k       Thu Dec 06 04:02:22 2001 +0000
+++ b/sys/arch/x68k/conf/std.x68k       Thu Dec 06 04:13:12 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: std.x68k,v 1.9 2000/06/22 20:27:57 fvdl Exp $
+#      $NetBSD: std.x68k,v 1.10 2001/12/06 04:13:12 minoura Exp $
 
 #
 # Mandatory NetBSD/x68k kernel options.
@@ -6,6 +6,7 @@
 
 machine                x68k m68k       # Machine architecture; required by config(8)
 
+options        EXEC_ELF32      # execve(2) support for ELF binaries
 options        EXEC_AOUT       # execve(2) support for a.out binaries
 options        EXEC_SCRIPT     # execve(2) support for scripts
 
diff -r 8a77421f77a0 -r 2740da8a6b97 sys/arch/x68k/include/db_machdep.h
--- a/sys/arch/x68k/include/db_machdep.h        Thu Dec 06 04:02:22 2001 +0000
+++ b/sys/arch/x68k/include/db_machdep.h        Thu Dec 06 04:13:12 2001 +0000
@@ -1,4 +1,7 @@
-/*     $NetBSD: db_machdep.h,v 1.1.1.1 1996/05/05 12:17:03 oki Exp $   */
+/*     $NetBSD: db_machdep.h,v 1.2 2001/12/06 04:13:12 minoura Exp $   */
 
 /* Just use the common m68k definition */
 #include <m68k/db_machdep.h>
+
+#define        DB_ELF_SYMBOLS
+#define        DB_ELFSIZE      32



Home | Main Index | Thread Index | Old Index