[629] in linux-announce channel archive

home help back first fref pref prev next nref lref last post

linux 1.2.9.elf is released

daemon@ATHENA.MIT.EDU (Lars Wirzenius)
Wed Jun 7 23:44:40 1995

Date: Wed, 7 Jun 1995 04:39:20 -0500
From: Lars Wirzenius <wirzeniu@rose.uthscsa.edu>
To: linux-activists@niksula.hut.fi, linux-announce@vger.rutgers.edu

X-Mn-Key: announce

From: hjl@nynexst.com (H.J. Lu)
Subject: linux 1.2.9.elf is released
Newsgroups: comp.os.linux.announce
Keywords: Linux, patch, kernel, ELF
Organization: ?
Approved: linux-announce@news.ornl.gov (Lars Wirzenius)
Followup-to: comp.os.linux.development.system

Hi,

This is a new ELF patch, 1.2.9.elf, for Linux 1.2.9. It makes Linux
1.2.9 compatible with both ELF and a.out formats. You need modules
1.2.8 or newer to use module in ELF.

You can edit arch/i386/Makefile to choose which binary format you want
to compile the Linux kernel in. I only tested it on my machine. 

I also added the kernel ELF core dump, which is taken from the
patch made by jeremy@sour.sw.oz.au (Jeremy Fitzhardinge). I think
there may be an ELF bug somewhere:

--foo.c--
#include <stdio.h>

main ()
{
  const char * const sd1 = "1.8976931348623157e+308";

  *sd1 = 1;
}
----

Before 1.2.9.elf, I couldn't get it core dump under ELF if I used
-static. This bug has been fixed in 1.2.9.elf.

You also need a gdb patch to read the ELF core dump. There are two
gdb patches: one for shared library and the other for ELF core.
We need someone to put two together. I can put it on tsx-11 and
sunsite. Drop me a line if you can help out. Thanks.

This patch needs the following packages from me:

1. binutils 2.5.2l.17 or newer.
2. libc 5.0.9.
3. gcc 2.6.3/ELF.

The primary ftp sites for the compiler/C library are tsx-11.mit.edu
under pub/linux/packages/GCC and sunsite.unc.edu under pub/Linux/GCC.

After applying the patch, you can compile the kernel in ELF:

# cd linux
# gzip -dc ...../linux-1.2.9.elf.diff.gz | patch -p2
# make zImage

The resulting arch/i386/boot/zImage is compiled in ELF.

After editing arch/i386/Makefile, you can compile the kernel in a.out.

H.J.
hjl@nynexst.com
06/06/95

--
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember Keywords: and a short description of the software.

home help back first fref pref prev next nref lref last post