Skip to content
This repository was archived by the owner on Aug 17, 2022. It is now read-only.

Commit 2e8a797

Browse files
kuanlinchentwpalmer-dabbelt
authored andcommitted
RISC-V/bfd: Fix bitsize for R_RISCV_ADD8.
1 parent f6b641a commit 2e8a797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bfd/elfxx-riscv.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ static reloc_howto_type howto_table[] =
476476
HOWTO (R_RISCV_ADD8, /* type */
477477
0, /* rightshift */
478478
0, /* size */
479-
32, /* bitsize */
479+
8, /* bitsize */
480480
FALSE, /* pc_relative */
481481
0, /* bitpos */
482482
complain_overflow_dont, /* complain_on_overflow */

0 commit comments

Comments
 (0)