The documentation for the VERSIONS linker script command (ld docs s3.9) has a
mistake in the example for the C++ unmangled name support.

(from the big example at the top:)

         extern "C++" {
                 ns::*;
                 "int f(int, double)";
              }

The unmangled name should not contain the function return type as this will not
match. ld simply does not apply the correct binding to the f symbol.

-- 
           Summary: docus error for symbol unmangling support in VERSION
                    commands
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: richard dot barton at arm dot com
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=12029

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to