From abc6ab0a54daaf4ae85a0545507a82f582ba1107 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 21 Nov 2001 01:13:15 +0000 Subject: [PATCH] * ldlang.c (map_input_to_output_sections): Replace "break" accidentally removed with 2001-08-03 change. (lang_gc_sections_1): Likewise. --- ld/ChangeLog | 7 +++++++ ld/ldlang.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index ddece20c894..ca18d3a8c7f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2001-11-21 David Heine + Alan Modra + + * ldlang.c (map_input_to_output_sections): Replace "break" + accidentally removed with 2001-08-03 change. + (lang_gc_sections_1): Likewise. + 2001-11-21 Alan Modra * ldlang.c (walk_wild_section): Move sec == NULL case out of loop. diff --git a/ld/ldlang.c b/ld/ldlang.c index fa52475898f..9994cf8c989 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -2056,6 +2056,7 @@ map_input_to_output_sections (s, target, output_section_statement) { case lang_wild_statement_enum: wild (&s->wild_statement, target, output_section_statement); + break; case lang_constructors_statement_enum: map_input_to_output_sections (constructor_list.head, target, @@ -4010,6 +4011,7 @@ lang_gc_sections_1 (s) { case lang_wild_statement_enum: lang_gc_wild (&s->wild_statement); + break; case lang_constructors_statement_enum: lang_gc_sections_1 (constructor_list.head); break; -- 2.30.2