Revert "Fix encoding or OpenRisk1000 PC relative relocations."
authorAlan Modra <amodra@gmail.com>
Wed, 12 Aug 2015 09:37:26 +0000 (19:07 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 14 Aug 2015 01:32:59 +0000 (11:02 +0930)
This reverts commit dbac553d28887561e3f154654ec8e70195d89943.

PR ld/18759
* elf32-or1k.c: Revert 2015-08-11 change.

bfd/ChangeLog
bfd/elf32-or1k.c

index 9ba59027395639b67d051bc402c2f6ca9a60e7c8..09f765039be11901968e7ea24c92edaa5a0eba09 100644 (file)
@@ -1,3 +1,8 @@
+2015-08-14  Alan Modra  <amodra@gmail.com>
+
+       PR ld/18759
+       * elf32-or1k.c: Revert 2015-08-11 change.
+
 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/18801
index 7cb093caea5ccfad7ef7aff9f9496a1e7bf5491a..efcefea45425d7f91a9c90ad1c7474a3f8f5d8a1 100644 (file)
@@ -199,7 +199,7 @@ static reloc_howto_type or1k_elf_howto_table[] =
          FALSE,                 /* partial_inplace */
          0,                     /* src_mask */
          0xffffffff,            /* dst_mask */
-         TRUE),                 /* pcrel_offset */
+         FALSE),                /* pcrel_offset */
 
   HOWTO (R_OR1K_16_PCREL,
          0,                     /* rightshift */
@@ -213,7 +213,7 @@ static reloc_howto_type or1k_elf_howto_table[] =
          FALSE,                 /* partial_inplace */
          0,                     /* src_mask */
          0xffff,                /* dst_mask */
-         TRUE),                 /* pcrel_offset */
+         FALSE),                /* pcrel_offset */
 
   HOWTO (R_OR1K_8_PCREL,
          0,                     /* rightshift */
@@ -227,7 +227,7 @@ static reloc_howto_type or1k_elf_howto_table[] =
          FALSE,                 /* partial_inplace */
          0,                     /* src_mask */
          0xff,                  /* dst_mask */
-         TRUE),                 /* pcrel_offset */
+         FALSE),                /* pcrel_offset */
 
    HOWTO (R_OR1K_GOTPC_HI16,    /* Type.  */
          16,                    /* Rightshift.  */