diff options
author | Alan Modra <amodra@gmail.com> | 2002-08-23 08:26:13 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-08-23 08:26:13 +0000 |
commit | c8614e8e65e99b4e65a89dce51cf7bec477c082d (patch) | |
tree | f7109ace5ae47a874385ddaddc31391137e1032d /bfd/ieee.c | |
parent | 30c8cc6872e801587323b4aa2e87c8233eb1e295 (diff) | |
download | gdb-c8614e8e65e99b4e65a89dce51cf7bec477c082d.zip gdb-c8614e8e65e99b4e65a89dce51cf7bec477c082d.tar.gz gdb-c8614e8e65e99b4e65a89dce51cf7bec477c082d.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/ieee.c')
0 files changed, 0 insertions, 0 deletions