aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>1996-07-23 17:54:21 +0000
committerMartin Hunt <hunt@redhat.com>1996-07-23 17:54:21 +0000
commit11609502f01db9382e273363a43335f621300629 (patch)
tree39cf1cfb2c5439b9c1889fd575402930006817a2
parent7ae1ceee8928d799bcc6ed8ac8b172d01fe3dd8f (diff)
downloadgdb-11609502f01db9382e273363a43335f621300629.zip
gdb-11609502f01db9382e273363a43335f621300629.tar.gz
gdb-11609502f01db9382e273363a43335f621300629.tar.bz2
start-sanitize-d10v
Tue Jul 23 10:43:31 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * elf32-d10v.c (elf_d10v_howto_table): Changed all relocs to "long" and fixed mask on R_D10V_10_PCREL_L. end-sanitize-d10v
-rw-r--r--bfd/ChangeLog7
-rw-r--r--bfd/elf32-d10v.c14
2 files changed, 14 insertions, 7 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6a19cc9..ddd2c29 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,10 @@
+start-sanitize-d10v
+Tue Jul 23 10:43:31 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
+
+ * elf32-d10v.c (elf_d10v_howto_table): Changed all relocs to "long"
+ and fixed mask on R_D10V_10_PCREL_L.
+
+end-sanitize-d10v
Mon Jul 22 15:30:30 1996 Ian Lance Taylor <ian@cygnus.com>
* elf64-mips.c: Include "aout/ar.h".
diff --git a/bfd/elf32-d10v.c b/bfd/elf32-d10v.c
index 3c98fab..01687e8 100644
--- a/bfd/elf32-d10v.c
+++ b/bfd/elf32-d10v.c
@@ -65,7 +65,7 @@ static reloc_howto_type elf_d10v_howto_table[] =
/* right container */
HOWTO (R_D10V_10_PCREL_R, /* type */
2, /* rightshift */
- 0, /* size (0 = byte, 1 = short, 2 = long) */
+ 2, /* size (0 = byte, 1 = short, 2 = long) */
10, /* bitsize */
true, /* pc_relative */
0, /* bitpos */
@@ -81,7 +81,7 @@ static reloc_howto_type elf_d10v_howto_table[] =
/* left container */
HOWTO (R_D10V_10_PCREL_L, /* type */
2, /* rightshift */
- 0, /* size (0 = byte, 1 = short, 2 = long) */
+ 2, /* size (0 = byte, 1 = short, 2 = long) */
10, /* bitsize */
true, /* pc_relative */
15, /* bitpos */
@@ -89,14 +89,14 @@ static reloc_howto_type elf_d10v_howto_table[] =
bfd_elf_generic_reloc, /* special_function */
"R_D10V_10_PCREL_L", /* name */
false, /* partial_inplace */
- 0xff, /* src_mask */
- 0xff, /* dst_mask */
+ 0x07f8000, /* src_mask */
+ 0x07f8000, /* dst_mask */
true), /* pcrel_offset */
/* A 16 bit absolute relocation */
HOWTO (R_D10V_16, /* type */
0, /* rightshift */
- 1, /* size (0 = byte, 1 = short, 2 = long) */
+ 2, /* size (0 = byte, 1 = short, 2 = long) */
16, /* bitsize */
false, /* pc_relative */
0, /* bitpos */
@@ -111,7 +111,7 @@ static reloc_howto_type elf_d10v_howto_table[] =
/* An 18 bit absolute relocation, right shifted 2 */
HOWTO (R_D10V_18, /* type */
2, /* rightshift */
- 1, /* size (0 = byte, 1 = short, 2 = long) */
+ 2, /* size (0 = byte, 1 = short, 2 = long) */
18, /* bitsize */
false, /* pc_relative */
0, /* bitpos */
@@ -126,7 +126,7 @@ static reloc_howto_type elf_d10v_howto_table[] =
/* A relative 18 bit relocation, right shifted by 2 */
HOWTO (R_D10V_18_PCREL, /* type */
2, /* rightshift */
- 1, /* size (0 = byte, 1 = short, 2 = long) */
+ 2, /* size (0 = byte, 1 = short, 2 = long) */
18, /* bitsize */
true, /* pc_relative */
0, /* bitpos */