gcc

Michal Moskal malekith at pld.org.pl
Fri Aug 10 14:10:27 CEST 2001


On Thu, Aug 09, 2001 at 03:20:11PM +0200, Mariusz Mazur wrote:
> On 2001-08-09 Michal Moskal wrote the folowyng:
> MM> Well, as hasn't, objcopy is used to extract binary data.
> MM> Anyway, one should note, that .bin file is generated from .s
> MM> file, which is surly written with care, not to need any relocation.
> MM> I guess it will be hard to make gcc such code (maybe -fPIC can help
> MM> but I don't think so).
> 
> So how is linux kernel produced? It doesn't have elf headers does it?
> 

There is separate loader written using 16 bit assembler, then, I guess
some startup in regular 32 bit assembler.

-- 
: Michal ``,/\/\,       '' Moskal    | |            : GCS {C,UL}++++$
:          |    |alekith      @    |)|(| . org . pl : {E--, W, w-,M}-
:                                  |                : {b,e>+}++ !tv h
: Current project:  http://aleph-0.dhs.org/ywindow/ : PLD Team member



More information about the pld-users-en mailing list