Fixed problem with default output filename
authorSteve Chamberlain <steve@cygnus>
Tue, 14 May 1991 18:52:40 +0000 (18:52 +0000)
committerSteve Chamberlain <steve@cygnus>
Tue, 14 May 1991 18:52:40 +0000 (18:52 +0000)
ld/ldlang.c

index f8ac544..34bb227 100644 (file)
@@ -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);
   }
 }