Index: arch/alpha/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/alpha/Kconfig,v
retrieving revision 1.15
diff -u -p -r1.15 Kconfig
--- arch/alpha/Kconfig  17 Jun 2003 11:54:04 -0000      1.15
+++ arch/alpha/Kconfig  17 Jun 2003 11:55:52 -0000
@@ -647,103 +647,7 @@ config SRM_ENV
         This driver is also available as a module and will be called
         srm_env then.

-config BINFMT_AOUT
-       tristate "Kernel support for a.out (ECOFF) binaries"
-       ---help---
-         A.out (Assembler.OUTput) is a set of formats for libraries and
-         executables used in the earliest versions of UNIX. Linux used the
-         a.out formats QMAGIC and ZMAGIC until they were replaced with the
-         ELF format.
-
-         As more and more programs are converted to ELF, the use for a.out
-         will gradually diminish. If you disable this option it will reduce
-         your kernel by one page. This is not much and by itself does not
-         warrant removing support. However its removal is a good idea if you
-         wish to ensure that absolutely none of your programs will use this
-         older executable format. If you don't know what to answer at this
-         point then answer Y. If someone told you "You need a kernel with
-         QMAGIC support" then you'll have to say Y here. You may answer M to
-         compile a.out support as a module and later load the module when you
-         want to use a program or library in a.out format. The module will be
-         called binfmt_aout. Saying M or N here is dangerous though,
-         because some crucial programs on your system might still be in A.OUT
-         format.
-
-config OSF4_COMPAT
-       bool "OSF/1 v4 readv/writev compatibility"
-       depends on BINFMT_AOUT
-       help
-         Say Y if you are using OSF/1 binaries (like Netscape and Acrobat)
-         with v4 shared libraries freely available from Compaq. If you're
-         going to use shared libraries from Tru64 version 5.0 or later, say N.
-
-config BINFMT_ELF
-       tristate "Kernel support for ELF binaries"
-       ---help---
-         ELF (Executable and Linkable Format) is a format for libraries and
-         executables used across different architectures and operating
-         systems. Saying Y here will enable your kernel to run ELF binaries
-         and enlarge it by about 13 KB. ELF support under Linux has now all
-         but replaced the traditional Linux a.out formats (QMAGIC and ZMAGIC)
-         because it is portable (this does *not* mean that you will be able
-         to run executables from different architectures or operating systems
-         however) and makes building run-time libraries very easy. Many new
-         executables are distributed solely in ELF format. You definitely
-         want to say Y here.
-
-         Information about ELF is contained in the ELF HOWTO available from
-         <http://www.tldp.org/docs.html#howto>.
-
-         If you find that after upgrading from Linux kernel 1.2 and saying Y
-         here, you still can't run any ELF binaries (they just crash), then
-         you'll have to install the newest ELF runtime libraries, including
-         ld.so (check the file <file:Documentation/Changes> for location and
-         latest version).
-
-         If you want to compile this as a module ( = code which can be
-         inserted in and removed from the running kernel whenever you want),
-         say M here and read <file:Documentation/modules.txt>.  The module
-         will be called binfmt_elf. Saying M or N here is dangerous because
-         some crucial programs on your system might be in ELF format.
-
-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
-       ---help---
-         If you say Y here, it will be possible to plug wrapper-driven binary
-         formats into the kernel. You will like this especially when you use
-         programs that need an interpreter to run like Java, Python or
-         Emacs-Lisp. It's also useful if you often run DOS executables under
-         the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>). Once you have
-         registered such a binary class with the kernel, you can start one of
-         those programs simply by typing in its name at a shell prompt; Linux
-         will automatically feed it to the correct interpreter.
-
-         You can do other nice things, too. Read the file
-         <file:Documentation/binfmt_misc.txt> to learn how to use this
-         feature, and <file:Documentation/java.txt> for information about how
-         to include Java support.
-
-         You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
-         use this part of the kernel.
-
-         You may say M here for module support and later load the module when
-         you have use for it; the module is called binfmt_misc. If you
-         don't know what to answer at this point, say Y.
-
-config BINFMT_EM86
-       tristate "Kernel support for Linux/Intel ELF binaries"
-       ---help---
-         Say Y here if you want to be able to execute Linux/Intel ELF
-         binaries just like native Alpha binaries on your Alpha machine. For
-         this to work, you need to have the emulator /usr/bin/em86 in place.
-
-         You can get the same functionality by saying N here and saying Y to
-         "Kernel support for MISC binaries".
-
-         You may answer M to compile the emulation support as a module and
-         later load the module when you want to use a Linux/Intel binary. The
-         module will be called binfmt_em86. If unsure, say Y.
+source "fs/Kconfig.binfmt"

source "drivers/parport/Kconfig"

Index: arch/arm/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/arm/Kconfig,v
retrieving revision 1.15
diff -u -p -r1.15 Kconfig
--- arch/arm/Kconfig    17 Jun 2003 11:54:04 -0000      1.15
+++ arch/arm/Kconfig    17 Jun 2003 11:55:53 -0000
@@ -691,81 +691,7 @@ config KCORE_AOUT

endchoice

-config BINFMT_AOUT
-       tristate "Kernel support for a.out binaries"
-       ---help---
-         A.out (Assembler.OUTput) is a set of formats for libraries and
-         executables used in the earliest versions of UNIX. Linux used the
-         a.out formats QMAGIC and ZMAGIC until they were replaced with the
-         ELF format.
-
-         As more and more programs are converted to ELF, the use for a.out
-         will gradually diminish. If you disable this option it will reduce
-         your kernel by one page. This is not much and by itself does not
-         warrant removing support. However its removal is a good idea if you
-         wish to ensure that absolutely none of your programs will use this
-         older executable format. If you don't know what to answer at this
-         point then answer Y. If someone told you "You need a kernel with
-         QMAGIC support" then you'll have to say Y here. You may answer M to
-         compile a.out support as a module and later load the module when you
-         want to use a program or library in a.out format. The module will be
-         called binfmt_aout. Saying M or N here is dangerous though,
-         because some crucial programs on your system might still be in A.OUT
-         format.
-
-config BINFMT_ELF
-       tristate "Kernel support for ELF binaries"
-       ---help---
-         ELF (Executable and Linkable Format) is a format for libraries and
-         executables used across different architectures and operating
-         systems. Saying Y here will enable your kernel to run ELF binaries
-         and enlarge it by about 13 KB. ELF support under Linux has now all
-         but replaced the traditional Linux a.out formats (QMAGIC and ZMAGIC)
-         because it is portable (this does *not* mean that you will be able
-         to run executables from different architectures or operating systems
-         however) and makes building run-time libraries very easy. Many new
-         executables are distributed solely in ELF format. You definitely
-         want to say Y here.
-
-         Information about ELF is contained in the ELF HOWTO available from
-         <http://www.tldp.org/docs.html#howto>.
-
-         If you find that after upgrading from Linux kernel 1.2 and saying Y
-         here, you still can't run any ELF binaries (they just crash), then
-         you'll have to install the newest ELF runtime libraries, including
-         ld.so (check the file <file:Documentation/Changes> for location and
-         latest version).
-
-         If you want to compile this as a module ( = code which can be
-         inserted in and removed from the running kernel whenever you want),
-         say M here and read <file:Documentation/modules.txt>.  The module
-         will be called binfmt_elf. Saying M or N here is dangerous because
-         some crucial programs on your system might be in ELF format.
-
-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
-       ---help---
-         If you say Y here, it will be possible to plug wrapper-driven binary
-         formats into the kernel. You will like this especially when you use
-         programs that need an interpreter to run like Java, Python or
-         Emacs-Lisp. It's also useful if you often run DOS executables under
-         the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>). Once you have
-         registered such a binary class with the kernel, you can start one of
-         those programs simply by typing in its name at a shell prompt; Linux
-         will automatically feed it to the correct interpreter.
-
-         You can do other nice things, too. Read the file
-         <file:Documentation/binfmt_misc.txt> to learn how to use this
-         feature, and <file:Documentation/java.txt> for information about how
-         to include Java support.
-
-         You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
-         use this part of the kernel.
-
-         You may say M here for module support and later load the module when
-         you have use for it; the module is called binfmt_misc. If you
-         don't know what to answer at this point, say Y.
+source "fs/Kconfig.binfmt"

config PM
       bool "Power Management support"
Index: arch/cris/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/cris/Kconfig,v
retrieving revision 1.9
diff -u -p -r1.9 Kconfig
--- arch/cris/Kconfig   17 Jun 2003 11:54:05 -0000      1.9
+++ arch/cris/Kconfig   17 Jun 2003 11:55:53 -0000
@@ -25,34 +25,7 @@ source "init/Kconfig"

menu "General setup"

-config BINFMT_ELF
-       tristate "Kernel support for ELF binaries"
-       ---help---
-         ELF (Executable and Linkable Format) is a format for libraries and
-         executables used across different architectures and operating
-         systems. Saying Y here will enable your kernel to run ELF binaries
-         and enlarge it by about 13 KB. ELF support under Linux has now all
-         but replaced the traditional Linux a.out formats (QMAGIC and ZMAGIC)
-         because it is portable (this does *not* mean that you will be able
-         to run executables from different architectures or operating systems
-         however) and makes building run-time libraries very easy. Many new
-         executables are distributed solely in ELF format. You definitely
-         want to say Y here.
-
-         Information about ELF is contained in the ELF HOWTO available from
-         <http://www.tldp.org/docs.html#howto>.
-
-         If you find that after upgrading from Linux kernel 1.2 and saying Y
-         here, you still can't run any ELF binaries (they just crash), then
-         you'll have to install the newest ELF runtime libraries, including
-         ld.so (check the file <file:Documentation/Changes> for location and
-         latest version).
-
-         If you want to compile this as a module ( = code which can be
-         inserted in and removed from the running kernel whenever you want),
-         say M here and read <file:Documentation/modules.txt>.  The module
-         will be called binfmt_elf. Saying M or N here is dangerous because
-         some crucial programs on your system might be in ELF format.
+source "fs/Kconfig.binfmt"

config ETRAX_KGDB
       bool "Use kernel gdb debugger"
Index: arch/h8300/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/h8300/Kconfig,v
retrieving revision 1.4
diff -u -p -r1.4 Kconfig
--- arch/h8300/Kconfig  17 Jun 2003 11:54:05 -0000      1.4
+++ arch/h8300/Kconfig  17 Jun 2003 11:55:54 -0000
@@ -141,10 +141,7 @@ config KCORE_AOUT
config KCORE_ELF
       default y

-config BINFMT_FLAT
-       tristate "Kernel support for flat binaries"
-       help
-         Support uClinux FLAT format binaries.
+source "fs/Kconfig.binfmt"

endmenu

Index: arch/i386/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/i386/Kconfig,v
retrieving revision 1.24
diff -u -p -r1.24 Kconfig
--- arch/i386/Kconfig   17 Jun 2003 11:54:05 -0000      1.24
+++ arch/i386/Kconfig   17 Jun 2003 11:55:54 -0000
@@ -1190,81 +1190,7 @@ config KCORE_AOUT

endchoice

-config BINFMT_AOUT
-       tristate "Kernel support for a.out binaries"
-       ---help---
-         A.out (Assembler.OUTput) is a set of formats for libraries and
-         executables used in the earliest versions of UNIX. Linux used the
-         a.out formats QMAGIC and ZMAGIC until they were replaced with the
-         ELF format.
-
-         As more and more programs are converted to ELF, the use for a.out
-         will gradually diminish. If you disable this option it will reduce
-         your kernel by one page. This is not much and by itself does not
-         warrant removing support. However its removal is a good idea if you
-         wish to ensure that absolutely none of your programs will use this
-         older executable format. If you don't know what to answer at this
-         point then answer Y. If someone told you "You need a kernel with
-         QMAGIC support" then you'll have to say Y here. You may answer M to
-         compile a.out support as a module and later load the module when you
-         want to use a program or library in a.out format. The module will be
-         called binfmt_aout. Saying M or N here is dangerous though,
-         because some crucial programs on your system might still be in A.OUT
-         format.
-
-config BINFMT_ELF
-       tristate "Kernel support for ELF binaries"
-       ---help---
-         ELF (Executable and Linkable Format) is a format for libraries and
-         executables used across different architectures and operating
-         systems. Saying Y here will enable your kernel to run ELF binaries
-         and enlarge it by about 13 KB. ELF support under Linux has now all
-         but replaced the traditional Linux a.out formats (QMAGIC and ZMAGIC)
-         because it is portable (this does *not* mean that you will be able
-         to run executables from different architectures or operating systems
-         however) and makes building run-time libraries very easy. Many new
-         executables are distributed solely in ELF format. You definitely
-         want to say Y here.
-
-         Information about ELF is contained in the ELF HOWTO available from
-         <http://www.tldp.org/docs.html#howto>.
-
-         If you find that after upgrading from Linux kernel 1.2 and saying Y
-         here, you still can't run any ELF binaries (they just crash), then
-         you'll have to install the newest ELF runtime libraries, including
-         ld.so (check the file <file:Documentation/Changes> for location and
-         latest version).
-
-         If you want to compile this as a module ( = code which can be
-         inserted in and removed from the running kernel whenever you want),
-         say M here and read <file:Documentation/modules.txt>.  The module
-         will be called binfmt_elf. Saying M or N here is dangerous because
-         some crucial programs on your system might be in ELF format.
-
-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
-       ---help---
-         If you say Y here, it will be possible to plug wrapper-driven binary
-         formats into the kernel. You will like this especially when you use
-         programs that need an interpreter to run like Java, Python or
-         Emacs-Lisp. It's also useful if you often run DOS executables under
-         the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>). Once you have
-         registered such a binary class with the kernel, you can start one of
-         those programs simply by typing in its name at a shell prompt; Linux
-         will automatically feed it to the correct interpreter.
-
-         You can do other nice things, too. Read the file
-         <file:Documentation/binfmt_misc.txt> to learn how to use this
-         feature, and <file:Documentation/java.txt> for information about how
-         to include Java support.
-
-         You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
-         use this part of the kernel.
-
-         You may say M here for module support and later load the module when
-         you have use for it; the module is called binfmt_misc. If you
-         don't know what to answer at this point, say Y.
+source "fs/Kconfig.binfmt"

endmenu

Index: arch/ia64/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/ia64/Kconfig,v
retrieving revision 1.14
diff -u -p -r1.14 Kconfig
--- arch/ia64/Kconfig   17 Jun 2003 11:54:06 -0000      1.14
+++ arch/ia64/Kconfig   17 Jun 2003 11:55:55 -0000
@@ -493,38 +493,7 @@ config NR_CPUS
       depends on SMP
       default "64"

-config BINFMT_ELF
-       tristate "Kernel support for ELF binaries"
-       ---help---
-         ELF (Executable and Linkable Format) is a format for libraries and
-         executables used across different architectures and operating
-         systems. Saying Y here will enable your kernel to run ELF binaries.
-
-         Information about ELF is contained in the ELF HOWTO available from
-         <http://www.tldp.org/docs.html#howto>.
-
-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
-       ---help---
-         If you say Y here, it will be possible to plug wrapper-driven binary
-         formats into the kernel. You will like this especially when you use
-         programs that need an interpreter to run like Java, Python or
-         Emacs-Lisp.  Once you have registered such a binary class with the
-         kernel, you can start one of those programs simply by typing in its
-         name at a shell prompt; Linux will automatically feed it to the
-         correct interpreter.
-
-         You can do other nice things, too. Read the file
-         <file:Documentation/binfmt_misc.txt> to learn how to use this
-         feature, and <file:Documentation/java.txt> for information about how
-         to include Java support.
-
-         You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
-         use this part of the kernel.
-
-         You may say M here for module support and later load the module when
-         you have use for it; the module is called binfmt_misc. If you
-         don't know what to answer at this point, say Y.
+source "fs/Kconfig.binfmt"

if !IA64_HP_SIM

Index: arch/m68k/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/m68k/Kconfig,v
retrieving revision 1.14
diff -u -p -r1.14 Kconfig
--- arch/m68k/Kconfig   17 Jun 2003 11:54:07 -0000      1.14
+++ arch/m68k/Kconfig   17 Jun 2003 11:55:55 -0000
@@ -376,81 +376,7 @@ config KCORE_AOUT

endchoice

-config BINFMT_AOUT
-       tristate "Kernel support for a.out binaries"
-       ---help---
-         A.out (Assembler.OUTput) is a set of formats for libraries and
-         executables used in the earliest versions of UNIX. Linux used the
-         a.out formats QMAGIC and ZMAGIC until they were replaced with the
-         ELF format.
-
-         As more and more programs are converted to ELF, the use for a.out
-         will gradually diminish. If you disable this option it will reduce
-         your kernel by one page. This is not much and by itself does not
-         warrant removing support. However its removal is a good idea if you
-         wish to ensure that absolutely none of your programs will use this
-         older executable format. If you don't know what to answer at this
-         point then answer Y. If someone told you "You need a kernel with
-         QMAGIC support" then you'll have to say Y here. You may answer M to
-         compile a.out support as a module and later load the module when you
-         want to use a program or library in a.out format. The module will be
-         called binfmt_aout. Saying M or N here is dangerous though,
-         because some crucial programs on your system might still be in A.OUT
-         format.
-
-config BINFMT_ELF
-       tristate "Kernel support for ELF binaries"
-       ---help---
-         ELF (Executable and Linkable Format) is a format for libraries and
-         executables used across different architectures and operating
-         systems. Saying Y here will enable your kernel to run ELF binaries
-         and enlarge it by about 13 KB. ELF support under Linux has now all
-         but replaced the traditional Linux a.out formats (QMAGIC and ZMAGIC)
-         because it is portable (this does *not* mean that you will be able
-         to run executables from different architectures or operating systems
-         however) and makes building run-time libraries very easy. Many new
-         executables are distributed solely in ELF format. You definitely
-         want to say Y here.
-
-         Information about ELF is contained in the ELF HOWTO available from
-         <http://www.tldp.org/docs.html#howto>.
-
-         If you find that after upgrading from Linux kernel 1.2 and saying Y
-         here, you still can't run any ELF binaries (they just crash), then
-         you'll have to install the newest ELF runtime libraries, including
-         ld.so (check the file <file:Documentation/Changes> for location and
-         latest version).
-
-         If you want to compile this as a module ( = code which can be
-         inserted in and removed from the running kernel whenever you want),
-         say M here and read <file:Documentation/modules.txt>.  The module
-         will be called binfmt_elf. Saying M or N here is dangerous because
-         some crucial programs on your system might be in ELF format.
-
-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
-       ---help---
-         If you say Y here, it will be possible to plug wrapper-driven binary
-         formats into the kernel. You will like this especially when you use
-         programs that need an interpreter to run like Java, Python or
-         Emacs-Lisp. It's also useful if you often run DOS executables under
-         the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>). Once you have
-         registered such a binary class with the kernel, you can start one of
-         those programs simply by typing in its name at a shell prompt; Linux
-         will automatically feed it to the correct interpreter.
-
-         You can do other nice things, too. Read the file
-         <file:Documentation/binfmt_misc.txt> to learn how to use this
-         feature, and <file:Documentation/java.txt> for information about how
-         to include Java support.
-
-         You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
-         use this part of the kernel.
-
-         You may say M here for module support and later load the module when
-         you have use for it; the module is called binfmt_misc. If you
-         don't know what to answer at this point, say Y.
+source "fs/Kconfig.binfmt"

config ZORRO
       bool "Amiga Zorro (AutoConfig) bus support"
Index: arch/m68knommu/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/m68knommu/Kconfig,v
retrieving revision 1.12
diff -u -p -r1.12 Kconfig
--- arch/m68knommu/Kconfig      17 Jun 2003 11:54:07 -0000      1.12
+++ arch/m68knommu/Kconfig      17 Jun 2003 11:55:56 -0000
@@ -501,16 +501,7 @@ config KCORE_AOUT
config KCORE_ELF
       default y

