diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-09-01 17:33:40 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-09-01 17:33:40 +0000 |
commit | ca89cc4c407e511d0ba3c4c27d0b5bf6be1f857c (patch) | |
tree | d65392816d678153bb6fbbe72045894812c088bf | |
parent | 28f1940a7ab7eacfd1b7c525950c3d6b7099732a (diff) |
Repair -frepo
-rw-r--r-- | gnu/egcs/gcc/tlink.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/egcs/gcc/tlink.c b/gnu/egcs/gcc/tlink.c index 9f058c9b284..882c1ab2a75 100644 --- a/gnu/egcs/gcc/tlink.c +++ b/gnu/egcs/gcc/tlink.c @@ -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); + } } } |