diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-07-10 17:41:13 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-07-10 17:41:13 +0000 |
commit | 4551e108a0aa3a3959ca027cbe16aec756769c0c (patch) | |
tree | 2dc522db45f91393d5c088396486c05df6d018e0 /ld/ld.1 | |
parent | 951fe66d6208b801aaeedda3bf4b380a89b1feac (diff) | |
download | gdb-4551e108a0aa3a3959ca027cbe16aec756769c0c.zip gdb-4551e108a0aa3a3959ca027cbe16aec756769c0c.tar.gz gdb-4551e108a0aa3a3959ca027cbe16aec756769c0c.tar.bz2 |
* ld.texinfo, ld.1: Document -Bstatic, -Bdynamic, -Bshared, and
-shared.
Mon Jul 10 13:29:43 1995 Eric Youngdale <eric@aib.com>
* ldmain.c (main): Set link_info.symbolic to false.
* lexsup.c (parse_args): Handle -Bsymbolic.
Diffstat (limited to 'ld/ld.1')
-rw-r--r-- | ld/ld.1 | 28 |
1 files changed, 24 insertions, 4 deletions
@@ -28,6 +28,8 @@ ld \- the GNU linker .I input-format\c \&\|] .RB "[\|" \-Bstatic "\|]" +.RB "[\|" \-Bdynamic "\|]" +.RB "[\|" \-Bsymbolic "\|]" .RB "[\|" "\-c\ "\c .I commandfile\c \&\|] @@ -82,6 +84,7 @@ ld \- the GNU linker .RB "[\|" \-r | \-Ur "\|]" .RB "[\|" \-S "\|]" .RB "[\|" \-s "\|]" +.RB "[\|" \-shared "\|]" .RB "[\|" \-sort\-common "\|]" .RB "[\|" \-split\-by\-reloc\ "\c .I count\c @@ -354,10 +357,22 @@ format from a script, using the command \c .TP .B \-Bstatic -This flag is accepted for command-line compatibility with the SunOS linker, -but has no effect on \c -.B ld\c -\&. +Do not link against shared libraries. This is only meaningful on +platforms for which shared libraries are supported. + +.TP +.B \-Bdynamic +Link against dynamic libraries. This is only meaningful on platforms +for which shared libraries are supported. This option is normally the +default on such platforms. + +.TP +.B \-Bsymbolic +When creating a shared library, bind references to global symbols to +the definition within the shared library, if any. Normally, it is +possible for a program linked against a shared library to override the +definition within the shared library. This option is only meaningful +on ELF platforms which support shared libraries. .TP .BI "\-c " "commandfile"\c @@ -705,6 +720,11 @@ Omits debugger symbol information (but not all symbols) from the output file. Omits all symbol information from the output file. .TP +.B \-shared +Create a shared library. This is currently only supported on ELF +platforms. + +.TP .B \-sort\-common Normally, when .B ld |