Commit e1b71de9 by Zack Weinberg Committed by Zack Weinberg

config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd.

        * 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
parent 397be6cf
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.
......
......@@ -675,6 +675,7 @@ hppa*-*-linux*)
;;
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"
......@@ -2701,7 +2702,7 @@ romp-*-openbsd*)
# 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
......
......@@ -5788,12 +5788,11 @@ static FILE *
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;
}
......@@ -6049,6 +6048,7 @@ mips_asm_file_end (file)
fatal_io_error ("can't close %s", temp_filename);
unlink (temp_filename);
free (temp_filename);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment