#undef SUBTARGET_SWITCHES
#define SUBTARGET_SWITCHES \
-{ "cygwin", MASK_CYGWIN, "Use the Cygwin interface" }, \
-{ "no-cygwin", MASK_WIN32, "Use the Mingw32 interface" }, \
-{ "windows", MASK_WINDOWS, "Create GUI application" }, \
-{ "console", -MASK_WINDOWS, "Create console application" }, \
-{ "dll", MASK_DLL, "Generate code for a DLL" }, \
-{ "nop-fun-dllimport", MASK_NOP_FUN_DLLIMPORT, "Ignore dllimport for functions" }, \
+{ "cygwin", MASK_CYGWIN, \
+ N_("Use the Cygwin interface") }, \
+{ "no-cygwin", MASK_WIN32, \
+ N_("Use the Mingw32 interface") }, \
+{ "windows", MASK_WINDOWS, N_("Create GUI application") }, \
+{ "console", -MASK_WINDOWS, \
+ N_("Create console application") }, \
+{ "dll", MASK_DLL, N_("Generate code for a DLL") }, \
+{ "nop-fun-dllimport", MASK_NOP_FUN_DLLIMPORT, \
+ N_("Ignore dllimport for functions") }, \
{ "no-nop-fun-dllimport", -MASK_NOP_FUN_DLLIMPORT, "" }, \
-{ "threads", 0, "Use Mingw-specific thread support" },
+{ "threads", 0, N_("Use Mingw-specific thread support") },
/* Support the __declspec keyword by turning them into attributes.
%{mno-cygwin:crt1%O%s} %{pg:gcrt0%O%s}}"
#undef CPP_SPEC
-#define CPP_SPEC "-remap %(cpp_cpu) %{posix:-D_POSIX_SOURCE} \
+#define CPP_SPEC "%(cpp_cpu) %{posix:-D_POSIX_SOURCE} \
-D__stdcall=__attribute__((__stdcall__)) \
-D__cdecl=__attribute__((__cdecl__)) \
%{!ansi:-D_stdcall=__attribute__((__stdcall__)) \
#define SUBTARGET_PROLOGUE \
if (profile_flag \
- && strcmp (IDENTIFIER_POINTER (DECL_NAME (current_function_decl)),\
- "main") == 0) \
+ && MAIN_NAME_P (DECL_NAME (current_function_decl))) \
{ \
emit_call_insn (gen_rtx (CALL, VOIDmode, \
gen_rtx_MEM (FUNCTION_MODE, \
/* Enable alias attribute support. */
#ifndef SET_ASM_OP
-#define SET_ASM_OP "\t.set"
+#define SET_ASM_OP "\t.set\t"
#endif
#ifndef INT_ASM_OP
-#define INT_ASM_OP ".long"
+#define INT_ASM_OP "\t.long\t"
#endif