aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-or1k.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-08-12 19:07:26 +0930
committerAlan Modra <amodra@gmail.com>2015-08-14 11:02:59 +0930
commit9b57267f4ffa4f8a168f89630a4b68fb51a419de (patch)
tree7156af03c3bc3088750ca9c2f4540b78d047d5f7 /bfd/elf32-or1k.c
parent92019596ba7df7156ac634abf3ae82738dc5ba55 (diff)
downloadgdb-9b57267f4ffa4f8a168f89630a4b68fb51a419de.zip
gdb-9b57267f4ffa4f8a168f89630a4b68fb51a419de.tar.gz
gdb-9b57267f4ffa4f8a168f89630a4b68fb51a419de.tar.bz2
Revert "Fix encoding or OpenRisk1000 PC relative relocations."
This reverts commit dbac553d28887561e3f154654ec8e70195d89943. PR ld/18759 * elf32-or1k.c: Revert 2015-08-11 change.
Diffstat (limited to 'bfd/elf32-or1k.c')
-rw-r--r--bfd/elf32-or1k.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c
index 7cb093c..efcefea 100644
--- a/bfd/elf32-or1k.c
+++ b/bfd/elf32-or1k.c
@@ -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. */