-config BINFMT_FLAT
-       tristate "Kernel support for flat binaries"
-       help
-         Support uClinux FLAT format binaries.
-
-config BINFMT_ZFLAT
-       bool "  Enable ZFLAT support"
-       depends on BINFMT_FLAT
-       help
-         Supoprt FLAT format compressed binaries
+source "fs/Kconfig.binfmt"

endmenu

Index: arch/mips/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/mips/Kconfig,v
retrieving revision 1.11
diff -u -p -r1.11 Kconfig
--- arch/mips/Kconfig   17 Jun 2003 11:54:08 -0000      1.11
+++ arch/mips/Kconfig   17 Jun 2003 11:55:56 -0000
@@ -702,82 +702,7 @@ config ARC_CONSOLE
       bool "ARC console support"
       depends on ARC32

-config BINFMT_AOUT
-       bool
-       ---help---
-         A.out (Assembler.OUTput) is a set of formats for libraries and
-         executables used in the earliest versions of UNIX. Linux used the
-         a.out formats QMAGIC and ZMAGIC until they were replaced with the
-         ELF format.
-
-         As more and more programs are converted to ELF, the use for a.out
-         will gradually diminish. If you disable this option it will reduce
-         your kernel by one page. This is not much and by itself does not
-         warrant removing support. However its removal is a good idea if you
-         wish to ensure that absolutely none of your programs will use this
-         older executable format. If you don't know what to answer at this
-         point then answer Y. If someone told you "You need a kernel with
-         QMAGIC support" then you'll have to say Y here. You may answer M to
-         compile a.out support as a module and later load the module when you
-         want to use a program or library in a.out format. The module will be
-         called binfmt_aout. Saying M or N here is dangerous though,
-         because some crucial programs on your system might still be in A.OUT
-         format.
-
-config BINFMT_ELF
-       bool
-       default y
-       ---help---
-         ELF (Executable and Linkable Format) is a format for libraries and
-         executables used across different architectures and operating
-         systems. Saying Y here will enable your kernel to run ELF binaries
-         and enlarge it by about 13 KB. ELF support under Linux has now all
-         but replaced the traditional Linux a.out formats (QMAGIC and ZMAGIC)
-         because it is portable (this does *not* mean that you will be able
-         to run executables from different architectures or operating systems
-         however) and makes building run-time libraries very easy. Many new
-         executables are distributed solely in ELF format. You definitely
-         want to say Y here.
-
-         Information about ELF is contained in the ELF HOWTO available from
-         <http://www.tldp.org/docs.html#howto>.
-
-         If you find that after upgrading from Linux kernel 1.2 and saying Y
-         here, you still can't run any ELF binaries (they just crash), then
-         you'll have to install the newest ELF runtime libraries, including
-         ld.so (check the file <file:Documentation/Changes> for location and
-         latest version).
-
-         If you want to compile this as a module ( = code which can be
-         inserted in and removed from the running kernel whenever you want),
-         say M here and read <file:Documentation/modules.txt>.  The module
-         will be called binfmt_elf. Saying M or N here is dangerous because
-         some crucial programs on your system might be in ELF format.
-
-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
-       ---help---
-         If you say Y here, it will be possible to plug wrapper-driven binary
-         formats into the kernel. You will like this especially when you use
-         programs that need an interpreter to run like Java, Python or
-         Emacs-Lisp. It's also useful if you often run DOS executables under
-         the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>). Once you have
-         registered such a binary class with the kernel, you can start one of
-         those programs simply by typing in its name at a shell prompt; Linux
-         will automatically feed it to the correct interpreter.
-
-         You can do other nice things, too. Read the file
-         <file:Documentation/binfmt_misc.txt> to learn how to use this
-         feature, and <file:Documentation/java.txt> for information about how
-         to include Java support.
-
-         You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
-         use this part of the kernel.
-
-         You may say M here for module support and later load the module when
-         you have use for it; the module is called binfmt_misc. If you
-         don't know what to answer at this point, say Y.
+source "fs/Kconfig.binfmt"

source "drivers/pci/Kconfig"

Index: arch/mips64/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/mips64/Kconfig,v
retrieving revision 1.13
diff -u -p -r1.13 Kconfig
--- arch/mips64/Kconfig 17 Jun 2003 11:54:08 -0000      1.13
+++ arch/mips64/Kconfig 17 Jun 2003 11:55:59 -0000
@@ -335,34 +335,7 @@ config ARC_CONSOLE
       bool "ARC console support"
       depends on ARC32

-config BINFMT_ELF
-       tristate "Kernel support for 64-bit ELF binaries"
-       ---help---
-         ELF (Executable and Linkable Format) is a format for libraries and
-         executables used across different architectures and operating
-         systems. Saying Y here will enable your kernel to run ELF binaries
-         and enlarge it by about 13 KB. ELF support under Linux has now all
-         but replaced the traditional Linux a.out formats (QMAGIC and ZMAGIC)
-         because it is portable (this does *not* mean that you will be able
-         to run executables from different architectures or operating systems
-         however) and makes building run-time libraries very easy. Many new
-         executables are distributed solely in ELF format. You definitely
-         want to say Y here.
-
-         Information about ELF is contained in the ELF HOWTO available from
-         <http://www.tldp.org/docs.html#howto>.
-
-         If you find that after upgrading from Linux kernel 1.2 and saying Y
-         here, you still can't run any ELF binaries (they just crash), then
-         you'll have to install the newest ELF runtime libraries, including
-         ld.so (check the file <file:Documentation/Changes> for location and
-         latest version).
-
-         If you want to compile this as a module ( = code which can be
-         inserted in and removed from the running kernel whenever you want),
-         say M here and read <file:Documentation/modules.txt>.  The module
-         will be called binfmt_elf. Saying M or N here is dangerous because
-         some crucial programs on your system might be in ELF format.
+source "fs/Kconfig.binfmt"

config MIPS32_COMPAT
       bool "Kernel support for Linux/MIPS 32-bit binary compatibility"
@@ -378,36 +351,11 @@ config COMPAT

config BINFMT_ELF32
       bool
-       depends on MIPS32_COMPAT
+       depends on BINFMT_ELF && MIPS32_COMPAT
       default y
       help
         This allows you to run 32-bit Linux/ELF binaries on your Ultra.
         Everybody wants this; say Y.
-
-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
-       ---help---
-         If you say Y here, it will be possible to plug wrapper-driven binary
-         formats into the kernel. You will like this especially when you use
-         programs that need an interpreter to run like Java, Python or
-         Emacs-Lisp. It's also useful if you often run DOS executables under
-         the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>). Once you have
-         registered such a binary class with the kernel, you can start one of
-         those programs simply by typing in its name at a shell prompt; Linux
-         will automatically feed it to the correct interpreter.
-
-         You can do other nice things, too. Read the file
-         <file:Documentation/binfmt_misc.txt> to learn how to use this
-         feature, and <file:Documentation/java.txt> for information about how
-         to include Java support.
-
-         You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
-         use this part of the kernel.
-
-         You may say M here for module support and later load the module when
-         you have use for it; the module is called binfmt_misc. If you
-         don't know what to answer at this point, say Y.

