projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow for __gnu_lto_slim prefixed with extra "_"
[deliverable/binutils-gdb.git]
/
gold
/
symtab.cc
diff --git
a/gold/symtab.cc
b/gold/symtab.cc
index 1555de6e5b3c3a9cef26ebfb23bd208105e0d9b5..7ebcd6b568253fca14d344066e9b34f29aa82c02 100644
(file)
--- a/
gold/symtab.cc
+++ b/
gold/symtab.cc
@@
-1185,7
+1185,9
@@
Symbol_table::add_from_relobj(
const char* name = sym_names + st_name;
if (!parameters->options().relocatable()
const char* name = sym_names + st_name;
if (!parameters->options().relocatable()
- && strcmp (name, "__gnu_lto_slim") == 0)
+ && name[0] == '_'
+ && name[1] == '_'
+ && strcmp (name + (name[2] == '_'), "__gnu_lto_slim") == 0)
gold_info(_("%s: plugin needed to handle lto object"),
relobj->name().c_str());
gold_info(_("%s: plugin needed to handle lto object"),
relobj->name().c_str());
This page took
0.02392 seconds
and
4
git commands to generate.