mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +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 */
|
||||
|
||||
adr x0, .Linitparms
|
||||
adrp x0, .Linitparms
|
||||
add x0, x0, .Linitparms
|
||||
ldp x1, x2, [x0], #8
|
||||
|
||||
mov x0, #0
|
||||
|
||||
Reference in New Issue
Block a user