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

[patch] gas/config/tc-[a-d]*: Fix comment typos.


Hi,

Committed as obvious without a ChangeLog entry.  (See
http://sources.redhat.com/ml/binutils/2003-10/msg00667.html.)

Kazu Hirata

Index: tc-a29k.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-a29k.h,v
retrieving revision 1.2
diff -u -r1.2 tc-a29k.h
--- tc-a29k.h	8 Mar 2001 23:24:22 -0000	1.2
+++ tc-a29k.h	20 Nov 2003 23:52:05 -0000
@@ -40,7 +40,7 @@
 #define BFD_ARCH bfd_arch_a29k
 #define COFF_MAGIC SIPFBOMAGIC
 /* Should the reloc be output ?
-	on the 29k, this is true only if there is a symbol attatched.
+	on the 29k, this is true only if there is a symbol attached.
 	on the h8, this is allways true, since no fixup is done
 */
 #define TC_COUNT_RELOC(x) (x->fx_addsy)
Index: tc-alpha.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-alpha.c,v
retrieving revision 1.58
diff -u -r1.58 tc-alpha.c
--- tc-alpha.c	5 Jun 2003 03:27:03 -0000	1.58
+++ tc-alpha.c	20 Nov 2003 23:52:07 -0000
@@ -533,7 +533,7 @@
 /* Maximum # digits needed to hold the largest sequence # */
 #define ALPHA_RELOC_DIGITS 25
 
-/* Structure to hold explict sequence information.  */
+/* Structure to hold explicit sequence information.  */
 struct alpha_reloc_tag
 {
   fixS *master;			/* the literal reloc */
@@ -1727,7 +1727,7 @@
   if (! seginfo->fix_root)
     return;
 
-  /* First rebuild the fixup chain without the expicit lituse and
+  /* First rebuild the fixup chain without the explicit lituse and
      gpdisp_lo16 relocs.  */
   prevP = &seginfo->fix_root;
   for (fixp = seginfo->fix_root; fixp; fixp = next)
@@ -3014,7 +3014,7 @@
    but this is what OSF/1 does.
 
    If explicit relocations of the form !literal!<number> are allowed,
-   and used, then explict_reloc with be an expression pointer.
+   and used, then explicit_reloc with be an expression pointer.
 
    Finally, the return value is nonzero if the calling macro may emit
    a LITUSE reloc if otherwise appropriate; the return value is the
@@ -3365,7 +3365,7 @@
 }
 
 /* The lda macro differs from the lda instruction in that it handles
-   most simple expressions, particualrly symbol address loads and
+   most simple expressions, particularly symbol address loads and
    large constants.  */
 
 static void
Index: tc-alpha.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-alpha.h,v
retrieving revision 1.19
diff -u -r1.19 tc-alpha.h
--- tc-alpha.h	25 Jul 2003 14:35:54 -0000	1.19
+++ tc-alpha.h	20 Nov 2003 23:52:07 -0000
@@ -110,7 +110,7 @@
 extern flagword alpha_elf_section_flags PARAMS ((flagword, int, int));
 #endif
 
-/* Whether to add support for explict !relocation_op!sequence_number.  At the
+/* Whether to add support for explicit !relocation_op!sequence_number.  At the
    moment, only do this for ELF, though ECOFF could use it as well.  */
 
 #ifdef OBJ_ELF
Index: tc-arc.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arc.c,v
retrieving revision 1.23
diff -u -r1.23 tc-arc.c
--- tc-arc.c	20 Nov 2003 01:36:49 -0000	1.23
+++ tc-arc.c	20 Nov 2003 23:52:08 -0000
@@ -1832,7 +1832,7 @@
      expressionS *expnew;
 {
   /* If the expression is "symbol >> 2" we must change it to just "symbol",
-     as fix_new_exp can't handle it.  Similarily for (symbol - symbol) >> 2.
+     as fix_new_exp can't handle it.  Similarly for (symbol - symbol) >> 2.
      That's ok though.  What's really going on here is that we're using
      ">> 2" as a special syntax for specifying BFD_RELOC_ARC_B26.  */
 
Index: tc-arm.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.149
diff -u -r1.149 tc-arm.c
--- tc-arm.c	14 Nov 2003 06:55:21 -0000	1.149
+++ tc-arm.c	20 Nov 2003 23:52:12 -0000
@@ -362,7 +362,7 @@
   unsigned long field;
 };
 
-/* The bit that distnguishes CPSR and SPSR.  */
+/* The bit that distinguishes CPSR and SPSR.  */
 #define SPSR_BIT   (1 << 22)
 
 /* How many bits to shift the PSR_xxx bits up by.  */
@@ -2597,7 +2597,7 @@
   return FAIL;
 }
 
-/* Check to see if an immediate can be computed as two seperate immediate
+/* Check to see if an immediate can be computed as two separate immediate
    values, added together.  We already know that this value cannot be
    computed by just one ARM instruction.  */
 
@@ -3899,12 +3899,12 @@
 
   if (   strcmp (str, "CPSR") == 0
       || strcmp (str, "SPSR") == 0
-	 /* Lower case versions for backwards compatability.  */
+	 /* Lower case versions for backwards compatibility.  */
       || strcmp (str, "cpsr") == 0
       || strcmp (str, "spsr") == 0)
     skip = 4;
 
