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 346ff297e482ba27631ad8ee454bbc2fa2f1e541..d7a569311c7cca5b48ef1d811b8f978de2b08f89 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 bd68fe4f1419a72db7929f1edf46f820402b3d34..c1f28f747f5525eaace7720c7f1dbc8a78487d85 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 */