diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-09-14 22:27:16 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-09-14 22:27:16 +0000 |
commit | 809ee7e0365ed037cbb26ca3d9cc44431bb0f4b1 (patch) | |
tree | 79c0fc901b40235300843b698771afe90a64a408 /ld/ld.1 | |
parent | a8d0866480cdc01f1695e8e653c625326e8d2e20 (diff) | |
download | gdb-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.1 | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |