Merge branch 'fix_aarch64_sp_align' into 'master'

aarch64: align sp in _start

See merge request redox-os/relibc!412
This commit is contained in:
Jeremy Soller
2023-07-07 13:53:17 +00:00
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -11,6 +11,7 @@ global_asm!(
.globl _start
_start:
mov x0, sp
and sp, x0, #0xfffffffffffffff0 //align sp
bl relibc_start
"
);
+1
View File
@@ -9,6 +9,7 @@ global_asm!(
.globl _start
_start:
mov x0, sp
and sp, x0, #0xfffffffffffffff0 //align sp
bl relibc_ld_so_start
# TODO: aarch64
udf #0