delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/15/18:39:46

Date: Wed, 15 May 1996 17:36:14 -0600 (CST)
From: Aaron Ucko <UCKO AT VAX1 DOT ROCKHURST DOT EDU>
Subject: Re: ELF wanted
To: lehmann AT mathematik DOT th-darmstadt DOT de
Cc: djgpp AT delorie DOT com
Message-id: <01I4QRBGPQBM001M7S@VAX1.ROCKHURST.EDU>
Organization: Rockhurst College; Kansas City, MO
MIME-version: 1.0

>I think ELF places more restrictions on code style than COFF (if COFF does
>at all). The code is usually position independent (probably only for libraries)
>but you have to keep one register unused that is used for making calls
>position independent. So converting from COFF to ELF is probably not possible.
>(Well, that's what I gathered from some announcements with Linux moved to
> ELF, maybe I'm incorrect)

No, that only happens if you use -fpic.  Otherwise you get normal position
dependent code and the use of as many registers as before.

-- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) | httyp!
"That's right," he said. "We're philosophers. We think, therefore we am."
-- Terry Pratchett, _Small Gods_ | Geek Code 3.1 [for explanation, finger 
 hayden AT mankato DOT msus DOT edu]: GCS/M/S/C d- s: a18 C++(+++)>++++ UL++>++++ P++ 
 L++>+++++ E- W(-) N++(+) o+ K- w--- O M@ V-(--) PS++(+++) PE- Y(+) PGP(+) t(+)
 !5 X-- R(-) tv-@ b++(+++) DI+ !D-- G++(+++) e->+++++(*) h!>+ r-(--)>+++ y?

- Raw text -


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