From: David MacKenzie Date: Tue, 3 Aug 1993 23:09:03 +0000 (+0000) Subject: add more info about -warn-common X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cd4cca9bf5739bc6d2b850ca6e4489e87f0d421;p=binutils-gdb.git add more info about -warn-common --- diff --git a/ld/ld.texinfo b/ld/ld.texinfo index d2ce5920b7c..84f89730ee1 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -586,6 +586,8 @@ Warn when a common symbol is combined with another common symbol or with a symbol definition. Unix linkers allow this somewhat sloppy practice, but linkers on some other operating systems do not. This option allows you to find potential problems from combining global symbols. +Unfortunately, some C libraries use this practice, so you may get some +warnings about symbols in the libraries as well as in your programs. There are three kinds of global symbols, illustrated here by C examples: