From: Alan Modra Date: Thu, 6 Oct 2016 05:24:38 +0000 (+1030) Subject: [GOLD] two more fall-through comments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c25aa1e114af2be29bb8b69641673ec2baa8c6bd;p=binutils-gdb.git [GOLD] two more fall-through comments * powerpc.cc (Target_powerpc::Relocate::relocate): Add fall through comment. * tilegx.cc (Target_tilegx::Relocate::relocate): Likewise. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index 8b917b5c2b7..ae86f66dd78 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2016-10-06 Alan Modra + + * powerpc.cc (Target_powerpc::Relocate::relocate): Add fall + through comment. + * tilegx.cc (Target_tilegx::Relocate::relocate): Likewise. + 2016-10-06 Alan Modra * aarch64.cc: Spell fall through comments as "// Fall through.". diff --git a/gold/powerpc.cc b/gold/powerpc.cc index d286f70bc00..1e95d5b2452 100644 --- a/gold/powerpc.cc +++ b/gold/powerpc.cc @@ -8007,6 +8007,7 @@ Target_powerpc::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 ee262d147e2..03b1a509c5a 100644 --- a/gold/tilegx.cc +++ b/gold/tilegx.cc @@ -4649,10 +4649,8 @@ Target_tilegx::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