endmenu

Index: arch/parisc/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/parisc/Kconfig,v
retrieving revision 1.19
diff -u -p -r1.19 Kconfig
--- arch/parisc/Kconfig 17 Jun 2003 11:54:08 -0000      1.19
+++ arch/parisc/Kconfig 17 Jun 2003 11:55:59 -0000
@@ -166,66 +166,7 @@ config KCORE_ELF
       depends on PROC_FS
       default y

-config BINFMT_SOM
-       tristate "Kernel support for SOM binaries"
-       depends on HPUX
-       help
-         SOM is a binary executable format inherited from HP/UX.  Say Y here
-         to be able to load and execute SOM binaries directly.
-
-config BINFMT_ELF
-       tristate "Kernel support for ELF binaries"
-       ---help---
-         ELF (Executable and Linkable Format) is a format for libraries and
-         executables used across different architectures and operating
-         systems. Saying Y here will enable your kernel to run ELF binaries
-         and enlarge it by about 13 KB. ELF support under Linux has now all
-         but replaced the traditional Linux a.out formats (QMAGIC and ZMAGIC)
-         because it is portable (this does *not* mean that you will be able
-         to run executables from different architectures or operating systems
-         however) and makes building run-time libraries very easy. Many new
-         executables are distributed solely in ELF format. You definitely
-         want to say Y here.
-
-         Information about ELF is contained in the ELF HOWTO available from
-         <http://www.tldp.org/docs.html#howto>.
-
-         If you find that after upgrading from Linux kernel 1.2 and saying Y
-         here, you still can't run any ELF binaries (they just crash), then
-         you'll have to install the newest ELF runtime libraries, including
-         ld.so (check the file <file:Documentation/Changes> for location and
-         latest version).
-
-         If you want to compile this as a module ( = code which can be
-         inserted in and removed from the running kernel whenever you want),
-         say M here and read <file:Documentation/modules.txt>.  The module
-         will be called binfmt_elf. Saying M or N here is dangerous because
-         some crucial programs on your system might be in ELF format.
-
-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
-       ---help---
-         If you say Y here, it will be possible to plug wrapper-driven binary
-         formats into the kernel. You will like this especially when you use
-         programs that need an interpreter to run like Java, Python or
-         Emacs-Lisp. It's also useful if you often run DOS executables under
-         the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>). Once you have
-         registered such a binary class with the kernel, you can start one of
-         those programs simply by typing in its name at a shell prompt; Linux
-         will automatically feed it to the correct interpreter.
-
-         You can do other nice things, too. Read the file
-         <file:Documentation/binfmt_misc.txt> to learn how to use this
-         feature, and <file:Documentation/java.txt> for information about how
-         to include Java support.
-
-         You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
-         use this part of the kernel.
-
-         You may say M here for module support and later load the module when
-         you have use for it; the module is called binfmt_misc. If you
-         don't know what to answer at this point, say Y.
+source "fs/Kconfig.binfmt"

endmenu

Index: arch/ppc/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/ppc/Kconfig,v
retrieving revision 1.14
diff -u -p -r1.14 Kconfig
--- arch/ppc/Kconfig    17 Jun 2003 11:54:09 -0000      1.14
+++ arch/ppc/Kconfig    17 Jun 2003 11:55:59 -0000
@@ -808,42 +808,11 @@ config KCORE_ELF
         "-g" option to preserve debugging information. It is mainly used
         for examining kernel data structures on the live kernel.

-config BINFMT_ELF
-       bool
-       default y
-       help
-         ELF (Executable and Linkable Format) is a format for libraries and
-         executables used across different architectures and operating
-         systems.
-
config KERNEL_ELF
       bool
       default y

-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
-       ---help---
-         If you say Y here, it will be possible to plug wrapper-driven binary
-         formats into the kernel. You will like this especially when you use
-         programs that need an interpreter to run like Java, Python or
-         Emacs-Lisp.  It's also useful if you often run DOS executables under
-         the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>).  Once you have
-         registered such a binary class with the kernel, you can start one of
-         those programs simply by typing in its name at a shell prompt; Linux
-         will automatically feed it to the correct interpreter.
-
-         You can do other nice things, too. Read the file
-         <file:Documentation/binfmt_misc.txt> to learn how to use this
-         feature, and <file:Documentation/java.txt> for information about how
-         to include Java support.
-
-         You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
-         use this part of the kernel.
-
-         You may say M here for module support and later load the module when
-         you have use for it; the module is called binfmt_misc. If you
-         don't know what to answer at this point, say Y.
+source "fs/Kconfig.binfmt"

source "drivers/pci/Kconfig"

Index: arch/ppc64/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/ppc64/Kconfig,v
retrieving revision 1.13
diff -u -p -r1.13 Kconfig
--- arch/ppc64/Kconfig  17 Jun 2003 11:54:10 -0000      1.13
+++ arch/ppc64/Kconfig  17 Jun 2003 11:56:00 -0000
@@ -191,37 +191,7 @@ config KCORE_ELF
         "-g" option to preserve debugging information. It is mainly used
         for examining kernel data structures on the live kernel.

-config BINFMT_ELF
-       bool "Kernel support for 64-bit ELF binaries"
-       help
-         ELF (Executable and Linkable Format) is a format for libraries and
-         executables used across different architectures and operating
-         systems.
-
-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
-       ---help---
-         If you say Y here, it will be possible to plug wrapper-driven binary
-         formats into the kernel. You will like this especially when you use
-         programs that need an interpreter to run like Java, Python or
-         Emacs-Lisp.  It's also useful if you often run DOS executables under
-         the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>).  Once you have
-         registered such a binary class with the kernel, you can start one of
-         those programs simply by typing in its name at a shell prompt; Linux
-         will automatically feed it to the correct interpreter.
-
-         You can do other nice things, too. Read the file
-         <file:Documentation/binfmt_misc.txt> to learn how to use this
-         feature, and <file:Documentation/java.txt> for information about how
-         to include Java support.
-
-         You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
-         use this part of the kernel.
-
-         You may say M here for module support and later load the module when
-         you have use for it; the module is called binfmt_misc. If you
-         don't know what to answer at this point, say Y.
+source "fs/Kconfig.binfmt"

source "drivers/pci/Kconfig"

Index: arch/s390/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/s390/Kconfig,v
retrieving revision 1.11
diff -u -p -r1.11 Kconfig
--- arch/s390/Kconfig   5 May 2003 17:05:56 -0000       1.11
+++ arch/s390/Kconfig   12 Jun 2003 17:41:27 -0000
@@ -192,78 +192,8 @@ endchoice
config KCORE_ELF
       bool
       default y
