aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-11-21 01:13:15 +0000
committerAlan Modra <amodra@gmail.com>2001-11-21 01:13:15 +0000
commitabc6ab0a54daaf4ae85a0545507a82f582ba1107 (patch)
treeec33cddf722b7e1bf9354b69c052c741f4cd9eee /ld/ldlang.c
parent7a47c3a29c2d5c910279a03f910f88f87c8a3491 (diff)
downloadgdb-abc6ab0a54daaf4ae85a0545507a82f582ba1107.zip
gdb-abc6ab0a54daaf4ae85a0545507a82f582ba1107.tar.gz
gdb-abc6ab0a54daaf4ae85a0545507a82f582ba1107.tar.bz2
* ldlang.c (map_input_to_output_sections): Replace "break"
accidentally removed with 2001-08-03 change. (lang_gc_sections_1): Likewise.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index fa52475..9994cf8 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;