MFNetBSD: src/libexec/ld.elf_so/arch/sparc64/mdreloc.c 1.26 (partial)
Fix an obvious bug in the 64-bit PLT fixup: the SLLX was by 12 bits, when it should be 32. MFC after: 1 month
This commit is contained in:
parent
fa5b9b6f64
commit
8698905073
@ -649,7 +649,7 @@ reloc_jmpslot(Elf_Addr *wherep, Elf_Addr target, const Obj_Entry *obj,
|
||||
flush(where, 24);
|
||||
where[5] = ORG5;
|
||||
flush(where, 20);
|
||||
where[4] = SLLX | 12;
|
||||
where[4] = SLLX | 32;
|
||||
flush(where, 16);
|
||||
where[3] = OR | LOVAL((target) >> 32);
|
||||
flush(where, 12);
|
||||
|
Loading…
Reference in New Issue
Block a user