From: Michael Meissner Date: Mon, 25 Sep 1995 20:07:26 +0000 (+0000) Subject: Fix previous change X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc47d19a93bdfa9ac0719e854993a1ca246214f0;p=binutils-gdb.git Fix previous change --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ca10f9a940e..bc47126deb5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Mon Sep 25 16:04:09 1995 Michael Meissner + + * elf32-ppc.c (ppc_elf_howto_raw): For all 14-bit branch relocs, + go back to telling the tools this reloc operates on 32 bits. + Mon Sep 25 11:48:02 1995 Ian Lance Taylor * libcoff-in.h (struct coff_section_tdata): Add offset, i, diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 241dc0df23a..61865a03ddd 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -240,7 +240,7 @@ static reloc_howto_type ppc_elf_howto_raw[] = FIXME: we don't check that, we just clear them. */ HOWTO (R_PPC_ADDR14, /* 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 */ @@ -257,7 +257,7 @@ static reloc_howto_type ppc_elf_howto_raw[] = bits must be zero. */ HOWTO (R_PPC_ADDR14_BRTAKEN, /* 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 */ @@ -274,7 +274,7 @@ static reloc_howto_type ppc_elf_howto_raw[] = two bits must be zero. */ HOWTO (R_PPC_ADDR14_BRNTAKEN, /* 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 */ @@ -304,7 +304,7 @@ static reloc_howto_type ppc_elf_howto_raw[] = /* A relative 16 bit branch; the lower two bits must be zero. */ HOWTO (R_PPC_REL14, /* type */ 0, /* rightshift */ - 1, /* size (0 = byte, 1 = short, 2 = long) */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ 16, /* bitsize */ true, /* pc_relative */ 0, /* bitpos */ @@ -321,7 +321,7 @@ static reloc_howto_type ppc_elf_howto_raw[] = zero. */ HOWTO (R_PPC_REL14_BRTAKEN, /* type */ 0, /* rightshift */ - 1, /* size (0 = byte, 1 = short, 2 = long) */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ 16, /* bitsize */ true, /* pc_relative */ 0, /* bitpos */ @@ -338,7 +338,7 @@ static reloc_howto_type ppc_elf_howto_raw[] = be zero. */ HOWTO (R_PPC_REL14_BRNTAKEN, /* type */ 0, /* rightshift */ - 1, /* size (0 = byte, 1 = short, 2 = long) */ + 2, /* size (0 = byte, 1 = short, 2 = long) */ 16, /* bitsize */ true, /* pc_relative */ 0, /* bitpos */