This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] RISCV/GAS Add missing break in md_apply_fix.
- From: Kuan-Lin Chen <kuanlinchen at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 23 Nov 2016 08:59:57 -0000
- Subject: [binutils-gdb] RISCV/GAS Add missing break in md_apply_fix.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=073808edb771952247c6fe634b863986b7627150
commit 073808edb771952247c6fe634b863986b7627150
Author: Kuan-Lin Chen <kuanlinchentw@gmail.com>
Date: Wed Nov 23 13:18:59 2016 +0800
RISCV/GAS Add missing break in md_apply_fix.
gdb/ChangeLog:
* config/tc-riscv.c: Add missing break.
Diff:
---
gas/ChangeLog | 4 ++++
gas/config/tc-riscv.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index ad745a9..fc50a3e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c
index 592c95a..b363867 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. */