mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
* elf64-sparc.c (sparc64_elf_build_plt): Fix .plt[32768+] slot
computation.
This commit is contained in:
parent
5d5849d7b5
commit
e62de969f0
@ -1,3 +1,8 @@
|
||||
2001-09-25 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* elf64-sparc.c (sparc64_elf_build_plt): Fix .plt[32768+] slot
|
||||
computation.
|
||||
|
||||
2001-09-25 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* bfd-in2.h: Regenerated.
|
||||
|
@ -921,8 +921,8 @@ sparc64_elf_build_plt (output_bfd, contents, nentries)
|
||||
entry = contents + i*PLT_ENTRY_SIZE + j*4*6;
|
||||
ptr = contents + i*PLT_ENTRY_SIZE + block*4*6 + j*8;
|
||||
|
||||
/* ldx [%o7 + ptr - entry+4], %g1 */
|
||||
ldx = 0xc25be000 | ((ptr - entry+4) & 0x1fff);
|
||||
/* ldx [%o7 + ptr - (entry+4)], %g1 */
|
||||
ldx = 0xc25be000 | ((ptr - (entry+4)) & 0x1fff);
|
||||
|
||||
/* mov %o7,%g5
|
||||
call .+8
|
||||
|
Loading…
Reference in New Issue
Block a user