diff options
Diffstat (limited to 'gold/symtab.cc')
-rw-r--r-- | gold/symtab.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/symtab.cc b/gold/symtab.cc index 22a44e0..f43fb4f 100644 --- a/gold/symtab.cc +++ b/gold/symtab.cc @@ -1171,7 +1171,8 @@ Symbol_table::add_from_relobj( const char* name = sym_names + st_name; - if (strcmp (name, "__gnu_lto_slim") == 0) + if (!parameters->options().relocatable() + && strcmp (name, "__gnu_lto_slim") == 0) gold_info(_("%s: plugin needed to handle lto object"), relobj->name().c_str()); |