diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2012-07-14 17:28:31 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2012-07-14 17:28:31 +0000 |
commit | aa5481b540ae386ec74993a224514fd6c8d1408f (patch) | |
tree | 527b746494b6276e01ac1a7f418533d8f9a113ff /gcc/toplev.c | |
parent | 0bb12e1b05f06e33ac0fd85065c907880046e0fd (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@189482 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 03a91343d9e..ea43298ee70 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); } |