1ELFTOAOUT(1) General Commands Manual ELFTOAOUT(1)
2
3
4
6 elftoaout - ELF to a.out convertor
7
9 elftoaout [ -b ] [ -o outfile ] [ -V ] infile
10
12 elftoaout converts a 32bit or 64bit SPARC ELF image to a.out format.
13 This is needed for SPARC bootstraps, as Sun PROM expects a.out image
14 when booting via net or tape or from the disk. On the disk, most of the
15 people use SILO, which uses elftoaout to create first stage loader, but
16 understands ELF format, so you don't need to convert a kernel if you
17 will boot it with SILO.
18
20 -b sun4 format. Unlike other PROMs ( sun4[cdemu] ), sun4 PROM does
21 not understand the 32bit a.out header and thus this option
22 strips the header from the image. Other PROMs need such a
23 header, so use this only if you are building an image for sun4
24 or other architectures that explicitly reqire a headerless
25 image.
26
27 -V Print elftoaout version and exit.
28
29 -o outfile
30 Specify output file name, instead of the default a.out
31
32 -c Compute an image checksum and store it in a.out header.
33
34 infile Required parameter which specifies the ELF image to be con‐
35 verted.
36
38 This utility can handle just a couple of specific cases needed for ker‐
39 nel and SILO conversions, but is not able to to convert all ELF bina‐
40 ries to a.out. It can only convert static binaries and has a couple of
41 other limitations.
42
44 elftoaout has been written by Pete A. Zaitcev <zaitcev@vger.rut‐
45 gers.edu>, support for 64bit ELF has been added by Jakub Jelinek
46 <jj@ultra.linux.cz>.
47
49 elftoaout is available for anonymous ftp from sunsite.mff.cuni.cz in
50 /OS/Linux/Sparc/local/elftoaout/.
51
53 silo(8)
54
55
56
57Elftoaout version 2.3 June 2000 ELFTOAOUT(1)