ELF2COFF(1A) — MISC REFERENCE MANUAL PAGES
NAME
elf2coff − create a COFF file from an ELF file
SYNOPSIS
elf2coff < input > output
DESCRIPTION
elf2coff reads an ELF absolute executable file from standard input (which must be seekable), and writes an equivalent COFF file to standard output. elf2coff only works on fairly simple files with the standard text, data, and bss sections. Other sections are ignored. Some excessively verbose debugging information is written to standard error output, which may be examined to insure that the file’s sections were treated correctly. elf2coff’s only supported purpose is to take an ELF kernel and make a COFF file suitable for use with a pre-SVR4 bootstrap loader.
DIAGNOSTICS
elf2coff’s exit status is zero if the operation succeeded, nonzero otherwise. If an error occurs writing the COFF file, no error message will be printed; other errors are reported in useful ways.
BUGS
The stderr output is leftover from debugging. There should be proper reporting of write errors.
SEE ALSO
Amiga Unix — Last change: