OSDN Git Service

* config/atof-tahoe.c: Fix comment typos.
authorkazu <kazu>
Sat, 22 Nov 2003 15:32:28 +0000 (15:32 +0000)
committerkazu <kazu>
Sat, 22 Nov 2003 15:32:28 +0000 (15:32 +0000)
* config/m68k-parse.y: Likewise.
* config/obj-aout.c: Likewise.
* config/obj-bout.c: Likewise.
* config/obj-vms.c: Likewise.
* config/tc-tahoe.c: Likewise.
* config/tc-tic30.c: Likewise.
* config/tc-tic4x.c: Likewise.
* config/tc-tic54x.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-vax.c: Likewise.
* config/te-delt88.h: Likewise.
* config/te-delta.h: Likewise.
* config/te-generic.h: Likewise.
* config/te-macos.h: Likewise.
* config/te-ppcnw.h: Likewise.
* config/te-psos.h: Likewise.
* config/te-sun3.h: Likewise.
* config/te-tmips.h: Likewise.
* config/xtensa-relax.c: Likewise.

20 files changed:
gas/config/atof-tahoe.c
gas/config/m68k-parse.y
gas/config/obj-aout.c
gas/config/obj-bout.c
gas/config/obj-vms.c
gas/config/tc-tahoe.c
gas/config/tc-tic30.c
gas/config/tc-tic4x.c
gas/config/tc-tic54x.c
gas/config/tc-v850.c
gas/config/tc-vax.c
gas/config/te-delt88.h
gas/config/te-delta.h
gas/config/te-generic.h
gas/config/te-macos.h
gas/config/te-ppcnw.h
gas/config/te-psos.h
gas/config/te-sun3.h
gas/config/te-tmips.h
gas/config/xtensa-relax.c

index bd31eee..11bea10 100644 (file)
@@ -5,7 +5,7 @@
    and then shaved it down. I don't even know how it works. (Don't you find
    my honesty refreshing?  Devon E Bowen <bowen@cs.buffalo.edu>
 
-   I don't allow uppercase letters in the precision descrpitors.
+   I don't allow uppercase letters in the precision descriptors.
    i.e. 'f' and 'd' are allowed but 'F' and 'D' aren't.  */
 
 #include "as.h"
index 15c6236..813bfaa 100644 (file)
@@ -32,7 +32,7 @@
 #include "safe-ctype.h"
 
 /* Remap normal yacc parser interface names (yyparse, yylex, yyerror,
-   etc), as well as gratuitiously global symbol names If other parser
+   etc), as well as gratuitously global symbol names If other parser
    generators (bison, byacc, etc) produce additional global names that
    conflict at link time, then those parser generators need to be
    fixed instead of adding those names to this list. */
index 3fe0de8..3a73d75 100644 (file)
@@ -464,7 +464,7 @@ obj_crawl_symbol_chain (headers)
       if (flag_readonly_data_in_text && (S_GET_SEGMENT (symbolP) == SEG_DATA))
        {
          S_SET_SEGMENT (symbolP, SEG_TEXT);
-       }                       /* if pusing data into text */
+       }                       /* if pushing data into text */
 
       resolve_symbol_value (symbolP);
 
index 76fce6d..88ea0f1 100644 (file)
@@ -258,7 +258,7 @@ obj_crawl_symbol_chain (headers)
       if (flag_readonly_data_in_text && (S_GET_SEGMENT (symbolP) == SEG_DATA))
        {
          S_SET_SEGMENT (symbolP, SEG_TEXT);
-       }                       /* if pusing data into text  */
+       }                       /* if pushing data into text  */
 
       resolve_symbol_value (symbolP);
 
index 8df0fcd..bb62693 100644 (file)
@@ -817,7 +817,7 @@ VMS_TBT_Routine_Begin (symbolS *symbolP, int Psect)
 /* Write a Traceback Routine End record.
 
    We *must* search the symbol table to find the next routine, since the
-   assember has a way of reassembling the symbol table OUT OF ORDER Thus
+   assembler has a way of reassembling the symbol table OUT OF ORDER Thus
    the next routine in the symbol list is not necessarily the next one in
    memory.  For debugging to work correctly we must know the size of the
    routine.  */
