Re: On-line linking?

"Marc-F. Lucca-Daniau" <[email protected]> Sat, 15 Feb 2020 14:59:51 +0100
Newsgroups org.kernel.vger.linux-8086
Message-ID <[email protected]>
Hello Marcin,

The executable file format is still the old 'a.out' one:

Documentation/html/exe_format.html

Please tell me if anything is not clear so that we would address it in 
the documentation.

Stripping ? 'ia16-elf-strip' knows how to strip the ELF format (as it 
name tells it :-), but even if intermediate object files (*.o *.a) are 
in ELF, ELKS has custom 'ld' scripts (see '*.ld' in the repository) that 
convert ELF format to 'a.out' format, and drop out all that is not 
'code', 'data', 'bbs' and 'rodata'. So they already strip...

Thanks,

MFLD



Le 13/02/2020 à 13:42, Marcin Laszewski a écrit :
> Thank you for your explanation.
>
> Could you tell me...
>
> - ...where I can find description of ELKS executable file? 'file'
> oprogram recognize it as 'Linux-8086', but there is no info about this
> format. Ihave found description of process' memory only in
> 'Documentation' directory.
>
> - ...how to perform 'strip'. There is ia16-elf-strip program but it
> says it doesn't recognize output format.
>
> Thanks in advance, Marcin.