[GOLD] two more fall-through comments
authorAlan Modra <amodra@gmail.com>
Thu, 6 Oct 2016 05:24:38 +0000 (15:54 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 6 Oct 2016 12:18:14 +0000 (22:48 +1030)
* powerpc.cc (Target_powerpc::Relocate::relocate): Add fall
through comment.
* tilegx.cc (Target_tilegx::Relocate::relocate): Likewise.

gold/ChangeLog
gold/powerpc.cc
gold/tilegx.cc

index 8b917b5c2b7638ecfcddde28f328232dde5e5b63..ae86f66dd787fa09753523dbb919472085a18c34 100644 (file)
@@ -1,3 +1,9 @@
+2016-10-06  Alan Modra  <amodra@gmail.com>
+
+       * powerpc.cc (Target_powerpc::Relocate::relocate): Add fall
+       through comment.
+       * tilegx.cc (Target_tilegx::Relocate::relocate): Likewise.
+
 2016-10-06  Alan Modra  <amodra@gmail.com>
 
        * aarch64.cc: Spell fall through comments as "// Fall through.".
index d286f70bc00ef99e07949f9240e3f3f008a75577..1e95d5b24529ee066130aaf53bbc469b09be0327 100644 (file)
@@ -8007,6 +8007,7 @@ Target_powerpc<size, big_endian>::Relocate::relocate(
          maybe_dq_reloc = true;
          break;
        }
+      // Fall through.
     case elfcpp::R_POWERPC_ADDR16:
     case elfcpp::R_POWERPC_REL16:
     case elfcpp::R_PPC64_TOC16:
index ee262d147e29431681fd2323f8e716ece91d4f60..03b1a509c5a8b48f2da78163a2e8ff97c82984f6 100644 (file)
@@ -4649,10 +4649,8 @@ Target_tilegx<size, big_endian>::Relocate::relocate(
               } // else if (opt_t == tls::TLSOPT_TO_LE)
                 //   both GD/IE are turned into LE, which
                 //   is absolute relocation.
-                //
-                //  |  go through
-                //  |
-                //  V
+                // Fall through.
+
             // LE
             //
             // tp