aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-riscv.c
diff options
context:
space:
mode:
authorKuan-Lin Chen <kuanlinchentw@gmail.com>2016-11-24 10:22:15 +0800
committerKuan-Lin Chen <kuanlinchentw@gmail.com>2016-11-24 10:56:15 +0800
commit0b14696aedc2b56291bc98d62fe232c8dceb1385 (patch)
treebff1aaf6c78a8c8c213996888e185e1aba62c612 /bfd/elfxx-riscv.c
parent8bc2611fd97a94e3927ba22fab79624dd6647368 (diff)
downloadgdb-0b14696aedc2b56291bc98d62fe232c8dceb1385.zip
gdb-0b14696aedc2b56291bc98d62fe232c8dceb1385.tar.gz
gdb-0b14696aedc2b56291bc98d62fe232c8dceb1385.tar.bz2
RISC-V/bfd: Fix bitsize of R_RISCV_ADD8.
bfd/ChangeLog: * bfd/elfxx-riscv.c (howto_table): Fix bitsize of R_RISCV_ADD8.
Diffstat (limited to 'bfd/elfxx-riscv.c')
-rw-r--r--bfd/elfxx-riscv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c
index bd68fe4..c1f28f7 100644
--- a/bfd/elfxx-riscv.c
+++ b/bfd/elfxx-riscv.c
@@ -479,7 +479,7 @@ static reloc_howto_type howto_table[] =
HOWTO (R_RISCV_ADD8, /* type */
0, /* rightshift */
0, /* size */
- 32, /* bitsize */
+ 8, /* bitsize */
FALSE, /* pc_relative */
0, /* bitpos */
complain_overflow_dont, /* complain_on_overflow */