diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2001-04-18 06:15:38 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2001-04-18 06:15:38 +0000 |
commit | ad087b92db9cd796f6ca3e2c3d5730a4d1b5fda0 (patch) | |
tree | 890e674f479298825b48ff5b827cd8d6c288f352 /gcc/dbxout.c | |
parent | 599d54fd8e0f0cdd0332af0b9c02825f7c0a1599 (diff) | |
download | gcc-ad087b92db9cd796f6ca3e2c3d5730a4d1b5fda0.zip gcc-ad087b92db9cd796f6ca3e2c3d5730a4d1b5fda0.tar.gz gcc-ad087b92db9cd796f6ca3e2c3d5730a4d1b5fda0.tar.bz2 |
dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined, use it instead of blindly generating a .stabs.
* dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
use it instead of blindly generating a .stabs.
* xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
in the right place.
* xcoffout.c: Don't bother defining default for N_CATCH.
(UNKNOWN_STAB): Use internal_error.
(stab_to_sclass): Remove now-unnecessary aborts.
Remove #if 0'ed case N_BROWS. Add #ifdef N_OPT block.
From-SVN: r41404
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 4b58f0e..31c8596 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -428,9 +428,13 @@ dbxout_init (asm_file, input_file_name, syms) ASM_OUTPUT_INTERNAL_LABEL (asmfile, "Ltext", 0); #endif /* no DBX_OUTPUT_MAIN_SOURCE_FILENAME */ +#ifdef DBX_OUTPUT_GCC_MARKER + DBX_OUTPUT_GCC_MARKER (asmfile); +#else /* Emit an N_OPT stab to indicate that this file was compiled by GCC. */ fprintf (asmfile, "%s\"%s\",%d,0,0,0\n", ASM_STABS_OP, STABS_GCC_MARKER, N_OPT); +#endif lastfile = input_file_name; |