stat_ptr);
lang_has_input_file = true;
p->target = target;
+ p->complained = false;
switch (file_type) {
case lang_input_file_is_symbols_only_enum:
p->filename = name;
*def_ptr= def;
def->name = ptr->name;
def->section = &bfd_und_section;
- Q_enter_global_ref(def_ptr);
+ Q_enter_global_ref(def_ptr, ptr->name);
ptr = ptr->next;
}
}
print_nl();
/* Find all the symbols in this file defined in this section */
+if (in->ifile->symbol_count)
{
asymbol **p;
for (p = in->ifile->asymbols; *p; p++) {
case lang_output_section_statement_enum:
{
bfd_vma after;
- lang_output_section_statement_type *os =&(s->output_section_statement);
+ lang_output_section_statement_type *os = &s->output_section_statement;
if (os->bfd_section == &bfd_abs_section)
{
{
relaxing = true;
-
- had_relax |= relax_section(prev);
+ had_relax = had_relax || relax_section(prev);
relaxing = false;
}
def->section = section;
*def_ptr = def;
- Q_enter_global_ref(def_ptr);
+ Q_enter_global_ref(def_ptr, name);
return def;
}