aboutsummaryrefslogtreecommitdiff
path: root/ld/ldexp.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-03-04 16:38:59 +1030
committerAlan Modra <amodra@gmail.com>2020-03-04 16:38:59 +1030
commit45830fd60e3c7b694dfa03f6fc1e7de431a3fcd1 (patch)
tree5bf74dab37da45fc4991e9808561bfa77579bbd6 /ld/ldexp.c
parent91114f7583fac8fdf57c58a1f632839da62e43da (diff)
downloadgdb-45830fd60e3c7b694dfa03f6fc1e7de431a3fcd1.zip
gdb-45830fd60e3c7b694dfa03f6fc1e7de431a3fcd1.tar.gz
gdb-45830fd60e3c7b694dfa03f6fc1e7de431a3fcd1.tar.bz2
Revert "PR25570, ld duplicate "warning: changing start of section""
This reverts commit 91114f7583fac8fdf57c58a1f632839da62e43da.
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r--ld/ldexp.c2
1 files changed, 1 insertions, 1 deletions
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'"