This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[GOLD] two more fall-through comments
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Thu, 6 Oct 2016 22:55:07 +1030
- Subject: [GOLD] two more fall-through comments
- Authentication-results: sourceware.org; auth=none
* powerpc.cc (Target_powerpc::Relocate::relocate): Add fall
through comment.
* tilegx.cc (Target_tilegx::Relocate::relocate): Likewise.
diff --git a/gold/powerpc.cc b/gold/powerpc.cc
index d286f70..1e95d5b 100644
--- a/gold/powerpc.cc
+++ b/gold/powerpc.cc
@@ -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:
diff --git a/gold/tilegx.cc b/gold/tilegx.cc
index ee262d1..03b1a50 100644
--- a/gold/tilegx.cc
+++ b/gold/tilegx.cc
@@ -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
--
Alan Modra
Australia Development Lab, IBM