aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld/ld.1aout
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1997-05-29 15:34:34 +0000
committerDoug Rabson <dfr@FreeBSD.org>1997-05-29 15:34:34 +0000
commit12510ea3165f73016d0950244ceae49bb6c8edbc (patch)
tree0481dec0c5e97c8fe4f061ff11db30cf394cf50b /gnu/usr.bin/ld/ld.1aout
parente4efe27e0bde5c7b815eab5db3147d693ec82b80 (diff)
downloadsrc-12510ea3165f73016d0950244ceae49bb6c8edbc.tar.gz
src-12510ea3165f73016d0950244ceae49bb6c8edbc.zip
Document new -Bforcedynamic flag and -assert pure-text.
Reviewed by: jdp
Notes
Notes: svn path=/head/; revision=26275
Diffstat (limited to 'gnu/usr.bin/ld/ld.1aout')
-rw-r--r--gnu/usr.bin/ld/ld.1aout21
1 files changed, 18 insertions, 3 deletions
diff --git a/gnu/usr.bin/ld/ld.1aout b/gnu/usr.bin/ld/ld.1aout
index 837778c6f7c9..4624745f9a19 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.15 1997/02/22 15:46:19 peter Exp $
+.\" $Id: ld.1,v 1.16 1997/03/22 02:59:38 jdp Exp $
.\"
.Dd October 14, 1993
.Dt LD 1
@@ -73,10 +73,18 @@ The options are as follows:
The the symbol-file is taken as a base for link-editing the object files
on the command line.
.It Fl assert Ar keyword
-This option has currently no effect. It is here for compatibility with
-SunOS ld. All conditions which would cause a Sun assertion to fail will
+This option is here mainly for compatibility with SunOS
+.Nm ld .
+Most conditions which would cause a Sun assertion to fail will
currently always cause error or warning messages from
.Nm ld .
+The only keyword implemented by
+.Nm ld
+is
+.Nm pure-text ,
+which generates a warning if a position independent object is being
+created and some of the files being linked are not position
+independent.
.It Fl B Ns Ar dynamic
Specifies that linking against dynamic libraries can take place. If a library
specifier of the form -lx appears on the command line,
@@ -91,6 +99,13 @@ found a traditional archive is looked for.
This options can appear anywhere on the command line and is complementary
to
.Fl B Ns Ar static.
+.It Fl B Ns Ar forcedynamic
+This is similar to
+.Fl B Ns Ar dynamic
+except that if no dynamic libraries are linked against,
+.Nm ld
+will still produce a dynamic executable. This is useful for programs
+which are static but still need to load dynamic objects at runtime.
.It Fl B Ns Ar static
The counterpart of
.Fl B Ns Ar dynamic .