diff options
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index d77a713..1ffad73 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -1627,15 +1627,16 @@ DEFUN_VOID(lang_check) bfd * input_bfd; unsigned long input_machine; enum bfd_architecture input_architecture; - char *out_arch, *out_arch2; +CONST char *out_arch; + char *out_arch2; for (file = file_chain.head; file != (lang_statement_union_type *)NULL; file=file->input_statement.next) { - unsigned long ldfile_new_output_machine; - enum bfd_architecture ldfile_new_output_architecture; + unsigned long ldfile_new_output_machine = 0; + enum bfd_architecture ldfile_new_output_architecture = bfd_arch_unknown; input_bfd = file->input_statement.the_bfd; |