From: Kuan-Lin Chen Date: Wed, 23 Nov 2016 05:18:59 +0000 (+0800) Subject: RISCV/GAS Add missing break in md_apply_fix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=073808edb771952247c6fe634b863986b7627150;p=binutils-gdb.git RISCV/GAS Add missing break in md_apply_fix. gdb/ChangeLog: * config/tc-riscv.c: Add missing break. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index ad745a9fdb8..fc50a3ee4ca 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2016-11-23 Kuan-Lin Chen + + * config/tc-riscv.c: Add missing break. + 2016-11-23 Alan Modra * po/POTFILES.in: Regenerate. diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c index 592c95a47f1..b3638670c50 100644 --- a/gas/config/tc-riscv.c +++ b/gas/config/tc-riscv.c @@ -1892,6 +1892,7 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED) case BFD_RELOC_8: fixP->fx_r_type = BFD_RELOC_RISCV_ADD8; fixP->fx_next->fx_r_type = BFD_RELOC_RISCV_SUB8; + break; default: /* This case is unreachable. */