* elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le): Copy
authorAlan Modra <amodra@gmail.com>
Fri, 23 Aug 2002 08:26:13 +0000 (08:26 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 23 Aug 2002 08:26:13 +0000 (08:26 +0000)
commitc8614e8e65e99b4e65a89dce51cf7bec477c082d
treef7109ace5ae47a874385ddaddc31391137e1032d
parent30c8cc6872e801587323b4aa2e87c8233eb1e295
* elf32-sh.c (elf_sh_plt0_entry_be, elf_sh_plt0_entry_le): Copy
contents of .got.plt[2] to tr0, not address of .got.plt.
(sh_elf_finish_dynamic_symbol): Do not apply GOT_BIAS when
patching absolute plt entry. For shmedia plt entry, set bottom bit
of branch to plt0 as this is a branch to an shmedia instruction.
* elf64-sh64.c (elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le):
Copy contents of .got.plt[2] to tr0, not address of .got.plt.
(elf_sh64_plt_entry_be, elf_sh64_plt_entry_le): Use ptrel to
branch to plt0.
(sh64_elf64_finish_dynamic_symbol): Do not apply GOT_BIAS when
patching absolute plt entry. For shmedia plt entry, branch to
plt0 is now ptrel, so use relative offset.  Set bottom bit of
branch target as it is a branch to an shmedia instruction.
bfd/ChangeLog
bfd/elf32-sh.c
bfd/elf64-sh64.c
This page took 0.026014 seconds and 4 git commands to generate.