diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-10-07 19:17:23 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2003-10-07 19:17:23 +0000 |
commit | b15b52efa349de28345f4db3a90b701a5b35ef18 (patch) | |
tree | 6a4f7ad71f73781e5553a549205e9f40e753b60d | |
parent | c0d48c0b487a3d7f926a2fef24e9b2fd401b3bc4 (diff) | |
download | gdb-b15b52efa349de28345f4db3a90b701a5b35ef18.zip gdb-b15b52efa349de28345f4db3a90b701a5b35ef18.tar.gz gdb-b15b52efa349de28345f4db3a90b701a5b35ef18.tar.bz2 |
* elf32-frv.c (elf32_frv_howto_table): Set R_FRV_LABEL16's
rightshift to 2.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-frv.c | 2 |
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 */ |