* config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd.
* config/mips/mips.c (mips_make_temp_file): Set temp_filename
properly.
(mips_asm_file_end): Free temp_filename here.
From-SVN: r40058
+2001-02-25 Zack Weinberg <zackw@stanford.edu>
+
+ * config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd.
+ * config/mips/mips.c (mips_make_temp_file): Set temp_filename
+ properly.
+ (mips_asm_file_end): Free temp_filename here.
+
Sun Feb 25 08:34:23 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
;;
hppa*-*-openbsd*)
target_cpu_default="MASK_PA_11"
+ tmake_file=pa/t-openbsd
;;
hppa1.1-*-rtems*)
tm_file="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h pa/rtems.h"
# Nothing special
;;
powerpc-*-openbsd*)
- tmake_file="${tmake_file} rs6000/t-rs6000"
+ tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd"
;;
powerpc-*-beos*)
cpu_type=rs6000
mips_make_temp_file ()
{
FILE *stream;
- char *filename = make_temp_file (0);
+ temp_filename = make_temp_file (0);
stream = fopen (filename, "w+");
if (!stream)
- fatal_io_error ("can't open %s", filename);
- free (filename);
+ fatal_io_error ("can't open %s", temp_filename);
return stream;
}
\f
fatal_io_error ("can't close %s", temp_filename);
unlink (temp_filename);
+ free (temp_filename);
}
}