-2020-03-04 Alan Modra <amodra@gmail.com>
-
- PR 25570
- * ldlang.c (lang_size_sections_1): Delay emitting non-fatal
- errors/warnings until final pass.
- * ldexp.c (fold_name): Likewise.
-
2020-03-03 Nick Clifton <nickc@redhat.com>
PR 25588
output_section = h->u.def.section->output_section;
if (output_section == NULL)
{
- if (expld.phase != lang_final_phase_enum)
+ if (expld.phase <= lang_mark_phase_enum)
new_rel (h->u.def.value, h->u.def.section);
else
einfo (_("%X%P:%pS: unresolvable symbol `%s'"
&& (strcmp (lang_memory_region_list->name_list.name,
DEFAULT_MEMORY_REGION) != 0
|| lang_memory_region_list->next != NULL)
- && expld.phase == lang_final_phase_enum)
+ && expld.phase != lang_mark_phase_enum)
{
/* By default this is an error rather than just a
warning because if we allocate the section to the
if (dotdelta != 0
&& (config.warn_section_align
|| os->addr_tree != NULL)
- && expld.phase == lang_final_phase_enum)
+ && expld.phase != lang_mark_phase_enum)
einfo (ngettext ("%P: warning: changing start of "
"section %s by %lu byte\n",
"%P: warning: changing start of "