aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu>2015-09-18 23:39:29 -0700
committerPalmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu>2015-09-18 23:39:29 -0700
commitcf79342e6e70c93e34ffc75c989cf55f93057e44 (patch)
tree30f86b4d1c7a71cd9796a4bf909537685c6b7f76 /binutils
parente8187ca54b651f4c97b51658ee09e534e6bcb333 (diff)
downloadriscv-gnu-toolchain-cf79342e6e70c93e34ffc75c989cf55f93057e44.zip
riscv-gnu-toolchain-cf79342e6e70c93e34ffc75c989cf55f93057e44.tar.gz
riscv-gnu-toolchain-cf79342e6e70c93e34ffc75c989cf55f93057e44.tar.bz2
binutils: bfd: realign R_RISCV_32
Diffstat (limited to 'binutils')
-rw-r--r--binutils/bfd/elfxx-riscv.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/binutils/bfd/elfxx-riscv.c b/binutils/bfd/elfxx-riscv.c
index e9d68c8..d8f7a6b 100644
--- a/binutils/bfd/elfxx-riscv.c
+++ b/binutils/bfd/elfxx-riscv.c
@@ -52,19 +52,19 @@ static reloc_howto_type howto_table[] =
FALSE), /* pcrel_offset */
/* 32 bit relocation. */
- HOWTO (R_RISCV_32, /* type */
- 0, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
- 32, /* bitsize */
- FALSE, /* pc_relative */
- 0, /* bitpos */
- complain_overflow_dont, /* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
- "R_RISCV_32", /* name */
- FALSE, /* partial_inplace */
- 0, /* src_mask */
- 0xffffffff, /* dst_mask */
- FALSE), /* pcrel_offset */
+ HOWTO (R_RISCV_32, /* type */
+ 0, /* rightshift */
+ 2, /* size */
+ 32, /* bitsize */
+ FALSE, /* pc_relative */
+ 0, /* bitpos */
+ complain_overflow_dont, /* complain_on_overflow */
+ bfd_elf_generic_reloc, /* special_function */
+ "R_RISCV_32", /* name */
+ FALSE, /* partial_inplace */
+ 0, /* src_mask */
+ 0xffffffff, /* dst_mask */
+ FALSE), /* pcrel_offset */
/* 64 bit relocation. */
HOWTO (R_RISCV_64, /* type */