summaryrefslogtreecommitdiff
path: root/gold/s390.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/s390.cc
parent95e61695c199a07c832153cea25ae9c331d16a3c (diff)
downloadbinutils-gdb-d8e9025191bc7b8ac1ffe28612a9015cd238f5b2.tar.gz
[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/s390.cc')
-rw-r--r--gold/s390.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gold/s390.cc b/gold/s390.cc
index c4960182001..9f578e4bd78 100644
--- a/gold/s390.cc
+++ b/gold/s390.cc
@@ -2555,7 +2555,7 @@ Target_s390<size>::Scan::local(Symbol_table* symtab,
unsupported_reloc_local(object, r_type);
}
}
- // fall through
+ // Fall through.
case elfcpp::R_390_TLS_IEENT:
case elfcpp::R_390_TLS_GOTIE12:
case elfcpp::R_390_TLS_GOTIE20:
@@ -2993,7 +2993,7 @@ Target_s390<size>::Scan::global(Symbol_table* symtab,
unsupported_reloc_global(object, r_type, gsym);
}
}
- // fall through
+ // Fall through.
case elfcpp::R_390_TLS_IEENT:
case elfcpp::R_390_TLS_GOTIE12:
case elfcpp::R_390_TLS_GOTIE20:
@@ -3241,7 +3241,7 @@ Target_s390<size>::Relocate::relocate(
|| (gsym->is_defined()
&& !gsym->is_from_dynobj()
&& !gsym->is_preemptible()));
- // fallthru
+ // Fall through.
case elfcpp::R_390_8:
case elfcpp::R_390_12:
case elfcpp::R_390_16:
@@ -3270,7 +3270,7 @@ Target_s390<size>::Relocate::relocate(
gold_assert(gsym == NULL
|| gsym->has_plt_offset()
|| gsym->final_value_is_known());
- // fallthru
+ // Fall through.
case elfcpp::R_390_GOTOFF64:
case elfcpp::R_390_GOTOFF32:
case elfcpp::R_390_GOTOFF16: