diff options
-rw-r--r-- | ld/ldlang.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index f8ac544..34bb227 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -1943,7 +1943,8 @@ void DEFUN_VOID(lang_final) { if (had_output_filename == false) { - lang_add_output("a.out"); + extern CONST char *output_filename; + lang_add_output(output_filename); } } |