this caused the dynamic linker/startup code to abort when r0 happened to contain a negative value.
7 lines
113 B
ArmAsm
7 lines
113 B
ArmAsm
.global __set_thread_area
|
|
.type __set_thread_area, @function
|
|
__set_thread_area:
|
|
ldc r4, gbr
|
|
rts
|
|
mov #0, r0
|