diff mbox

[nds32] Committed: Fix typo in comment.

Message ID CADj25HN8ioWqsjxU=K=vxO8hzoP9uBFn6wgmbbfg44kWVPW6Bg@mail.gmail.com
State New
Headers show

Commit Message

Chung-Ju Wu Feb. 14, 2014, 8:09 a.m. UTC
Hi,

There are few typo in comment of nds32 port.
Fixed them as obvious, committed as Rev.207775.




Best regards,
jasonwucj
diff mbox

Patch

Index: gcc/ChangeLog
===================================================================
--- gcc/ChangeLog       (revision 207774)
+++ gcc/ChangeLog       (revision 207775)
@@ -1,5 +1,10 @@ 
 2014-02-14  Chung-Ju Wu  <jasonwucj@gmail.com>

+       * config/nds32/t-mlibs (MULTILIB_OPTIONS): Fix typo in comment.
+       * config/nds32/nds32.c (nds32_merge_decl_attributes): Likewise.
+
+2014-02-14  Chung-Ju Wu  <jasonwucj@gmail.com>
+
        * config/nds32/nds32.c (nds32_naked_function_p): Follow the
        GNU coding standards.

Index: gcc/config/nds32/t-mlibs
===================================================================
--- gcc/config/nds32/t-mlibs    (revision 207774)
+++ gcc/config/nds32/t-mlibs    (revision 207775)
@@ -28,7 +28,7 @@ 
 #   6. -mlittle-endian -mgp-direct
 #   7. -mlittle-endian -mno-gp-direct
 #   8. -mbig-endian -mgp-direct
-#   9. -mlittle-endian -mno-gp-direct
+#   9. -mbig-endian -mno-gp-direct
 #
 # We also define a macro MULTILIB_DEFAULTS in nds32.h that tells the
 # driver program which options are defaults for this target and thus


Index: gcc/config/nds32/nds32.c
===================================================================
--- gcc/config/nds32/nds32.c    (revision 207774)
+++ gcc/config/nds32/nds32.c    (revision 207775)
@@ -3084,7 +3084,7 @@ 
   combined_attrs = merge_attributes (DECL_ATTRIBUTES (olddecl),
                                     DECL_ATTRIBUTES (newdecl));

-  /* Sinc newdecl is acutally a duplicate of olddecl,
+  /* Since newdecl is acutally a duplicate of olddecl,
      we can take olddecl for some operations.  */
   if (TREE_CODE (olddecl) == FUNCTION_DECL)
     {