From: Jonathan Nieder <jrnieder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Petr Baudis <pasky-AlSwsSmVLrQ@public.gmane.org>,
Aurelien Jarno <aurelien-rXXEIb44qovR7s880joybQ@public.gmane.org>,
Reuben Thomas <rrt-0NV8xZLkR+A@public.gmane.org>
Subject: [PATCH 1/6] ld.so.8: clarify synopsis
Date: Thu, 20 Oct 2011 02:04:12 -0500 [thread overview]
Message-ID: <20111020070412.GA11485@elie.hsd1.il.comcast.net> (raw)
In-Reply-To: <20111020070037.GA11392-E4JsH6yu/ca99If2fRKg35Ea+QML8DWm@public.gmane.org>
The <program> argument to ld-linux.so is not optional.
While clarifying that, list supported options in the synopsis, improve
the typography a little, and move information about how the dynamic
linker is usually used from the SYNOPSIS to the DESCRIPTION section.
Signed-off-by: Jonathan Nieder <jrnieder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
Not from Debian --- this is just me nitpicking to make the page look a
little more conventional.
The most iffy aspects of this patch are probably the use of \*(lq (is
it portable enough?) and the inclusion of the --audit option without
a detailed description in the OPTIONS section. Naturally I like it
anyway. ;-)
man8/ld.so.8 | 31 ++++++++++++++++++++++---------
1 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/man8/ld.so.8 b/man8/ld.so.8
index 84278d0..f0718dd 100644
--- a/man8/ld.so.8
+++ b/man8/ld.so.8
@@ -3,22 +3,35 @@
.SH NAME
ld.so, ld-linux.so* \- dynamic linker/loader
.SH SYNOPSIS
+.B /lib/ld-linux.so.*
+.RB [ \-\-list ]
+.RB [ \-\-verify ]
+.RB [ \-\-library-path
+.IR paths ]
+.RB [ \-\-inhibit-rpath
+.IR objects ]
+.RB [ \-\-audit
+.IR auditors ]
+.I program
+.RI [ arg ...]
+.SH DESCRIPTION
+The programs
+.B ld.so
+and
+.B ld-linux.so*
+find and load the shared libraries needed by a program, prepare
+the program to run, and then run it.
+.LP
The dynamic linker can be run either indirectly by running some
dynamically linked program or library (in which case no command-line options
to the dynamic linker can be passed and, in the ELF case, the dynamic linker
which is stored in the
.B .interp
-section of the program is executed) or directly by running:
-.P
-.I /lib/ld-linux.so.*
-[OPTIONS] [PROGRAM [ARGUMENTS]]
-.SH DESCRIPTION
-The programs
-.B ld.so
-and
-.B ld-linux.so*
-find and load the shared libraries needed by a program, prepare
-the program to run, and then run it.
+section of the program is executed) or directly by running
+.RB \*(lq /lib/ld-linux.so.*
+.RI [ options ]
+.I program
+.RI [ arguments ]\*(rq.
.LP
Linux binaries require dynamic linking (linking at run time)
unless the
--
1.7.7
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-10-20 7:04 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-20 7:01 [PATCH/RFC 0/6] ld.so.8: some improvements from Debian Jonathan Nieder
[not found] ` <20111020070037.GA11392-E4JsH6yu/ca99If2fRKg35Ea+QML8DWm@public.gmane.org>
2011-10-20 7:04 ` Jonathan Nieder [this message]
[not found] ` <20111020070412.GA11485-E4JsH6yu/ca99If2fRKg35Ea+QML8DWm@public.gmane.org>
2011-10-20 18:08 ` [PATCH 1/6] ld.so.8: clarify synopsis Mike Frysinger
[not found] ` <201110201408.34778.vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
2011-10-20 18:17 ` Reuben Thomas
[not found] ` <CAOnWdojdzzvBFnyE9njnZg+RFoaC8V-HGSnhiBhGeY-tQzCiig-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-10-20 18:18 ` Reuben Thomas
2011-10-20 18:26 ` Mike Frysinger
[not found] ` <201110201426.07094.vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
2011-10-20 18:28 ` Reuben Thomas
[not found] ` <CAOnWdojWj5PYAp7ANX_qmvTJjR9EicSy0yG5LUTumOxQTpmQAQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-10-20 18:51 ` Mike Frysinger
2011-10-20 18:39 ` Jonathan Nieder
2011-10-20 7:06 ` [PATCH 2/6] ld.so.8: move important information toward the top Jonathan Nieder
2011-10-20 7:09 ` [PATCH 3/6] ld.so.8: document LD_ASSUME_KERNEL Jonathan Nieder
2011-10-20 7:14 ` [PATCH 4/6] ld.so.8: document Debian's /etc/ld.so.nohwcap extension Jonathan Nieder
[not found] ` <20111020071424.GD11485-E4JsH6yu/ca99If2fRKg35Ea+QML8DWm@public.gmane.org>
2011-10-20 18:11 ` Mike Frysinger
[not found] ` <201110201411.03656.vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
2011-10-21 5:30 ` Jonathan Nieder
2011-10-20 7:15 ` [PATCH 5/6] ld.so.8: document $PLATFORM and $LIB expansion Jonathan Nieder
[not found] ` <20111020071538.GE11485-E4JsH6yu/ca99If2fRKg35Ea+QML8DWm@public.gmane.org>
2011-10-20 18:16 ` Mike Frysinger
[not found] ` <201110201416.30351.vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
2011-10-21 5:25 ` Jonathan Nieder
[not found] ` <20111021052528.GF23372-E4JsH6yu/ca99If2fRKg35Ea+QML8DWm@public.gmane.org>
2011-12-11 3:16 ` Mike Frysinger
[not found] ` <201112102216.34565.vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
2012-04-16 16:59 ` Jonathan Nieder
2011-10-20 7:16 ` [PATCH 6/6] ld.so.8: document how hwcaps affect search path Jonathan Nieder
2011-11-07 8:41 ` [PATCH/RFC 0/6] ld.so.8: some improvements from Debian Reuben Thomas
2012-04-16 7:26 ` Michael Kerrisk (man-pages)
[not found] ` <CAKgNAkgbcL3deJ4x0DEV==vtiAmYie7+Gw+c=K_dAJhWE4va1Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-16 16:58 ` Jonathan Nieder
2012-04-16 17:19 ` Michael Kerrisk (man-pages)
[not found] ` <CAKgNAkj0BAKbP6SrohCEG+eeEAZAYkJ6NA9Jvi0hS2j3e19mmg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-16 17:24 ` Jonathan Nieder
2012-04-16 18:07 ` Michael Kerrisk (man-pages)
[not found] ` <CAKgNAkggZ1EZyBkkkd4xmJnjt-_kw=F_xb81+--gpQztvyD8oA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-16 18:23 ` Jonathan Nieder
2012-04-16 19:03 ` [PATCH v2] ld.so.8: Document effect of hwcaps on search path Jonathan Nieder
2012-04-16 19:19 ` Michael Kerrisk (man-pages)
[not found] ` <CAKgNAkjfcbiDiGqd1PNpdPcUTQBd+8qyrWZj3D6hnzU5vZdecA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-16 19:27 ` [PATCH v3] " Jonathan Nieder
2012-04-16 20:00 ` Michael Kerrisk (man-pages)
[not found] ` <CAKgNAkiZT4oUV6WKprpc2DWdJMSVQaOEyqL9VmsBub7TMW6HKw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-04-16 20:13 ` Jonathan Nieder
2012-04-16 20:29 ` Michael Kerrisk (man-pages)
2012-04-16 20:39 ` Michael Kerrisk (man-pages)
2012-04-21 18:04 ` Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111020070412.GA11485@elie.hsd1.il.comcast.net \
--to=jrnieder-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=aurelien-rXXEIb44qovR7s880joybQ@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=pasky-AlSwsSmVLrQ@public.gmane.org \
--cc=rrt-0NV8xZLkR+A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox