From 1cd4cca9bf5739bc6d2b850ca6e4489e87f0d421 Mon Sep 17 00:00:00 2001 From: David MacKenzie Date: Tue, 3 Aug 1993 23:09:03 +0000 Subject: [PATCH] add more info about -warn-common --- ld/ld.texinfo | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.7.4