repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fixes for host gcc 4.6.1
[zpugcc/jano.git]
/
toolchain
/
gcc
/
newlib
/
libc
/
machine
/
h8500
/
setjmp.S
blob
4b25fc0c92875c344f89fc42c5c9c52b1832416d
1
!
2
.file "setjmp.S"
3
.section .text
4
5
.global _setjmp
6
_setjmp:
7
mov.w r7,@r0+
8
mov.w r6,@r0+
9
mov.w r5,@r0+
10
mov.w @sp,r1
11
mov.w r1,@r0
12
clr.w r0
13
rts
14
15
.global _longjmp
16
_longjmp:
17
mov.w @r0+,r7
18
mov.w @r0+,r6
19
mov.w @r0+,r5
20
mov.w @r0,r2
21
mov.w r2,@sp
22
mov.w r1,r0
23
tst.w r0
24
bne .L1
25
mov.w #1,r0
26
.L1:
27
rts