aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1993-08-03 23:09:03 +0000
committerDavid MacKenzie <djm@cygnus>1993-08-03 23:09:03 +0000
commit1cd4cca9bf5739bc6d2b850ca6e4489e87f0d421 (patch)
tree1798a8a31d18d89d6c76f64d56ee96110ac9af69 /ld
parent2a28d8b006b3e2a9fae710219ded826abaefa587 (diff)
downloadgdb-1cd4cca9bf5739bc6d2b850ca6e4489e87f0d421.zip
gdb-1cd4cca9bf5739bc6d2b850ca6e4489e87f0d421.tar.gz
gdb-1cd4cca9bf5739bc6d2b850ca6e4489e87f0d421.tar.bz2
add more info about -warn-common
Diffstat (limited to 'ld')
-rw-r--r--ld/ld.texinfo2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index d2ce592..84f8973 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: