aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-openrisc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-05-02 18:14:31 +0000
committerNick Clifton <nickc@redhat.com>2001-05-02 18:14:31 +0000
commitc7e4034828d7cb7e6c862cacd5b268c4e13035e1 (patch)
treea335c56efa6e2080699749cacb5b7bf2760bc60a /bfd/elf32-openrisc.c
parentd1b2b2dcb9990cc1b113ce35fe9ebe120d34b1c3 (diff)
downloadgdb-c7e4034828d7cb7e6c862cacd5b268c4e13035e1.zip
gdb-c7e4034828d7cb7e6c862cacd5b268c4e13035e1.tar.gz
gdb-c7e4034828d7cb7e6c862cacd5b268c4e13035e1.tar.bz2
Add gas and ld support for openrisc
Diffstat (limited to 'bfd/elf32-openrisc.c')
-rw-r--r--bfd/elf32-openrisc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/elf32-openrisc.c b/bfd/elf32-openrisc.c
index a6c1a00..54fd69c 100644
--- a/bfd/elf32-openrisc.c
+++ b/bfd/elf32-openrisc.c
@@ -94,29 +94,29 @@ static reloc_howto_type openrisc_elf_howto_table[] =
HOWTO (R_OPENRISC_LO_16_IN_INSN, /* type */
0, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
+ 1, /* size (0 = byte, 1 = short, 2 = long) */
16, /* bitsize */
false, /* pc_relative */
0, /* bitpos */
- complain_overflow_bitfield, /* complain_on_overflow */
+ complain_overflow_dont, /* complain_on_overflow */
bfd_elf_generic_reloc, /* special_function */
"R_OPENRISC_LO_16_IN_INSN", /* name */
false, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
false), /* pcrel_offset */
HOWTO (R_OPENRISC_HI_16_IN_INSN, /* type */
16, /* rightshift */
- 2, /* size (0 = byte, 1 = short, 2 = long) */
+ 1, /* size (0 = byte, 1 = short, 2 = long) */
16, /* bitsize */
false, /* pc_relative */
0, /* bitpos */
- complain_overflow_bitfield, /* complain_on_overflow */
+ complain_overflow_dont, /* complain_on_overflow */
bfd_elf_generic_reloc, /* special_function */
"R_OPENRISC_HI_16_IN_INSN", /* name */
false, /* partial_inplace */
- 0x0000ffff, /* src_mask */
+ 0, /* src_mask */
0x0000ffff, /* dst_mask */
false), /* pcrel_offset */