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/resolve.cc | |
parent | 95e61695c199a07c832153cea25ae9c331d16a3c (diff) | |
download | binutils-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/resolve.cc')
-rw-r--r-- | gold/resolve.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/resolve.cc b/gold/resolve.cc index 11f322961ab..3213333e995 100644 --- a/gold/resolve.cc +++ b/gold/resolve.cc @@ -193,6 +193,7 @@ symbol_to_bits(elfcpp::STB binding, bool is_dynamic, // table. gold_error(_("invalid STB_LOCAL symbol in external symbols")); bits = global_flag; + break; default: // Any target which wants to handle STB_LOOS, etc., needs to |