* bit_fix.h: Comment typo fix.
authorAlan Modra <amodra@gmail.com>
Wed, 17 Oct 2001 05:51:12 +0000 (05:51 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 17 Oct 2001 05:51:12 +0000 (05:51 +0000)
* config/tc-mips.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-arc.c (arc_code_symbol): Remove unnecessary test.

gas/ChangeLog
gas/bit_fix.h
gas/config/tc-arc.c
gas/config/tc-mips.c
gas/config/tc-sh.c

index b15526c6bc89b314c2446c982d69d9906aee7892..a9b85d18e60a6b0778ba5569170add6c59b95375 100644 (file)
@@ -1,5 +1,10 @@
 2001-10-17  Alan Modra  <amodra@bigpond.net.au>
 
+       * bit_fix.h: Comment typo fix.
+       * config/tc-mips.c: Likewise.
+       * config/tc-sh.c: Likewise.
+       * config/tc-arc.c (arc_code_symbol): Remove unnecessary test.
+
        * configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place so
        that autoheader doesn't duplicate config.in entries.
        (DEFAULT_ARCH): Ditto.
index 5f69fcff7a737946dc43014f7e9acb348f0ead10..80c002278a6f033da540a960db0c6ceb3e2d010a 100644 (file)
@@ -26,8 +26,8 @@
    The or-mask is used to set the huffman bits in displacements for the
    ns32k port.
    The acbi, addqi, movqi, cmpqi instruction requires an assembler that
-   can handle bitfields. Ie handle an expression, evaluate it and insert
-   the result in an some bitfield. ( ex: 5 bits in a short field of an opcode)
+   can handle bitfields.  Ie. handle an expression, evaluate it and insert
+   the result in some bitfield.  (eg: 5 bits in a short field of an opcode)
    */
 
 #ifndef __bit_fix_h__
index 569502edb0e50a67d0f40fd26038b54c035ea8e5..112c30adc4b0dab8fca586d4b9abd873c86caf06 100644 (file)
@@ -1632,9 +1632,7 @@ void
 arc_code_symbol (expressionP)
      expressionS *expressionP;
 {
-  if (expressionP->X_op == O_symbol && expressionP->X_add_number == 0
-      /* I think this test is unnecessary but just as a sanity check...  */
-      && expressionP->X_op_symbol == NULL)
+  if (expressionP->X_op == O_symbol && expressionP->X_add_number == 0)
     {
       expressionS two;
       expressionP->X_op = O_right_shift;
index 0f10cea1224c54ecd3ca8a4ed2967b67acb36049..fc8a4c14ea2467b195eed5f5886aefd30e523751 100644 (file)
@@ -11115,7 +11115,7 @@ s_cpload (ignore)
       return;
     }
 
-  /* .cpload should be in .set noreorder section.  */
+  /* .cpload should be in .set noreorder section.  */
   if (mips_opts.noreorder == 0)
     as_warn (_(".cpload not in noreorder section"));
 
index b235cdda83b6feeb4410d13fccc79ad76faa3e69..1bf258948f44b087ec703fc4f3df94aeaf2e8ed6 100644 (file)
@@ -2452,7 +2452,7 @@ md_convert_frag (headers, seg, fragP)
        /* Toggle the true/false bit of the bcond.  */
        buffer[highbyte] ^= 0x2;
 
-       /* If this is a dalayed branch, we may not put the bra in the
+       /* If this is a delayed 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