diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ldlang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index 1c8d229..f10557a 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -6726,7 +6726,7 @@ section_for_dot (void) if (stmt->header.type == lang_output_section_statement_enum) break; - os = &stmt->output_section_statement; + os = stmt ? &stmt->output_section_statement : NULL; while (os != NULL && !os->after_end && (os->bfd_section == NULL |