Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
Fix BSS cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabla authored and misson20000 committed Jun 30, 2018
1 parent e732509 commit 5be2170
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/crt0.nro.S
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ IS_NRO:
start:
// clear .bss
adrp x5, __bss_start
add x5, x5, #:lo12:__bss_start
adrp x6, __bss_end
add x6, x6, #:lo12:__bss_end

bssloop:
cmp x5, x6
Expand Down
2 changes: 2 additions & 0 deletions lib/crt0.nso.S
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ IS_NRO:
start:
// clear .bss
adrp x5, __bss_start
add x5, x5, #:lo12:__bss_start
adrp x6, __bss_end
add x6, x6, #:lo12:__bss_end

bssloop:
cmp x5, x6
Expand Down

0 comments on commit 5be2170

Please sign in to comment.