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/obj-*: 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: obj-aout.h
===================================================================
RCS file: /cvs/src/src/gas/config/obj-aout.h,v
retrieving revision 1.8
diff -u -r1.8 obj-aout.h
--- obj-aout.h	23 Jan 2003 12:51:04 -0000	1.8
+++ obj-aout.h	20 Nov 2003 00:00:31 -0000
@@ -95,7 +95,7 @@
 
 /*
  *  Macros to extract information from a symbol table entry.
- *  This syntaxic indirection allows independence regarding a.out or coff.
+ *  This syntactic indirection allows independence regarding a.out or coff.
  *  The argument (s) of all these macros is a pointer to a symbol table entry.
  */
 
Index: obj-bout.h
===================================================================
RCS file: /cvs/src/src/gas/config/obj-bout.h,v
retrieving revision 1.6
diff -u -r1.6 obj-bout.h
--- obj-bout.h	23 Jan 2003 12:51:04 -0000	1.6
+++ obj-bout.h	20 Nov 2003 00:00:31 -0000
@@ -171,7 +171,7 @@
 
 /*
  *  Macros to extract information from a symbol table entry.
- *  This syntaxic indirection allows independence regarding a.out or coff.
+ *  This syntactic indirection allows independence regarding a.out or coff.
  *  The argument (s) of all these macros is a pointer to a symbol table entry.
  */
 
Index: obj-coff.c
===================================================================
RCS file: /cvs/src/src/gas/config/obj-coff.c,v
retrieving revision 1.68
diff -u -r1.68 obj-coff.c
--- obj-coff.c	4 Oct 2003 11:06:31 -0000	1.68
+++ obj-coff.c	20 Nov 2003 00:00:33 -0000
@@ -143,7 +143,7 @@
 }
 
 /*
- * Maintain a list of the tagnames of the structres.
+ * Maintain a list of the tagnames of the structures.
  */
 
 static struct hash_control *tag_hash;
@@ -1472,7 +1472,7 @@
 		case 'd': flags |= SEC_DATA | SEC_LOAD; /* fall through */
 		case 'w': flags &=~ SEC_READONLY; break;
 
-		case 'a': break; /* For compatability with ELF.  */
+		case 'a': break; /* For compatibility with ELF.  */
 		case 'x': flags |= SEC_CODE | SEC_LOAD; break;
 		case 'r': flags |= SEC_DATA | SEC_LOAD | SEC_READONLY; break;
 
@@ -2038,7 +2038,7 @@
 		      ext_ptr++;
 #if defined(TC_A29K)
 		      /* The 29k has a special kludge for the high 16 bit
-			 reloc.  Two relocations are emited, R_IHIHALF,
+			 reloc.  Two relocations are emitted, R_IHIHALF,
 			 and R_IHCONST. The second one doesn't contain a
 			 symbol, but uses the value for offset.  */
 		      if (intr.r_type == R_IHIHALF)
@@ -2052,7 +2052,7 @@
 #endif
 #if defined(TC_OR32)
 		      /* The or32 has a special kludge for the high 16 bit
-			 reloc.  Two relocations are emited, R_IHIHALF,
+			 reloc.  Two relocations are emitted, R_IHIHALF,
 			 and R_IHCONST. The second one doesn't contain a
 			 symbol, but uses the value for offset.  */
 		      if (intr.r_type == R_IHIHALF)
@@ -2096,7 +2096,7 @@
 }
 
 /* Run through a frag chain and write out the data to go with it, fill
-   in the scnhdrs with the info on the file postions.  */
+   in the scnhdrs with the info on the file positions.  */
 
 static void
 fill_section (abfd, h, file_cursor)
@@ -2964,7 +2964,7 @@
 	      /* FIXME-SOON: where do dups come from?
 		 Maybe tag references before definitions? xoxorich.  */
 	      /* Move the debug data from the debug symbol to the
-		 real symbol. Do NOT do the oposite (i.e. move from
+		 real symbol. Do NOT do the opposite (i.e. move from
 		 real symbol to debug symbol and remove real symbol from the
 		 list.) Because some pointers refer to the real symbol
 		 whereas no pointers refer to the debug symbol.  */
@@ -3428,7 +3428,7 @@
 
 #ifndef SUB_SEGMENT_ALIGN
 #ifdef HANDLE_ALIGN
-/* The last subsegment gets an aligment corresponding to the alignment
+/* The last subsegment gets an alignment corresponding to the alignment
    of the section.  This allows proper nop-filling at the end of
    code-bearing sections.  */
 #define SUB_SEGMENT_ALIGN(SEG, FRCHAIN)					\
Index: obj-coff.h
===================================================================
RCS file: /cvs/src/src/gas/config/obj-coff.h,v
retrieving revision 1.19
diff -u -r1.19 obj-coff.h
--- obj-coff.h	4 Apr 2003 08:15:14 -0000	1.19
+++ obj-coff.h	20 Nov 2003 00:00:34 -0000
@@ -469,7 +469,7 @@
 #endif
 /* Symbol table macros and constants.  */
 
-/* Possible and usefull section number in symbol table
+/* Possible and useful section number in symbol table
    The values of TEXT, DATA and BSS may not be portable.  */
 
 #define C_ABS_SECTION		N_ABS
