diff options
author | Alan Modra <amodra@gmail.com> | 2020-03-04 16:38:59 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-03-04 16:38:59 +1030 |
commit | 45830fd60e3c7b694dfa03f6fc1e7de431a3fcd1 (patch) | |
tree | 5bf74dab37da45fc4991e9808561bfa77579bbd6 /ld/ldlang.c | |
parent | 91114f7583fac8fdf57c58a1f632839da62e43da (diff) | |
download | binutils-45830fd60e3c7b694dfa03f6fc1e7de431a3fcd1.zip binutils-45830fd60e3c7b694dfa03f6fc1e7de431a3fcd1.tar.gz binutils-45830fd60e3c7b694dfa03f6fc1e7de431a3fcd1.tar.bz2 |
Revert "PR25570, ld duplicate "warning: changing start of section""
This reverts commit 91114f7583fac8fdf57c58a1f632839da62e43da.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index b089ac3..be9ac36 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -5554,7 +5554,7 @@ lang_size_sections_1 && (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 @@ -5592,7 +5592,7 @@ lang_size_sections_1 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 " |