(TARGET_FILE_SWITCHING): Define.
authorJim Wilson <wilson@gcc.gnu.org>
Thu, 1 May 1997 18:41:48 +0000 (11:41 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 1 May 1997 18:41:48 +0000 (11:41 -0700)
(NO_DBX_FUNCTION_END): Define.

From-SVN: r14004

gcc/config/mips/mips.h

index 1b6d4110e2c9ad1a3c99ce64e11e56022d89da38..3ae6e9a99f71be61893aecee27d90d9e2c2760fc 100644 (file)
@@ -364,6 +364,16 @@ extern void                text_section ();
 
 #define TARGET_4300_MUL_FIX     (target_flags & MASK_4300_MUL_FIX)
 
+/* This is true if we must enable the assembly language file switching
+   code.  */
+
+#define TARGET_FILE_SWITCHING  (TARGET_GP_OPT && ! TARGET_GAS)
+
+/* We must disable the function end stabs when doing the file switching trick,
+   because the Lscope stabs end up in the wrong place, making it impossible
+   to debug the resulting code.  */
+#define NO_DBX_FUNCTION_END TARGET_FILE_SWITCHING
+
 /* Macro to define tables used to set the flags.
    This is a list in braces of pairs in braces,
    each pair being { "NAME", VALUE }