summaryrefslogtreecommitdiff
path: root/gcc/config/darwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r--gcc/config/darwin.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 75ac884c5e4..554ae9f89ed 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -362,12 +362,7 @@ extern const char *darwin_fix_and_continue_switch;
/* gdb needs a null N_SO at the end of each file for scattered loading. */
-#undef DBX_OUTPUT_MAIN_SOURCE_FILE_END
-#define DBX_OUTPUT_MAIN_SOURCE_FILE_END(FILE, FILENAME) \
-do { text_section (); \
- fprintf (FILE, \
- "\t.stabs \"%s\",%d,0,0,Letext\nLetext:\n", "" , N_SO); \
- } while (0)
+#define DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END
/* Making a symbols weak on Darwin requires more than just setting DECL_WEAK. */
#define MAKE_DECL_ONE_ONLY(DECL) darwin_make_decl_one_only (DECL)