* elf32-vax.c (elf_vax_plt_entry): Set the entry mask to
include <R11:R2>.
This commit is contained in:
Maciej W. Rozycki 2009-06-16 01:57:39 +00:00
parent 7b6021f197
commit 6c4fb25ace
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
* elf32-vax.c (elf_vax_plt_entry): Set the entry mask to
include <R11:R2>.
2009-06-16 Maciej W. Rozycki <macro@linux-mips.org> 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
* elf32-vax.c (elf_vax_check_relocs): Handle the visibility * elf32-vax.c (elf_vax_check_relocs): Handle the visibility

View File

@ -368,7 +368,7 @@ static const bfd_byte elf_vax_plt0_entry[PLT_ENTRY_SIZE] =
static const bfd_byte elf_vax_plt_entry[PLT_ENTRY_SIZE] = static const bfd_byte elf_vax_plt_entry[PLT_ENTRY_SIZE] =
{ {
0x40, 0x00, /* .word ^M<r6> */ 0xfc, 0x0f, /* .word ^M<r11:r2> */
0x16, 0xef, /* jsb L^(pc) */ 0x16, 0xef, /* jsb L^(pc) */
0, 0, 0, 0, /* replaced with offset to start of .plt */ 0, 0, 0, 0, /* replaced with offset to start of .plt */
0, 0, 0, 0, /* index into .rela.plt */ 0, 0, 0, 0, /* index into .rela.plt */