aboutsummaryrefslogtreecommitdiff
path: root/ld/lexsup.c
diff options
context:
space:
mode:
authorVivek Das Mohapatra <vivek@collabora.com>2020-12-14 17:25:52 +0000
committerAlan Modra <amodra@gmail.com>2020-12-15 18:45:03 +1030
commitc3805e4cef747655e15f620afe6279a96d8c3fae (patch)
treec572a957057fc28fff4c6c0fe77995a5b94ed1db /ld/lexsup.c
parent6a0a0dd0cc43765d8e5e277aeaaf169a863f2315 (diff)
downloadgdb-c3805e4cef747655e15f620afe6279a96d8c3fae.zip
gdb-c3805e4cef747655e15f620afe6279a96d8c3fae.tar.gz
gdb-c3805e4cef747655e15f620afe6279a96d8c3fae.tar.bz2
Document -z unique/-z nounique in the ld man page and help output
* ld.texi (Options): Document -z unique and -z nounique. * lexsup.c (elf_shlib_list_options): Likewise.
Diffstat (limited to 'ld/lexsup.c')
-rw-r--r--ld/lexsup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/lexsup.c b/ld/lexsup.c
index 78b1834..1d01833 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -2022,6 +2022,10 @@ elf_shlib_list_options (FILE *file)
fprintf (file, _("\
-z interpose Mark object to interpose all DSOs but executable\n"));
fprintf (file, _("\
+ -z unique Mark DSO to be loaded at most once by default, and only in the main namespace\n"));
+ fprintf (file, _("\
+ -z nounique Don't mark DSO as a loadable at most once\n"));
+ fprintf (file, _("\
-z lazy Mark object lazy runtime binding (default)\n"));
fprintf (file, _("\
-z loadfltr Mark object requiring immediate process\n"));