Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
xzn committed Feb 3, 2024
1 parent 76b3fe9 commit 8c45305
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/bootloader.s
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ STMFD SP!, {R0}
LDR R6, =_Reset
ADR R5, _Reset
sub r5, r5, r6 /* r5 = realAddress - baseAddress */
ldr r6, = __rel_dyn_start
ldr r7, = __rel_dyn_end
ldr r6, =__rel_dyn_start
ldr r7, =__rel_dyn_end
add r6, r6, r5
add r7, r7, r5
relocNotFinished:
Expand All @@ -46,7 +46,7 @@ nop
nop

mov r0, sp
bl c_entry
bl c_entry

ldmfd sp!, {r0}
msr cpsr, r0
Expand Down

0 comments on commit 8c45305

Please sign in to comment.