summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorRichard PALO <richard@NetBSD.org>2022-01-28 13:40:33 +0000
committerAndy Fiddaman <omnios@citrus-it.co.uk>2022-01-31 23:46:46 +0000
commit3b5bbfc55d79c42ba1d3c6de2178627cbfcccff8 (patch)
tree3e71bd467ac15eed7966b51b38767e34cba25846 /usr/src
parent11029d9dcf6c3fb63ae0cbb0ad67f86d267db4eb (diff)
downloadillumos-joyent-3b5bbfc55d79c42ba1d3c6de2178627cbfcccff8.tar.gz
4795 /usr/bin/ld manpage and help should indicate '-soname' not '--soname'
Reviewed by: Robert Mustacchi <rm+illumos@fingolfin.org> Reviewed by: Yuri Pankov <ypankov@tintri.com> Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/sgs/libld/common/libld.msg4
-rw-r--r--usr/src/cmd/sgs/tools/SUNWonld-README3
-rw-r--r--usr/src/man/man1/ld.14
3 files changed, 6 insertions, 5 deletions
diff --git a/usr/src/cmd/sgs/libld/common/libld.msg b/usr/src/cmd/sgs/libld/common/libld.msg
index 86d8d2e9f3..4184f8c1e3 100644
--- a/usr/src/cmd/sgs/libld/common/libld.msg
+++ b/usr/src/cmd/sgs/libld/common/libld.msg
@@ -88,7 +88,7 @@
\t\t\tspecify library for which this file is a filter\n"
@ MSG_ARG_DETAIL_CG "\t[-G], [-shared]\n\
\t\t\tcreate a shared object\n"
-@ MSG_ARG_DETAIL_H "\t[-h name], [--soname name]\n\
+@ MSG_ARG_DETAIL_H "\t[-h name], [-soname name]\n\
\t\t\tuse 'name' as internal shared object identifier\n"
@ MSG_ARG_DETAIL_I "\t[-i]\t\tignore LD_LIBRARY_PATH setting\n"
@ MSG_ARG_DETAIL_CI "\t[-I name]\tuse 'name' as path of interpreter\n"
@@ -976,7 +976,7 @@
-z type=reloc)"
@ MSG_MARG_RPATH "runpath option (-R, -rpath)"
@ MSG_MARG_SO "shared object option (-G, -shared, -z type=shared)"
-@ MSG_MARG_SONAME "soname option (-h, --soname)"
+@ MSG_MARG_SONAME "soname option (-h, -soname)"
@ MSG_MARG_STRIP "strip option (-s, --strip-all)"
@ MSG_MARG_TYPE_KMOD "-z type=kmod"
diff --git a/usr/src/cmd/sgs/tools/SUNWonld-README b/usr/src/cmd/sgs/tools/SUNWonld-README
index 5429da0a1e..3e9f4432fc 100644
--- a/usr/src/cmd/sgs/tools/SUNWonld-README
+++ b/usr/src/cmd/sgs/tools/SUNWonld-README
@@ -1625,7 +1625,7 @@ Bugid Risk Synopsis
--------------------------------------------------------------------------------
--------------
-Illumos
+illumos
--------------
Bugid Risk Synopsis
================================================================================
@@ -1686,3 +1686,4 @@ Bugid Risk Synopsis
14308 discard SHF_EXCLUDE sections when linking kernel modules
14319 ld shouldn't warn about SHF_EXCLUDE unknown sections
14401 elfdump should understand LLVM section types
+4795 /usr/bin/ld manpage and help should indicate '-soname' not '--soname'
diff --git a/usr/src/man/man1/ld.1 b/usr/src/man/man1/ld.1
index 9ff3680e82..8d5e0453d1 100644
--- a/usr/src/man/man1/ld.1
+++ b/usr/src/man/man1/ld.1
@@ -5,7 +5,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
.\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
.\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH LD 1 "May 13, 2017"
+.TH LD 1 "Jan 28, 2022"
.SH NAME
ld \- link-editor for object files
.SH SYNOPSIS
@@ -452,7 +452,7 @@ See Chapter 4, \fIShared Objects,\fR in \fILinker and Libraries Guide\fR.
.ad
.br
.na
-\fB\fB--soname\fR \fIname\fR\fR
+\fB\fB-soname\fR \fIname\fR\fR
.ad
.sp .6
.RS 4n