Commit 8ace9f18 by Alan Modra Committed by Alan Modra

* tlink.c (scan_linker_output): Drop leading '.' from symbol names.

From-SVN: r63449
parent 9a29ee42
2003-02-26 Alan Modra <amodra@bigpond.net.au>
* tlink.c (scan_linker_output): Drop leading '.' from symbol names.
2003-02-25 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/xcoff.h (ASM_FILE_START): Do not emit machine
......
......@@ -633,10 +633,16 @@ scan_linker_output (fname)
else if (p = strchr (oldq, '"'), p)
p++, q = strchr (p, '"');
/* Don't let the strstr's below see the demangled name; we
might get spurious matches. */
if (p)
p[-1] = '\0';
{
/* Don't let the strstr's below see the demangled name; we
might get spurious matches. */
p[-1] = '\0';
/* powerpc64-linux references .foo when calling function foo. */
if (*p == '.')
p++;
}
/* We need to check for certain error keywords here, or we would
mistakenly use GNU ld's "In function `foo':" message. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment