summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/ld/ld.1aout
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-05-28 16:17:48 +0000
committerphk <phk@FreeBSD.org>1996-05-28 16:17:48 +0000
commit066017bb9c8c34540ca1969ee849cc49b0713353 (patch)
tree4cd050cab9b760f5c6ce399007839df538e53d30 /gnu/usr.bin/ld/ld.1aout
parentfdde2d1009ee45ea90d242b3395a17bdc71fd70d (diff)
downloadFreeBSD-src-066017bb9c8c34540ca1969ee849cc49b0713353.zip
FreeBSD-src-066017bb9c8c34540ca1969ee849cc49b0713353.tar.gz
Add an option -O <filename> to ld. From the manpage:
-O filename Specifies the name of the output file. The file is created as filename.tmp and when output is complete renamed to filename. This allows us to: ld -O ${.TARGET} -x -r ${.TARGET}
Diffstat (limited to 'gnu/usr.bin/ld/ld.1aout')
-rw-r--r--gnu/usr.bin/ld/ld.1aout9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/usr.bin/ld/ld.1aout b/gnu/usr.bin/ld/ld.1aout
index f3a12c4..0c9545a 100644
--- a/gnu/usr.bin/ld/ld.1aout
+++ b/gnu/usr.bin/ld/ld.1aout
@@ -27,7 +27,7 @@
.\" (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: ld.1,v 1.8 1994/12/11 21:39:31 ats Exp $
+.\" $Id: ld.1,v 1.9 1994/12/23 22:30:33 nate Exp $
.\"
.Dd October 14, 1993
.Dt LD 1
@@ -49,6 +49,7 @@
.Op Fl l Ar library-specifier
.Op Fl L Ar library-search-path
.Op Fl nostdlib
+.Op Fl O Ar filename
.Op Fl o Ar filename
.Op Fl T Ar address
.Op Fl u Ar symbol
@@ -154,6 +155,12 @@ usually
for
.Ar -l
specified libraries.
+.It Fl O Ar filename
+Specifies the name of the output file.
+The file is created as
+.Ar filename .tmp
+and when output is complete renamed to
+.Ar filename .
.It Fl o Ar filename
Specifies the name of the output file. Defaults to
.Dq a.out.
OpenPOWER on IntegriCloud