From 0b14696aedc2b56291bc98d62fe232c8dceb1385 Mon Sep 17 00:00:00 2001 From: Kuan-Lin Chen Date: Thu, 24 Nov 2016 10:22:15 +0800 Subject: [PATCH] RISC-V/bfd: Fix bitsize of R_RISCV_ADD8. bfd/ChangeLog: * bfd/elfxx-riscv.c (howto_table): Fix bitsize of R_RISCV_ADD8. --- bfd/ChangeLog | 4 ++++ bfd/elfxx-riscv.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 */ -- 2.30.2