diff options
author | Fred Fish <fnf@be.com> | 2000-02-07 20:59:19 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-02-07 15:59:19 -0500 |
commit | f766bd4696b6aeec71bf0168c819e562a12aa96f (patch) | |
tree | caaf77f40275c60b351273e1a1f132c940a6b006 /gcc/config/i386/beos-elf.h | |
parent | 70adf8a937ecf00e12362bbe93ad7468d182920e (diff) | |
download | gcc-f766bd4696b6aeec71bf0168c819e562a12aa96f.zip gcc-f766bd4696b6aeec71bf0168c819e562a12aa96f.tar.gz gcc-f766bd4696b6aeec71bf0168c819e562a12aa96f.tar.bz2 |
beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing so the gcc2_compiled symbol doesn't...
* i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
From-SVN: r31838
Diffstat (limited to 'gcc/config/i386/beos-elf.h')
-rw-r--r-- | gcc/config/i386/beos-elf.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config/i386/beos-elf.h b/gcc/config/i386/beos-elf.h index 34d94f5..cd51815 100644 --- a/gcc/config/i386/beos-elf.h +++ b/gcc/config/i386/beos-elf.h @@ -369,3 +369,15 @@ extern union tree_node *i386_pe_merge_decl_attributes (); without user intervention. For instance, under Microsoft Windows symbols must be explicitly imported from shared libraries (DLLs). */ #define MULTIPLE_SYMBOL_SPACES + +/* A C statement to output assembler commands which will identify the object + file as having been compiled with GNU CC. This isn't needed for BeOS + because we use DWARF and DWARF has an DW_AT_producer tag that does the + same thing. BeOS debuggers, like bdb, that don't know about this hack + can get confused when they find two symbols with the same address, and + print the wrong one (gcc2_compiled) in things like backtraces. The most + likely ill effect of disabling this is that a BeOS port of gdb would not + be able to tell that an executable was compiled with gcc if there was no + DWARF info. */ +#undef ASM_IDENTIFY_GCC +#define ASM_IDENTIFY_GCC(FILE) |