diff options
author | Zack Weinberg <zackw@stanford.edu> | 2001-02-25 17:23:42 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2001-02-25 17:23:42 +0000 |
commit | e1b71de925ef2c05f73cbc792541d768abdbb2ce (patch) | |
tree | 3ecebf0d45574ea92e43f2b23a8b042c7f33ef6e /gcc | |
parent | 397be6cf54e0102829b729147053162388e12806 (diff) | |
download | gcc-e1b71de925ef2c05f73cbc792541d768abdbb2ce.zip gcc-e1b71de925ef2c05f73cbc792541d768abdbb2ce.tar.gz gcc-e1b71de925ef2c05f73cbc792541d768abdbb2ce.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config.gcc | 3 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 6 |
3 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6d54957..7234ccd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +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. diff --git a/gcc/config.gcc b/gcc/config.gcc index a58a673..a9ea215 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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 diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 0c18ddb..2cc0ccb 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -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); } } |