[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.
This commit is contained in:
Alan Modra
2016-10-05 15:40:11 +10:30
parent 95e61695c1
commit d8e9025191
10 changed files with 47 additions and 18 deletions

View File

@@ -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