-  /* This is for backwards compatability with older toolchains.  */
+  /* This is for backwards compatibility with older toolchains.  */
   else if (   strcmp (str, "cpsr_all") == 0
 	   || strcmp (str, "spsr_all") == 0)
     skip = 8;
@@ -4522,7 +4522,7 @@
 /* ARM V5 (argument parse)
      LDC2{L} <coproc>, <CRd>, <addressing mode>
      STC2{L} <coproc>, <CRd>, <addressing mode>
-     Instruction is not conditional, and has 0xf in the codition field.
+     Instruction is not conditional, and has 0xf in the condition field.
      Otherwise, it's the same as LDC/STC.  */
 
 static void
@@ -5892,7 +5892,7 @@
 }
 
 /* Do those data_ops which can take a negative immediate constant
-   by altering the instuction.  A bit of a hack really.
+   by altering the instruction.  A bit of a hack really.
         MOV <-> MVN
         AND <-> BIC
         ADC <-> SBC
@@ -9805,7 +9805,7 @@
   if (negative)
     offset = -offset;
   else
-    inst.instruction |= CP_T_UD; /* Postive, so set bit U.  */
+    inst.instruction |= CP_T_UD; /* Positive, so set bit U.  */
 
   inst.instruction |= offset >> 2;
   end_of_line (str);
@@ -9925,7 +9925,7 @@
   const char * name = S_GET_NAME (symbolP);
   symbolS *    new_target;
 
-  /* This definiton must agree with the one in gcc/config/arm/thumb.c.  */
+  /* This definition must agree with the one in gcc/config/arm/thumb.c.  */
 #define STUB_NAME ".real_start_of"
 
   if (name == NULL)
@@ -10872,8 +10872,8 @@
     }
 
 #ifdef TE_WINCE
-  /* The pattern was adjusted to accomodate CE's off-by-one fixups,
-     so we un-adjust here to compensate for the accomodation.  */
+  /* The pattern was adjusted to accommodate CE's off-by-one fixups,
+     so we un-adjust here to compensate for the accommodation.  */
   return fixP->fx_where + fixP->fx_frag->fr_address + 8;
 #else
   return fixP->fx_where + fixP->fx_frag->fr_address;
@@ -11238,7 +11238,7 @@
 	     the absolute address that is the destination of the branch in the
 	     24 bits of the branch instruction.  If however, we happen to know
 	     that the destination of the branch is in the same section as the
-	     branch instruciton itself, then we can compute the relocation for
+	     branch instruction itself, then we can compute the relocation for
 	     ourselves and not have to bother the linker with it.
 
 	     FIXME: The tests for OBJ_ELF and ! target_oabi are only here
