Revert "Fix encoding or OpenRisk1000 PC relative relocations."

This reverts commit dbac553d28.

	PR ld/18759
	* elf32-or1k.c: Revert 2015-08-11 change.
This commit is contained in:
Alan Modra 2015-08-12 19:07:26 +09:30
parent 92019596ba
commit 9b57267f4f
2 changed files with 8 additions and 3 deletions

View 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

View 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. */