bfd/
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 16 Jun 2009 01:57:39 +0000 (01:57 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Tue, 16 Jun 2009 01:57:39 +0000 (01:57 +0000)
* elf32-vax.c (elf_vax_plt_entry): Set the entry mask to
include <R11:R2>.

bfd/ChangeLog
bfd/elf32-vax.c

index f9dbef7..59be932 100644 (file)
@@ -1,5 +1,10 @@
 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>
+
        * elf32-vax.c (elf_vax_check_relocs): Handle the visibility
        attribute.
        (elf_vax_relocate_section): Likewise.
index 93cb1cb..59f3501 100644 (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] =
 {
-  0x40, 0x00,          /* .word ^M<r6> */
+  0xfc, 0x0f,          /* .word ^M<r11:r2> */
   0x16,        0xef,           /* jsb L^(pc) */
   0, 0, 0, 0,          /* replaced with offset to start of .plt  */
   0, 0, 0, 0,          /* index into .rela.plt */