*BSD News Article 80850


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.sdsmt.edu!news.mid.net!news.dra.com!feed1.news.erols.com!howland.erols.net!news-peer.gsl.net!news.gsl.net!uwm.edu!math.ohio-state.edu!jussieu.fr!eurocontrol.fr!polaris.eurocontrol.fr!not-for-mail
From: Ollivier.Robert@eurocontrol.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Linux/Elf Emulation
Date: 16 Oct 1996 13:45:59 GMT
Organization: Eurocontrol EEC, Bretigny, France
Lines: 45
Message-ID: <542oun$rug@polaris.eurocontrol.fr>
References: <32647535.167EB0E7@mybutt.com>
NNTP-Posting-Host: mozart.eurocontrol.fr

    [courtesy cc of this posting sent to cited author via email]

In article <32647535.167EB0E7@mybutt.com>,
The God Of Life  <kane@mybutt.com> wrote:
>   If you have any info available on my problem please respond. Am I
> missing ELF compatibility. Is it because of these lines in my kernal

You've got to run 2.2-CURRENT to get ELF support. In CURRENT you have
support for both Linux and FreeBSD native ELF formats.

Example:

220 [0:42] root@keltia:/build/mutt-0.47# file mutt
mutt: ELF 32-bit LSB executable, Intel 80386, version 1
 
222 [0:42] root@keltia:/build/mutt-0.47# objdump --file-headers mutt
 
mutt:     file format elf32-i386
architecture: i386, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x08049b60
 
/build/mutt-0.47/mutt:     file format elf32-i386
 
Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .interp       00000019  080480d4  080480d4  000000d4  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  1 .hash         00000394  080480f0  080480f0  000000f0  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  2 .dynsym       00000820  08048484  08048484  00000484  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  3 .dynstr       000003e7  08048ca4  08048ca4  00000ca4  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .rel.bss      00000020  0804908c  0804908c  0000108c  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  5 .rel.plt      00000388  080490ac  080490ac  000010ac  2**2

It was compiled with a cross-compiling gcc and binutils. Runs without
problem under CURRENT.

It was considered too experimental for 2.1-STABLE at the time. Sorry.
-- 
Ollivier ROBERT   -=- Eurocontrol EEC/TS -=-   Ollivier.Robert@eurocontrol.fr
FreeBSD FAQ: <URL:http://www.FreeBSD.org/FAQ/>