index 034df48..4bc75ea 100644 (file)
@@ -41,7 +41,7 @@ struct top                    /* tahoe instruction operand */
     byte top_mode;             /* Addressing mode byte. This byte, defines
                                   which of the 11 modes opcode is.  */
 
-    char top_access;           /* Access type wanted for this opperand
+    char top_access;           /* Access type wanted for this operand
                                   'b'branch ' 'no-instruction 'amrvw' */
     char top_width;            /* Operand width expected, one of "bwlq?-:!" */
 
@@ -55,8 +55,8 @@ struct top                    /* tahoe instruction operand */
                                   can figure it out */
   };
 
-/* The addressing modes for an operand. These numbers are the acutal values
-   for certain modes, so be carefull if you screw with them.  */
+/* The addressing modes for an operand. These numbers are the actual values
+   for certain modes, so be careful if you screw with them.  */
 #define TAHOE_DIRECT_REG (0x50)
 #define TAHOE_REG_DEFERRED (0x60)
 
@@ -75,7 +75,7 @@ struct top                    /* tahoe instruction operand */
 #define TAHOE_AUTO_DEC (0x7E)
 #define TAHOE_AUTO_INC (0x8E)
 #define TAHOE_AUTO_INC_DEFERRED (0x9E)
-/* INDEXED_REG is decided by the existance or lack of a [reg].  */
+/* INDEXED_REG is decided by the existence or lack of a [reg].  */
 
 /* These are encoded into top_width when top_access=='b'
    and it's a psuedo op.  */
@@ -130,7 +130,7 @@ const char EXP_CHARS[] = "eE";
    as in 0f123.456
    or    0d1.234E-12 (see exp chars above)
    Note: The Tahoe port doesn't support floating point constants. This is
-         consistant with 'as' If it's needed, I can always add it later.  */
+         consistent with 'as' If it's needed, I can always add it later.  */
 const char FLT_CHARS[] = "df";
 
 /* Also be aware that MAXIMUM_NUMBER_OF_CHARS_FOR_FLOAT may have to be
@@ -306,7 +306,7 @@ const relax_typeS md_relax_table[] =
   {
     1, 1, 0, 0
   },                           /* unused           2,3 */
-/* Another type of reversable branch. But this only has a word
+/* Another type of reversible branch. But this only has a word
      displacement.  */
   {
     1, 1, 0, 0
@@ -320,7 +320,7 @@ const relax_typeS md_relax_table[] =
   {
     1, 1, 0, 0
   },                           /* unused           3,3 */
-/* These are the non reversable branches, all of which have a word
+/* These are the non reversible branches, all of which have a word
      displacement. If I can't reach, branch over a byte branch, to a
      jump that will reach. The jumped branch jumps over the reaching
      branch, to continue with the flow of the program. It's like playing
@@ -947,8 +947,8 @@ tahoe_reg_parse (start)
  * make the command look cute. ie: * foo ( r1 ) [  r0 ]
  * If you like doing a lot of typing, try COBOL!
  * Actually, this parser is a little weak all around. It's designed to be
- * used with compliers, so I emphisise correct decoding of valid code quickly
- * rather that catching every possable error.
+ * used with compliers, so I emphasize correct decoding of valid code quickly
+ * rather that catching every possible error.
  * Note: This uses the expression function, so save input_line_pointer before
  * calling.
  *
@@ -971,9 +971,9 @@ tahoe_reg_parse (start)
  *     l         longword
  *     q         quadword (Even regs < 14 allowed) (if 12, you get a warning)
  *     -        unconditional synthetic jbr operand
- *     ?        simple synthetic reversable branch operand
- *     !        complex synthetic reversable branch operand
- *     :        complex synthetic non-reversable branch operand
+ *     ?        simple synthetic reversible branch operand
+ *     !        complex synthetic reversible branch operand
+ *     :        complex synthetic non-reversible branch operand
  *
  * The '-?!:' letter 2's are not for external consumption. They are used
  * by GAS for psuedo ops relaxing code.
@@ -984,12 +984,12 @@ tahoe_reg_parse (start)
  *   top_reg:        -1, or register number. eg 7 = R7 or (R7)
  *   top_mode:       The addressing mode byte. This byte, defines which of
  *                   the 11 modes opcode is.
- *   top_access:     Access type wanted for this opperand 'b'branch ' '
+ *   top_access:     Access type wanted for this operand 'b'branch ' '
  *                   no-instruction 'amrvw'
  *   top_width:      Operand width expected, one of "bwlq?-:!"
  *   exp_of_operand: The expression as parsed by expression()
  *   top_dispsize:   Number of bytes in the displacement if we can figure it
- *                   out and it's relavent.
+ *                   out and it's relevant.
  *
  * Need syntax checks built.
  */
@@ -1013,7 +1013,7 @@ tip_op (optex, topP)
                                   auto-decremented '-' or neither ' '.  */
   int immediate = 0;           /* 1 if '$' immediate mode */
   int call_width = 0;          /* If the caller casts the displacement */
-  int abs_width = 0;           /* The width of the absolute displacment */
+  int abs_width = 0;           /* The width of the absolute displacement */
   int com_width = 0;           /* Displacement width required by branch */
   int deferred = 0;            /* 1 if '*' deferral is used */
   byte disp_size = 0;          /* How big is this operand. 0 == don't know */
@@ -1045,7 +1045,7 @@ tip_op (optex, topP)
   /* Force words into a certain mode */
   /* Bitch, Bitch, Bitch! */
   /*
-   * Using the ^ operator is ambigous. If I have an absolute label
+   * Using the ^ operator is ambiguous. If I have an absolute label
    * called 'w' set to, say 2, and I have the expression 'w^1', do I get
    * 1, forced to be in word displacement mode, or do I get the value of
    * 'w' or'ed with 1 (3 in this case).
@@ -1228,7 +1228,7 @@ tip_op (optex, topP)
          expP->X_add_number = 0;
          really_none = 1;
        case O_constant:
-         /* for SEG_ABSOLUTE, we shouldnt need to set X_op_symbol,
+         /* for SEG_ABSOLUTE, we shouldn't need to set X_op_symbol,
             X_add_symbol to any particular value.  */
          /* But, we will program defensively. Since this situation occurs
             rarely so it costs us little to do so.  */
@@ -1518,7 +1518,7 @@ tip (titP, instring)
          /*
        * We found a match! So let's pick up as many operands as the
        * instruction wants, and even gripe if there are too many.
-       * We expect comma to seperate each operand.
+       * We expect comma to separate each operand.
        * We let instring track the text, while p tracks a part of the
        * struct tot.
        */
@@ -1657,10 +1657,10 @@ md_assemble (instruction_string)
                to_seg == SEG_TEXT || \
                to_seg == SEG_BSS);
          is_undefined = (to_seg == SEG_UNKNOWN);
-         /* Do we know how big this opperand is? */
+         /* Do we know how big this operand is? */
          dispsize = operandP->top_dispsize;
          pc_rel = 0;
