diff options
author | Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu> | 2015-09-18 23:51:52 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu> | 2015-09-19 00:34:11 -0700 |
commit | a0dcdcb20a775bc0a58815455b0e64d60ebfe7f3 (patch) | |
tree | 2d501dbf57206b8068313491dfc4575ae05e63bb /binutils | |
parent | f688a80166ecee2927e61d420077bfdc22d2f6a2 (diff) | |
download | riscv-gnu-toolchain-a0dcdcb20a775bc0a58815455b0e64d60ebfe7f3.zip riscv-gnu-toolchain-a0dcdcb20a775bc0a58815455b0e64d60ebfe7f3.tar.gz riscv-gnu-toolchain-a0dcdcb20a775bc0a58815455b0e64d60ebfe7f3.tar.bz2 |
binutils: bfd: realign R_RISCV_SUB32
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/bfd/elfxx-riscv.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/binutils/bfd/elfxx-riscv.c b/binutils/bfd/elfxx-riscv.c index 0f2d43f..d0565ac 100644 --- a/binutils/bfd/elfxx-riscv.c +++ b/binutils/bfd/elfxx-riscv.c @@ -565,19 +565,19 @@ static reloc_howto_type howto_table[] = FALSE), /* pcrel_offset */ /* 32-bit in-place addition, for local label subtraction. */ - HOWTO (R_RISCV_SUB32, /* 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_SUB32", /* name */ - FALSE, /* partial_inplace */ - 0, /* src_mask */ - MINUS_ONE, /* dst_mask */ - FALSE), /* pcrel_offset */ + HOWTO (R_RISCV_SUB32, /* 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_SUB32", /* name */ + FALSE, /* partial_inplace */ + 0, /* src_mask */ + MINUS_ONE, /* dst_mask */ + FALSE), /* pcrel_offset */ /* 64-bit in-place addition, for local label subtraction. */ HOWTO (R_RISCV_SUB64, /* type */ |