tlink.c (scan_linker_output): Skip the initial underscore in a mangled name if appropriate.

* tlink.c (scan_linker_output): Skip the initial underscore in
	a mangled name if appropriate.

From-SVN: r29083
This commit is contained in:
Jason Merrill 1999-09-03 12:14:54 -04:00
parent eb898ce420
commit 9c5b50b30a
2 changed files with 685 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -654,7 +654,11 @@ scan_linker_output (fname)
if (dem)
sym = symbol_hash_lookup (dem->mangled, false);
else
sym = symbol_hash_lookup (p, false);
{
if (*p == '_' && prepends_underscore)
++p;
sym = symbol_hash_lookup (p, false);
}
}
}