diff options
author | Alan Modra <amodra@gmail.com> | 2007-05-03 09:24:16 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-05-03 09:24:16 +0000 |
commit | fe7929ce4ac0d763d5669ada789c0b93140ce922 (patch) | |
tree | e0aacd53d63599f37f6888ac8bef619700a8f67d /ld/ld.texinfo | |
parent | 083a6ddf8cfb988b7b6f537706c8a2d8d77c988d (diff) | |
download | gdb-fe7929ce4ac0d763d5669ada789c0b93140ce922.zip gdb-fe7929ce4ac0d763d5669ada789c0b93140ce922.tar.gz gdb-fe7929ce4ac0d763d5669ada789c0b93140ce922.tar.bz2 |
* ld.texinfo (--no-warn-search-mismatch): Document.
* ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
incompatible libraries if --no-warn-search-mismatch.
* ld.h (args_type): Add warn_search_mismatch.
* ldmain.c (main): Init it.
* lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
(ld_options): Add entry for --no-warn-search-mismatch.
(parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 010345d..788c515 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -1390,6 +1390,11 @@ errors. This option should only be used with care, in cases when you have taken some special action that ensures that the linker errors are inappropriate. +@kindex --no-warn-search-mismatch +@item --no-warn-search-mismatch +Normally @command{ld} will give a warning if it finds an incompatible +library during a library search. This option silences the warning. + @kindex --no-whole-archive @item --no-whole-archive Turn off the effect of the @option{--whole-archive} option for subsequent |