aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.1
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-09-14 22:27:16 +0000
committerIan Lance Taylor <ian@airs.com>1994-09-14 22:27:16 +0000
commit809ee7e0365ed037cbb26ca3d9cc44431bb0f4b1 (patch)
tree79c0fc901b40235300843b698771afe90a64a408 /ld/ld.1
parenta8d0866480cdc01f1695e8e653c625326e8d2e20 (diff)
downloadgdb-809ee7e0365ed037cbb26ca3d9cc44431bb0f4b1.zip
gdb-809ee7e0365ed037cbb26ca3d9cc44431bb0f4b1.tar.gz
gdb-809ee7e0365ed037cbb26ca3d9cc44431bb0f4b1.tar.bz2
* ld.h (ld_config_type): Add new field warn_once.
* ldmain.c (undefined_symbol): Handle -warn-once. * lexsup.c (parse_args): Recognize -warn-once. * ld.texinfo (Options): Document -warn-once. * ld.1: Likewise. PR 4456.
Diffstat (limited to 'ld/ld.1')
-rw-r--r--ld/ld.16
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/ld.1 b/ld/ld.1
index 965e791..3b63934 100644
--- a/ld/ld.1
+++ b/ld/ld.1
@@ -101,6 +101,7 @@ ld \- the GNU linker
.RB "[\|" \-v "\|]"
.RB "[\|" \-\-version "\|]"
.RB "[\|" \-warn\-common "\|]"
+.RB "[\|" \-warn\-once "\|]"
.RB "[\|" \-X "\|]"
.RB "[\|" \-x "\|]"
.ad b
@@ -778,6 +779,11 @@ but linkers on some other operating systems do not. This option allows
you to find potential problems from combining global symbols.
.TP
+.B \-warn\-once
+Only warn once for each undefined symbol, rather than once per module
+which refers to it.
+
+.TP
.B \-X
If \c
.B \-s\c