mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
kernel: exec support for arm64 binaries
This commit is contained in:
parent
c6ad540af5
commit
0b5e782882
1 changed files with 3 additions and 0 deletions
|
@ -328,6 +328,9 @@ sysexec(va_list list)
|
|||
case V_MAGIC: /* 16K segment alignment for mips */
|
||||
align = 0x4000;
|
||||
break;
|
||||
case R_MAGIC: /* 64K segment alignment for arm64 */
|
||||
align = 0x10000;
|
||||
break;
|
||||
}
|
||||
if(text >= (USTKTOP-USTKSIZE)-(UTZERO+sizeof(Exec))
|
||||
|| entry < UTZERO+sizeof(Exec)
|
||||
|
|
Loading…
Reference in a new issue