@@ -13097,7 +13097,7 @@
 {
   char * p;
 
-  /* We assume that there will never be a requirment
+  /* We assume that there will never be a requirement
      to support alignments greater than 32 bytes.  */
   if (max > MAX_MEM_FOR_RS_ALIGN_CODE)
     as_fatal (_("alignments greater than 32 bytes not supported in .text sections."));
Index: tc-arm.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.h,v
retrieving revision 1.20
diff -u -r1.20 tc-arm.h
--- tc-arm.h	13 Nov 2003 14:19:01 -0000	1.20
+++ tc-arm.h	20 Nov 2003 23:52:12 -0000
@@ -137,7 +137,7 @@
 #define ARM_RESET_FLAG(s,v) 	(*symbol_get_tc (s) &= ~(v))
 
 #define ARM_FLAG_THUMB 		(1 << 0)	/* The symbol is a Thumb symbol rather than an Arm symbol.  */
-#define ARM_FLAG_INTERWORK 	(1 << 1)	/* The symbol is attached to code that suppports interworking.  */
+#define ARM_FLAG_INTERWORK 	(1 << 1)	/* The symbol is attached to code that supports interworking.  */
 #define THUMB_FLAG_FUNC		(1 << 2)	/* The symbol is attached to the start of a Thumb function.  */
 
 #define ARM_IS_THUMB(s)		(ARM_GET_FLAG (s) & ARM_FLAG_THUMB)
Index: tc-cris.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-cris.c,v
retrieving revision 1.27
diff -u -r1.27 tc-cris.c
--- tc-cris.c	16 Jun 2003 00:38:58 -0000	1.27
+++ tc-cris.c	20 Nov 2003 23:52:14 -0000
@@ -232,7 +232,7 @@
 #define STATE_UNDF		    (3)
 #define STATE_MAX_LENGTH	    (3)
 
-/* These displacements are relative to the adress following the opcode
+/* These displacements are relative to the address following the opcode
    word of the instruction.  The first letter is Byte, Word.  The 2nd
    letter is Forward, Backward.  */
 
@@ -971,7 +971,7 @@
     {
       if (output_instruction.imm_oprnd_size > 0)
 	{
-	  /* The intruction has an immediate operand.  */
+	  /* The instruction has an immediate operand.  */
 	  enum bfd_reloc_code_real reloc = BFD_RELOC_NONE;
 
 	  switch (output_instruction.imm_oprnd_size)
@@ -2109,7 +2109,7 @@
    advanced to the character following the indirect operand on success, or
    has an unspecified value on failure.
 
-   cPP	     Pointer to pointer to string begining
+   cPP	     Pointer to pointer to string beginning
 	     with the operand
 
    prefixp   Pointer to structure containing an
Index: tc-d10v.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-d10v.c,v
retrieving revision 1.32
diff -u -r1.32 tc-d10v.c
--- tc-d10v.c	23 Jan 2003 12:51:04 -0000	1.32
+++ tc-d10v.c	20 Nov 2003 23:52:14 -0000
@@ -635,7 +635,7 @@
 
 	  if (AT_WORD_P (&opers[i]))
 	    {
-	      /* Reconize XXX>>1+N aka XXX@word+N as special (AT_WORD).  */
+	      /* Recognize XXX>>1+N aka XXX@word+N as special (AT_WORD).  */
 	      fixups->fix[fixups->fc].reloc = BFD_RELOC_D10V_18;
 	      opers[i].X_op = O_symbol;
 	      opers[i].X_op_symbol = NULL; /* Should free it.  */
@@ -1554,7 +1554,7 @@
 	      break;
 	    }
 
-	  /* Unfortunatly, for the indirect operand in instructions such
+	  /* Unfortunately, for the indirect operand in instructions such
 	     as ``ldb r1, @(c,r14)'' this function can be passed
 	     X_op == O_register (because 'c' is a valid register name).
 	     However we cannot just ignore the case when X_op == O_register
Index: tc-d30v.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-d30v.c,v
retrieving revision 1.22
diff -u -r1.22 tc-d30v.c
--- tc-d30v.c	16 Dec 2002 09:57:49 -0000	1.22
+++ tc-d30v.c	20 Nov 2003 23:52:15 -0000
@@ -101,7 +101,7 @@
 static segT d30v_current_align_seg;
 
 /* The last seen label in the current section.  This is used to auto-align
-   labels preceeding instructions.  */
+   labels preceding instructions.  */
 static symbolS *d30v_last_label;
 
 /* Two nops.  */
@@ -796,7 +796,7 @@
       return 1;
     }
 
-  /* Note: we do not have to worry about subroutine calls occuring
+  /* Note: we do not have to worry about subroutine calls occurring
      in the right hand container.  The return address is always
      aligned to the next 64 bit boundary, be that 64 or 32 bit away.  */
   switch (exec_type)
@@ -1564,7 +1564,7 @@
 
   insn = build_insn (opcode, myops);
 
-  /* Propigate multiply status.  */
+  /* Propagate multiply status.  */
   if (insn != -1)
     {
       if (is_parallel && prev_mul32_p)
@@ -2109,7 +2109,7 @@
 
   /* Do not assume that if 'd30v_current_align >= n' and
      '! switched_seg_p' that it is safe to avoid performing
-     this alignement request.  The alignment of the current frag
+     this alignment request.  The alignment of the current frag
      can be changed under our feet, for example by a .ascii
      directive in the source code.  cf testsuite/gas/d30v/reloc.s  */
   d30v_cleanup (FALSE);
Index: tc-dlx.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-dlx.c,v
retrieving revision 1.6
diff -u -r1.6 tc-dlx.c
--- tc-dlx.c	23 Jan 2003 12:51:04 -0000	1.6
+++ tc-dlx.c	20 Nov 2003 23:52:16 -0000
@@ -631,7 +631,7 @@
 
       imm[m2] = '\0';
 
-      /* Assemble the instruction to gas intrernal format.  */
+      /* Assemble the instruction to gas internal format.  */
       for (i = 0; rd[i] != '\0'; i++)
 	iBuf[i] = rd[i];
 
@@ -754,7 +754,7 @@
 
       imm[i] = '\0';
 
-      /* Assemble the instruction to gas intrernal format.  */
+      /* Assemble the instruction to gas internal format.  */
       for (i = 0; rd[i] != '\0'; i++)
 	iBuf[i] = rd[i];
       iBuf[i++] = ',';
@@ -1304,7 +1304,7 @@
 
 
 /* Parse an operand that is machine-specific, the function was called
-   in expr.c by operand() function, when everything failed bdfore it
+   in expr.c by operand() function, when everything failed before it
    call a quit.  */
 
 void
Index: tc-dlx.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-dlx.h,v
retrieving revision 1.4
diff -u -r1.4 tc-dlx.h
--- tc-dlx.h	23 Jan 2003 12:51:04 -0000	1.4
+++ tc-dlx.h	20 Nov 2003 23:52:16 -0000
@@ -63,7 +63,7 @@
 #define BFD_ARCH bfd_arch_dlx
 #define COFF_MAGIC DLXMAGIC
 /* Should the reloc be output ?
-	on the 29k, this is true only if there is a symbol attatched.
+	on the 29k, this is true only if there is a symbol attached.
 	on the h8, this is allways true, since no fixup is done
         on dlx, I have no idea!! but lets keep it here just for fun.
 */


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