diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1999-11-01 08:28:22 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-11-01 08:28:22 +0000 |
commit | d14ec649a54f7e8bcb26942b5b16b8fc2ee25044 (patch) | |
tree | 0e33a2f257e9df8e4af5c0ecf0304ce5239fa3bf /contrib/gcc/tlink.c | |
parent | 9b305aa15a0971a7bceffbc4d1f20ddbe5b5c5d8 (diff) | |
download | src-d14ec649a54f7e8bcb26942b5b16b8fc2ee25044.tar.gz src-d14ec649a54f7e8bcb26942b5b16b8fc2ee25044.zip |
Virgin import of the GCC 2.95.2 compilers
Notes
Notes:
svn path=/vendor/gcc/dist/; revision=52750
Diffstat (limited to 'contrib/gcc/tlink.c')
-rw-r--r-- | contrib/gcc/tlink.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/gcc/tlink.c b/contrib/gcc/tlink.c index 9f058c9b2848..882c1ab2a75e 100644 --- a/contrib/gcc/tlink.c +++ b/contrib/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); + } } } |