mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-10 09:25:47 +08:00
2008-08-28 Kris Van Hees <kris.van.hees@oracle.com>
PR gold/6858 * options.cc (General_options::finalize): Allow undefined symbols in shlibs if linking -shared. PR gold/6859 * symtab.cc (Symbol::init_base_undefined): Mark explicitly undefined symbols as not needing a dynsym entry.
This commit is contained in:
@ -174,6 +174,7 @@ Symbol::init_base_undefined(const char* name, const char* version,
|
||||
elfcpp::STV visibility, unsigned char nonvis)
|
||||
{
|
||||
this->init_fields(name, version, type, binding, visibility, nonvis);
|
||||
this->dynsym_index_ = -1U;
|
||||
this->source_ = IS_UNDEFINED;
|
||||
this->in_reg_ = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user