diff options
author | Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu> | 2015-09-18 23:39:55 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu> | 2015-09-18 23:39:55 -0700 |
commit | bdd3f1789a37ff9d39c94a9f258531cfbde5727a (patch) | |
tree | 77552efc997caec295ace5ea4056d4307b3377e7 /binutils | |
parent | f10c02a1d065a435a71bb8c3a8b5f22d07be558c (diff) | |
download | riscv-gnu-toolchain-bdd3f1789a37ff9d39c94a9f258531cfbde5727a.zip riscv-gnu-toolchain-bdd3f1789a37ff9d39c94a9f258531cfbde5727a.tar.gz riscv-gnu-toolchain-bdd3f1789a37ff9d39c94a9f258531cfbde5727a.tar.bz2 |
binutils: bfd: realign R_RISCV_RELATIVE
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/bfd/elfxx-riscv.c | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/binutils/bfd/elfxx-riscv.c b/binutils/bfd/elfxx-riscv.c index a13228d..ea7a4d8 100644 --- a/binutils/bfd/elfxx-riscv.c +++ b/binutils/bfd/elfxx-riscv.c @@ -82,28 +82,28 @@ static reloc_howto_type howto_table[] = FALSE), /* pcrel_offset */ /* Relocation against a local symbol in a shared object. */ - HOWTO (R_RISCV_RELATIVE, /* 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_RELATIVE", /* name */ - FALSE, /* partial_inplace */ - 0, /* src_mask */ - 0xffffffff, /* dst_mask */ - FALSE), /* pcrel_offset */ + HOWTO (R_RISCV_RELATIVE, /* 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_RELATIVE", /* name */ + FALSE, /* partial_inplace */ + 0, /* src_mask */ + 0xffffffff, /* dst_mask */ + FALSE), /* pcrel_offset */ - HOWTO (R_RISCV_COPY, /* type */ - 0, /* rightshift */ - 0, /* this one is variable size */ - 0, /* bitsize */ - FALSE, /* pc_relative */ - 0, /* bitpos */ - complain_overflow_bitfield, /* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ + HOWTO (R_RISCV_COPY, /* type */ + 0, /* rightshift */ + 0, /* this one is variable size */ + 0, /* bitsize */ + FALSE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_bitfield, /* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ "R_RISCV_COPY", /* name */ FALSE, /* partial_inplace */ 0x0, /* src_mask */ |