public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/37786]  New: Documentation for `-symbolic' needs fixing
@ 2008-10-09 18:54 martinrb at google dot com
  2008-10-09 18:58 ` [Bug driver/37786] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: martinrb at google dot com @ 2008-10-09 18:54 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-10-09 23:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-09 18:54 [Bug driver/37786] New: Documentation for `-symbolic' needs fixing martinrb at google dot com
2008-10-09 18:58 ` [Bug driver/37786] " pinskia at gcc dot gnu dot org
2008-10-09 19:02 ` pinskia at gcc dot gnu dot org
2008-10-09 19:28 ` martinrb at google dot com
2008-10-09 20:36 ` pinskia at gcc dot gnu dot org
2008-10-09 23:11 ` martinrb at google dot com
2008-10-09 23:17 ` pinskia at gcc dot gnu dot org
2008-10-09 23:18 ` martinrb at google dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).