Fixed semihosting for ARM when heapinfo not provided by debugger.
This commit is contained in:
parent
60f867812c
commit
5c9403eaf4
@ -125,9 +125,11 @@
|
||||
|
||||
/* Set __heap_limit. */
|
||||
ldr r1, [r0, #4]
|
||||
cmp r1, #0
|
||||
beq .LC33
|
||||
ldr r2, =__heap_limit
|
||||
str r1, [r2]
|
||||
|
||||
.LC33:
|
||||
ldr r1, [r0, #0]
|
||||
cmp r1, #0
|
||||
bne .LC32
|
||||
|
Loading…
x
Reference in New Issue
Block a user