summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2009-06-16 01:57:39 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2009-06-16 01:57:39 +0000
commit6c4fb25ace9b05927a11917862e02dbb80bd773f (patch)
tree1abf3ee3d1b9dddab2e6dacf281288abef2fddd5
parent7b6021f1972b04daee9d9afd467be3e1782c2158 (diff)
downloadbinutils-gdb-6c4fb25ace9b05927a11917862e02dbb80bd773f.tar.gz
bfd/
* elf32-vax.c (elf_vax_plt_entry): Set the entry mask to include <R11:R2>.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-vax.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f9dbef78e96..59be932865a 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c
index 93cb1cb09c0..59f350161e8 100644
--- a/bfd/elf32-vax.c
+++ b/bfd/elf32-vax.c
@@ -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 */