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]
Other format: [Raw text]

[patch] sh/*.h: Fix comment formatting.


Hi,

Attached is a patch to fix comment formatting.  Committed as obvious.

Kazu Hirata

2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>

	* config/sh/linux.h: Fix comment formatting.
	* config/sh/netbsd-elf.h: Likewise.
	* config/sh/sh.c: Likewise.
	* config/sh/sh.h: Likewise.
	* config/sh/vxworks.h: Likewise.

Index: linux.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/linux.h,v
retrieving revision 1.20
diff -u -r1.20 linux.h
--- linux.h	29 Nov 2003 03:08:12 -0000	1.20
+++ linux.h	6 Jan 2004 04:18:56 -0000
@@ -27,7 +27,7 @@
 #undef MD_EXEC_PREFIX
 #undef MD_STARTFILE_PREFIX
 
-/* This was defined in linux.h.  Define it here also. */
+/* This was defined in linux.h.  Define it here also.  */
 #define HANDLE_PRAGMA_PACK_PUSH_POP
 
 /* Don't assume anything about the header files.  */
Index: netbsd-elf.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/netbsd-elf.h,v
retrieving revision 1.7
diff -u -r1.7 netbsd-elf.h
--- netbsd-elf.h	5 Dec 2003 04:43:29 -0000	1.7
+++ netbsd-elf.h	6 Jan 2004 04:18:56 -0000
@@ -93,7 +93,7 @@
 #define TARGET_DEFAULT \
   (TARGET_CPU_DEFAULT | USERMODE_BIT | TARGET_ENDIAN_DEFAULT)
 
-/* Define because we use the label and we do not need them. */
+/* Define because we use the label and we do not need them.  */
 #define NO_PROFILE_COUNTERS
  
 #undef FUNCTION_PROFILER
Index: sh.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/sh.c,v
retrieving revision 1.241
diff -u -r1.241 sh.c
--- sh.c	5 Dec 2003 15:48:36 -0000	1.241
+++ sh.c	6 Jan 2004 04:19:01 -0000
@@ -2999,7 +2999,7 @@
 		 the limit is the same, but the alignment requirements
 		 are higher.  We may waste up to 4 additional bytes
 		 for alignment, and the DF/DI constant may have
-		 another SF/SI constant placed before it. */
+		 another SF/SI constant placed before it.  */
 	      if (TARGET_SHCOMPACT
 		  && ! found_di
 		  && (mode == DFmode || mode == DImode))
@@ -4731,7 +4731,7 @@
     if ((! call_used_regs[reg] || interrupt_handler)
         && ! TEST_HARD_REG_BIT (*live_regs_mask, reg))
       /* Leave space to save this target register on the stack,
-	 in case target register allocation wants to use it. */
+	 in case target register allocation wants to use it.  */
       stack_space += GET_MODE_SIZE (REGISTER_NATURAL_MODE (reg));
   return stack_space;
 }
@@ -6390,7 +6390,7 @@
 	     ca->call_cookie
 	       |= CALL_COOKIE_INT_REG (ca->arg_count[(int) SH_ARG_INT]
 				       - numregs, 1);
-	     /* N.B. We want this also for outgoing.   */
+	     /* N.B. We want this also for outgoing.  */
 	     ca->stack_regs += numregs;
 	   }
 	 else if (ca->byref)
@@ -8100,7 +8100,7 @@
   if (TARGET_SHMEDIA)
     {
       /* On SHmedia, if the dependence is an anti-dependence or
-         output-dependence, there is no cost. */              
+         output-dependence, there is no cost.  */
       if (REG_NOTE_KIND (link) != 0)
         cost = 0;
 
@@ -8519,10 +8519,10 @@
 #define SH_BLTIN_PV 20
   { 0, 8 },
 };
-/* mcmv: operands considered unsigned. */
+/* mcmv: operands considered unsigned.  */
 /* mmulsum_wq, msad_ubq: result considered unsigned long long.  */
-/* mperm: control value considered unsigned int. */
-/* mshalds, mshard, mshards, mshlld, mshlrd: shift count is unsigned int. */
+/* mperm: control value considered unsigned int.  */
+/* mshalds, mshard, mshards, mshlld, mshlrd: shift count is unsigned int.  */
 /* mshards_q: returns signed short.  */
 /* nsb: takes long long arg, returns unsigned char.  */
 static const struct builtin_description bdesc[] =
Index: sh.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/sh.h,v
retrieving revision 1.229
diff -u -r1.229 sh.h
--- sh.h	13 Dec 2003 04:44:12 -0000	1.229
+++ sh.h	6 Jan 2004 04:19:03 -0000
@@ -576,7 +576,7 @@
 #define MAX_LONG_TYPE_SIZE MAX_BITS_PER_WORD
 
 /* Width in bits of an `int'.  We want just 32-bits, even if words are
-   longer. */
+   longer.  */
 #define INT_TYPE_SIZE 32
 
 /* Width in bits of a `long'.  */
Index: vxworks.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/vxworks.h,v
retrieving revision 1.1
diff -u -r1.1 vxworks.h
--- vxworks.h	23 Oct 2003 05:16:56 -0000	1.1
+++ vxworks.h	6 Jan 2004 04:19:03 -0000
@@ -32,7 +32,7 @@
 #define LIB_SPEC 	""
 
 /* VxWorks uses object files, not loadable images.  Make the linker just
-   combine objects. */
+   combine objects.  */
 #undef  LINK_SPEC
 #define LINK_SPEC 	"-r"
 


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