From 7d2d818d429ace967b6063c2ae882a7a7127adcf Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Fri, 18 Sep 2015 23:43:35 -0700 Subject: binutils: bfd: realign R_RISCV_BRANCH --- binutils/bfd/elfxx-riscv.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'binutils') diff --git a/binutils/bfd/elfxx-riscv.c b/binutils/bfd/elfxx-riscv.c index c106308..bf869c4 100644 --- a/binutils/bfd/elfxx-riscv.c +++ b/binutils/bfd/elfxx-riscv.c @@ -216,19 +216,19 @@ static reloc_howto_type howto_table[] = EMPTY_HOWTO (15), /* 12-bit PC-relative branch offset. */ - HOWTO (R_RISCV_BRANCH, /* type */ - 0, /* rightshift */ - 2, /* size (0 = byte, 1 = short, 2 = long) */ - 32, /* bitsize */ - TRUE, /* pc_relative */ - 0, /* bitpos */ - complain_overflow_signed, /* complain_on_overflow */ - bfd_elf_generic_reloc, /* special_function */ - "R_RISCV_BRANCH", /* name */ - FALSE, /* partial_inplace */ - 0, /* src_mask */ - ENCODE_SBTYPE_IMM (-1U),/* dst_mask */ - TRUE), /* pcrel_offset */ + HOWTO (R_RISCV_BRANCH, /* type */ + 0, /* rightshift */ + 2, /* size */ + 32, /* bitsize */ + TRUE, /* pc_relative */ + 0, /* bitpos */ + complain_overflow_signed, /* complain_on_overflow */ + bfd_elf_generic_reloc, /* special_function */ + "R_RISCV_BRANCH", /* name */ + FALSE, /* partial_inplace */ + 0, /* src_mask */ + ENCODE_SBTYPE_IMM (-1U), /* dst_mask */ + TRUE), /* pcrel_offset */ /* 20-bit PC-relative jump offset. */ HOWTO (R_RISCV_JAL, /* type */ -- cgit v1.1