-         /* Deal with the branch possabilities. (Note, this doesn't include
+         /* Deal with the branch possibilities. (Note, this doesn't include
         jumps.)*/
          if (operandP->top_access == 'b')
            {
@@ -1732,7 +1732,7 @@ md_assemble (instruction_string)
             branches to jumps, and let GAS fix them.  */
 
                  /* These are "branches" what will always be branches around a jump
-            to the correct addresss in real life.
+            to the correct address in real life.
             If to_seg is SEG_ABSOLUTE, just encode the branch in,
             else let GAS fix the address.  */
 
@@ -1740,7 +1740,7 @@ md_assemble (instruction_string)
                    {
                      /* The theory:
               For SEG_ABSOLUTE, then mode is ABSOLUTE_ADDR, jump
-              to that addresss (not pc_rel).
+              to that address (not pc_rel).
               For other segs, address is a long word PC rel jump.  */
                    case TAHOE_WIDTH_CONDITIONAL_JUMP:
                      /* b<cond> */
@@ -1916,7 +1916,7 @@ md_assemble (instruction_string)
                  /* Is this a value out of this segment?
             The first part of this conditional is a cludge to make gas
             produce the same output as 'as' when there is a lable, in
-            the current segment, displaceing a register. It's strange,
+            the current segment, displacing a register. It's strange,
             and no one in their right mind would do it, but it's easy
             to cludge.  */
                  if ((dispsize == 0 && !pc_rel) ||
index b0021d4..5043134 100644 (file)
@@ -33,7 +33,7 @@
 #include <varargs.h>
 #endif
 
-/* Put here all non-digit non-letter charcters that may occur in an
+/* Put here all non-digit non-letter characters that may occur in an
    operand.  */
 static char operand_special_chars[] = "%$-+(,)*._~/<>&^!:[@]";
 static char *ordinal_names[] = {
index 6616e18..f0308da 100644 (file)
     should be possible to define a 32-bits pattern.
 
   o .align fills all section with NOP's when used regardless if has
-    been used in .text or .data. (However the .align is primarely
+    been used in .text or .data. (However the .align is primarily
     intended used in .text sections. If you require something else,
     use .align <size>,0x00)
 
-  o .align: Implement a 'bu' insn if the number of nop's exeeds 4
+  o .align: Implement a 'bu' insn if the number of nop's exceeds 4
     within the align frag. if(fragsize>4words) insert bu fragend+1
     first.
 
@@ -297,7 +297,7 @@ extern FLONUM_TYPE generic_floating_point_number;
 
 /* Precision in LittleNums.  */
 #define MAX_PRECISION (4)       /* Its a bit overkill for us, but the code
-                                   reqires it... */
+                                   requires it... */
 #define S_PRECISION (1)                /* Short float constants 16-bit.  */
 #define F_PRECISION (2)                /* Float and double types 32-bit.  */
 #define E_PRECISION (4)         /* Extended precision, 64-bit (real 40-bit). */
@@ -434,7 +434,7 @@ tic4x_gen_to_words (flonum, words, precision)
 
      We now have to left shift the other littlenums by the same amount,
      propagating the shifted bits into the more significant littlenums.
-     To save a lot of unecessary shifting we only have to consider
+     To save a lot of unnecessary shifting we only have to consider
      two or three littlenums, since the greatest number of mantissa
      bits required is 24 + 1 rounding bit.  While two littlenums
      provide 32 bits of precision, the most significant littlenum
@@ -3092,14 +3092,14 @@ tic4x_do_align (alignment, fill, len, max)
 {
   unsigned long nop = NOP_OPCODE;
 
-  /* Because we are talking lwords, not bytes, adjust aligment to do words */
+  /* Because we are talking lwords, not bytes, adjust alignment to do words */
   alignment += 2;
   
   if (alignment != 0 && !need_pass_2)
     {
       if (fill == NULL)
         {
-          /*if (subseg_text_p (now_seg))*/  /* FIXME: doesnt work for .text for some reason */
+          /*if (subseg_text_p (now_seg))*/  /* FIXME: doesn't work for .text for some reason */
           frag_align_pattern( alignment, (const char *)&nop, sizeof(nop), max);
           return 1;
           /*else
@@ -3111,7 +3111,7 @@ tic4x_do_align (alignment, fill, len, max)
        frag_align_pattern (alignment, fill, len, max);
     }
   
-  /* Return 1 to skip the default aligment function */
+  /* Return 1 to skip the default alignment function */
   return 1;
 }
 
index 4cb6bd9..87dd6da 100644 (file)
@@ -1192,7 +1192,7 @@ tic54x_cons (type)
              /* FIXME -- at one point TI tools used to output REL16
                 relocations, but I don't think the latest tools do at all
                 The current tools output extended relocations regardless of
-                the addresing mode (I actually think that ".c_mode" is
+                the addressing mode (I actually think that ".c_mode" is
                 totally ignored in the latest tools).  */
              amode = far_mode;
              emitting_long = 1;
@@ -1486,7 +1486,7 @@ tic54x_space (arg)
 /* [symbol] .usect "section-name", size-in-words
                   [, [blocking-flag] [, alignment-flag]]
 
-   Unitialized section.
+   Uninitialized section.
    Non-zero blocking means that if the section would cross a page (128-word)
    boundary, it will be page-aligned.
    Non-zero alignment aligns on a longword boundary.
@@ -2801,7 +2801,7 @@ subsym_symcmp (a, b)
   return strcmp (a, b);
 }
 
-/* Return the index of the first occurence of B in A, or zero if none
+/* Return the index of the first occurrence of B in A, or zero if none
    assumes b is an integer char value as a string.  Index is one-based.  */
 
 static int
@@ -2958,7 +2958,7 @@ subsym_isreg (a, ignore)
   return 0;
 }
 
-/* Return the structrure size, given the stag.  */
+/* Return the structure size, given the stag.  */
 
 static int
 subsym_structsz (name, ignore)
@@ -4729,7 +4729,7 @@ subsym_create_or_replace (name, value)
 }
 
 /* Look up the substitution string replacement for the given symbol.
-   Start with the innermost macro substituion table given and work
+   Start with the innermost macro substitution table given and work
    outwards.  */
 
 static char *
@@ -5025,7 +5025,7 @@ subsym_substitute (line, forced)
                    {
                      /* Subscripted substitution symbol -- use just the
                         indicated portion of the string; the description
-                        kinda indicates that forced substituion is not
+                        kinda indicates that forced substitution is not
                         supposed to be recursive, but I'm not sure.  */
                      unsigned beg, len = 1; /* default to a single char */
                      char *newval = strcpy (xmalloc (strlen (value) + 1),
index 25fea3a..d53a973 100644 (file)
@@ -937,9 +937,9 @@ skip_white_space ()
      { rX - rY, rZ }
      etc
 
-   and also parses constant epxressions whoes bits indicate the
+   and also parses constant expressions whoes bits indicate the
    registers in the lists.  The LSB in the expression refers to
-   the lowest numbered permissable register in the register list,
+   the lowest numbered permissible register in the register list,
    and so on upwards.  System registers are considered to be very
    high numbers.  */
 
@@ -1495,7 +1495,7 @@ handle_tdaoff (operand)
 
   return  operand->insert != NULL
     ? BFD_RELOC_V850_TDA_7_8_OFFSET     /* sld.h/sst.h, operand: D8_7  */
-    : BFD_RELOC_V850_TDA_7_7_OFFSET;    /* sld.b/sst.b, opreand: D7    */
+    : BFD_RELOC_V850_TDA_7_7_OFFSET;    /* sld.b/sst.b, operand: D7    */
 }
 
 /* Warning: The code in this function relies upon the definitions
@@ -1976,7 +1976,7 @@ md_assemble (str)
 
                  if (ex.X_op != O_constant)
                    {
-                     /* If this register is actually occuring too early on
+                     /* If this register is actually occurring too early on
                         the parsing of the instruction, (because another
                         field is missing) then report this.  */
                      if (opindex_ptr[1] != 0
index 2b336b4..4d44302 100644 (file)
@@ -1912,7 +1912,7 @@ vip (vitP, instring)
          /*
           * We found a match! So let's pick up as many operands as the
           * instruction wants, and even gripe if there are too many.
-          * We expect comma to seperate each operand.
+          * We expect comma to separate each operand.
           * We let instring track the text, while p tracks a part of the
           * struct vot.
           */
@@ -2201,7 +2201,7 @@ vax_reg_parse (c1, c2, c3, c4)    /* 3 chars of register name */
  * There were a number of 'mismatched argument type' bugs to vip_op.
  * The most general solution is to typedef each (of many) arguments.
  * We used instead a typedef'd argument block. This is less modular
- * than using seperate return pointers for each result, but runs faster
+ * than using separate return pointers for each result, but runs faster
  * on most engines, and seems to keep programmers happy. It will have
  * to be done properly if we ever want to use vip_op as a general-purpose
  * module (it was designed to be).
@@ -2385,7 +2385,7 @@ vip_op_defaults (immediate, indirect, displen)
  * We don't limit your choice of width character.
  *
  * DEC operands are hard work to parse. For example, '@' as the first
- * character means indirect (deferred) mode but elswhere it is a shift
+ * character means indirect (deferred) mode but elsewhere it is a shift
  * operator.
  * The long-winded explanation of how this is supposed to work is
  * cancelled. Read a DEC vax manual.
@@ -2609,7 +2609,7 @@ vip_op (optext, vopP)
               */
              if (reg < 0)
                {
-                 /* JF allow parenthasized expressions.  I hope this works */
+                 /* JF allow parenthesized expressions.  I hope this works */
                  paren = 0;
                  while (*q != ')')
                    q++;
@@ -2961,7 +2961,7 @@ vip_op (optext, vopP)
    */
 \f
   /*
-   * Case of Rn. We seperate this one because it has a few special
+   * Case of Rn. We separate this one because it has a few special
    * errors the remaining modes lack.
    *
    * in:  at       optional
index adcd6b7..1505183 100644 (file)
@@ -4,7 +4,7 @@
 
 #define COFF_NOLOAD_PROBLEM    1
 
-/* Added these, because if we don't know what we're targetting we may
+/* Added these, because if we don't know what we're targeting we may
    need an assembler version of libgcc, and that will use local
    labels.  */
 #define LOCAL_LABELS_DOLLAR    1
index be6c62c..f88b71e 100644 (file)
@@ -5,7 +5,7 @@
 #define COFF_NOLOAD_PROBLEM    1
 #define COFF_COMMON_ADDEND     1
 
-/* Added these, because if we don't know what we're targetting we may
+/* Added these, because if we don't know what we're targeting we may
    need an assembler version of libgcc, and that will use local
    labels.  */
 #define LOCAL_LABELS_DOLLAR    1
index b8eda45..400a576 100644 (file)
@@ -6,7 +6,7 @@
  * compile, and copying as an aid for testing and porting.  xoxorich.
  */
 
-/* Added these, because if we don't know what we're targetting we may
+/* Added these, because if we don't know what we're targeting we may
    need an assembler version of libgcc, and that will use local
    labels.  */
 #define LOCAL_LABELS_DOLLAR 1
index 5f48dc4..8aac21f 100644 (file)
@@ -2,7 +2,7 @@
 
 #define TE_POWERMAC 1
 
-/* Added these, because if we don't know what we're targetting we may
+/* Added these, because if we don't know what we're targeting we may
    need an assembler version of libgcc, and that will use local
    labels.  */
 #define LOCAL_LABELS_DOLLAR 1
index fcd3a97..1337591 100644 (file)
@@ -18,7 +18,7 @@
    the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
    02111-1307, USA.  */
 
-/* Added these, because if we don't know what we're targetting we may
+/* Added these, because if we don't know what we're targeting we may
    need an assembler version of libgcc, and that will use local
    labels.  */
 #define LOCAL_LABELS_DOLLAR 1
index 3fd47d8..5acb8fd 100644 (file)
@@ -3,7 +3,7 @@
 
 #define TE_PSOS
 
-/* Added these, because if we don't know what we're targetting we may
+/* Added these, because if we don't know what we're targeting we may
    need an assembler version of libgcc, and that will use local
    labels.  */
 #define LOCAL_LABELS_DOLLAR 1
index 4efa6ec..233201a 100644 (file)
@@ -20,7 +20,7 @@
 
 /* This header file contains the #defines specific
    to SUN computer SUN 3 series computers.  (The only kind
-   we have around here, unfortunatly.)
+   we have around here, unfortunately.)
 
    Rumor has it that this file will work on the Sun-2 if the assembler
    is called with -m68010  This is not tested.  */
index e2a746b..2fc6fd9 100644 (file)
@@ -24,7 +24,7 @@
    Created by Koundinya.K < kk@ddeorg.soft.net > with the help of
    Ian Lance Taylor, Cygnus Support, <ian@cygnus.com>.  */
 
-/* Added these, because if we don't know what we're targetting we may
+/* Added these, because if we don't know what we're targeting we may
    need an assembler version of libgcc, and that will use local
    labels.  */
 
index 47aa03c..25da552 100644 (file)
@@ -219,7 +219,7 @@ struct string_pattern_pair_struct
 /* The widen_spec_list is a list of valid substitutions that generate
    wider representations.  These are generally used to specify
    replacements for instructions whose immediates do not fit their
-   encodings.  A valid transition may require mutiple steps of
+   encodings.  A valid transition may require multiple steps of
    one-to-one instruction replacements with a final multiple
    instruction replacement.  As an example, here are the transitions
    required to replace an 'addi.n' with an 'addi', 'addmi'.