diff options
author | Kuan-Lin Chen <kuanlinchentw@gmail.com> | 2016-11-24 10:22:15 +0800 |
---|---|---|
committer | Kuan-Lin Chen <kuanlinchentw@gmail.com> | 2016-11-24 10:56:15 +0800 |
commit | 0b14696aedc2b56291bc98d62fe232c8dceb1385 (patch) | |
tree | bff1aaf6c78a8c8c213996888e185e1aba62c612 /bfd | |
parent | 8bc2611fd97a94e3927ba22fab79624dd6647368 (diff) | |
download | gdb-0b14696aedc2b56291bc98d62fe232c8dceb1385.zip gdb-0b14696aedc2b56291bc98d62fe232c8dceb1385.tar.gz gdb-0b14696aedc2b56291bc98d62fe232c8dceb1385.tar.bz2 |
RISC-V/bfd: Fix bitsize of R_RISCV_ADD8.
bfd/ChangeLog:
* bfd/elfxx-riscv.c (howto_table): Fix bitsize of R_RISCV_ADD8.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elfxx-riscv.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 346ff29..d7a5693 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 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 */ |