mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
arch/arm64: use adrp instead adr in bss init code
To support address offset larger than 1MB Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
6a220a08ba
commit
59450bf9a9
@@ -364,7 +364,8 @@ arm64_data_initialize:
|
|||||||
|
|
||||||
/* Zero BSS */
|
/* Zero BSS */
|
||||||
|
|
||||||
adr x0, .Linitparms
|
adrp x0, .Linitparms
|
||||||
|
add x0, x0, .Linitparms
|
||||||
ldp x1, x2, [x0], #8
|
ldp x1, x2, [x0], #8
|
||||||
|
|
||||||
mov x0, #0
|
mov x0, #0
|
||||||
|
|||||||
Reference in New Issue
Block a user