RISC-V/bfd: Fix bitsize of R_RISCV_ADD8.
authorKuan-Lin Chen <kuanlinchentw@gmail.com>
Thu, 24 Nov 2016 02:22:15 +0000 (10:22 +0800)
committerKuan-Lin Chen <kuanlinchentw@gmail.com>
Thu, 24 Nov 2016 02:56:15 +0000 (10:56 +0800)
bfd/ChangeLog:
* bfd/elfxx-riscv.c (howto_table): Fix bitsize of R_RISCV_ADD8.

bfd/ChangeLog
bfd/elfxx-riscv.c

index 346ff29..d7a5693 100644 (file)
@@ -1,3 +1,7 @@
+2016-11-24  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
+
+       * bfd/elfxx-riscv.c (howto_table): Fix bitsize of R_RISCV_ADD8.
+
 2016-11-23  Nick Clifton  <nickc@redhat.com>
 
        PR ld/20815
index bd68fe4..c1f28f7 100644 (file)
@@ -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 */