2003-06-03 H.J. Lu <hongjiu.lu@intel.com>
[binutils-gdb.git] / gas / output-file.c
index de1dcbf6ed214541bd42c2605a9439b66de13955..531e35fa691e7f4e6ffddf167ccc5a18a5b58812 100644 (file)
@@ -110,12 +110,6 @@ output_file_create (name)
     }
 
   stdoutput = fopen (name, FOPEN_WB);
-
-  /* Some systems don't grok "b" in fopen modes.  */
-  /* XXX - is this still necessary now that we use FOPEN_WB ?  */
-  if (stdoutput == NULL)
-    stdoutput = fopen (name, FOPEN_W);
-
   if (stdoutput == NULL)
     {
       as_perror (_("FATAL: can't create %s"), name);