summaryrefslogtreecommitdiff
path: root/usr.bin/elf2olf/elf2olf.1
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-11-24 23:09:40 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-11-24 23:09:40 +0000
commitebffcae6f849ee690db1ddaa51d0f0979023d694 (patch)
tree742f951880248a6af17caa5a6c5f07374b0162ad /usr.bin/elf2olf/elf2olf.1
parent1478658d13a916e1364d6f5eaf31e34a110d719e (diff)
Manpage anyone?
Diffstat (limited to 'usr.bin/elf2olf/elf2olf.1')
-rw-r--r--usr.bin/elf2olf/elf2olf.1110
1 files changed, 110 insertions, 0 deletions
diff --git a/usr.bin/elf2olf/elf2olf.1 b/usr.bin/elf2olf/elf2olf.1
new file mode 100644
index 00000000000..2cec3614889
--- /dev/null
+++ b/usr.bin/elf2olf/elf2olf.1
@@ -0,0 +1,110 @@
+.\" $OpenBSD: elf2olf.1,v 1.1 1996/11/24 23:09:39 etheisen Exp $
+.\"
+.\" Copyright (c) 1996 Erik Theisen. All rights reserved.
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\" 3. The name of the author may not be used to endorse or promote products
+.\" derived from this software without specific prior written permission
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\"
+.\" @(#)$Id: elf2olf.1,v 1.1 1996/11/24 23:09:39 etheisen Exp $
+.\"
+.Dd November 24, 1996
+.Dt ELF2OLF 1
+.Os OpenBSD 2.0
+.Sh NAME
+.Nm elf2olf ,
+.Nm olf2elf
+.Nd convert between ELF and OLF object module format
+.Sh SYNOPSIS
+.Nm elf2olf
+.Op Fl v
+.Op Fl o Ar opsys
+.Ar module ...
+.Nm olf2elf
+.Op Fl v
+.Ar file ...
+.Sh DESCRIPTION
+The
+.Nm elf2olf
+utility reads the specified
+.Em ELF
+version 1 module operands and converts them to the default operating system's
+.Em OLF
+object module format.
+The
+.Nm olf2elf
+utility reverses the process.
+The
+.Ar module
+operands are processed in command line order.
+.Sh OPTIONS
+The options are as follows:
+.Bl -tag -width Ds
+.It Fl v
+Operate in verbose mode.
+.It Fl o Ar opsys
+Specifies the operating system
+.Em OLF
+tag
+.Em "opsys"
+as follows:
+.Bl -tag -width Ds
+.It Ta Pa "openbsd" Ta "OpenBSD"
+.It Ta Pa "netbsd" Ta "NetBSD"
+.It Ta Pa "freebsd" Ta "FreeBSD"
+.It Ta Pa "44bsd" Ta "4.4BSD"
+.It Ta Pa "linux" Ta "Linux"
+.It Ta Pa "mach" Ta "Mach"
+.It Ta Pa "svr4" Ta "AT&T System V Release 4"
+.It Ta Pa "esix" Ta "esix UNIX"
+.It Ta Pa "solaris" Ta "SunSoft Solaris"
+.It Ta Pa "irix" Ta "SGI IRIX"
+.It Ta Pa "sco " Ta "SCO UNIX"
+.It Ta Pa "dell" Ta "DELL SVR4"
+.El
+.Pp
+The
+.Nm elf2olf
+and
+.Nm olf2elf
+utilities exit 0 on success, and >0 if an error occurs.
+.Sh BUGS
+The
+.Em ELF
+version 1 object module format lacks any real method to determine the native
+operating system for any given binary thus mandating the existance of these
+tools.
+The converted binaries created by
+.Nm elf2olf
+will no longer execute on their native operating system, only on OLF
+enabled platforms, although
+.Nm olf2elf
+will undo the damage.
+.Sh SEE ALSO
+.Xr elf 5 ,
+.Xr olf 5
+.Sh AUTHOR
+Erik Theisen
+.Sh HISTORY
+The
+.Nm elf2olf
+and
+.Nm olf2elf
+utility first appeared in OpenBSD 2.0.