From: Steve Chamberlain Date: Tue, 14 May 1991 18:52:40 +0000 (+0000) Subject: Fixed problem with default output filename X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e89432c7c9b2aa520dbde36817baffa763f4d654;p=binutils-gdb.git Fixed problem with default output filename --- 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); } }