From: biro@yggdrasil.com (Ross Biro)
Subject: Diffs to compile kernel under elf
Date: 14 Dec 1994 17:31:36 +0200 [thread overview]
Message-ID: <3cn34o$5r1@klaava.Helsinki.FI> (raw)
I've uploaded diffs that allow the kernel to be compiled with an elf
kernel to sunsite.unc.edu and made them available on ftp.yggdrasil.com.
Here is the readme file I've included. Please note that you need
a modified objdump, insmod, and a program called encaps, all except
insmod are available from sunsite and ftp.yggdrasil.com. Insmod is
only available at ftp.yggdrasil.com until I get it to work with both
coff and elf (mostly just problems with _'s.)
These diffs allow the kernel to be compiled with an elf compiler or an
a.out compiler by changing only one define in the main makefile
(__ELF__ for elf code.) There are some side effects of these diffs
with modules however.
insmod needed to be completely rewritten to support elf code, so I changed
it to use a module version number which is independent of the kernel
version number. The only change which should be required is to recompile
the module (which is required anyway.) I also added magic numbers to
many of the module structures for additional consistancy checks.
A new insmod which supports elf is available from ftp.yggdrasil.com, and
will be uploaded to sunsite once it can transparently suport elf/a.out.
The new insmod uses the standard binutils and temporary files, so it is
much SLOWER than the old version. The advantage is that it should support
any binary format which ld and co (bfd) can support.
To use these diffs, you will need a patched version of objdump and
a program called encaps, both of which should be available from
sunsite.unc.edu or ftp.yggdrasil.com.
Send fixes/bug reports to biro@yggdrasil.com (not bir7@leland.stanford.edu
since that email address is no longer vaild.)
--
Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu
PLEASE remember Keywords: and a short description of the software.
next reply other threads:[~1994-12-14 15:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-12-14 15:31 Ross Biro [this message]
1994-12-27 14:32 ` Missing Changes from patches to compile the kernel with elf Ross Biro
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox