From e89432c7c9b2aa520dbde36817baffa763f4d654 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Tue, 14 May 1991 18:52:40 +0000 Subject: [PATCH] Fixed problem with default output filename --- ld/ldlang.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ld/ldlang.c b/ld/ldlang.c index f8ac544b5fb..34bb2278cd5 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); } } -- 2.30.2