@@ -480,7 +480,7 @@
 #define C_REGISTER_SECTION	50
 
 /* Macros to extract information from a symbol table entry.
-   This syntaxic indirection allows independence regarding a.out or coff.
+   This syntactic indirection allows independence regarding a.out or coff.
    The argument (s) of all these macros is a pointer to a symbol table entry.  */
 
 /* Predicates.  */
@@ -795,7 +795,7 @@
 #define H_SET_SYMBOL_TABLE_SIZE(h,v)    ((h)->filehdr.f_nsyms = (v))
 #define H_SET_SIZEOF_OPTIONAL_HEADER(h,v) ((h)->filehdr.f_opthdr = (v))
 #define H_SET_FLAGS(h,v)		((h)->filehdr.f_flags = (v))
-/* Extra fields to achieve bsd a.out compatibility and for convinience.  */
+/* Extra fields to achieve bsd a.out compatibility and for convenience.  */
 #define H_SET_RELOCATION_SIZE(h,t,d) 	((h)->relocation_size = (t)+(d))
 #define H_SET_STRING_SIZE(h,v)          ((h)->string_table_size = (v))
 #define H_SET_LINENO_SIZE(h,v)          ((h)->lineno_size = (v))
Index: obj-elf.c
===================================================================
RCS file: /cvs/src/src/gas/config/obj-elf.c,v
retrieving revision 1.74
diff -u -r1.74 obj-elf.c
--- obj-elf.c	24 Oct 2003 15:41:23 -0000	1.74
+++ obj-elf.c	20 Nov 2003 00:00:34 -0000
@@ -2192,7 +2192,7 @@
 
 #ifdef SCO_ELF
 
-/* Heavily plagarized from obj_elf_version.  The idea is to emit the
+/* Heavily plagiarized from obj_elf_version.  The idea is to emit the
    SCO specific identifier in the .notes section to satisfy the SCO
    linker.
 
Index: obj-ieee.c
===================================================================
RCS file: /cvs/src/src/gas/config/obj-ieee.c,v
retrieving revision 1.7
diff -u -r1.7 obj-ieee.c
--- obj-ieee.c	23 May 2002 08:08:47 -0000	1.7
+++ obj-ieee.c	20 Nov 2003 00:00:35 -0000
@@ -264,7 +264,7 @@
 	  from = from->fx_next;
 	}
 
-      /* Attatch to the section.  */
+      /* Attach to the section.  */
       section->orelocation = reloc_ptr_vector;
       section->reloc_count = nrelocs;
       section->flags |= SEC_LOAD;
@@ -496,7 +496,7 @@
 
 #ifndef SUB_SEGMENT_ALIGN
 #ifdef HANDLE_ALIGN
-/* The last subsegment gets an aligment corresponding to the alignment
+/* The last subsegment gets an alignment corresponding to the alignment
    of the section.  This allows proper nop-filling at the end of
    code-bearing sections.  */
 #define SUB_SEGMENT_ALIGN(SEG, FRCHAIN)					\
Index: obj-som.c
===================================================================
RCS file: /cvs/src/src/gas/config/obj-som.c,v
retrieving revision 1.6
diff -u -r1.6 obj-som.c
--- obj-som.c	30 Nov 2002 08:39:42 -0000	1.6
+++ obj-som.c	20 Nov 2003 00:00:35 -0000
@@ -306,7 +306,7 @@
   bfd_h_put_32 (abfd, (bfd_vma) strsz, (bfd_byte *) p + 8);
 }
 
-/* Called late in the asssembly phase to adjust the special
+/* Called late in the assembly phase to adjust the special
    stab entry and to set the starting address for each code subspace.  */
 
 void
Index: obj-vms.c
===================================================================
RCS file: /cvs/src/src/gas/config/obj-vms.c,v
retrieving revision 1.12
diff -u -r1.12 obj-vms.c
--- obj-vms.c	6 Nov 2003 11:58:57 -0000	1.12
+++ obj-vms.c	20 Nov 2003 00:00:37 -0000
@@ -2146,7 +2146,7 @@
       pnt = cvt_integer (pnt + 1, &i);
       pnt = cvt_integer (pnt + 1, &i);
     } while (*++pnt != ';');
-  return 0;			/* no forward refences found */
+  return 0;			/* no forward references found */
 }
 
 /* Used to check a single element of a structure on the final pass.  */
@@ -2163,7 +2163,7 @@
 	return 1;
       spnt = spnt1;
     }
-  return 0;	/* no forward refences found */
+  return 0;	/* no forward references found */
 }
 
 /* This routine parses the stabs directives to find any definitions of dbx
Index: obj-vms.h
===================================================================
RCS file: /cvs/src/src/gas/config/obj-vms.h,v
retrieving revision 1.8
diff -u -r1.8 obj-vms.h
--- obj-vms.h	23 Jan 2003 12:51:04 -0000	1.8
+++ obj-vms.h	20 Nov 2003 00:00:37 -0000
@@ -127,7 +127,7 @@
 
 /*
  *  Macros to extract information from a symbol table entry.
- *  This syntaxic indirection allows independence regarding a.out or coff.
+ *  This syntactic indirection allows independence regarding a.out or coff.
  *  The argument (s) of all these macros is a pointer to a symbol table entry.
  */
 
@@ -217,7 +217,7 @@
 #define obj_symbol_new_hook(s)	{;}
 
 /* Force structure tags into scope so that their use in prototypes
-   will never be their first occurance.  */
+   will never be their first occurrence.  */
 struct fix;
 struct frag;
 


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