PR25570, ld duplicate "warning: changing start of section"
[deliverable/binutils-gdb.git] / ld / ldexp.c
index 6d1457b929abd027d413b882cf058e874178ffe2..d2b1b43a5a9d72610a8d9986b173e871a0b7d7bf 100644 (file)
@@ -742,7 +742,7 @@ fold_name (etree_type *tree)
              output_section = h->u.def.section->output_section;
              if (output_section == NULL)
                {
-                 if (expld.phase <= lang_mark_phase_enum)
+                 if (expld.phase != lang_final_phase_enum)
                    new_rel (h->u.def.value, h->u.def.section);
                  else
                    einfo (_("%X%P:%pS: unresolvable symbol `%s'"
This page took 0.025966 seconds and 4 git commands to generate.