Fix previous change
authorMichael Meissner <gnu@the-meissners.org>
Mon, 25 Sep 1995 20:07:26 +0000 (20:07 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Mon, 25 Sep 1995 20:07:26 +0000 (20:07 +0000)
bfd/ChangeLog
bfd/elf32-ppc.c

index ca10f9a..bc47126 100644 (file)
@@ -1,3 +1,8 @@
+Mon Sep 25 16:04:09 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * 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  <ian@cygnus.com>
 
        * libcoff-in.h (struct coff_section_tdata): Add offset, i,
index 241dc0d..61865a0 100644 (file)
@@ -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 */