]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix compile time warning problem with gcc 8 and the NS32K assembler sources.
authorNick Clifton <nickc@redhat.com>
Wed, 1 Aug 2018 13:36:50 +0000 (14:36 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 1 Aug 2018 13:36:50 +0000 (14:36 +0100)
* config/tc-ns32k.c (addr_mode): Replace "Drop through" comment
with "Fall through" so that it will be recognised by gcc's switch
statment error checker.

gas/ChangeLog
gas/config/tc-ns32k.c

index c203ba63a97164dcac72c8542c454e297aecf46d..2976c79200f09042de450c2e38ee1638f0470471 100644 (file)
@@ -1,3 +1,9 @@
+2018-08-01  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-ns32k.c (addr_mode): Replace "Drop through" comment
+       with "Fall through" so that it will be recognised by gcc's switch
+       statment error checker.
+
 2018-08-01  Alan Modra  <amodra@gmail.com>
 
        * po/POTFILES.in: Regenerate.
index c0b0527d400f2ab0a286342c0f0cfccb3a76171e..cd9b18218f4a23a9e204e0279d9d2aae05930071 100644 (file)
@@ -493,7 +493,7 @@ addr_mode (char *operand,
        default:
          break;
        }
-      /* Drop through.  */
+      /* Fall through.  */
 
     case 3:
       if (!strncmp (str, "tos", 3))