summaryrefslogtreecommitdiff
path: root/contrib/gcc/tlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/tlink.c')
-rw-r--r--contrib/gcc/tlink.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/contrib/gcc/tlink.c b/contrib/gcc/tlink.c
index 882c1ab2a75ee..9f058c9b2848b 100644
--- a/contrib/gcc/tlink.c
+++ b/contrib/gcc/tlink.c
@@ -654,11 +654,7 @@ scan_linker_output (fname)
if (dem)
sym = symbol_hash_lookup (dem->mangled, false);
else
- {
- if (*p == '_' && prepends_underscore)
- ++p;
- sym = symbol_hash_lookup (p, false);
- }
+ sym = symbol_hash_lookup (p, false);
}
}