aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/gnu.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@rabi.columbia.edu>1999-01-31 17:46:42 +0000
committerZack Weinberg <zack@gcc.gnu.org>1999-01-31 17:46:42 +0000
commitbe163a70f5ae51299cf56773e9866faec985977c (patch)
tree0afeb04ddf9be409e274ff43b6542e0421517113 /gcc/config/mips/gnu.h
parent925ecf340f3d2981d01640fbc77ffb738a4510a4 (diff)
downloadgcc-be163a70f5ae51299cf56773e9866faec985977c.zip
gcc-be163a70f5ae51299cf56773e9866faec985977c.tar.gz
gcc-be163a70f5ae51299cf56773e9866faec985977c.tar.bz2
flags.h: Declare flag_no_ident.
1999-01-31 17:52 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu> * flags.h: Declare flag_no_ident. * toplev.c: Define flag_no_ident. Process -f(no-)ident here. * c-decl.c: Don't define flag_no_ident. Don't process -f(no-)ident switches here. * ch/decl.c: Likewise. * cp/decl2.c: Likewise. * c-tree.h: Don't declare flag_no_ident. * ch/ch-tree.h: Likewise. * cp/cp-tree.h: Likewise. * config/elfos.h (ASM_FILE_END): Output final .ident directive only if !flag_no_ident. * config/ptx4.h: Likewise. * config/svr4.h: Likewise. * config/alpha/elf.h: Likewise. * config/arm/linux-elf.h: Likewise. * config/i386/sco5.h: Likewise. * config/i860/fx2800.h: Likewise. * config/mips/gnu.h: Likewise. * config/i386/osfrose.h: Likewise. * gcc.c (C specs): Map -Qn to -fno-ident. * ch/lang-specs.h: Likewise. * cp/lang-specs.h: Likewise. * f/lang-specs.h: Likewise. * objc/lang-specs.h: Likewise. * java/lang-specs.h: Likewise. From-SVN: r24943
Diffstat (limited to 'gcc/config/mips/gnu.h')
-rw-r--r--gcc/config/mips/gnu.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/mips/gnu.h b/gcc/config/mips/gnu.h
index bf48bc4..734548b 100644
--- a/gcc/config/mips/gnu.h
+++ b/gcc/config/mips/gnu.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler. MIPS GNU Hurd version.
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1999 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -52,8 +52,9 @@ Boston, MA 02111-1307, USA. */
#define ASM_FILE_END(FILE) \
do { \
mips_asm_file_end(FILE); \
- fprintf ((FILE), "\t%s\t\"GCC: (GNU) %s\"\n", \
- IDENT_ASM_OP, version_string); \
+ if (!flag_no_ident) \
+ fprintf ((FILE), "\t%s\t\"GCC: (GNU) %s\"\n", \
+ IDENT_ASM_OP, version_string); \
} while (0)
#undef ASM_OUTPUT_SOURCE_LINE