#define NO_DBX_FUNCTION_END 0
#endif
+#ifndef NO_DBX_BNSYM_ENSYM
+#define NO_DBX_BNSYM_ENSYM 0
+#endif
+
enum typestatus {TYPE_UNSEEN, TYPE_XREF, TYPE_DEFINED};
/* Structure recording information about a C data type.
static inline void emit_pending_bincls_if_required (void);
static void dbxout_init (const char *);
+#ifndef DBX_OUTPUT_MAIN_SOURCE_DIRECTORY
static unsigned int get_lang_number (void);
+#endif
static void dbxout_finish (const char *);
static void dbxout_start_source_file (unsigned, const char *);
static void dbxout_end_source_file (unsigned);
fprintf (asmfile, "\n");
#endif
- if (!flag_debug_only_used_symbols)
+ if (!NO_DBX_BNSYM_ENSYM && !flag_debug_only_used_symbols)
fprintf (asmfile, "%s%d,0,0\n", ASM_STABD_OP, N_ENSYM);
}
#endif /* DBX_DEBUGGING_INFO */
+#ifndef DBX_OUTPUT_MAIN_SOURCE_DIRECTORY
/* Get lang description for N_SO stab. */
static unsigned int
return 0;
}
+#endif
/* At the beginning of compilation, start writing the symbol table.
Initialize `typevec' and output the standard data types of C. */
{
if (use_gnu_debug_info_extensions
&& !NO_DBX_FUNCTION_END
+ && !NO_DBX_BNSYM_ENSYM
&& !flag_debug_only_used_symbols)
fprintf (asmfile, "%s%d,0,0\n", ASM_STABD_OP, N_BNSYM);