www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/03/12:26:43

From: Mike Little <MikeL AT amprsoft DOT demon DOT co DOT uk>
Subject: Re: COFF and ELF exec formats
Message-ID: <844212071snz@amprsoft.demon.co.uk>
References: <Pine DOT SUN DOT 3 DOT 93 DOT 960922124049 DOT 380A-100000 AT napier DOT uwaterloo DOT ca> <524dag$q3n AT lastactionhero DOT rs DOT itd DOT umich DOT edu>
Date: Tue, 01 Oct 96 23:21:11 GMT
Organization: Ampersoft &
Reply-To: MikeL AT amprsoft DOT demon DOT co DOT uk
Lines: 44
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <524dag$q3n AT lastactionhero DOT rs DOT itd DOT umich DOT edu>
           hasdi AT umich DOT edu "Hasdi Rodzmann Hashim" writes:

> Kevin Moule (krmoule AT undergrad DOT math DOT uwaterloo DOT ca) wrote:
> 
> : The best thing about all this is that its already been implemented
> : for linux, and would require only a port to DJGPP. But this gets
> : back to my original message, is it possible and/or practical to
> : port this to DJGPP?
> 
> possible? yeah. practical? Well, until you have the elf-executable loader
> that works in DOS, there is little reason for djgpp to generate ELF
> binaries and shared libraries. Heck, you can generate ELF binaries and
> shared libraries from other platform such as gcc under Linux. It's just
> the elf loader that needs to be made/worked on.
> 
> Is there one in progress? I might be willing to pitch in.
> 
> Later.
> 
> Hasdi
> 

I would be really interested in DJGPP supporting ELF.

I've just implemented a dynamic linker/loader for ELF format files for the 
Power PC. This is for an embedded OS using the Metaware compiler. 
The test environment for this OS is hosted on DOS using Borland's 16-bit DPMI
server. This is not very clever as far too much of the code is different from 
the target build.

I will have to speak to my employer's and if they are willing, I would be
willing to help in implementing a loader. I 'only' need help with allocating 
and protecting memory in DPMI mode. I could probably do the rest. According
to the specs 386 ELF is much simpler than PPC (2 fixup types as opposed
to 20+).

I'll ask at work and post back.

sig ======================================================================
Mike Little <MikeL AT amprsoft DOT demon DOT co DOT uk> http://www.amprsoft.demon.co.uk
PGPID:1024/8936BCF9 Fngrprnt:66 01 0E 95 31 20 CA 1B-E5 21 DB 31 ED E1 EC 6B
PGPID: 512/FA2EE3BB Fngrprnt:C0 40 ED FF D0 E8 57 D7-B0 66 DB B8 31 14 32 12
finger MikeL AT amprsoft DOT demon DOT co DOT uk for PGP public keys (part-time connection)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019