-       ---help---
-         If you enabled support for /proc file system then the file
-         /proc/kcore will contain the kernel core image. This can be used
-         in gdb:

-         $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
-
-         You have two choices here: ELF and A.OUT. Selecting ELF will make
-         /proc/kcore appear in ELF core format as defined by the Executable
-         and Linking Format specification. Selecting A.OUT will choose the
-         old "a.out" format which may be necessary for some old versions
-         of binutils or on some architectures.
-
-         This is especially useful if you have compiled the kernel with the
-         "-g" option to preserve debugging information. It is mainly used
-         for examining kernel data structures on the live kernel so if you
-         don't understand what this means or are not a kernel hacker, just
-         leave it at its default value ELF.
-
-config BINFMT_ELF
-       tristate "Kernel support for ELF binaries"
-       ---help---
-         ELF (Executable and Linkable Format) is a format for libraries and
-         executables used across different architectures and operating
-         systems. Saying Y here will enable your kernel to run ELF binaries
-         and enlarge it by about 13 KB. ELF support under Linux has now all
-         but replaced the traditional Linux a.out formats (QMAGIC and ZMAGIC)
-         because it is portable (this does *not* mean that you will be able
-         to run executables from different architectures or operating systems
-         however) and makes building run-time libraries very easy. Many new
-         executables are distributed solely in ELF format. You definitely
-         want to say Y here.
-
-         Information about ELF is contained in the ELF HOWTO available from
-         <http://www.tldp.org/docs.html#howto>.
-
-         If you find that after upgrading from Linux kernel 1.2 and saying Y
-         here, you still can't run any ELF binaries (they just crash), then
-         you'll have to install the newest ELF runtime libraries, including
-         ld.so (check the file <file:Documentation/Changes> for location and
-         latest version).
-
-         If you want to compile this as a module ( = code which can be
-         inserted in and removed from the running kernel whenever you want),
-         say M here and read <file:Documentation/modules.txt>.  The module
-         will be called binfmt_elf. Saying M or N here is dangerous because
-         some crucial programs on your system might be in ELF format.
-
-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
-       ---help---
-         If you say Y here, it will be possible to plug wrapper-driven binary
-         formats into the kernel. You will like this especially when you use
-         programs that need an interpreter to run like Java, Python or
-         Emacs-Lisp. It's also useful if you often run DOS executables under
-         the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>). Once you have
-         registered such a binary class with the kernel, you can start one of
-         those programs simply by typing in its name at a shell prompt; Linux
-         will automatically feed it to the correct interpreter.
-
-         You can do other nice things, too. Read the file
-         <file:Documentation/binfmt_misc.txt> to learn how to use this
-         feature, and <file:Documentation/java.txt> for information about how
-         to include Java support.
-
-         You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
-         use this part of the kernel.
-
-         You may say M here for module support and later load the module when
-         you have use for it; the module is called binfmt_misc. If you
-         don't know what to answer at this point, say Y.
+source "fs/Kconfig.binfmt"

config PROCESS_DEBUG
       bool "Show crashed user process info"
Index: arch/sh/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/sh/Kconfig,v
retrieving revision 1.12
diff -u -p -r1.12 Kconfig
--- arch/sh/Kconfig     17 Jun 2003 11:54:11 -0000      1.12
+++ arch/sh/Kconfig     17 Jun 2003 11:56:00 -0000
@@ -763,62 +763,7 @@ config KCORE_AOUT

endchoice

-config BINFMT_ELF
-       tristate "Kernel support for ELF binaries"
-       ---help---
-         ELF (Executable and Linkable Format) is a format for libraries and
-         executables used across different architectures and operating
-         systems. Saying Y here will enable your kernel to run ELF binaries
-         and enlarge it by about 13 KB. ELF support under Linux has now all
-         but replaced the traditional Linux a.out formats (QMAGIC and ZMAGIC)
-         because it is portable (this does *not* mean that you will be able
-         to run executables from different architectures or operating systems
-         however) and makes building run-time libraries very easy. Many new
-         executables are distributed solely in ELF format. You definitely
-         want to say Y here.
-
-         Information about ELF is contained in the ELF HOWTO available from
-         <http://www.tldp.org/docs.html#howto>.
-
-         If you find that after upgrading from Linux kernel 1.2 and saying Y
-         here, you still can't run any ELF binaries (they just crash), then
-         you'll have to install the newest ELF runtime libraries, including
-         ld.so (check the file <file:Documentation/Changes> for location and
-         latest version).
-
-         If you want to compile this as a module ( = code which can be
-         inserted in and removed from the running kernel whenever you want),
-         say M here and read <file:Documentation/modules.txt>.  The module
-         will be called binfmt_elf. Saying M or N here is dangerous because
-         some crucial programs on your system might be in ELF format.
-
-config BINFMT_FLAT
-       tristate "Kernel support for FLAT binaries"
-
-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
-       ---help---
-         If you say Y here, it will be possible to plug wrapper-driven binary
-         formats into the kernel. You will like this especially when you use
-         programs that need an interpreter to run like Java, Python or
-         Emacs-Lisp. It's also useful if you often run DOS executables under
-         the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>). Once you have
-         registered such a binary class with the kernel, you can start one of
-         those programs simply by typing in its name at a shell prompt; Linux
-         will automatically feed it to the correct interpreter.
-
-         You can do other nice things, too. Read the file
-         <file:Documentation/binfmt_misc.txt> to learn how to use this
-         feature, and <file:Documentation/java.txt> for information about how
-         to include Java support.
-
-         You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
-         use this part of the kernel.
-
-         You may say M here for module support and later load the module when
-         you have use for it; the module is called binfmt_misc. If you
-         don't know what to answer at this point, say Y.
+source "fs/Kconfig.binfmt"

endmenu

Index: arch/sparc/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/sparc/Kconfig,v
retrieving revision 1.14
diff -u -p -r1.14 Kconfig
--- arch/sparc/Kconfig  17 Jun 2003 11:54:11 -0000      1.14
+++ arch/sparc/Kconfig  17 Jun 2003 11:56:01 -0000
@@ -277,81 +277,7 @@ config KCORE_ELF
         don't understand what this means or are not a kernel hacker, just
         leave it at its default value ELF.

-config BINFMT_AOUT
-       tristate "Kernel support for a.out binaries"
-       ---help---
-         A.out (Assembler.OUTput) is a set of formats for libraries and
-         executables used in the earliest versions of UNIX. Linux used the
-         a.out formats QMAGIC and ZMAGIC until they were replaced with the
-         ELF format.
-
-         As more and more programs are converted to ELF, the use for a.out
-         will gradually diminish. If you disable this option it will reduce
-         your kernel by one page. This is not much and by itself does not
-         warrant removing support. However its removal is a good idea if you
-         wish to ensure that absolutely none of your programs will use this
-         older executable format. If you don't know what to answer at this
-         point then answer Y. If someone told you "You need a kernel with
-         QMAGIC support" then you'll have to say Y here. You may answer M to
-         compile a.out support as a module and later load the module when you
-         want to use a program or library in a.out format. The module will be
-         called binfmt_aout. Saying M or N here is dangerous though,
-         because some crucial programs on your system might still be in A.OUT
-         format.
-
-config BINFMT_ELF
-       tristate "Kernel support for ELF binaries"
-       ---help---
-         ELF (Executable and Linkable Format) is a format for libraries and
-         executables used across different architectures and operating
-         systems. Saying Y here will enable your kernel to run ELF binaries
-         and enlarge it by about 13 KB. ELF support under Linux has now all
-         but replaced the traditional Linux a.out formats (QMAGIC and ZMAGIC)
-         because it is portable (this does *not* mean that you will be able
-         to run executables from different architectures or operating systems
-         however) and makes building run-time libraries very easy. Many new
-         executables are distributed solely in ELF format. You definitely
-         want to say Y here.
-
-         Information about ELF is contained in the ELF HOWTO available from
-         <http://www.tldp.org/docs.html#howto>.
-
-         If you find that after upgrading from Linux kernel 1.2 and saying Y
-         here, you still can't run any ELF binaries (they just crash), then
-         you'll have to install the newest ELF runtime libraries, including
-         ld.so (check the file <file:Documentation/Changes> for location and
-         latest version).
-
-         If you want to compile this as a module ( = code which can be
-         inserted in and removed from the running kernel whenever you want),
-         say M here and read <file:Documentation/modules.txt>.  The module
-         will be called binfmt_elf. Saying M or N here is dangerous because
-         some crucial programs on your system might be in ELF format.
-
-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
-       ---help---
-         If you say Y here, it will be possible to plug wrapper-driven binary
-         formats into the kernel. You will like this especially when you use
-         programs that need an interpreter to run like Java, Python or
-         Emacs-Lisp. It's also useful if you often run DOS executables under
-         the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>). Once you have
-         registered such a binary class with the kernel, you can start one of
-         those programs simply by typing in its name at a shell prompt; Linux
-         will automatically feed it to the correct interpreter.
-
-         You can do other nice things, too. Read the file
-         <file:Documentation/binfmt_misc.txt> to learn how to use this
-         feature, and <file:Documentation/java.txt> for information about how
-         to include Java support.
-
-         You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
-         use this part of the kernel.
-
-         You may say M here for module support and later load the module when
-         you have use for it; the module is called binfmt_misc. If you
-         don't know what to answer at this point, say Y.
+source "fs/Kconfig.binfmt"

config SUNOS_EMUL
       bool "SunOS binary emulation"
Index: arch/sparc64/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/sparc64/Kconfig,v
retrieving revision 1.16
diff -u -p -r1.16 Kconfig
--- arch/sparc64/Kconfig        17 Jun 2003 11:54:12 -0000      1.16
+++ arch/sparc64/Kconfig        17 Jun 2003 11:56:01 -0000
@@ -415,59 +415,7 @@ config BINFMT_AOUT32
         If you want to run SunOS binaries (see SunOS binary emulation below)
         or other a.out binaries, say Y. If unsure, say N.

-config BINFMT_ELF
-       tristate "Kernel support for 64-bit ELF binaries"
-       ---help---
-         ELF (Executable and Linkable Format) is a format for libraries and
-         executables used across different architectures and operating
-         systems. Saying Y here will enable your kernel to run ELF binaries
-         and enlarge it by about 13 KB. ELF support under Linux has now all
-         but replaced the traditional Linux a.out formats (QMAGIC and ZMAGIC)
-         because it is portable (this does *not* mean that you will be able
-         to run executables from different architectures or operating systems
-         however) and makes building run-time libraries very easy. Many new
-         executables are distributed solely in ELF format. You definitely
-         want to say Y here.
-
-         Information about ELF is contained in the ELF HOWTO available from
-         <http://www.tldp.org/docs.html#howto>.
-
-         If you find that after upgrading from Linux kernel 1.2 and saying Y
-         here, you still can't run any ELF binaries (they just crash), then
-         you'll have to install the newest ELF runtime libraries, including
-         ld.so (check the file <file:Documentation/Changes> for location and
-         latest version).
-
-         If you want to compile this as a module ( = code which can be
-         inserted in and removed from the running kernel whenever you want),
-         say M here and read <file:Documentation/modules.txt>.  The module
-         will be called binfmt_elf. Saying M or N here is dangerous because
-         some crucial programs on your system might be in ELF format.
-
-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
-       ---help---
-         If you say Y here, it will be possible to plug wrapper-driven binary
-         formats into the kernel. You will like this especially when you use
-         programs that need an interpreter to run like Java, Python or
-         Emacs-Lisp. It's also useful if you often run DOS executables under
-         the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
-         <http://www.tldp.org/docs.html#howto>). Once you have
-         registered such a binary class with the kernel, you can start one of
-         those programs simply by typing in its name at a shell prompt; Linux
-         will automatically feed it to the correct interpreter.
-
-         You can do other nice things, too. Read the file
-         <file:Documentation/binfmt_misc.txt> to learn how to use this
-         feature, and <file:Documentation/java.txt> for information about how
-         to include Java support.
-
-         You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
-         use this part of the kernel.
-
-         You may say M here for module support and later load the module when
-         you have use for it; the module is called binfmt_misc. If you
-         don't know what to answer at this point, say Y.
+source "fs/Kconfig.binfmt"

config SUNOS_EMUL
       bool "SunOS binary emulation"
Index: arch/um/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/um/Kconfig,v
retrieving revision 1.6
diff -u -p -r1.6 Kconfig
--- arch/um/Kconfig     18 Mar 2003 00:57:04 -0000      1.6
+++ arch/um/Kconfig     12 Jun 2003 17:41:27 -0000
@@ -62,14 +62,7 @@ config MODE_SKAS
config NET
       bool "Networking support"

-config BINFMT_AOUT
-       tristate "Kernel support for a.out binaries"
-
-config BINFMT_ELF
-       tristate "Kernel support for ELF binaries"
-
-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
+source "fs/Kconfig.binfmt"

config HOSTFS
       tristate "Host filesystem"
Index: arch/v850/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/v850/Kconfig,v
retrieving revision 1.13
diff -u -p -r1.13 Kconfig
--- arch/v850/Kconfig   17 Jun 2003 11:54:13 -0000      1.13
+++ arch/v850/Kconfig   17 Jun 2003 11:56:02 -0000
@@ -243,16 +243,7 @@ config KCORE_AOUT
config KCORE_ELF
       default y

-config BINFMT_FLAT
-       tristate "Kernel support for flat binaries"
-       help
-         Support uClinux FLAT format binaries.
-
-config BINFMT_ZFLAT
-       bool "  Enable ZFLAT support"
-       depends on BINFMT_FLAT
-       help
-         Support FLAT format compressed binaries
+source "fs/Kconfig.binfmt"

