OSDN Git Service

Change callers in config/[h-l]*/ to match:
[pf3gnuchains/gcc-fork.git] / gcc / config / i386 / cygwin.h
index 53f591d..d6398af 100644 (file)
@@ -46,14 +46,18 @@ Boston, MA 02111-1307, USA. */
 
 #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.
@@ -80,7 +84,7 @@ Boston, MA 02111-1307, USA. */
                                  %{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__)) \
@@ -485,8 +489,7 @@ do {                                                                        \
 
 #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,                                    \
@@ -529,10 +532,10 @@ extern void i386_pe_asm_file_end STDIO_PARAMS ((FILE *));
 
 /* 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