aboutsummaryrefslogtreecommitdiff
path: root/gold/x86_64.cc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-10-05 15:40:11 +1030
committerAlan Modra <amodra@gmail.com>2016-10-06 09:36:33 +1030
commitd8e9025191bc7b8ac1ffe28612a9015cd238f5b2 (patch)
tree0ac93fa28b46671bd9b5e960477820b5b01bafa6 /gold/x86_64.cc
parent95e61695c199a07c832153cea25ae9c331d16a3c (diff)
downloadgdb-d8e9025191bc7b8ac1ffe28612a9015cd238f5b2.zip
gdb-d8e9025191bc7b8ac1ffe28612a9015cd238f5b2.tar.gz
gdb-d8e9025191bc7b8ac1ffe28612a9015cd238f5b2.tar.bz2
[GOLD] -Wimplicit-fallthrough warning fixes
* aarch64.cc: Spell fall through comments as "// Fall through.". * arm.cc: Likewise. * mips.cc: Likewise. * powerpc.cc: Likewise. * s390.cc: Likewise. * sparc.cc: Likewise. * x86_64.cc: Likewise. * powerpc.cc (Target_powerpc::Relocate::relocate): Add missing fall through comments. * sparc.cc: (Target_sparc::Scan::global): Likewise. (Target_sparc::Relocate::relocate): Likewise. * tilegx.cc (Target_tilegx::Relocate::relocate): Likewise. * resolve.cc (symbol_to_bits): Add missing break.
Diffstat (limited to 'gold/x86_64.cc')
-rw-r--r--gold/x86_64.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/x86_64.cc b/gold/x86_64.cc
index 8d494ea..9004aec 100644
--- a/gold/x86_64.cc
+++ b/gold/x86_64.cc
@@ -2361,7 +2361,7 @@ Target_x86_64<size>::Scan::check_non_pic(Relobj* object, unsigned int r_type,
&& !gsym->is_undefined()
&& !gsym->is_preemptible()))
return;
- /* Fall through. */
+ // Fall through.
case elfcpp::R_X86_64_32:
// R_X86_64_32 is OK for x32.
if (size == 32 && r_type == elfcpp::R_X86_64_32)