summaryrefslogtreecommitdiff
path: root/gcc/xcoffout.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/xcoffout.h')
-rw-r--r--gcc/xcoffout.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/xcoffout.h b/gcc/xcoffout.h
index e1c3e89298a..d44fad7d588 100644
--- a/gcc/xcoffout.h
+++ b/gcc/xcoffout.h
@@ -173,8 +173,13 @@ extern const char *xcoff_lastfile;
}
/* .stabx has the type in a different place. */
+#if 0 /* Do not emit any marker for XCOFF until assembler allows XFT_CV. */
#define DBX_OUTPUT_GCC_MARKER(FILE) \
- fprintf ((FILE), "%s\"%s\",0,%d,0\n", ASM_STABS_OP, STABS_GCC_MARKER, N_OPT)
+ fprintf ((FILE), "%s\"%s\",0,%d,0\n", ASM_STABS_OP, STABS_GCC_MARKER, \
+ stab_to_sclass (N_GSYM))
+#else
+#define DBX_OUTPUT_GCC_MARKER(FILE)
+#endif
/* Do not break .stabs pseudos into continuations. */
#define DBX_CONTIN_LENGTH 0