endmenu

Index: arch/x86_64/Kconfig
===================================================================
RCS file: /var/cvs/linux-2.5/arch/x86_64/Kconfig,v
retrieving revision 1.19
diff -u -p -r1.19 Kconfig
--- arch/x86_64/Kconfig 17 Jun 2003 11:54:13 -0000      1.19
+++ arch/x86_64/Kconfig 17 Jun 2003 11:56:02 -0000
@@ -375,31 +375,7 @@ config KCORE_ELF
       depends on PROC_FS
       default y

-config BINFMT_ELF
-       bool
-       default y
-
-config BINFMT_MISC
-       tristate "Kernel support for MISC binaries"
-       ---help---
-         If you say Y here, it will be possible to plug wrapper-driven binary
-         formats into the kernel. You will like this especially when you use
-         programs that need an interpreter to run like Java, Python or
-         Emacs-Lisp. Once you have registered such a binary class with the kernel,
-         you can start one of those programs simply by typing in its name at a shell
-         prompt; Linux will automatically feed it to the correct interpreter.
-
-         You can do other nice things, too. Read the file
-         <file:Documentation/binfmt_misc.txt> to learn how to use this
-         feature, and <file:Documentation/java.txt> for information about how
-         to include Java support.
-
-         You must say Y to "/proc file system support" (CONFIG_PROC_FS) to
-         use this part of the kernel.
-
-         You may say M here for module support and later load the module when
-         you have use for it; the module is called binfmt_misc. If you
-         don't know what to answer at this point, say Y.
+source "fs/Kconfig.binfmt"

config IA32_EMULATION
       bool "IA32 Emulation"
Index: fs/Kconfig.binfmt
===================================================================
RCS file: fs/Kconfig.binfmt
diff -N fs/Kconfig.binfmt
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ fs/Kconfig.binfmt   16 Jun 2003 18:04:05 -0000
@@ -0,0 +1,116 @@
+config BINFMT_ELF
+       tristate "Kernel support for ELF binaries"
+       depends on MMU
+       default y
+       ---help---
+         ELF (Executable and Linkable Format) is a format for libraries and
+         executables used across different architectures and operating
+         systems. Saying Y here will enable your kernel to run ELF binaries
+         and enlarge it by about 13 KB. ELF support under Linux has now all
+         but replaced the traditional Linux a.out formats (QMAGIC and ZMAGIC)
+         because it is portable (this does *not* mean that you will be able
+         to run executables from different architectures or operating systems
+         however) and makes building run-time libraries very easy. Many new
+         executables are distributed solely in ELF format. You definitely
+         want to say Y here.
+
+         Information about ELF is contained in the ELF HOWTO available from
+         <http://www.tldp.org/docs.html#howto>.
+
+         If you find that after upgrading from Linux kernel 1.2 and saying Y
+         here, you still can't run any ELF binaries (they just crash), then
+         you'll have to install the newest ELF runtime libraries, including
+         ld.so (check the file <file:Documentation/Changes> for location and
+         latest version).
+
+         If you want to compile this as a module ( = code which can be
+         inserted in and removed from the running kernel whenever you want),
+         say M here and read <file:Documentation/modules.txt>.  The module
+         will be called binfmt_elf. Saying M or N here is dangerous because
+         some crucial programs on your system might be in ELF format.
+
+config BINFMT_FLAT
+       tristate "Kernel support for flat binaries"
+       depends on !MMU
+       help
+         Support uClinux FLAT format binaries.
+
+config BINFMT_ZFLAT
+       bool "Enable ZFLAT support"
+       depends on BINFMT_FLAT
+       help
+         Support FLAT format compressed binaries
+
+config BINFMT_AOUT
+       tristate "Kernel support for a.out and ECOFF binaries"
+       depends on X86 || ALPHA || ARM || M68K || MIPS || SPARC
+       ---help---
+         A.out (Assembler.OUTput) is a set of formats for libraries and
+         executables used in the earliest versions of UNIX.  Linux used
+         the a.out formats QMAGIC and ZMAGIC until they were replaced
+         with the ELF format.
+
+         The conversion to ELF started in 1995.  This option is primarily
+         provided for historical interest and for the benefit of those
+         who need to run binaries from that era.
+
+         Most people should answer N here.  If you think you may have
+         occasional use for this format, enable module support above
+         and answer M here to compile this support as a module called
+         binfmt_aout.
+
+         If any crucial components of your system (such as /sbin/init
+         or /lib/ld.so) are still in a.out format, you will have to
+         say Y here.
+
+config OSF4_COMPAT
+       bool "OSF/1 v4 readv/writev compatibility"
+       depends on ALPHA && BINFMT_AOUT
+       help
+         Say Y if you are using OSF/1 binaries (like Netscape and Acrobat)
+         with v4 shared libraries freely available from Compaq. If you're
+         going to use shared libraries from Tru64 version 5.0 or later, say N.
+
+config BINFMT_EM86
+       tristate "Kernel support for Linux/Intel ELF binaries"
+       depends on ALPHA
+       ---help---
+         Say Y here if you want to be able to execute Linux/Intel ELF
+         binaries just like native Alpha binaries on your Alpha machine. For
+         this to work, you need to have the emulator /usr/bin/em86 in place.
+
+         You can get the same functionality by saying N here and saying Y to
+         "Kernel support for MISC binaries".
+
+         You may answer M to compile the emulation support as a module and
+         later load the module when you want to use a Linux/Intel binary. The
+         module will be called binfmt_em86. If unsure, say Y.
+
+config BINFMT_SOM
+       tristate "Kernel support for SOM binaries"
+       depends on PARISC && HPUX
+       help
+         SOM is a binary executable format inherited from HP/UX.  Say
+         Y here to be able to load and execute SOM binaries directly.
+
+config BINFMT_MISC
+       tristate "Kernel support for MISC binaries"
+       ---help---
+         If you say Y here, it will be possible to plug wrapper-driven binary
+         formats into the kernel. You will like this especially when you use
+         programs that need an interpreter to run like Java, Python or
+         Emacs-Lisp. It's also useful if you often run DOS executables under
+         the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
+         <http://www.tldp.org/docs.html#howto>). Once you have
+         registered such a binary class with the kernel, you can start one of
+         those programs simply by typing in its name at a shell prompt; Linux
+         will automatically feed it to the correct interpreter.
+
+         You can do other nice things, too. Read the file
+         <file:Documentation/binfmt_misc.txt> to learn how to use this
+         feature, and <file:Documentation/java.txt> for information about how
+         to include Java support.
+
+         You may say M here for module support and later load the module when
+         you have use for it; the module is called binfmt_misc. If you
+         don't know what to answer at this point, say Y.