RISCV/GAS Add missing break in md_apply_fix.
authorKuan-Lin Chen <kuanlinchentw@gmail.com>
Wed, 23 Nov 2016 05:18:59 +0000 (13:18 +0800)
committerKuan-Lin Chen <kuanlinchentw@gmail.com>
Wed, 23 Nov 2016 08:31:07 +0000 (16:31 +0800)
gdb/ChangeLog:
* config/tc-riscv.c: Add missing break.

gas/ChangeLog
gas/config/tc-riscv.c

index ad745a9fdb8cd7f4f4082ca8c60c47198ae35466..fc50a3ee4ca113c1db02bf04fceb7fbb0075f656 100644 (file)
@@ -1,3 +1,7 @@
+2016-11-23  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+
+       * config/tc-riscv.c: Add missing break.
+
 2016-11-23  Alan Modra  <amodra@gmail.com>
 
        * po/POTFILES.in: Regenerate.
index 592c95a47f190faee8617c42339671608a1acc42..b3638670c500acabdec181c5bac6a9f411925df9 100644 (file)
@@ -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.  */