]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/config/tc-tic4x.c
-Wimplicit-fallthrough error fixes
authorAlan Modra <amodra@gmail.com>
Wed, 5 Oct 2016 06:22:24 +0000 (16:52 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 5 Oct 2016 23:09:56 +0000 (09:39 +1030)
commit2b804145796e948fa4c025c07eb201e700281e6b
treec1a7b298379035822fa1d77ebe2a9a82d71fdca4
parentd8e9025191bc7b8ac1ffe28612a9015cd238f5b2
-Wimplicit-fallthrough error fixes

Well, not all are errors, but a little more substantive than just
fiddling with comments.

bfd/
* coffcode.h (coff_slurp_symbol_table): Revert accidental commit
made 2015-01-08.
* elf32-nds32.c (nds32_elf_grok_psinfo): Add missing break.
* reloc.c (bfd_default_reloc_type_lookup): Add missing breaks.
opcodes/
* arc-ext.c (create_map): Add missing break.
* msp430-decode.opc (encode_as): Likewise.
* msp430-decode.c: Regenerate.
binutils/
* coffdump.c (dump_coff_where): Add missing break.
* stabs.c (stab_xcoff_builtin_type): Likewise.
gas/
* config/tc-arc.c (find_opcode_match): Add missing break.
* config/tc-i960.c (get_cdisp): Likewise.
* config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
* config/tc-mt.c (md_parse_option): Likewise.
* config/tc-nds32.c (nds32_apply_fix): Likewise.
* config/tc-hppa.c (pa_ip): Assert rather than testing last
condition of multiple if statements.
* config/tc-s390.c (s390_exp_compare): Return 0 on error.
* config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
out of case rather than falling into next case.  Formatting.
ld/
* plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
by adding return.
22 files changed:
bfd/ChangeLog
bfd/coffcode.h
bfd/elf32-nds32.c
bfd/reloc.c
binutils/ChangeLog
binutils/coffdump.c
binutils/stabs.c
gas/ChangeLog
gas/config/tc-arc.c
gas/config/tc-hppa.c
gas/config/tc-i960.c
gas/config/tc-metag.c
gas/config/tc-mt.c
gas/config/tc-nds32.c
gas/config/tc-s390.c
gas/config/tc-tic4x.c
ld/ChangeLog
ld/plugin.c
opcodes/ChangeLog
opcodes/arc-ext.c
opcodes/msp430-decode.c
opcodes/msp430-decode.opc