From 45830fd60e3c7b694dfa03f6fc1e7de431a3fcd1 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 4 Mar 2020 16:38:59 +1030 Subject: Revert "PR25570, ld duplicate "warning: changing start of section"" This reverts commit 91114f7583fac8fdf57c58a1f632839da62e43da. --- ld/ldexp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/ldexp.c') diff --git a/ld/ldexp.c b/ld/ldexp.c index d2b1b43..6d1457b 100644 --- a/ld/ldexp.c +++ b/ld/ldexp.c @@ -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_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'" -- cgit v1.1