diff options
author | Alan Modra <amodra@gmail.com> | 2016-10-05 15:40:11 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-10-06 09:36:33 +1030 |
commit | d8e9025191bc7b8ac1ffe28612a9015cd238f5b2 (patch) | |
tree | 0ac93fa28b46671bd9b5e960477820b5b01bafa6 /gold/aarch64.cc | |
parent | 95e61695c199a07c832153cea25ae9c331d16a3c (diff) | |
download | gdb-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/aarch64.cc')
-rw-r--r-- | gold/aarch64.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/aarch64.cc b/gold/aarch64.cc index 310331c..28e4d48 100644 --- a/gold/aarch64.cc +++ b/gold/aarch64.cc @@ -7084,13 +7084,13 @@ Target_aarch64<size, big_endian>::Relocate::relocate( // Return false to stop further processing this reloc. return false; } - // Fallthrough + // Fall through. case elfcpp::R_AARCH64_JUMP26: if (Reloc::maybe_apply_stub(r_type, relinfo, rela, view, address, gsym, psymval, object, target->stub_group_size_)) break; - // Fallthrough + // Fall through. case elfcpp::R_AARCH64_TSTBR14: case elfcpp::R_AARCH64_CONDBR19: reloc_status = Reloc::template pcrela_general<32>( |