From fcd5f6af0ec70396622ab2b48c9b9486e00ea700 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 for R_RISCV_ADD8. --- bfd/elfxx-riscv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.6.4