diff options
author | Kuan-Lin Chen <kuanlinchentw@gmail.com> | 2016-11-23 13:18:59 +0800 |
---|---|---|
committer | Kuan-Lin Chen <kuanlinchentw@gmail.com> | 2016-11-23 16:31:07 +0800 |
commit | 073808edb771952247c6fe634b863986b7627150 (patch) | |
tree | 4936da9d3183665bc24213881d455df32799c3ff /gas/config | |
parent | 64f52338e924cce3a205527136e145da660a4686 (diff) | |
download | gdb-073808edb771952247c6fe634b863986b7627150.zip gdb-073808edb771952247c6fe634b863986b7627150.tar.gz gdb-073808edb771952247c6fe634b863986b7627150.tar.bz2 |
RISCV/GAS Add missing break in md_apply_fix.
gdb/ChangeLog:
* config/tc-riscv.c: Add missing break.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-riscv.c | 1 |
1 files changed, 1 insertions, 0 deletions
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. */ |