diff --git a/gcc/telf.h b/gcc/telf.h index 1b491b8..9e704d3 100755 --- a/gcc/telf.h +++ b/gcc/telf.h @@ -48,12 +48,6 @@ extern int arm_structure_size_boundary; #define LOCAL_LABEL_PREFIX "." -/* A C statement to output assembler commands which will identify the - object file as having been compiled with GNU CC (or another GNU - compiler). */ -#define ASM_IDENTIFY_GCC(STREAM) \ - fprintf (STREAM, "%sgcc2_compiled.:\n", LOCAL_LABEL_PREFIX ) - #undef ASM_FILE_START #define ASM_FILE_START(STREAM) \ do { \ diff --git a/gcc/toplev.c b/gcc/toplev.c index e80ed20..5c25a04 100755 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2118,13 +2118,6 @@ compile_file(char *name) } #endif - /* Output something to inform GDB that this compilation was by GCC. */ -#ifndef ASM_IDENTIFY_GCC - fprintf(asm_out_file, "gcc2_compiled.:\n"); -#else - ASM_IDENTIFY_GCC(asm_out_file); -#endif - /* Output something to identify which front-end produced this file. */ #ifdef ASM_IDENTIFY_LANGUAGE ASM_IDENTIFY_LANGUAGE(asm_out_file); diff --git a/gcc_arm/config/arm/aof.h b/gcc_arm/config/arm/aof.h index 6c21850..3e96290 100755 --- a/gcc_arm/config/arm/aof.h +++ b/gcc_arm/config/arm/aof.h @@ -220,8 +220,6 @@ do \ fputs ("\tEND\n", (STREAM)); \ } while (0); -#define ASM_IDENTIFY_GCC(STREAM) fputs ("|gcc2_compiled.|\n", (STREAM)) - #define ASM_COMMENT_START ";" #define ASM_APP_ON "" diff --git a/gcc_arm/config/arm/coff.h b/gcc_arm/config/arm/coff.h index 13703ca..286ce5b 100755 --- a/gcc_arm/config/arm/coff.h +++ b/gcc_arm/config/arm/coff.h @@ -61,17 +61,6 @@ arm_valid_machine_decl_attribute (DECL, ATTRIBUTES, IDENTIFIER, ARGS) #include "dbxcoff.h" -/* A C statement to output assembler commands which will identify the - object file as having been compiled with GNU CC (or another GNU - compiler). */ -/* Define this to NULL so we don't get anything. - We have ASM_IDENTIFY_LANGUAGE. - Also, when using stabs, gcc2_compiled must be a stabs entry, not an - ordinary symbol, or gdb won't see it. The stabs entry must be - before the N_SO in order for gdb to find it. */ -#define ASM_IDENTIFY_GCC(STREAM) \ - fprintf (STREAM, "%sgcc2_compiled.:\n", LOCAL_LABEL_PREFIX ) - /* This outputs a lot of .req's to define alias for various registers. Let's try to avoid this. */ #undef ASM_FILE_START diff --git a/gcc_arm/config/arm/elf.h b/gcc_arm/config/arm/elf.h index c78b68a..64a3458 100755 --- a/gcc_arm/config/arm/elf.h +++ b/gcc_arm/config/arm/elf.h @@ -180,19 +180,6 @@ extern int arm_valid_machine_decl_attribute (); arm_valid_machine_decl_attribute (DECL, ATTRIBUTES, IDENTIFIER, ARGS) -/* A C statement to output assembler commands which will identify the - object file as having been compiled with GNU CC (or another GNU - compiler). */ -/* Define this to NULL so we don't get anything. - We have ASM_IDENTIFY_LANGUAGE. - Also, when using stabs, gcc2_compiled must be a stabs entry, not an - ordinary symbol, or gdb won't see it. The stabs entry must be - before the N_SO in order for gdb to find it. */ -#ifndef ASM_IDENTIFY_GCC -#define ASM_IDENTIFY_GCC(STREAM) \ - fprintf (STREAM, "%sgcc2_compiled.:\n", LOCAL_LABEL_PREFIX ) -#endif - /* This outputs a lot of .req's to define alias for various registers. Let's try to avoid this. */ #ifndef ASM_FILE_START diff --git a/gcc_arm/config/arm/tcoff.h b/gcc_arm/config/arm/tcoff.h index 6fa4705..edd359d 100755 --- a/gcc_arm/config/arm/tcoff.h +++ b/gcc_arm/config/arm/tcoff.h @@ -51,12 +51,6 @@ extern int arm_structure_size_boundary; #undef USER_LABEL_PREFIX #define USER_LABEL_PREFIX "" -/* A C statement to output assembler commands which will identify the - object file as having been compiled with GNU CC (or another GNU - compiler). */ -#define ASM_IDENTIFY_GCC(STREAM) \ - fprintf (STREAM, "%sgcc2_compiled.:\n", LOCAL_LABEL_PREFIX ) - #undef ASM_FILE_START #define ASM_FILE_START(STREAM) \ do { \ diff --git a/gcc_arm/config/arm/telf-oabi.h b/gcc_arm/config/arm/telf-oabi.h index 17e85e2..0434b3b 100755 --- a/gcc_arm/config/arm/telf-oabi.h +++ b/gcc_arm/config/arm/telf-oabi.h @@ -54,12 +54,6 @@ extern int arm_structure_size_boundary; #define LOCAL_LABEL_PREFIX "." -/* A C statement to output assembler commands which will identify the - object file as having been compiled with GNU CC (or another GNU - compiler). */ -#define ASM_IDENTIFY_GCC(STREAM) \ - fprintf (STREAM, "%sgcc2_compiled.:\n", LOCAL_LABEL_PREFIX ) - #undef ASM_FILE_START #define ASM_FILE_START(STREAM) \ do { \ diff --git a/gcc_arm/config/arm/telf-oabi_020422.h b/gcc_arm/config/arm/telf-oabi_020422.h index 9b7d6c7..4b96b39 100755 --- a/gcc_arm/config/arm/telf-oabi_020422.h +++ b/gcc_arm/config/arm/telf-oabi_020422.h @@ -54,12 +54,6 @@ extern int arm_structure_size_boundary; #define LOCAL_LABEL_PREFIX "." -/* A C statement to output assembler commands which will identify the - object file as having been compiled with GNU CC (or another GNU - compiler). */ -#define ASM_IDENTIFY_GCC(STREAM) \ - fprintf (STREAM, "%sgcc2_compiled.:\n", LOCAL_LABEL_PREFIX ) - #undef ASM_FILE_START #define ASM_FILE_START(STREAM) \ do { \ diff --git a/gcc_arm/config/arm/telf.h b/gcc_arm/config/arm/telf.h index 29297b0..dabb3bc 100755 --- a/gcc_arm/config/arm/telf.h +++ b/gcc_arm/config/arm/telf.h @@ -52,12 +52,6 @@ extern int arm_structure_size_boundary; #define LOCAL_LABEL_PREFIX "." -/* A C statement to output assembler commands which will identify the - object file as having been compiled with GNU CC (or another GNU - compiler). */ -#define ASM_IDENTIFY_GCC(STREAM) \ - fprintf (STREAM, "%sgcc2_compiled.:\n", LOCAL_LABEL_PREFIX ) - #undef ASM_FILE_START #define ASM_FILE_START(STREAM) \ do { \ diff --git a/gcc_arm/config/arm/telf_020422.h b/gcc_arm/config/arm/telf_020422.h index 6e59404..fce8b7f 100755 --- a/gcc_arm/config/arm/telf_020422.h +++ b/gcc_arm/config/arm/telf_020422.h @@ -52,12 +52,6 @@ extern int arm_structure_size_boundary; #define LOCAL_LABEL_PREFIX "." -/* A C statement to output assembler commands which will identify the - object file as having been compiled with GNU CC (or another GNU - compiler). */ -#define ASM_IDENTIFY_GCC(STREAM) \ - fprintf (STREAM, "%sgcc2_compiled.:\n", LOCAL_LABEL_PREFIX ) - #undef ASM_FILE_START #define ASM_FILE_START(STREAM) \ do { \ diff --git a/gcc_arm/config/arm/tpe.h b/gcc_arm/config/arm/tpe.h index 8f4f35f..d2bccff 100755 --- a/gcc_arm/config/arm/tpe.h +++ b/gcc_arm/config/arm/tpe.h @@ -83,12 +83,6 @@ extern int arm_structure_size_boundary; #undef USER_LABEL_PREFIX #define USER_LABEL_PREFIX "_" -/* A C statement to output assembler commands which will identify the - object file as having been compiled with GNU CC (or another GNU - compiler). */ -#define ASM_IDENTIFY_GCC(STREAM) \ - fprintf (STREAM, "%sgcc2_compiled.:\n%s", LOCAL_LABEL_PREFIX, ASM_APP_OFF ) - #undef ASM_FILE_START #define ASM_FILE_START(STREAM) \ do { \ diff --git a/gcc_arm/toplev.c b/gcc_arm/toplev.c index 29833da..0af6552 100755 --- a/gcc_arm/toplev.c +++ b/gcc_arm/toplev.c @@ -2821,13 +2821,6 @@ compile_file (name) } #endif - /* Output something to inform GDB that this compilation was by GCC. */ -#ifndef ASM_IDENTIFY_GCC - fprintf (asm_out_file, "gcc2_compiled.:\n"); -#else - ASM_IDENTIFY_GCC (asm_out_file); -#endif - /* Output something to identify which front-end produced this file. */ #ifdef ASM_IDENTIFY_LANGUAGE ASM_IDENTIFY_LANGUAGE (asm_out_file);