From: Kuan-Lin Chen Date: Thu, 24 Nov 2016 02:22:15 +0000 (+0800) Subject: RISC-V/bfd: Fix bitsize of R_RISCV_ADD8. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b14696aedc2b56291bc98d62fe232c8dceb1385;p=binutils-gdb.git RISC-V/bfd: Fix bitsize of R_RISCV_ADD8. bfd/ChangeLog: * bfd/elfxx-riscv.c (howto_table): Fix bitsize of R_RISCV_ADD8. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 346ff297e48..d7a569311c7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2016-11-24 Kuan-Lin Chen + + * bfd/elfxx-riscv.c (howto_table): Fix bitsize of R_RISCV_ADD8. + 2016-11-23 Nick Clifton PR ld/20815 diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c index bd68fe4f141..c1f28f747f5 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 */