mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
Warn for gold on lto objects without plugin
PR 13227 * symtab.cc (Symbol_table::add_from_relobj): Warn on __gnu_lto_slim.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2014-08-06 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
PR 13227
|
||||||
|
* symtab.cc (Symbol_table::add_from_relobj): Warn on __gnu_lto_slim.
|
||||||
|
|
||||||
2014-07-21 Sriraman Tallam <tmsriram@google.com>
|
2014-07-21 Sriraman Tallam <tmsriram@google.com>
|
||||||
|
|
||||||
* object.cc (Relobj::is_section_name_included): Add
|
* object.cc (Relobj::is_section_name_included): Add
|
||||||
|
@ -1133,6 +1133,10 @@ Symbol_table::add_from_relobj(
|
|||||||
|
|
||||||
const char* name = sym_names + st_name;
|
const char* name = sym_names + st_name;
|
||||||
|
|
||||||
|
if (strcmp (name, "__gnu_lto_slim") == 0)
|
||||||
|
gold_info(_("%s: plugin needed to handle lto object"),
|
||||||
|
relobj->name().c_str());
|
||||||
|
|
||||||
bool is_ordinary;
|
bool is_ordinary;
|
||||||
unsigned int st_shndx = relobj->adjust_sym_shndx(i + symndx_offset,
|
unsigned int st_shndx = relobj->adjust_sym_shndx(i + symndx_offset,
|
||||||
sym.get_st_shndx(),
|
sym.get_st_shndx(),
|
||||||
|
Reference in New Issue
Block a user