aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.1
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-17 21:24:26 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-17 21:24:26 +0000
commita1ab1d2aa3baf504c67892d1e46724f4a2c54ce5 (patch)
tree8218d4076c521b56175140896449aed672131546 /ld/ld.1
parent249e3833ac77d9b9ab6a8e158dbf592732de6df2 (diff)
downloadgdb-a1ab1d2aa3baf504c67892d1e46724f4a2c54ce5.zip
gdb-a1ab1d2aa3baf504c67892d1e46724f4a2c54ce5.tar.gz
gdb-a1ab1d2aa3baf504c67892d1e46724f4a2c54ce5.tar.bz2
* emultempl/elf32.em (OPTION_GROUP): New macro.
Add new option Bgroup to longopts. (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. (gld*_list_options): Add -Bgroup and -z defs. * ld.1: Document -Bgroup and -z defs. * ld.texinfo: Likewise.
Diffstat (limited to 'ld/ld.1')
-rw-r--r--ld/ld.114
1 files changed, 14 insertions, 0 deletions
diff --git a/ld/ld.1 b/ld/ld.1
index 2f94129..1cfbbba 100644
--- a/ld/ld.1
+++ b/ld/ld.1
@@ -29,6 +29,7 @@ ld \- the GNU linker
.I input-format\c
\&\|]
.RB "[\|" \-Bstatic "\|]"
+.RB "[\|" \-Bgroup "\|]"
.RB "[\|" \-Bdynamic "\|]"
.RB "[\|" \-Bsymbolic "\|]"
.RB "[\|" "\-c\ "\c
@@ -407,6 +408,19 @@ for which shared libraries are supported. This option is normally the
default on such platforms.
.TP
+.B \-Bgroup
+Set the \c
+.B DF_1_GROUP
+\c
+flag in the \c
+.B DT_FLAGS_1
+\c
+entry in the dynamic section. This causes the runtime linker to handle
+lookups in this object and its dependencies to be performed only inside
+the group. No undefined symbols are allowed. This option is only
+meaningful on ELF platforms which support shared libraries.
+
+.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