diff --git a/src/stub/src/amd64-linux.elf-main.c b/src/stub/src/amd64-linux.elf-main.c index 317a36f7..c7125878 100644 --- a/src/stub/src/amd64-linux.elf-main.c +++ b/src/stub/src/amd64-linux.elf-main.c @@ -296,7 +296,7 @@ make_hatch_ppc64( hatch[2]= 0x38800000; // li r4,0 hatch[3]= 0x4e800020; // blr if (xprot) { - Pprotect(hatch, 3*sizeof(unsigned), PROT_EXEC|PROT_READ); + Pprotect(hatch, 4*sizeof(unsigned), PROT_EXEC|PROT_READ); } } else { diff --git a/src/stub/src/arm64-linux.elf-so_entry.S b/src/stub/src/arm64-linux.elf-so_entry.S index 92b2525b..421ac094 100644 --- a/src/stub/src/arm64-linux.elf-so_entry.S +++ b/src/stub/src/arm64-linux.elf-so_entry.S @@ -93,7 +93,7 @@ arg6w .req w5 .balign 4 _start: .globl _start - bkpt // DEBUG + bkpt // DEBUG // ??? PUSH4 (x0,x1,x2,lr) // MATCH_00 sub sp,sp,#2*NBPW // space for ADRU, LENU