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: http://drtracing.org/?a=commitdiff_plain;h=0b14696aedc2b56291bc98d62fe232c8dceb1385;hp=8bc2611fd97a94e3927ba22fab79624dd6647368;p=deliverable%2Fbinutils-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 346ff297e4..d7a569311c 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 bd68fe4f14..c1f28f747f 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 */