diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-16 18:30:48 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-16 18:30:48 +0000 |
commit | f006a2e601694bdd419ac4bd046aef733ad1f428 (patch) | |
tree | e05e04e392c2b0f2c0e55e48d7696acd0748b8fa /gcc/config/m68k | |
parent | fd0224a8d87a8906bbfc3e26fa98862404bd02f4 (diff) | |
download | gcc-f006a2e601694bdd419ac4bd046aef733ad1f428.tar.gz |
* toplev.c (output_lang_identify): Delete.
(compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
Don't generate gcc2_compiled. label. Don't emit a nop if profiling.
If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
after calling ASM_FILE_END.
* dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
Instead, unconditionally emit an N_OPT stab with string equal
to STABS_GCC_MARKER, which defaults to "gcc2_compiled."
* defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.
* config/dbxelf.h, config/freebsd.h, config/nextstep.h,
config/psos.h, config/ptx4.h, config/1750a/1750a.h,
config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
config/i370/i370.h, config/i386/beos-elf.h,
config/i386/osf1elf.h, config/i386/osfrose.h,
config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
config/m68k/tower-as.h, config/mcore/mcore-elf.h,
config/mips/iris6.h, config/mips/osfrose.h,
config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
config/sparc/sp64-elf.h:
Delete definitions of any or all of: ASM_IDENTIFY_GCC,
ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.
* config/elfos.h, config/freebsd.h, config/linux.h,
config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
of ASM_FILE_START which merely emit a .version directive. Delete
definitions of ASM_FILE_END which merely emit an .ident directive.
* config/avr/avr.h, config/vax/vax.h: Delete definition of
ASM_IDENTIFY_GCC and move part of its logic into
ASM_FILE_START.
* config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
config/sparc/linux-aout.h: Don't emit .version directive in
ASM_FILE_START.
* config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
(output_file_start): Correct comment.
* config/i386/osfrose.h: Don't emit trailing .ident directive.
* config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
to match gdb.
* config/pa/lib2funcs.asm: Delete gcc_compiled. label.
* config/rs6000/aix.h: Correct comment.
* config/i386/i386afe.h: Delete.
* config.gcc: Remove references to i386afe.h.
* tm.texi: Delete documentation of ASM_IDENTIFY_GCC. The
other macros deleted by this patch were undocumented.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41385 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r-- | gcc/config/m68k/3b1.h | 4 | ||||
-rw-r--r-- | gcc/config/m68k/auxgas.h | 8 | ||||
-rw-r--r-- | gcc/config/m68k/crds.h | 4 | ||||
-rw-r--r-- | gcc/config/m68k/hp320.h | 4 | ||||
-rw-r--r-- | gcc/config/m68k/m68kv4.h | 18 | ||||
-rw-r--r-- | gcc/config/m68k/mot3300.h | 8 | ||||
-rw-r--r-- | gcc/config/m68k/news.h | 5 | ||||
-rw-r--r-- | gcc/config/m68k/sgs.h | 7 | ||||
-rw-r--r-- | gcc/config/m68k/tower-as.h | 5 |
9 files changed, 3 insertions, 60 deletions
diff --git a/gcc/config/m68k/3b1.h b/gcc/config/m68k/3b1.h index 739a28b92e0..0dac874744f 100644 --- a/gcc/config/m68k/3b1.h +++ b/gcc/config/m68k/3b1.h @@ -64,10 +64,6 @@ Boston, MA 02111-1307, USA. */ #define ASM_FILE_START(FILE) \ output_file_directive ((FILE), main_input_filename) -/* Don't try to define `gcc_compiled.' since the assembler might not - accept symbols with periods and GDB doesn't run on this machine anyway. */ -#define ASM_IDENTIFY_GCC(FILE) - /* Define __HAVE_68881__ in preprocessor if -m68881 is specified. This will control the use of inline 68881 insns in certain macros. */ diff --git a/gcc/config/m68k/auxgas.h b/gcc/config/m68k/auxgas.h index c2e0d567b45..c3c76352f93 100644 --- a/gcc/config/m68k/auxgas.h +++ b/gcc/config/m68k/auxgas.h @@ -31,14 +31,6 @@ Boston, MA 02111-1307, USA. */ #define ASM_OUTPUT_IDENT(FILE, NAME) \ fprintf (FILE, "\t.ident \"%s\"\n", NAME); -#ifdef IDENTIFY_WITH_IDENT -/* Put the GCC identification somewhere nicer, I think. - Does the COFF GDB use the "gcc2_complied." symbol anyway? */ -#define ASM_IDENTIFY_GCC(FILE) /* nothing */ -#define ASM_IDENTIFY_LANGUAGE(FILE) \ - fprintf (FILE, "\t.ident \"GCC (%s) %s\"\n", lang_identify(), version_string) -#endif - #ifdef USE_COLLECT2 #undef ASM_OUTPUT_CONSTRUCTOR #undef ASM_OUTPUT_DESTRUCTOR diff --git a/gcc/config/m68k/crds.h b/gcc/config/m68k/crds.h index b3e807843f4..12f0fb797bc 100644 --- a/gcc/config/m68k/crds.h +++ b/gcc/config/m68k/crds.h @@ -90,10 +90,6 @@ Boston, MA 02111-1307, USA. */ #define TARGET_MEM_FUNCTIONS -/* Don't try to define `gcc_compiled.' since the assembler might not - accept symbols with periods and GDB doesn't run on this machine anyway. */ -#define ASM_IDENTIFY_GCC(FILE) - /* Define __HAVE_68881__ in preprocessor if -m68881 is specified. This will control the use of inline 68881 insns in certain macros. */ diff --git a/gcc/config/m68k/hp320.h b/gcc/config/m68k/hp320.h index 83140058d2d..64a0e0d2c90 100644 --- a/gcc/config/m68k/hp320.h +++ b/gcc/config/m68k/hp320.h @@ -607,10 +607,6 @@ do { register int i; \ { fprintf ((FILE), "mov"); (PTR) += 4; } \ } -/* Prevent output of `gcc_compiled.:'. */ - -#define ASM_IDENTIFY_GCC(FILE) - #else /* not HPUX_ASM */ #undef FUNCTION_PROFILER diff --git a/gcc/config/m68k/m68kv4.h b/gcc/config/m68k/m68kv4.h index dafe7fdedfa..9bdc4877685 100644 --- a/gcc/config/m68k/m68kv4.h +++ b/gcc/config/m68k/m68kv4.h @@ -27,11 +27,6 @@ Boston, MA 02111-1307, USA. */ #include "m68k/sgs.h" /* The m68k/SVR4 assembler is SGS based */ -/* The SGS assembler requires a special definition of - ASM_IDENTIFY_GCC. We combine the m68k/sgs.h and the svr4.h - definitions below. */ -#undef ASM_IDENTIFY_GCC - #include "svr4.h" /* Pick up the generic SVR4 macros */ /* See m68k.h. 7 means 68020 with 68881. */ @@ -40,19 +35,6 @@ Boston, MA 02111-1307, USA. */ #define TARGET_DEFAULT (MASK_BITFIELD|MASK_68881|MASK_68020) #endif -/* When using an SGS assembler, modify the name of the artificial label which - identifies this file as having been compiled with gcc, and the macro that - emits such a label in the assembly output, to use '%' rather than '.' */ - -#undef ASM_IDENTIFY_GCC -#define ASM_IDENTIFY_GCC(FILE) \ -do \ - { \ - if (write_symbols != DBX_DEBUG) \ - fputs ("gcc2_compiled%:\n", FILE); \ - } \ -while (0) - /* Override the definition of NO_DOLLAR_IN_LABEL in svr4.h, for special g++ assembler names. When this is defined, g++ uses embedded '.' characters and some m68k assemblers have problems with this. The diff --git a/gcc/config/m68k/mot3300.h b/gcc/config/m68k/mot3300.h index 9c9a0994426..fd914815d64 100644 --- a/gcc/config/m68k/mot3300.h +++ b/gcc/config/m68k/mot3300.h @@ -38,6 +38,9 @@ Boston, MA 02111-1307, USA. */ #include "m68k/m68k.h" +/* GDB expects a slightly different marker on this target. */ +#define STABS_GCC_MARKER "gcc2_compiled%" + /* See m68k.h. 0407 means 68020-68040. */ #ifndef TARGET_DEFAULT @@ -264,11 +267,6 @@ dtors_section () \ } #endif /* USE_GAS */ -/* The sysV68 assembler does not accept dots in labels. - Let's use percent instead */ - -#define ASM_IDENTIFY_GCC(FILE) fputs("gcc2_compiled%:\n", FILE) - /* Names to predefine in the preprocessor for this target machine. */ /* ihnp4!lmayk!lgm@eddie.mit.edu says mc68000 and m68k should not be here, on the other hand I don't care what he says. */ diff --git a/gcc/config/m68k/news.h b/gcc/config/m68k/news.h index 5661e87ae03..25e820e772b 100644 --- a/gcc/config/m68k/news.h +++ b/gcc/config/m68k/news.h @@ -139,11 +139,6 @@ Boston, MA 02111-1307, USA. */ #ifdef MOTOROLA -/* Don't try to define `gcc_compiled.' since the assembler does not - accept symbols with periods. This is no real loss since GDB only - really needs it for parms passed in registers. */ -#define ASM_IDENTIFY_GCC(FILE) - #define FUNCTION_PROLOGUE(FILE, SIZE) \ { register int regno; \ register int mask = 0; \ diff --git a/gcc/config/m68k/sgs.h b/gcc/config/m68k/sgs.h index 3e4bbb15329..74716cd9e6a 100644 --- a/gcc/config/m68k/sgs.h +++ b/gcc/config/m68k/sgs.h @@ -102,13 +102,6 @@ Boston, MA 02111-1307, USA. */ #endif /* defined SUPPORT_SUN_FPA */ -/* When using an SGS assembler, modify the name of the artificial label which - identifies this file as having been compiled with gcc, and the macro that - emits such a label in the assembly output, to use '%' rather than '.' */ - -#define ASM_IDENTIFY_GCC(FILE) \ - { fprintf ((FILE), "%s:\n", "gcc2_compiled%"); } - /* This is how to output an assembler line defining an `int' constant. */ /* The SGS assembler doesn't understand ".word". */ diff --git a/gcc/config/m68k/tower-as.h b/gcc/config/m68k/tower-as.h index 2ab94221ad3..bb03b058a82 100644 --- a/gcc/config/m68k/tower-as.h +++ b/gcc/config/m68k/tower-as.h @@ -67,11 +67,6 @@ Boston, MA 02111-1307, USA. */ #define SDB_DEBUGGING_INFO -/* This is only useful if gdb is changed, but doesn't harm anyway. */ - -#define ASM_IDENTIFY_GCC(FILE) \ - fprintf (FILE, "gcc2_compiled%%:\n") - /* All the ASM_OUTPUT macros need to conform to the Tower as syntax. */ #define ASM_OUTPUT_SOURCE_FILENAME(FILE, FILENAME) \ |