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-Tag: users/ARM/embedded-binutils-master-2016q4~130 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b14696aedc2b56291bc98d62fe232c8dceb1385;p=external%2Fbinutils.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 346ff29..d7a5693 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 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 */