* ldlang.c (map_input_to_output_sections): Replace "break"
authorAlan Modra <amodra@gmail.com>
Wed, 21 Nov 2001 01:13:15 +0000 (01:13 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 21 Nov 2001 01:13:15 +0000 (01:13 +0000)
accidentally removed with 2001-08-03 change.
(lang_gc_sections_1): Likewise.

ld/ChangeLog
ld/ldlang.c

index ddece20c8942a4eb49a0c32030be5f9224328150..ca18d3a8c7f14bd9e438011d5f50fa4efb830cd8 100644 (file)
@@ -1,3 +1,10 @@
+2001-11-21  David Heine <dlheine@tensilica.com>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * 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  <amodra@bigpond.net.au>
 
        * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
index fa52475898f7d5f8f89eda0fd201b63659d995a5..9994cf8c9896ddd2c6862ca5c0b4bf13b54f2ae9 100644 (file)
@@ -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;