mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
* symtab.h (Symbol::clear_version): New function.
* symtab.cc (Symbol_table::set_dynsym_indexes): Don't set object is_needed by weak references. Clear version for symbols defined in as-needed objects that are not needed.
This commit is contained in:
@ -121,6 +121,10 @@ class Symbol
|
||||
version() const
|
||||
{ return this->version_; }
|
||||
|
||||
void
|
||||
clear_version()
|
||||
{ this->version_ = NULL; }
|
||||
|
||||
// Return whether this version is the default for this symbol name
|
||||
// (eg, "foo@@V2" is a default version; "foo@V1" is not). Only
|
||||
// meaningful for versioned symbols.
|
||||
|
Reference in New Issue
Block a user