fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / sys / a29khif / stubs.s
blobe0b29bc7776260652651830ffb379a7a6ad7d189
3 ; File of stubs so that unix applications can link into a HIF monitor
5 ; sac@cygnus.com
7 .text
9 .global _sysalloc
10 _sysalloc:
11 const gr121,__sysalloc
12 consth gr121,__sysalloc
13 jmpi gr121
15 .global _sysfree
16 _sysfree:
17 const gr121,__sysfree
18 consth gr121,__sysfree
19 jmpi gr121
22 .global _cycles
23 _cycles:
24 const gr121,__cycles
25 consth gr121,__cycles
26 jmpi gr121
28 ; .global _exit
29 ;_exit:
30 ; const gr121,__exit
31 ; consth gr121,__exit
32 ; jmpi gr121
34 .global _getpsiz
35 _getpsiz:
36 const gr121,__getpsiz
37 consth gr121,__getpsiz
38 jmpi gr121
40 .global _gettz
41 _gettz:
42 const gr121,__gettz
43 consth gr121,__gettz
44 jmpi gr121
46 .global _ioctl
47 _ioctl:
48 const gr121,__ioctl
49 consth gr121,__ioctl
50 jmpi gr121
53 .global _iowait
54 _iowait:
55 const gr121,__iowait
56 consth gr121,__iowait
57 jmpi gr121
60 ;; syscalls used now -- .global _open
61 ;; syscalls used now -- _open:
62 ;; syscalls used now -- const gr121,__open
63 ;; syscalls used now -- consth gr121,__open
64 ;; syscalls used now -- jmpi gr121
66 .global _query
67 _query:
68 const gr121,__query
69 consth gr121,__query
70 jmpi gr121
73 .global _setim
74 _setim:
75 const gr121,__setim
76 consth gr121,__setim
77 jmpi gr121
79 .global _settrap
80 _settrap:
81 const gr121,__settrap
82 consth gr121,__settrap
83 jmpi gr121
85 .global _setvec
86 _setvec:
87 const gr121,__setvec
88 consth gr121,__setvec
89 jmpi gr121
91 .global _getargs
92 _getargs:
93 const gr121,__getargs
94 consth gr121,__getargs
95 jmpi gr121
97 ;; syscalls used now -- .global _unlink
98 ;; syscalls used now -- _unlink:
99 ;; syscalls used now -- const gr121,__unlink
100 ;; syscalls used now -- consth gr121,__unlink
101 ;; syscalls used now -- jmpi gr121
103 .global _sigret
104 _sigret:
105 const gr121,__sigret
106 consth gr121,__sigret
107 jmpi gr121
109 .global _sigdfl
110 _sigdfl:
111 const gr121,__sigdfl
112 consth gr121,__sigdfl
113 jmpi gr121
115 .global _sigrep
116 _sigrep:
117 const gr121,__sigrep
118 consth gr121,__sigrep
119 jmpi gr121
121 .global _sigskp
122 _sigskp:
123 const gr121,__sigskp
124 consth gr121,__sigskp
125 jmpi gr121
127 .global _sendsig
128 _sendsig:
129 const gr121,__sendsig
130 consth gr121,__sendsig
131 jmpi gr121
133 ; fill this jmpi delay slot
134 ; the others are not done since they do not matter
135 constn lr0,-1