Don't emit symbols seen only in dynamic object, don't read duplicate
dynamic object.
This commit is contained in:
parent
8f2e9323f0
commit
008db82ec1
8 changed files with 96 additions and 37 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue