This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

[patch] Fix comment typos in gas/config/tc-*.c.


Hi,

Attached is a patch to fix comment typos in gas/config/tc-*.c.
Comitted as obvious.

Thanks,

Kazu Hirata

2001-10-11  Kazu Hirata  <kazu@hxi.com>

	* config/tc-alpha.c: Fix comment typos.
	* config/tc-cris.c: Likewise.
	* config/tc-hppa.c: Likewise.
	* config/tc-i370.c: Likewise.
	* config/tc-mips.c: Likewise.
	* config/tc-mn10200.c: Likewise.
	* config/tc-mn10300.c: Likewise.
	* config/tc-sh.c: Likewise.
	* config/tc-tahoe.c: Likewise.
	* config/tc-v850.c: Likewise.

Index: tc-alpha.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-alpha.c,v
retrieving revision 1.29
diff -u -r1.29 tc-alpha.c
--- tc-alpha.c	2001/09/19 05:33:21	1.29
+++ tc-alpha.c	2001/10/11 23:49:15
@@ -1368,7 +1368,7 @@
 }
 
 /* Return true if we must always emit a reloc for a type and false if
-   there is some hope of resolving it a assembly time.  */
+   there is some hope of resolving it at assembly time.  */
 
 int
 alpha_force_relocation (f)
Index: tc-cris.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-cris.c,v
retrieving revision 1.17
diff -u -r1.17 tc-cris.c
--- tc-cris.c	2001/09/19 05:33:22	1.17
+++ tc-cris.c	2001/10/11 23:49:15
@@ -2570,7 +2570,7 @@
 		break;
 
 	      /* Allow complex expressions as the constant part.  It still
-		 has to be a assembly-time constant or there will be an
+		 has to be an assembly-time constant or there will be an
 		 error emitting the reloc.  This makes the PIC qualifiers
 		 idempotent; foo:GOTOFF+32 == foo+32:GOTOFF.  The former we
 		 recognize here; the latter is parsed in the incoming
Index: tc-hppa.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-hppa.c,v
retrieving revision 1.88
diff -u -r1.88 tc-hppa.c
--- tc-hppa.c	2001/09/19 05:33:23	1.88
+++ tc-hppa.c	2001/10/11 23:49:17
@@ -6827,7 +6827,7 @@
 	{
 	  /* Sigh.  To be compatable with the HP assembler and to help
 	     poorly written assembly code, we assign a type based on
-	     the the current segment.  Note only BSF_FUNCTION really
+	     the current segment.  Note only BSF_FUNCTION really
 	     matters, we do not need to set the full SYMBOL_TYPE_* info.  */
 	  if (now_seg == text_section)
 	    symbol_get_bfdsym (symbol)->flags |= BSF_FUNCTION;
@@ -8494,7 +8494,7 @@
     return 1;
 
   /* It is necessary to force PC-relative calls/jumps to have a relocation
-     entry if they're going to need either a argument relocation or long
+     entry if they're going to need either an argument relocation or long
      call stub.  */
   if (fixp->fx_pcrel
       && arg_reloc_stub_needed (symbol_arg_reloc_info (fixp->fx_addsy),
Index: tc-i370.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-i370.c,v
retrieving revision 1.12
diff -u -r1.12 tc-i370.c
--- tc-i370.c	2001/09/19 08:13:04	1.12
+++ tc-i370.c	2001/10/11 23:49:17
@@ -316,7 +316,7 @@
  *
  * in:        Input_line_pointer points to 1st char of operand.
  *
- * out:        A expressionS.
+ * out:        An expressionS.
  *      The operand may have been a register: in this case, X_op == O_register,
  *      X_add_number is set to the register number, and truth is returned.
  *        Input_line_pointer->(next non-blank) char after operand, or is in its
@@ -2183,7 +2183,7 @@
             }
         }
 
-      /* check for a address constant expression */
+      /* Check for an address constant expression.  */
       /* We will put PSW-relative addresses in the text section,
        * and adress literals in the .data (or other) section.  */
       else if (i370_addr_cons (&ex))
