From c7e4034828d7cb7e6c862cacd5b268c4e13035e1 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 2 May 2001 18:14:31 +0000 Subject: Add gas and ld support for openrisc --- bfd/ChangeLog | 6 ++++++ bfd/elf32-openrisc.c | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'bfd') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8e6ab54..d910278 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2001-05-02 Johan Rydberg + + * elf32-openrisc.c (openrisc_elf_howto_table): Do not complain + about overflow in R_OPENRISC_LO_16_IN_INSN and + R_OPENRISC_HI_16_IN_INSN.Index: bfd/elf32-openrisc.c + 2001-04-30 H.J. Lu * elf.c (_bfd_elf_link_hash_hide_symbol): Set dynindx to -1 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 */ -- cgit v1.1