From ee7b28eb21694d39f90b535b2f8bd77b4ae4a11a Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Sat, 14 Jul 2012 17:28:31 +0000 Subject: toplev.c (init_asm_output): Open asm_out_file in 'w' mode. gcc/ * toplev.c (init_asm_output): Open asm_out_file in 'w' mode. c-family/ * c-pch.c (CHECK_NO_ASM_OUT_DURING_PCH): Do not define. Remove code conditional on it. From-SVN: r189482 --- gcc/toplev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/toplev.c') diff --git a/gcc/toplev.c b/gcc/toplev.c index 03a9134..ea43298 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -908,7 +908,7 @@ init_asm_output (const char *name) if (!strcmp (asm_file_name, "-")) asm_out_file = stdout; else - asm_out_file = fopen (asm_file_name, "w+b"); + asm_out_file = fopen (asm_file_name, "w"); if (asm_out_file == 0) fatal_error ("can%'t open %s for writing: %m", asm_file_name); } -- cgit v1.1