summaryrefslogtreecommitdiff
path: root/gcc/xcoffout.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2001-04-18 06:15:38 +0000
committerZack Weinberg <zack@gcc.gnu.org>2001-04-18 06:15:38 +0000
commitad087b92db9cd796f6ca3e2c3d5730a4d1b5fda0 (patch)
tree890e674f479298825b48ff5b827cd8d6c288f352 /gcc/xcoffout.h
parent599d54fd8e0f0cdd0332af0b9c02825f7c0a1599 (diff)
downloadgcc-ad087b92db9cd796f6ca3e2c3d5730a4d1b5fda0.tar.gz
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/xcoffout.h')
-rw-r--r--gcc/xcoffout.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/xcoffout.h b/gcc/xcoffout.h
index 2fb8ab3fb4e..e1c3e89298a 100644
--- a/gcc/xcoffout.h
+++ b/gcc/xcoffout.h
@@ -172,6 +172,10 @@ extern const char *xcoff_lastfile;
} \
}
+/* .stabx has the type in a different place. */
+#define DBX_OUTPUT_GCC_MARKER(FILE) \
+ fprintf ((FILE), "%s\"%s\",0,%d,0\n", ASM_STABS_OP, STABS_GCC_MARKER, N_OPT)
+
/* Do not break .stabs pseudos into continuations. */
#define DBX_CONTIN_LENGTH 0