forked from Imagelibrary/binutils-gdb
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user