diff options
author | Alan Modra <amodra@gmail.com> | 2020-03-04 15:33:26 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-03-04 15:35:59 +1030 |
commit | 91114f7583fac8fdf57c58a1f632839da62e43da (patch) | |
tree | 222ae22f69b7c4cccec98cba34388d69591ebe4c /ld/ldexp.c | |
parent | 233bf4f847b136705247e2f7f11bae41c72448a4 (diff) | |
download | gdb-91114f7583fac8fdf57c58a1f632839da62e43da.zip gdb-91114f7583fac8fdf57c58a1f632839da62e43da.tar.gz gdb-91114f7583fac8fdf57c58a1f632839da62e43da.tar.bz2 |
PR25570, ld duplicate "warning: changing start of section"
PR 25570
* ldlang.c (lang_size_sections_1): Delay emitting non-fatal
errors/warnings until final pass.
* ldexp.c (fold_name): Likewise.
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r-- | ld/ldexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'" |