From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31937 invoked by alias); 9 Oct 2008 18:54:56 -0000 Received: (qmail 31233 invoked by uid 48); 9 Oct 2008 18:53:36 -0000 Date: Thu, 09 Oct 2008 18:54:00 -0000 Subject: [Bug driver/37786] New: Documentation for `-symbolic' needs fixing X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "martinrb at google dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-10/txt/msg00645.txt.bz2 gcc has flags -Bsymbolic and -Bsymbolic-functions which are documented in the usage message. $ gcc -v --help 2>&1 | grep symbolic -Bsymbolic Bind global references locally -Bsymbolic-functions Bind global function references locally However, the info pages are incorrect and incomplete. `-symbolic' Bind references to global symbols when building a shared object. Warn about any unresolved references (unless overridden by the link editor option `-Xlinker -z -Xlinker defs'). Only a few systems support this option. In fact, gcc does not appear to support any such flag `-symbolic'. `-symbolic' should probably be changed to `-Bsymbolic'. Also, please add info documentation for `-Bsymbolic-functions'. A motivating example for these options would be nice as well. (or maybe a link to any corresponding binutils documentation) -- Summary: Documentation for `-symbolic' needs fixing Product: gcc Version: 4.2.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: martinrb at google dot com GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37786