This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove ASM_IDENTIFY_GCC from MMIX port
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 9 Jan 2002 20:25:44 -0500 (EST)
- Subject: Remove ASM_IDENTIFY_GCC from MMIX port
One of several unused macros IIRC. Well, there goes one.
Built and tested.
* config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
function.
* config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
prototype.
* config/mmix/mmix.c (ASM_IDENTIFY_GCC): Remove unused macro.
Index: mmix-protos.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mmix/mmix-protos.h,v
retrieving revision 1.5
diff -p -c -r1.5 mmix-protos.h
*** mmix-protos.h 2001/12/30 16:48:59 1.5
--- mmix-protos.h 2002/01/10 01:16:41
***************
*** 1,5 ****
/* Prototypes for exported functions defined in mmix.c
! Copyright (C) 2000, 2001 Free Software Foundation, Inc.
Contributed by Hans-Peter Nilsson (hp@bitrange.com)
This file is part of GNU CC.
--- 1,5 ----
/* Prototypes for exported functions defined in mmix.c
! Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by Hans-Peter Nilsson (hp@bitrange.com)
This file is part of GNU CC.
*************** extern const char *mmix_data_section_asm
*** 36,42 ****
extern const char *mmix_strip_name_encoding PARAMS ((const char *));
extern void mmix_asm_file_start PARAMS ((FILE *));
extern void mmix_asm_file_end PARAMS ((FILE *));
- extern void mmix_asm_identify_gcc PARAMS ((FILE *));
extern void mmix_asm_output_source_filename PARAMS ((FILE *, const char *));
extern void mmix_output_quoted_string PARAMS ((FILE *, const char *, int));
extern void mmix_asm_output_source_line PARAMS ((FILE *, int));
--- 36,41 ----
Index: mmix.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mmix/mmix.c,v
retrieving revision 1.13
diff -p -c -r1.13 mmix.c
*** mmix.c 2002/01/05 04:03:36 1.13
--- mmix.c 2002/01/10 01:16:44
*************** mmix_asm_file_end (stream)
*** 1833,1849 ****
data_section ();
}
- /* ASM_IDENTIFY_GCC. */
-
- void
- mmix_asm_identify_gcc (stream)
- FILE * stream;
- {
- /* No real need for the time being. May be useful to GDB later on. */
- fprintf (stream, "# Compiled by GCC version %s\n",
- version_string);
- }
-
/* ASM_OUTPUT_SOURCE_FILENAME. */
void
--- 1833,1838 ----
Index: mmix.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/mmix/mmix.h,v
retrieving revision 1.12
diff -p -c -r1.12 mmix.h
*** mmix.h 2002/01/08 22:51:37 1.12
--- mmix.h 2002/01/10 01:16:46
*************** const_section () \
*** 953,961 ****
#define ASM_FILE_END(STREAM) \
mmix_asm_file_end (STREAM)
- #define ASM_IDENTIFY_GCC(STREAM) \
- mmix_asm_identify_gcc (STREAM)
-
/* While any other punctuation character but ";" would do, we prefer "%"
or "!"; "!" is an unary operator and so will not be mistakenly included
in correctly formed expressions. The hash character adds mass; catches
--- 953,958 ----
brgds, H-P