From b15b52efa349de28345f4db3a90b701a5b35ef18 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 7 Oct 2003 19:17:23 +0000 Subject: [PATCH] * elf32-frv.c (elf32_frv_howto_table): Set R_FRV_LABEL16's rightshift to 2. --- bfd/ChangeLog | 5 +++++ bfd/elf32-frv.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3c471df150e..48db3687679 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2003-10-07 Alexandre Oliva + + * elf32-frv.c (elf32_frv_howto_table): Set R_FRV_LABEL16's + rightshift to 2. + 2003-10-07 Nathan Sidwell * libbfd-in.h (_bfd_link_section_stabs): Add string offset diff --git a/bfd/elf32-frv.c b/bfd/elf32-frv.c index faa1401a537..f408b59076a 100644 --- a/bfd/elf32-frv.c +++ b/bfd/elf32-frv.c @@ -111,7 +111,7 @@ static reloc_howto_type elf32_frv_howto_table [] = /* A 16 bit pc-relative relocation. */ HOWTO (R_FRV_LABEL16, /* type */ - 0, /* rightshift */ + 2, /* rightshift */ 2, /* size (0 = byte, 1 = short, 2 = long) */ 16, /* bitsize */ TRUE, /* pc_relative */ -- 2.30.2