Index: tc-mips.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mips.c,v
retrieving revision 1.82
diff -u -r1.82 tc-mips.c
--- tc-mips.c	2001/10/10 01:08:35	1.82
+++ tc-mips.c	2001/10/11 23:49:19
@@ -311,7 +311,7 @@
 static int mips_trap;
 
 /* 1 if double width floating point constants should not be constructed
-   by a assembling two single width halves into two single width floating
+   by assembling two single width halves into two single width floating
    point registers which just happen to alias the double width destination
    register.  On some architectures this aliasing can be disabled by a bit
    in the status register, and the setting of this bit cannot be determined
@@ -1992,7 +1992,7 @@
 				      || *reloc_type == BFD_RELOC_16_PCREL_S2),
 				     reloc_type[0]);
 
-	      /* These relocations can have a addend that won't fit in
+	      /* These relocations can have an addend that won't fit in
 	         4 octets for 64bit assembly.  */
 	      if (HAVE_64BIT_GPRS &&
 		  (*reloc_type == BFD_RELOC_16
@@ -2038,7 +2038,7 @@
 					 4, address_expr, false,
 					 reloc_type[1]);
 
-		  /* These relocations can have a addend that won't fit in
+		  /* These relocations can have an addend that won't fit in
 		     4 octets for 64bit assembly.  */
 		  if (HAVE_64BIT_GPRS &&
 		      (*reloc_type == BFD_RELOC_16
@@ -2070,7 +2070,7 @@
 					     address_expr, false,
 					     reloc_type[2]);
 
-		      /* These relocations can have a addend that won't fit in
+		      /* These relocations can have an addend that won't fit in
 			 4 octets for 64bit assembly.  */
 		      if (HAVE_64BIT_GPRS &&
 			  (*reloc_type == BFD_RELOC_16
@@ -7512,8 +7512,8 @@
 	    case '<':		/* must be at least one digit */
 	      /*
 	       * According to the manual, if the shift amount is greater
-	       * than 31 or less than 0 the the shift amount should be
-	       * mod 32. In reality the mips assembler issues an error.
+	       * than 31 or less than 0, then the shift amount should be
+	       * mod 32.  In reality the mips assembler issues an error.
 	       * We issue a warning and mask out all but the low 5 bits.
 	       */
 	      my_getExpression (&imm_expr, s);
@@ -9235,7 +9235,7 @@
   /* A percent_op was encountered.  */
   if (nest_level)
     {
-      /* Don't try to get a expression if it is already blanked out.  */
+      /* Don't try to get an expression if it is already blanked out.  */
       if (*(str + strspn (str + 1, " )")) != ')')
 	{
 	  char save;
@@ -10657,7 +10657,7 @@
 #ifdef OBJ_ELF
   /* The ELF backend needs to know that we are changing sections, so
      that .previous works correctly.  We could do something like check
-     for a obj_section_change_hook macro, but that might be confusing
+     for an obj_section_change_hook macro, but that might be confusing
      as it would not be appropriate to use it in the section changing
      functions in read.c, since obj-elf.c intercepts those.  FIXME:
      This should be cleaner, somehow.  */
@@ -11100,7 +11100,7 @@
       return;
     }
 
-  /* .cpload should be a in .set noreorder section.  */
+  /* .cpload should be in .set noreorder section.  */
   if (mips_opts.noreorder == 0)
     as_warn (_(".cpload not in noreorder section"));
 
Index: tc-mn10200.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mn10200.c,v
retrieving revision 1.7
diff -u -r1.7 tc-mn10200.c
--- tc-mn10200.c	2001/09/19 05:33:28	1.7
+++ tc-mn10200.c	2001/10/11 23:49:19
@@ -175,7 +175,7 @@
  *
  * in: Input_line_pointer points to 1st char of operand.
  *
- * out: A expressionS.
+ * out: An expressionS.
  *	The operand may have been a register: in this case, X_op == O_register,
  *	X_add_number is set to the register number, and truth is returned.
  *	Input_line_pointer->(next non-blank) char after operand, or is in
@@ -222,7 +222,7 @@
  *
  * in: Input_line_pointer points to 1st char of operand.
  *
- * out: A expressionS.
+ * out: An expressionS.
  *	The operand may have been a register: in this case, X_op == O_register,
  *	X_add_number is set to the register number, and truth is returned.
  *	Input_line_pointer->(next non-blank) char after operand, or is in
@@ -269,7 +269,7 @@
  *
  * in: Input_line_pointer points to 1st char of operand.
  *
- * out: A expressionS.
+ * out: An expressionS.
  *	The operand may have been a register: in this case, X_op == O_register,
  *	X_add_number is set to the register number, and truth is returned.
  *	Input_line_pointer->(next non-blank) char after operand, or is in
Index: tc-mn10300.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mn10300.c,v
retrieving revision 1.31
diff -u -r1.31 tc-mn10300.c
--- tc-mn10300.c	2001/10/05 07:49:24	1.31
+++ tc-mn10300.c	2001/10/11 23:49:20
@@ -280,7 +280,7 @@
  *
  * in: Input_line_pointer points to 1st char of operand.
  *
- * out: A expressionS.
+ * out: An expressionS.
  *	The operand may have been a register: in this case, X_op == O_register,
  *	X_add_number is set to the register number, and truth is returned.
  *	Input_line_pointer->(next non-blank) char after operand, or is in
@@ -327,7 +327,7 @@
  *
  * in: Input_line_pointer points to 1st char of operand.
  *
- * out: A expressionS.
+ * out: An expressionS.
  *	The operand may have been a register: in this case, X_op == O_register,
  *	X_add_number is set to the register number, and truth is returned.
  *	Input_line_pointer->(next non-blank) char after operand, or is in
@@ -374,7 +374,7 @@
  *
  * in: Input_line_pointer points to 1st char of operand.
  *
- * out: A expressionS.
+ * out: An expressionS.
  *	The operand may have been a register: in this case, X_op == O_register,
  *	X_add_number is set to the register number, and truth is returned.
  *	Input_line_pointer->(next non-blank) char after operand, or is in
@@ -421,7 +421,7 @@
  *
  * in: Input_line_pointer points to 1st char of operand.
  *
- * out: A expressionS.
+ * out: An expressionS.
  *	The operand may have been a register: in this case, X_op == O_register,
  *	X_add_number is set to the register number, and truth is returned.
  *	Input_line_pointer->(next non-blank) char after operand, or is in
@@ -468,7 +468,7 @@
  *
  * in: Input_line_pointer points to 1st char of operand.
  *
- * out: A expressionS.
+ * out: An expressionS.
  *	The operand may have been a register: in this case, X_op == O_register,
  *	X_add_number is set to the register number, and truth is returned.
  *	Input_line_pointer->(next non-blank) char after operand, or is in
Index: tc-sh.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-sh.c,v
retrieving revision 1.43
diff -u -r1.43 tc-sh.c
--- tc-sh.c	2001/10/01 00:06:58	1.43
+++ tc-sh.c	2001/10/11 23:49:20
@@ -2440,7 +2440,7 @@
 	/* Toggle the true/false bit of the bcond.  */
 	buffer[highbyte] ^= 0x2;
 
-	/* If this is a dalayed branch, we may not put the the bra in the
+	/* If this is a dalayed branch, we may not put the bra in the
 	   slot.  So we change it to a non-delayed branch, like that:
 	   b! cond slot_label; bra disp; slot_label: slot_insn
 	   ??? We should try if swapping the conditional branch and
Index: tc-tahoe.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-tahoe.c,v
retrieving revision 1.9
diff -u -r1.9 tc-tahoe.c
--- tc-tahoe.c	2001/09/19 05:33:29	1.9
+++ tc-tahoe.c	2001/10/11 23:49:21
@@ -1245,10 +1245,10 @@
 
 	default:
 	  /*
-	   * Major bug. We can't handle the case of a operator
+	   * Major bug. We can't handle the case of an operator
 	   * expression in a synthetic opcode variable-length
 	   * instruction.  We don't have a frag type that is smart
-	   * enough to relax a operator, and so we just force all
+	   * enough to relax an operator, and so we just force all
 	   * operators to behave like SEG_PASS1s.  Clearly, if there is
 	   * a demand we can invent a new or modified frag type and
 	   * then coding up a frag for this case will be easy.
@@ -1864,7 +1864,7 @@
 		    }
 		  else
 		    {
-		      /* It's a integer, and I know it's size.  */
+		      /* It's an integer, and I know it's size.  */
 		      if ((unsigned) this_add_number < 0x40)
 			{
 			  /* Will it fit in a literal? */
Index: tc-v850.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-v850.c,v
retrieving revision 1.17
diff -u -r1.17 tc-v850.c
--- tc-v850.c	2001/09/19 05:33:30	1.17
+++ tc-v850.c	2001/10/11 23:49:21
@@ -770,7 +770,7 @@
  *
  * in: Input_line_pointer points to 1st char of operand.
  *
- * out: A expressionS.
+ * out: An expressionS.
  *	The operand may have been a register: in this case, X_op == O_register,
  *	X_add_number is set to the register number, and truth is returned.
  *	Input_line_pointer->(next non-blank) char after operand, or is in
@@ -825,7 +825,7 @@
  *      ACCEPT_LIST_NAMES is true iff the special names PS and SR may be
  *      accepted.
  *
- * out: A expressionS structure in expressionP.
+ * out: An expressionS structure in expressionP.
  *	The operand may have been a register: in this case, X_op == O_register,
  *	X_add_number is set to the register number, and truth is returned.
  *	Input_line_pointer->(next non-blank) char after operand, or is in
@@ -906,7 +906,7 @@
  *
  * in: INPUT_LINE_POINTER points to 1st char of operand.
  *
- * out: A expressionS.
+ * out: An expressionS.
  *	The operand may have been a register: in this case, X_op == O_register,
  *	X_add_number is set to the register number, and truth is returned.
  *	Input_line_pointer->(next non-blank) char after operand, or is in


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