mirror of https://github.com/ARMmbed/mbed-os.git
More fix for uARM build to avoid link error
parent
b4de4503a8
commit
b172cd866c
|
@ -205,33 +205,10 @@ PIOINT0_IRQHandler
|
||||||
|
|
||||||
ENDP
|
ENDP
|
||||||
|
|
||||||
|
|
||||||
ALIGN
|
ALIGN
|
||||||
|
|
||||||
|
; @toyowata removed "User Initial Stack & Heap" block here,
|
||||||
; User Initial Stack & Heap
|
; since arm.py script doesn't pass -D__MICROLIB definision to armasm.
|
||||||
|
; Now, required symbols (__initial_sp etc) were exported in this code.
|
||||||
IF :DEF:__MICROLIB
|
|
||||||
|
|
||||||
EXPORT __initial_sp
|
|
||||||
EXPORT __heap_base
|
|
||||||
EXPORT __heap_limit
|
|
||||||
|
|
||||||
ELSE
|
|
||||||
|
|
||||||
IMPORT __use_two_region_memory
|
|
||||||
EXPORT __user_initial_stackheap
|
|
||||||
__user_initial_stackheap
|
|
||||||
|
|
||||||
LDR R0, = Heap_Mem
|
|
||||||
LDR R1, =(Stack_Mem + Stack_Size)
|
|
||||||
LDR R2, = (Heap_Mem + Heap_Size)
|
|
||||||
LDR R3, = Stack_Mem
|
|
||||||
BX LR
|
|
||||||
|
|
||||||
ALIGN
|
|
||||||
|
|
||||||
ENDIF
|
|
||||||
|
|
||||||
|
|
||||||
END
|
END
|
||||||
|
|
Loading…
Reference in New Issue