blob: 177964e9044924652a422a134709a229033181a7 [file] [log] [blame]
Stefan Kristiansson200d1542014-07-17 22:09:10 +03001.global __syscall
Rich Felker7405cd12015-04-14 13:48:20 -04002.hidden __syscall
Stefan Kristiansson200d1542014-07-17 22:09:10 +03003.type __syscall,@function
4__syscall:
5 l.ori r11, r3, 0
6 l.lwz r3, 0(r1)
7 l.lwz r4, 4(r1)
8 l.lwz r5, 8(r1)
9 l.lwz r6, 12(r1)
10 l.lwz r7, 16(r1)
11 l.lwz r8, 20(r1)
12 l.sys 1
13 l.jr r9
14 l.nop