mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-05 23:26:51 +08:00
Don't emit symbols seen only in dynamic object, don't read duplicate
dynamic object.
This commit is contained in:
@ -156,7 +156,12 @@ Symbol_table::resolve(Sized_symbol<size>* to,
|
||||
gold_exit(false);
|
||||
}
|
||||
|
||||
if (object->is_dynamic())
|
||||
if (!object->is_dynamic())
|
||||
{
|
||||
// Record that we've seen this symbol in a regular object.
|
||||
to->set_in_reg();
|
||||
}
|
||||
else
|
||||
{
|
||||
frombits |= (1 << 1);
|
||||
|
||||
|
Reference in New Issue
Block a user