This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Descriptions for gmicro TARGET_SWITCHES


This patch adds descriptions for the gmicro switches and marks them for
translation. OK to install?

2000-08-22  Philipp Thomas  <pthomas@suse.de>

	* gmicro.h (TARGET_SWITCHES): Add descriptions and mark them
	for translation.


Index: config/gmicro/gmicro.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/gmicro/gmicro.h,v
retrieving revision 1.13
diff -u -r1.13 gmicro.h
--- gmicro.h	2000/05/22 16:22:12	1.13
+++ gmicro.h	2000/08/22 13:18:05
@@ -86,25 +86,28 @@
    An empty string NAME is used to identify the default VALUE.  */
 
 #define TARGET_SWITCHES  \
-  { { "g300", 1},				\
-    { "g200", 2},				\
-    { "g100", 4},				\
-    { "fpu", 8},				\
-    { "soft-float", -8},			\
-    { "rtd", 0x10},				\
-    { "no-rtd", -0x10},				\
-    { "regparm", 0x20},				\
-    { "no-regparm", -0x20},			\
+  { { "g300", 1, _("Compile for Gmicro/300")},			\
+    { "g200", 2, _("Compile for Gmicro/200")},			\
+    { "g100", 4, _("Compile for Gmicro/100")},			\
+    { "fpu", 8, _("Use floating point co-processor")},		\
+    { "soft-float", -8,						\
+      _("Do not use floating point co-processor")},		\
+    { "rtd", 0x10, _("Alternate calling convention")},		\
+    { "no-rtd", -0x10, _("Use normal calling convention")},	\
+    { "regparm", 0x20, NULL},					\
+    { "no-regparm", -0x20, NULL},				\
 #if 0 /* Since we don't define PCC_BITFIELD_TYPE_MATTERS or use a large
 	 STRUCTURE_SIZE_BOUNDARY, we must have bitfield instructions.  */
-    { "bitfield", 0x40},			\
-    { "no-bitfield", -0x40},			\
+    { "bitfield", 0x40, _("Use bitfield instructions")},	\
+    { "no-bitfield", -0x40,					\
+      _("Do not use bitfield instructions")},			\
 #endif
-    { "newreturn", 0x80},			\
-    { "no-newreturn", -0x80},			\
-    { "force-smov", 0x100},			\
-    { "no-force-smov", -0x100},			\
-    { "", TARGET_DEFAULT}}
+    { "newreturn", 0x80, _("Use alternative return sequence")},	\
+    { "no-newreturn", -0x80, _("Use normal return sequence")},	\
+    { "force-smov", 0x100, _("Always use string instruction")},	\
+    { "no-force-smov", -0x100,					\
+      _("Use string instruction when appropriate")},		\
+    { "", TARGET_DEFAULT, NULL}}
 
 
 /* Blow away G100 flag silently off TARGET_fpu (since we can't clear

-- 
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany

#define NINODE  50              /* number of in core inodes */
#define NPROC   30              /* max number of processes */
 	-- Version 7 UNIX for PDP 11, /usr/include/sys/param.h

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]