fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / sys / sysnecv850 / trap.S
blob9955572a3a50e19c6e2770fd4d98aca2a94e7afe
1         .text
2         .global ___trap0
3 ___trap0:
4         trap 31
5         tst r10,r10
6         bz .L0
7         movhi hi(_errno),r0,r6
8         st.w r10,lo(_errno)[r6]
9 .L0:
10         jmp [r31]