1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00
modified:   stub/src/powerpc-linux.elf-entry.S
This commit is contained in:
John Reiser 2017-02-05 14:18:05 -08:00
parent 8486bff918
commit 00b8cba987

View File

@ -164,7 +164,7 @@ unfold:
mr 14,a0 // save address being allocated mr 14,a0 // save address being allocated
li 0,__NR_mmap li 0,__NR_mmap
sc sc
cmplw cr0,a0,14 cmplwi cr0,a0,14
beq alloc4 beq alloc4
b alloc64 b alloc64
/* try to allocate a 4k page - if failure then allocate 64k page */ /* try to allocate a 4k page - if failure then allocate 64k page */
@ -187,7 +187,7 @@ alloc4:
mr 23,a1 // save PAGE_SIZE value mr 23,a1 // save PAGE_SIZE value
mr 14,a0 // save address being allocated mr 14,a0 // save address being allocated
sc sc
cmpwi cr0,a0,14 // cmplwi cr0,a0,14 //
bne decomp bne decomp
b msg_SELinux // Branch if SummaryOverflow (failure) b msg_SELinux // Branch if SummaryOverflow (failure)
/* 64k page */ /* 64k page */