aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-frv.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3c471df..48db368 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-07 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf32-frv.c (elf32_frv_howto_table): Set R_FRV_LABEL16's
+ rightshift to 2.
+
2003-10-07 Nathan Sidwell <nathan@codesourcery.com>
* libbfd-in.h (_bfd_link_section_stabs): Add string offset
diff --git a/bfd/elf32-frv.c b/bfd/elf32-frv.c
index faa1401..f408b59 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 */