diff options
author | rnordier <rnordier@FreeBSD.org> | 2000-11-04 13:02:00 +0000 |
---|---|---|
committer | rnordier <rnordier@FreeBSD.org> | 2000-11-04 13:02:00 +0000 |
commit | 18e0fe6967f684c8adb8dd9db3a8cb24f70e7705 (patch) | |
tree | 796a6ec2a8cda6145d54708de7195fc62b04838a /usr.sbin/kgzip/kgzip.8 | |
parent | 2cfec00a84116cb5277eecec357964eb0c113954 (diff) | |
download | FreeBSD-src-18e0fe6967f684c8adb8dd9db3a8cb24f70e7705.zip FreeBSD-src-18e0fe6967f684c8adb8dd9db3a8cb24f70e7705.tar.gz |
Add support for creating a.out output files in addition to ELF.
This allows booting from compressed binaries using older bootstraps.
Thanks to: dwmalone
Diffstat (limited to 'usr.sbin/kgzip/kgzip.8')
-rw-r--r-- | usr.sbin/kgzip/kgzip.8 | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/usr.sbin/kgzip/kgzip.8 b/usr.sbin/kgzip/kgzip.8 index 97f4ece..462a723 100644 --- a/usr.sbin/kgzip/kgzip.8 +++ b/usr.sbin/kgzip/kgzip.8 @@ -33,6 +33,7 @@ .Sh SYNOPSIS .Nm kgzip .Op Fl cv +.Op Fl f Ar format .Op Fl l Ar loader .Op Fl o Ar output .Ar file @@ -57,8 +58,7 @@ an executable suitable for booting with either the second- or third-level bootstraps. .El .Pp -Supported input formats are ELF and a.out ZMAGIC; the output format -is always ELF. Only 32-bit objects are supported. +Supported object formats are 32-bit ELF and a.out ZMAGIC. .Pp If the .Ar file @@ -73,6 +73,16 @@ The options are: Omit the link phase. .It Fl v Display object file information. +.It Fl f Ar format +Use +.Ar format +as the output format, where +.Ar format +is +.Sq aout +or +.Sq elf . +The default format is ELF. .It Fl l Ar loader Link .Ar loader @@ -113,8 +123,8 @@ The default loader .Sh SEE ALSO .Xr gzip 1 , .Xr ld 1 , -.Xr elf 5 , .Xr a.out 5 , +.Xr elf 5 , .Xr boot 8 , .Xr loader 8 .Sh DIAGNOSTICS |