mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-14 17:59:28 +08:00
14 lines
128 B
ArmAsm
14 lines
128 B
ArmAsm
|
.text
|
||
|
.global ___trap0
|
||
|
___trap0:
|
||
|
syscall
|
||
|
cmp 0,d0
|
||
|
beq .L0
|
||
|
mov d0,(_errno)
|
||
|
.L0:
|
||
|
#ifdef __mn10300__
|
||
|
rets
|
||
|
#else
|
||
|
rts
|
||
|
#endif
|