Annotation of src/usr.bin/elf2olf/elf2olf.1, Revision 1.11
1.11 ! aaron 1: .\" $OpenBSD: elf2olf.1,v 1.10 2000/07/06 04:06:54 aaron Exp $
1.3 etheisen 2: .\"
3: .\" Copyright (c) 1996, 1997 Erik Theisen.
4: .\" All rights reserved.
1.1 etheisen 5: .\"
6: .\" Redistribution and use in source and binary forms, with or without
7: .\" modification, are permitted provided that the following conditions
8: .\" are met:
9: .\" 1. Redistributions of source code must retain the above copyright
10: .\" notice, this list of conditions and the following disclaimer.
11: .\" 2. Redistributions in binary form must reproduce the above copyright
12: .\" notice, this list of conditions and the following disclaimer in the
13: .\" documentation and/or other materials provided with the distribution.
14: .\" 3. The name of the author may not be used to endorse or promote products
15: .\" derived from this software without specific prior written permission
16: .\"
17: .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18: .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19: .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20: .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21: .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22: .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23: .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24: .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25: .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26: .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27: .\"
1.11 ! aaron 28: .\" @(#)$Id: elf2olf.1,v 1.10 2000/07/06 04:06:54 aaron Exp $
1.1 etheisen 29: .\"
1.3 etheisen 30: .Dd May 5, 1997
1.1 etheisen 31: .Dt ELF2OLF 1
1.3 etheisen 32: .Os
1.1 etheisen 33: .Sh NAME
34: .Nm elf2olf ,
35: .Nm olf2elf
36: .Nd convert between ELF and OLF object module format
37: .Sh SYNOPSIS
38: .Nm elf2olf
39: .Op Fl v
40: .Op Fl o Ar opsys
1.5 aaron 41: .Ar module Op Ar ...
1.1 etheisen 42: .Nm olf2elf
43: .Op Fl v
1.5 aaron 44: .Ar file Op Ar ...
1.1 etheisen 45: .Sh DESCRIPTION
46: The
1.11 ! aaron 47: .Nm elf2olf
1.1 etheisen 48: utility reads the specified
49: .Em ELF
50: version 1 module operands and converts them to the default operating system's
51: .Em OLF
52: object module format.
1.11 ! aaron 53: .Pp
1.1 etheisen 54: The
55: .Nm olf2elf
56: utility reverses the process.
57: The
58: .Ar module
59: operands are processed in command line order.
1.2 etheisen 60: .Pp
1.1 etheisen 61: The options are as follows:
62: .Bl -tag -width Ds
63: .It Fl v
64: Operate in verbose mode.
65: .It Fl o Ar opsys
1.6 aaron 66: Specifies the operating system
1.1 etheisen 67: .Em OLF
68: tag
69: .Em "opsys"
70: as follows:
1.11 ! aaron 71: .Pp
! 72: .Bl -tag -width Ds -compact
1.1 etheisen 73: .It Ta Pa "openbsd" Ta "OpenBSD"
74: .It Ta Pa "netbsd" Ta "NetBSD"
75: .It Ta Pa "freebsd" Ta "FreeBSD"
76: .It Ta Pa "44bsd" Ta "4.4BSD"
77: .It Ta Pa "linux" Ta "Linux"
78: .It Ta Pa "svr4" Ta "AT&T System V Release 4"
79: .It Ta Pa "esix" Ta "esix UNIX"
80: .It Ta Pa "solaris" Ta "SunSoft Solaris"
81: .It Ta Pa "irix" Ta "SGI IRIX"
82: .It Ta Pa "sco " Ta "SCO UNIX"
83: .It Ta Pa "dell" Ta "DELL SVR4"
1.3 etheisen 84: .It Ta Pa "ncr " Ta "NCR SVR4"
1.10 aaron 85: .El
1.1 etheisen 86: .El
87: .Pp
88: The
1.11 ! aaron 89: .Nm elf2olf
1.1 etheisen 90: and
91: .Nm olf2elf
1.5 aaron 92: utilities exit 0 on success or >0 if an error occurred.
1.11 ! aaron 93: .Sh AUTHORS
! 94: Erik Theisen
! 95: .Sh HISTORY
! 96: The
! 97: .Nm elf2olf
! 98: and
! 99: .Nm olf2elf
! 100: utilities first appeared in
! 101: .Ox 2.1 .
1.1 etheisen 102: .Sh BUGS
1.6 aaron 103: The
1.1 etheisen 104: .Em ELF
105: version 1 object module format lacks any real method to determine the native
1.8 alex 106: operating system for any given binary thus mandating the existence of these
1.1 etheisen 107: tools.
108: The converted binaries created by
1.11 ! aaron 109: .Nm elf2olf
1.1 etheisen 110: will no longer execute on their native operating system, only on OLF
111: enabled platforms, although
112: .Nm olf2elf
113: will undo the damage.