diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2009-06-16 01:57:39 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2009-06-16 01:57:39 +0000 |
commit | 6c4fb25ace9b05927a11917862e02dbb80bd773f (patch) | |
tree | 1abf3ee3d1b9dddab2e6dacf281288abef2fddd5 /bfd | |
parent | 7b6021f1972b04daee9d9afd467be3e1782c2158 (diff) | |
download | gdb-6c4fb25ace9b05927a11917862e02dbb80bd773f.zip gdb-6c4fb25ace9b05927a11917862e02dbb80bd773f.tar.gz gdb-6c4fb25ace9b05927a11917862e02dbb80bd773f.tar.bz2 |
bfd/
* elf32-vax.c (elf_vax_plt_entry): Set the entry mask to
include <R11:R2>.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-vax.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f9dbef7..59be932 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 93cb1cb..59f3501 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 */ |