aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/compat_wrapper.S
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2006-09-28 10:56:37 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-09-28 10:56:37 -0400
commit25d83cbfaa44e1b9170c0941c3ef52ca39f54ccc (patch)
tree30d9bbc0a1051b837313edfafc40ffa6c5fbfedc /arch/s390/kernel/compat_wrapper.S
parent52149ba6b0ddf3e9d965257cc0513193650b3ea8 (diff)
[S390] Whitespace cleanup.
Huge s390 assembly files whitespace cleanup. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/compat_wrapper.S')
-rw-r--r--arch/s390/kernel/compat_wrapper.S442
1 files changed, 221 insertions, 221 deletions
diff --git a/arch/s390/kernel/compat_wrapper.S b/arch/s390/kernel/compat_wrapper.S
index 4d53b2739357..4aabeeaa7cf7 100644
--- a/arch/s390/kernel/compat_wrapper.S
+++ b/arch/s390/kernel/compat_wrapper.S
@@ -4,97 +4,97 @@
4* 4*
5* Copyright (C) IBM Corp. 2000,2006 5* Copyright (C) IBM Corp. 2000,2006
6* Author(s): Gerhard Tonn (ton@de.ibm.com), 6* Author(s): Gerhard Tonn (ton@de.ibm.com),
7* Thomas Spatzier (tspat@de.ibm.com) 7* Thomas Spatzier (tspat@de.ibm.com)
8*/ 8*/
9 9
10 .globl sys32_exit_wrapper 10 .globl sys32_exit_wrapper
11sys32_exit_wrapper: 11sys32_exit_wrapper:
12 lgfr %r2,%r2 # int 12 lgfr %r2,%r2 # int
13 jg sys_exit # branch to sys_exit 13 jg sys_exit # branch to sys_exit
14 14
15 .globl sys32_read_wrapper 15 .globl sys32_read_wrapper
16sys32_read_wrapper: 16sys32_read_wrapper:
17 llgfr %r2,%r2 # unsigned int 17 llgfr %r2,%r2 # unsigned int
18 llgtr %r3,%r3 # char * 18 llgtr %r3,%r3 # char *
19 llgfr %r4,%r4 # size_t 19 llgfr %r4,%r4 # size_t
20 jg sys32_read # branch to sys_read 20 jg sys32_read # branch to sys_read
21 21
22 .globl sys32_write_wrapper 22 .globl sys32_write_wrapper
23sys32_write_wrapper: 23sys32_write_wrapper:
24 llgfr %r2,%r2 # unsigned int 24 llgfr %r2,%r2 # unsigned int
25 llgtr %r3,%r3 # const char * 25 llgtr %r3,%r3 # const char *
26 llgfr %r4,%r4 # size_t 26 llgfr %r4,%r4 # size_t
27 jg sys32_write # branch to system call 27 jg sys32_write # branch to system call
28 28
29 .globl sys32_open_wrapper 29 .globl sys32_open_wrapper
30sys32_open_wrapper: 30sys32_open_wrapper:
31 llgtr %r2,%r2 # const char * 31 llgtr %r2,%r2 # const char *
32 lgfr %r3,%r3 # int 32 lgfr %r3,%r3 # int
33 lgfr %r4,%r4 # int 33 lgfr %r4,%r4 # int
34 jg sys_open # branch to system call 34 jg sys_open # branch to system call
35 35
36 .globl sys32_close_wrapper 36 .globl sys32_close_wrapper
37sys32_close_wrapper: 37sys32_close_wrapper:
38 llgfr %r2,%r2 # unsigned int 38 llgfr %r2,%r2 # unsigned int
39 jg sys_close # branch to system call 39 jg sys_close # branch to system call
40 40
41 .globl sys32_creat_wrapper 41 .globl sys32_creat_wrapper
42sys32_creat_wrapper: 42sys32_creat_wrapper:
43 llgtr %r2,%r2 # const char * 43 llgtr %r2,%r2 # const char *
44 lgfr %r3,%r3 # int 44 lgfr %r3,%r3 # int
45 jg sys_creat # branch to system call 45 jg sys_creat # branch to system call
46 46
47 .globl sys32_link_wrapper 47 .globl sys32_link_wrapper
48sys32_link_wrapper: 48sys32_link_wrapper:
49 llgtr %r2,%r2 # const char * 49 llgtr %r2,%r2 # const char *
50 llgtr %r3,%r3 # const char * 50 llgtr %r3,%r3 # const char *
51 jg sys_link # branch to system call 51 jg sys_link # branch to system call
52 52
53 .globl sys32_unlink_wrapper 53 .globl sys32_unlink_wrapper
54sys32_unlink_wrapper: 54sys32_unlink_wrapper:
55 llgtr %r2,%r2 # const char * 55 llgtr %r2,%r2 # const char *
56 jg sys_unlink # branch to system call 56 jg sys_unlink # branch to system call
57 57
58 .globl sys32_chdir_wrapper 58 .globl sys32_chdir_wrapper
59sys32_chdir_wrapper: 59sys32_chdir_wrapper:
60 llgtr %r2,%r2 # const char * 60 llgtr %r2,%r2 # const char *
61 jg sys_chdir # branch to system call 61 jg sys_chdir # branch to system call
62 62
63 .globl sys32_time_wrapper 63 .globl sys32_time_wrapper
64sys32_time_wrapper: 64sys32_time_wrapper:
65 llgtr %r2,%r2 # int * 65 llgtr %r2,%r2 # int *
66 jg compat_sys_time # branch to system call 66 jg compat_sys_time # branch to system call
67 67
68 .globl sys32_mknod_wrapper 68 .globl sys32_mknod_wrapper
69sys32_mknod_wrapper: 69sys32_mknod_wrapper:
70 llgtr %r2,%r2 # const char * 70 llgtr %r2,%r2 # const char *
71 lgfr %r3,%r3 # int 71 lgfr %r3,%r3 # int
72 llgfr %r4,%r4 # dev 72 llgfr %r4,%r4 # dev
73 jg sys_mknod # branch to system call 73 jg sys_mknod # branch to system call
74 74
75 .globl sys32_chmod_wrapper 75 .globl sys32_chmod_wrapper
76sys32_chmod_wrapper: 76sys32_chmod_wrapper:
77 llgtr %r2,%r2 # const char * 77 llgtr %r2,%r2 # const char *
78 llgfr %r3,%r3 # mode_t 78 llgfr %r3,%r3 # mode_t
79 jg sys_chmod # branch to system call 79 jg sys_chmod # branch to system call
80 80
81 .globl sys32_lchown16_wrapper 81 .globl sys32_lchown16_wrapper
82sys32_lchown16_wrapper: 82sys32_lchown16_wrapper:
83 llgtr %r2,%r2 # const char * 83 llgtr %r2,%r2 # const char *
84 llgfr %r3,%r3 # __kernel_old_uid_emu31_t 84 llgfr %r3,%r3 # __kernel_old_uid_emu31_t
85 llgfr %r4,%r4 # __kernel_old_uid_emu31_t 85 llgfr %r4,%r4 # __kernel_old_uid_emu31_t
86 jg sys32_lchown16 # branch to system call 86 jg sys32_lchown16 # branch to system call
87 87
88 .globl sys32_lseek_wrapper 88 .globl sys32_lseek_wrapper
89sys32_lseek_wrapper: 89sys32_lseek_wrapper:
90 llgfr %r2,%r2 # unsigned int 90 llgfr %r2,%r2 # unsigned int
91 lgfr %r3,%r3 # off_t 91 lgfr %r3,%r3 # off_t
92 llgfr %r4,%r4 # unsigned int 92 llgfr %r4,%r4 # unsigned int
93 jg sys_lseek # branch to system call 93 jg sys_lseek # branch to system call
94 94
95#sys32_getpid_wrapper # void 95#sys32_getpid_wrapper # void
96 96
97 .globl sys32_mount_wrapper 97 .globl sys32_mount_wrapper
98sys32_mount_wrapper: 98sys32_mount_wrapper:
99 llgtr %r2,%r2 # char * 99 llgtr %r2,%r2 # char *
100 llgtr %r3,%r3 # char * 100 llgtr %r3,%r3 # char *
@@ -103,19 +103,19 @@ sys32_mount_wrapper:
103 llgtr %r6,%r6 # void * 103 llgtr %r6,%r6 # void *
104 jg compat_sys_mount # branch to system call 104 jg compat_sys_mount # branch to system call
105 105
106 .globl sys32_oldumount_wrapper 106 .globl sys32_oldumount_wrapper
107sys32_oldumount_wrapper: 107sys32_oldumount_wrapper:
108 llgtr %r2,%r2 # char * 108 llgtr %r2,%r2 # char *
109 jg sys_oldumount # branch to system call 109 jg sys_oldumount # branch to system call
110 110
111 .globl sys32_setuid16_wrapper 111 .globl sys32_setuid16_wrapper
112sys32_setuid16_wrapper: 112sys32_setuid16_wrapper:
113 llgfr %r2,%r2 # __kernel_old_uid_emu31_t 113 llgfr %r2,%r2 # __kernel_old_uid_emu31_t
114 jg sys32_setuid16 # branch to system call 114 jg sys32_setuid16 # branch to system call
115 115
116#sys32_getuid16_wrapper # void 116#sys32_getuid16_wrapper # void
117 117
118 .globl sys32_ptrace_wrapper 118 .globl sys32_ptrace_wrapper
119sys32_ptrace_wrapper: 119sys32_ptrace_wrapper:
120 lgfr %r2,%r2 # long 120 lgfr %r2,%r2 # long
121 lgfr %r3,%r3 # long 121 lgfr %r3,%r3 # long
@@ -123,168 +123,168 @@ sys32_ptrace_wrapper:
123 llgfr %r5,%r5 # long 123 llgfr %r5,%r5 # long
124 jg sys_ptrace # branch to system call 124 jg sys_ptrace # branch to system call
125 125
126 .globl sys32_alarm_wrapper 126 .globl sys32_alarm_wrapper
127sys32_alarm_wrapper: 127sys32_alarm_wrapper:
128 llgfr %r2,%r2 # unsigned int 128 llgfr %r2,%r2 # unsigned int
129 jg sys_alarm # branch to system call 129 jg sys_alarm # branch to system call
130 130
131#sys32_pause_wrapper # void 131#sys32_pause_wrapper # void
132 132
133 .globl compat_sys_utime_wrapper 133 .globl compat_sys_utime_wrapper
134compat_sys_utime_wrapper: 134compat_sys_utime_wrapper:
135 llgtr %r2,%r2 # char * 135 llgtr %r2,%r2 # char *
136 llgtr %r3,%r3 # struct compat_utimbuf * 136 llgtr %r3,%r3 # struct compat_utimbuf *
137 jg compat_sys_utime # branch to system call 137 jg compat_sys_utime # branch to system call
138 138
139 .globl sys32_access_wrapper 139 .globl sys32_access_wrapper
140sys32_access_wrapper: 140sys32_access_wrapper:
141 llgtr %r2,%r2 # const char * 141 llgtr %r2,%r2 # const char *
142 lgfr %r3,%r3 # int 142 lgfr %r3,%r3 # int
143 jg sys_access # branch to system call 143 jg sys_access # branch to system call
144 144
145 .globl sys32_nice_wrapper 145 .globl sys32_nice_wrapper
146sys32_nice_wrapper: 146sys32_nice_wrapper:
147 lgfr %r2,%r2 # int 147 lgfr %r2,%r2 # int
148 jg sys_nice # branch to system call 148 jg sys_nice # branch to system call
149 149
150#sys32_sync_wrapper # void 150#sys32_sync_wrapper # void
151 151
152 .globl sys32_kill_wrapper 152 .globl sys32_kill_wrapper
153sys32_kill_wrapper: 153sys32_kill_wrapper:
154 lgfr %r2,%r2 # int 154 lgfr %r2,%r2 # int
155 lgfr %r3,%r3 # int 155 lgfr %r3,%r3 # int
156 jg sys_kill # branch to system call 156 jg sys_kill # branch to system call
157 157
158 .globl sys32_rename_wrapper 158 .globl sys32_rename_wrapper
159sys32_rename_wrapper: 159sys32_rename_wrapper:
160 llgtr %r2,%r2 # const char * 160 llgtr %r2,%r2 # const char *
161 llgtr %r3,%r3 # const char * 161 llgtr %r3,%r3 # const char *
162 jg sys_rename # branch to system call 162 jg sys_rename # branch to system call
163 163
164 .globl sys32_mkdir_wrapper 164 .globl sys32_mkdir_wrapper
165sys32_mkdir_wrapper: 165sys32_mkdir_wrapper:
166 llgtr %r2,%r2 # const char * 166 llgtr %r2,%r2 # const char *
167 lgfr %r3,%r3 # int 167 lgfr %r3,%r3 # int
168 jg sys_mkdir # branch to system call 168 jg sys_mkdir # branch to system call
169 169
170 .globl sys32_rmdir_wrapper 170 .globl sys32_rmdir_wrapper
171sys32_rmdir_wrapper: 171sys32_rmdir_wrapper:
172 llgtr %r2,%r2 # const char * 172 llgtr %r2,%r2 # const char *
173 jg sys_rmdir # branch to system call 173 jg sys_rmdir # branch to system call
174 174
175 .globl sys32_dup_wrapper 175 .globl sys32_dup_wrapper
176sys32_dup_wrapper: 176sys32_dup_wrapper:
177 llgfr %r2,%r2 # unsigned int 177 llgfr %r2,%r2 # unsigned int
178 jg sys_dup # branch to system call 178 jg sys_dup # branch to system call
179 179
180 .globl sys32_pipe_wrapper 180 .globl sys32_pipe_wrapper
181sys32_pipe_wrapper: 181sys32_pipe_wrapper:
182 llgtr %r2,%r2 # u32 * 182 llgtr %r2,%r2 # u32 *
183 jg sys_pipe # branch to system call 183 jg sys_pipe # branch to system call
184 184
185 .globl compat_sys_times_wrapper 185 .globl compat_sys_times_wrapper
186compat_sys_times_wrapper: 186compat_sys_times_wrapper:
187 llgtr %r2,%r2 # struct compat_tms * 187 llgtr %r2,%r2 # struct compat_tms *
188 jg compat_sys_times # branch to system call 188 jg compat_sys_times # branch to system call
189 189
190 .globl sys32_brk_wrapper 190 .globl sys32_brk_wrapper
191sys32_brk_wrapper: 191sys32_brk_wrapper:
192 llgtr %r2,%r2 # unsigned long 192 llgtr %r2,%r2 # unsigned long
193 jg sys_brk # branch to system call 193 jg sys_brk # branch to system call
194 194
195 .globl sys32_setgid16_wrapper 195 .globl sys32_setgid16_wrapper
196sys32_setgid16_wrapper: 196sys32_setgid16_wrapper:
197 llgfr %r2,%r2 # __kernel_old_gid_emu31_t 197 llgfr %r2,%r2 # __kernel_old_gid_emu31_t
198 jg sys32_setgid16 # branch to system call 198 jg sys32_setgid16 # branch to system call
199 199
200#sys32_getgid16_wrapper # void 200#sys32_getgid16_wrapper # void
201 201
202 .globl sys32_signal_wrapper 202 .globl sys32_signal_wrapper
203sys32_signal_wrapper: 203sys32_signal_wrapper:
204 lgfr %r2,%r2 # int 204 lgfr %r2,%r2 # int
205 llgtr %r3,%r3 # __sighandler_t 205 llgtr %r3,%r3 # __sighandler_t
206 jg sys_signal 206 jg sys_signal
207 207
208#sys32_geteuid16_wrapper # void 208#sys32_geteuid16_wrapper # void
209 209
210#sys32_getegid16_wrapper # void 210#sys32_getegid16_wrapper # void
211 211
212 .globl sys32_acct_wrapper 212 .globl sys32_acct_wrapper
213sys32_acct_wrapper: 213sys32_acct_wrapper:
214 llgtr %r2,%r2 # char * 214 llgtr %r2,%r2 # char *
215 jg sys_acct # branch to system call 215 jg sys_acct # branch to system call
216 216
217 .globl sys32_umount_wrapper 217 .globl sys32_umount_wrapper
218sys32_umount_wrapper: 218sys32_umount_wrapper:
219 llgtr %r2,%r2 # char * 219 llgtr %r2,%r2 # char *
220 lgfr %r3,%r3 # int 220 lgfr %r3,%r3 # int
221 jg sys_umount # branch to system call 221 jg sys_umount # branch to system call
222 222
223 .globl compat_sys_ioctl_wrapper 223 .globl compat_sys_ioctl_wrapper
224compat_sys_ioctl_wrapper: 224compat_sys_ioctl_wrapper:
225 llgfr %r2,%r2 # unsigned int 225 llgfr %r2,%r2 # unsigned int
226 llgfr %r3,%r3 # unsigned int 226 llgfr %r3,%r3 # unsigned int
227 llgfr %r4,%r4 # unsigned int 227 llgfr %r4,%r4 # unsigned int
228 jg compat_sys_ioctl # branch to system call 228 jg compat_sys_ioctl # branch to system call
229 229
230 .globl compat_sys_fcntl_wrapper 230 .globl compat_sys_fcntl_wrapper
231compat_sys_fcntl_wrapper: 231compat_sys_fcntl_wrapper:
232 llgfr %r2,%r2 # unsigned int 232 llgfr %r2,%r2 # unsigned int
233 llgfr %r3,%r3 # unsigned int 233 llgfr %r3,%r3 # unsigned int
234 llgfr %r4,%r4 # unsigned long 234 llgfr %r4,%r4 # unsigned long
235 jg compat_sys_fcntl # branch to system call 235 jg compat_sys_fcntl # branch to system call
236 236
237 .globl sys32_setpgid_wrapper 237 .globl sys32_setpgid_wrapper
238sys32_setpgid_wrapper: 238sys32_setpgid_wrapper:
239 lgfr %r2,%r2 # pid_t 239 lgfr %r2,%r2 # pid_t
240 lgfr %r3,%r3 # pid_t 240 lgfr %r3,%r3 # pid_t
241 jg sys_setpgid # branch to system call 241 jg sys_setpgid # branch to system call
242 242
243 .globl sys32_umask_wrapper 243 .globl sys32_umask_wrapper
244sys32_umask_wrapper: 244sys32_umask_wrapper:
245 lgfr %r2,%r2 # int 245 lgfr %r2,%r2 # int
246 jg sys_umask # branch to system call 246 jg sys_umask # branch to system call
247 247
248 .globl sys32_chroot_wrapper 248 .globl sys32_chroot_wrapper
249sys32_chroot_wrapper: 249sys32_chroot_wrapper:
250 llgtr %r2,%r2 # char * 250 llgtr %r2,%r2 # char *
251 jg sys_chroot # branch to system call 251 jg sys_chroot # branch to system call
252 252
253 .globl sys32_ustat_wrapper 253 .globl sys32_ustat_wrapper
254sys32_ustat_wrapper: 254sys32_ustat_wrapper:
255 llgfr %r2,%r2 # dev_t 255 llgfr %r2,%r2 # dev_t
256 llgtr %r3,%r3 # struct ustat * 256 llgtr %r3,%r3 # struct ustat *
257 jg sys_ustat 257 jg sys_ustat
258 258
259 .globl sys32_dup2_wrapper 259 .globl sys32_dup2_wrapper
260sys32_dup2_wrapper: 260sys32_dup2_wrapper:
261 llgfr %r2,%r2 # unsigned int 261 llgfr %r2,%r2 # unsigned int
262 llgfr %r3,%r3 # unsigned int 262 llgfr %r3,%r3 # unsigned int
263 jg sys_dup2 # branch to system call 263 jg sys_dup2 # branch to system call
264 264
265#sys32_getppid_wrapper # void 265#sys32_getppid_wrapper # void
266 266
267#sys32_getpgrp_wrapper # void 267#sys32_getpgrp_wrapper # void
268 268
269#sys32_setsid_wrapper # void 269#sys32_setsid_wrapper # void
270 270
271 .globl sys32_sigaction_wrapper 271 .globl sys32_sigaction_wrapper
272sys32_sigaction_wrapper: 272sys32_sigaction_wrapper:
273 lgfr %r2,%r2 # int 273 lgfr %r2,%r2 # int
274 llgtr %r3,%r3 # const struct old_sigaction * 274 llgtr %r3,%r3 # const struct old_sigaction *
275 llgtr %r4,%r4 # struct old_sigaction32 * 275 llgtr %r4,%r4 # struct old_sigaction32 *
276 jg sys32_sigaction # branch to system call 276 jg sys32_sigaction # branch to system call
277 277
278 .globl sys32_setreuid16_wrapper 278 .globl sys32_setreuid16_wrapper
279sys32_setreuid16_wrapper: 279sys32_setreuid16_wrapper:
280 llgfr %r2,%r2 # __kernel_old_uid_emu31_t 280 llgfr %r2,%r2 # __kernel_old_uid_emu31_t
281 llgfr %r3,%r3 # __kernel_old_uid_emu31_t 281 llgfr %r3,%r3 # __kernel_old_uid_emu31_t
282 jg sys32_setreuid16 # branch to system call 282 jg sys32_setreuid16 # branch to system call
283 283
284 .globl sys32_setregid16_wrapper 284 .globl sys32_setregid16_wrapper
285sys32_setregid16_wrapper: 285sys32_setregid16_wrapper:
286 llgfr %r2,%r2 # __kernel_old_gid_emu31_t 286 llgfr %r2,%r2 # __kernel_old_gid_emu31_t
287 llgfr %r3,%r3 # __kernel_old_gid_emu31_t 287 llgfr %r3,%r3 # __kernel_old_gid_emu31_t
288 jg sys32_setregid16 # branch to system call 288 jg sys32_setregid16 # branch to system call
289 289
290 .globl sys_sigsuspend_wrapper 290 .globl sys_sigsuspend_wrapper
@@ -294,95 +294,95 @@ sys_sigsuspend_wrapper:
294 llgfr %r4,%r4 # old_sigset_t 294 llgfr %r4,%r4 # old_sigset_t
295 jg sys_sigsuspend 295 jg sys_sigsuspend
296 296
297 .globl compat_sys_sigpending_wrapper 297 .globl compat_sys_sigpending_wrapper
298compat_sys_sigpending_wrapper: 298compat_sys_sigpending_wrapper:
299 llgtr %r2,%r2 # compat_old_sigset_t * 299 llgtr %r2,%r2 # compat_old_sigset_t *
300 jg compat_sys_sigpending # branch to system call 300 jg compat_sys_sigpending # branch to system call
301 301
302 .globl sys32_sethostname_wrapper 302 .globl sys32_sethostname_wrapper
303sys32_sethostname_wrapper: 303sys32_sethostname_wrapper:
304 llgtr %r2,%r2 # char * 304 llgtr %r2,%r2 # char *
305 lgfr %r3,%r3 # int 305 lgfr %r3,%r3 # int
306 jg sys_sethostname # branch to system call 306 jg sys_sethostname # branch to system call
307 307
308 .globl compat_sys_setrlimit_wrapper 308 .globl compat_sys_setrlimit_wrapper
309compat_sys_setrlimit_wrapper: 309compat_sys_setrlimit_wrapper:
310 llgfr %r2,%r2 # unsigned int 310 llgfr %r2,%r2 # unsigned int
311 llgtr %r3,%r3 # struct rlimit_emu31 * 311 llgtr %r3,%r3 # struct rlimit_emu31 *
312 jg compat_sys_setrlimit # branch to system call 312 jg compat_sys_setrlimit # branch to system call
313 313
314 .globl compat_sys_old_getrlimit_wrapper 314 .globl compat_sys_old_getrlimit_wrapper
315compat_sys_old_getrlimit_wrapper: 315compat_sys_old_getrlimit_wrapper:
316 llgfr %r2,%r2 # unsigned int 316 llgfr %r2,%r2 # unsigned int
317 llgtr %r3,%r3 # struct rlimit_emu31 * 317 llgtr %r3,%r3 # struct rlimit_emu31 *
318 jg compat_sys_old_getrlimit # branch to system call 318 jg compat_sys_old_getrlimit # branch to system call
319 319
320 .globl compat_sys_getrlimit_wrapper 320 .globl compat_sys_getrlimit_wrapper
321compat_sys_getrlimit_wrapper: 321compat_sys_getrlimit_wrapper:
322 llgfr %r2,%r2 # unsigned int 322 llgfr %r2,%r2 # unsigned int
323 llgtr %r3,%r3 # struct rlimit_emu31 * 323 llgtr %r3,%r3 # struct rlimit_emu31 *
324 jg compat_sys_getrlimit # branch to system call 324 jg compat_sys_getrlimit # branch to system call
325 325
326 .globl sys32_mmap2_wrapper 326 .globl sys32_mmap2_wrapper
327sys32_mmap2_wrapper: 327sys32_mmap2_wrapper:
328 llgtr %r2,%r2 # struct mmap_arg_struct_emu31 * 328 llgtr %r2,%r2 # struct mmap_arg_struct_emu31 *
329 jg sys32_mmap2 # branch to system call 329 jg sys32_mmap2 # branch to system call
330 330
331 .globl compat_sys_getrusage_wrapper 331 .globl compat_sys_getrusage_wrapper
332compat_sys_getrusage_wrapper: 332compat_sys_getrusage_wrapper:
333 lgfr %r2,%r2 # int 333 lgfr %r2,%r2 # int
334 llgtr %r3,%r3 # struct rusage_emu31 * 334 llgtr %r3,%r3 # struct rusage_emu31 *
335 jg compat_sys_getrusage # branch to system call 335 jg compat_sys_getrusage # branch to system call
336 336
337 .globl sys32_gettimeofday_wrapper 337 .globl sys32_gettimeofday_wrapper
338sys32_gettimeofday_wrapper: 338sys32_gettimeofday_wrapper:
339 llgtr %r2,%r2 # struct timeval_emu31 * 339 llgtr %r2,%r2 # struct timeval_emu31 *
340 llgtr %r3,%r3 # struct timezone * 340 llgtr %r3,%r3 # struct timezone *
341 jg sys32_gettimeofday # branch to system call 341 jg sys32_gettimeofday # branch to system call
342 342
343 .globl sys32_settimeofday_wrapper 343 .globl sys32_settimeofday_wrapper
344sys32_settimeofday_wrapper: 344sys32_settimeofday_wrapper:
345 llgtr %r2,%r2 # struct timeval_emu31 * 345 llgtr %r2,%r2 # struct timeval_emu31 *
346 llgtr %r3,%r3 # struct timezone * 346 llgtr %r3,%r3 # struct timezone *
347 jg sys32_settimeofday # branch to system call 347 jg sys32_settimeofday # branch to system call
348 348
349 .globl sys32_getgroups16_wrapper 349 .globl sys32_getgroups16_wrapper
350sys32_getgroups16_wrapper: 350sys32_getgroups16_wrapper:
351 lgfr %r2,%r2 # int 351 lgfr %r2,%r2 # int
352 llgtr %r3,%r3 # __kernel_old_gid_emu31_t * 352 llgtr %r3,%r3 # __kernel_old_gid_emu31_t *
353 jg sys32_getgroups16 # branch to system call 353 jg sys32_getgroups16 # branch to system call
354 354
355 .globl sys32_setgroups16_wrapper 355 .globl sys32_setgroups16_wrapper
356sys32_setgroups16_wrapper: 356sys32_setgroups16_wrapper:
357 lgfr %r2,%r2 # int 357 lgfr %r2,%r2 # int
358 llgtr %r3,%r3 # __kernel_old_gid_emu31_t * 358 llgtr %r3,%r3 # __kernel_old_gid_emu31_t *
359 jg sys32_setgroups16 # branch to system call 359 jg sys32_setgroups16 # branch to system call
360 360
361 .globl sys32_symlink_wrapper 361 .globl sys32_symlink_wrapper
362sys32_symlink_wrapper: 362sys32_symlink_wrapper:
363 llgtr %r2,%r2 # const char * 363 llgtr %r2,%r2 # const char *
364 llgtr %r3,%r3 # const char * 364 llgtr %r3,%r3 # const char *
365 jg sys_symlink # branch to system call 365 jg sys_symlink # branch to system call
366 366
367 .globl sys32_readlink_wrapper 367 .globl sys32_readlink_wrapper
368sys32_readlink_wrapper: 368sys32_readlink_wrapper:
369 llgtr %r2,%r2 # const char * 369 llgtr %r2,%r2 # const char *
370 llgtr %r3,%r3 # char * 370 llgtr %r3,%r3 # char *
371 lgfr %r4,%r4 # int 371 lgfr %r4,%r4 # int
372 jg sys_readlink # branch to system call 372 jg sys_readlink # branch to system call
373 373
374 .globl sys32_uselib_wrapper 374 .globl sys32_uselib_wrapper
375sys32_uselib_wrapper: 375sys32_uselib_wrapper:
376 llgtr %r2,%r2 # const char * 376 llgtr %r2,%r2 # const char *
377 jg sys_uselib # branch to system call 377 jg sys_uselib # branch to system call
378 378
379 .globl sys32_swapon_wrapper 379 .globl sys32_swapon_wrapper
380sys32_swapon_wrapper: 380sys32_swapon_wrapper:
381 llgtr %r2,%r2 # const char * 381 llgtr %r2,%r2 # const char *
382 lgfr %r3,%r3 # int 382 lgfr %r3,%r3 # int
383 jg sys_swapon # branch to system call 383 jg sys_swapon # branch to system call
384 384
385 .globl sys32_reboot_wrapper 385 .globl sys32_reboot_wrapper
386sys32_reboot_wrapper: 386sys32_reboot_wrapper:
387 lgfr %r2,%r2 # int 387 lgfr %r2,%r2 # int
388 lgfr %r3,%r3 # int 388 lgfr %r3,%r3 # int
@@ -390,121 +390,121 @@ sys32_reboot_wrapper:
390 llgtr %r5,%r5 # void * 390 llgtr %r5,%r5 # void *
391 jg sys_reboot # branch to system call 391 jg sys_reboot # branch to system call
392 392
393 .globl old32_readdir_wrapper 393 .globl old32_readdir_wrapper
394old32_readdir_wrapper: 394old32_readdir_wrapper:
395 llgfr %r2,%r2 # unsigned int 395 llgfr %r2,%r2 # unsigned int
396 llgtr %r3,%r3 # void * 396 llgtr %r3,%r3 # void *
397 llgfr %r4,%r4 # unsigned int 397 llgfr %r4,%r4 # unsigned int
398 jg compat_sys_old_readdir # branch to system call 398 jg compat_sys_old_readdir # branch to system call
399 399
400 .globl old32_mmap_wrapper 400 .globl old32_mmap_wrapper
401old32_mmap_wrapper: 401old32_mmap_wrapper:
402 llgtr %r2,%r2 # struct mmap_arg_struct_emu31 * 402 llgtr %r2,%r2 # struct mmap_arg_struct_emu31 *
403 jg old32_mmap # branch to system call 403 jg old32_mmap # branch to system call
404 404
405 .globl sys32_munmap_wrapper 405 .globl sys32_munmap_wrapper
406sys32_munmap_wrapper: 406sys32_munmap_wrapper:
407 llgfr %r2,%r2 # unsigned long 407 llgfr %r2,%r2 # unsigned long
408 llgfr %r3,%r3 # size_t 408 llgfr %r3,%r3 # size_t
409 jg sys_munmap # branch to system call 409 jg sys_munmap # branch to system call
410 410
411 .globl sys32_truncate_wrapper 411 .globl sys32_truncate_wrapper
412sys32_truncate_wrapper: 412sys32_truncate_wrapper:
413 llgtr %r2,%r2 # const char * 413 llgtr %r2,%r2 # const char *
414 llgfr %r3,%r3 # unsigned long 414 llgfr %r3,%r3 # unsigned long
415 jg sys_truncate # branch to system call 415 jg sys_truncate # branch to system call
416 416
417 .globl sys32_ftruncate_wrapper 417 .globl sys32_ftruncate_wrapper
418sys32_ftruncate_wrapper: 418sys32_ftruncate_wrapper:
419 llgfr %r2,%r2 # unsigned int 419 llgfr %r2,%r2 # unsigned int
420 llgfr %r3,%r3 # unsigned long 420 llgfr %r3,%r3 # unsigned long
421 jg sys_ftruncate # branch to system call 421 jg sys_ftruncate # branch to system call
422 422
423 .globl sys32_fchmod_wrapper 423 .globl sys32_fchmod_wrapper
424sys32_fchmod_wrapper: 424sys32_fchmod_wrapper:
425 llgfr %r2,%r2 # unsigned int 425 llgfr %r2,%r2 # unsigned int
426 llgfr %r3,%r3 # mode_t 426 llgfr %r3,%r3 # mode_t
427 jg sys_fchmod # branch to system call 427 jg sys_fchmod # branch to system call
428 428
429 .globl sys32_fchown16_wrapper 429 .globl sys32_fchown16_wrapper
430sys32_fchown16_wrapper: 430sys32_fchown16_wrapper:
431 llgfr %r2,%r2 # unsigned int 431 llgfr %r2,%r2 # unsigned int
432 llgfr %r3,%r3 # compat_uid_t 432 llgfr %r3,%r3 # compat_uid_t
433 llgfr %r4,%r4 # compat_uid_t 433 llgfr %r4,%r4 # compat_uid_t
434 jg sys32_fchown16 # branch to system call 434 jg sys32_fchown16 # branch to system call
435 435
436 .globl sys32_getpriority_wrapper 436 .globl sys32_getpriority_wrapper
437sys32_getpriority_wrapper: 437sys32_getpriority_wrapper:
438 lgfr %r2,%r2 # int 438 lgfr %r2,%r2 # int
439 lgfr %r3,%r3 # int 439 lgfr %r3,%r3 # int
440 jg sys_getpriority # branch to system call 440 jg sys_getpriority # branch to system call
441 441
442 .globl sys32_setpriority_wrapper 442 .globl sys32_setpriority_wrapper
443sys32_setpriority_wrapper: 443sys32_setpriority_wrapper:
444 lgfr %r2,%r2 # int 444 lgfr %r2,%r2 # int
445 lgfr %r3,%r3 # int 445 lgfr %r3,%r3 # int
446 lgfr %r4,%r4 # int 446 lgfr %r4,%r4 # int
447 jg sys_setpriority # branch to system call 447 jg sys_setpriority # branch to system call
448 448
449 .globl compat_sys_statfs_wrapper 449 .globl compat_sys_statfs_wrapper
450compat_sys_statfs_wrapper: 450compat_sys_statfs_wrapper:
451 llgtr %r2,%r2 # char * 451 llgtr %r2,%r2 # char *
452 llgtr %r3,%r3 # struct compat_statfs * 452 llgtr %r3,%r3 # struct compat_statfs *
453 jg compat_sys_statfs # branch to system call 453 jg compat_sys_statfs # branch to system call
454 454
455 .globl compat_sys_fstatfs_wrapper 455 .globl compat_sys_fstatfs_wrapper
456compat_sys_fstatfs_wrapper: 456compat_sys_fstatfs_wrapper:
457 llgfr %r2,%r2 # unsigned int 457 llgfr %r2,%r2 # unsigned int
458 llgtr %r3,%r3 # struct compat_statfs * 458 llgtr %r3,%r3 # struct compat_statfs *
459 jg compat_sys_fstatfs # branch to system call 459 jg compat_sys_fstatfs # branch to system call
460 460
461 .globl compat_sys_socketcall_wrapper 461 .globl compat_sys_socketcall_wrapper
462compat_sys_socketcall_wrapper: 462compat_sys_socketcall_wrapper:
463 lgfr %r2,%r2 # int 463 lgfr %r2,%r2 # int
464 llgtr %r3,%r3 # u32 * 464 llgtr %r3,%r3 # u32 *
465 jg compat_sys_socketcall # branch to system call 465 jg compat_sys_socketcall # branch to system call
466 466
467 .globl sys32_syslog_wrapper 467 .globl sys32_syslog_wrapper
468sys32_syslog_wrapper: 468sys32_syslog_wrapper:
469 lgfr %r2,%r2 # int 469 lgfr %r2,%r2 # int
470 llgtr %r3,%r3 # char * 470 llgtr %r3,%r3 # char *
471 lgfr %r4,%r4 # int 471 lgfr %r4,%r4 # int
472 jg sys_syslog # branch to system call 472 jg sys_syslog # branch to system call
473 473
474 .globl compat_sys_setitimer_wrapper 474 .globl compat_sys_setitimer_wrapper
475compat_sys_setitimer_wrapper: 475compat_sys_setitimer_wrapper:
476 lgfr %r2,%r2 # int 476 lgfr %r2,%r2 # int
477 llgtr %r3,%r3 # struct itimerval_emu31 * 477 llgtr %r3,%r3 # struct itimerval_emu31 *
478 llgtr %r4,%r4 # struct itimerval_emu31 * 478 llgtr %r4,%r4 # struct itimerval_emu31 *
479 jg compat_sys_setitimer # branch to system call 479 jg compat_sys_setitimer # branch to system call
480 480
481 .globl compat_sys_getitimer_wrapper 481 .globl compat_sys_getitimer_wrapper
482compat_sys_getitimer_wrapper: 482compat_sys_getitimer_wrapper:
483 lgfr %r2,%r2 # int 483 lgfr %r2,%r2 # int
484 llgtr %r3,%r3 # struct itimerval_emu31 * 484 llgtr %r3,%r3 # struct itimerval_emu31 *
485 jg compat_sys_getitimer # branch to system call 485 jg compat_sys_getitimer # branch to system call
486 486
487 .globl compat_sys_newstat_wrapper 487 .globl compat_sys_newstat_wrapper
488compat_sys_newstat_wrapper: 488compat_sys_newstat_wrapper:
489 llgtr %r2,%r2 # char * 489 llgtr %r2,%r2 # char *
490 llgtr %r3,%r3 # struct stat_emu31 * 490 llgtr %r3,%r3 # struct stat_emu31 *
491 jg compat_sys_newstat # branch to system call 491 jg compat_sys_newstat # branch to system call
492 492
493 .globl compat_sys_newlstat_wrapper 493 .globl compat_sys_newlstat_wrapper
494compat_sys_newlstat_wrapper: 494compat_sys_newlstat_wrapper:
495 llgtr %r2,%r2 # char * 495 llgtr %r2,%r2 # char *
496 llgtr %r3,%r3 # struct stat_emu31 * 496 llgtr %r3,%r3 # struct stat_emu31 *
497 jg compat_sys_newlstat # branch to system call 497 jg compat_sys_newlstat # branch to system call
498 498
499 .globl compat_sys_newfstat_wrapper 499 .globl compat_sys_newfstat_wrapper
500compat_sys_newfstat_wrapper: 500compat_sys_newfstat_wrapper:
501 llgfr %r2,%r2 # unsigned int 501 llgfr %r2,%r2 # unsigned int
502 llgtr %r3,%r3 # struct stat_emu31 * 502 llgtr %r3,%r3 # struct stat_emu31 *
503 jg compat_sys_newfstat # branch to system call 503 jg compat_sys_newfstat # branch to system call
504 504
505#sys32_vhangup_wrapper # void 505#sys32_vhangup_wrapper # void
506 506
507 .globl compat_sys_wait4_wrapper 507 .globl compat_sys_wait4_wrapper
508compat_sys_wait4_wrapper: 508compat_sys_wait4_wrapper:
509 lgfr %r2,%r2 # pid_t 509 lgfr %r2,%r2 # pid_t
510 llgtr %r3,%r3 # unsigned int * 510 llgtr %r3,%r3 # unsigned int *
@@ -512,17 +512,17 @@ compat_sys_wait4_wrapper:
512 llgtr %r5,%r5 # struct rusage * 512 llgtr %r5,%r5 # struct rusage *
513 jg compat_sys_wait4 # branch to system call 513 jg compat_sys_wait4 # branch to system call
514 514
515 .globl sys32_swapoff_wrapper 515 .globl sys32_swapoff_wrapper
516sys32_swapoff_wrapper: 516sys32_swapoff_wrapper:
517 llgtr %r2,%r2 # const char * 517 llgtr %r2,%r2 # const char *
518 jg sys_swapoff # branch to system call 518 jg sys_swapoff # branch to system call
519 519
520 .globl sys32_sysinfo_wrapper 520 .globl sys32_sysinfo_wrapper
521sys32_sysinfo_wrapper: 521sys32_sysinfo_wrapper:
522 llgtr %r2,%r2 # struct sysinfo_emu31 * 522 llgtr %r2,%r2 # struct sysinfo_emu31 *
523 jg sys32_sysinfo # branch to system call 523 jg sys32_sysinfo # branch to system call
524 524
525 .globl sys32_ipc_wrapper 525 .globl sys32_ipc_wrapper
526sys32_ipc_wrapper: 526sys32_ipc_wrapper:
527 llgfr %r2,%r2 # uint 527 llgfr %r2,%r2 # uint
528 lgfr %r3,%r3 # int 528 lgfr %r3,%r3 # int
@@ -531,59 +531,59 @@ sys32_ipc_wrapper:
531 llgfr %r6,%r6 # u32 531 llgfr %r6,%r6 # u32
532 jg sys32_ipc # branch to system call 532 jg sys32_ipc # branch to system call
533 533
534 .globl sys32_fsync_wrapper 534 .globl sys32_fsync_wrapper
535sys32_fsync_wrapper: 535sys32_fsync_wrapper:
536 llgfr %r2,%r2 # unsigned int 536 llgfr %r2,%r2 # unsigned int
537 jg sys_fsync # branch to system call 537 jg sys_fsync # branch to system call
538 538
539#sys32_sigreturn_wrapper # done in sigreturn_glue 539#sys32_sigreturn_wrapper # done in sigreturn_glue
540 540
541#sys32_clone_wrapper # done in clone_glue 541#sys32_clone_wrapper # done in clone_glue
542 542
543 .globl sys32_setdomainname_wrapper 543 .globl sys32_setdomainname_wrapper
544sys32_setdomainname_wrapper: 544sys32_setdomainname_wrapper:
545 llgtr %r2,%r2 # char * 545 llgtr %r2,%r2 # char *
546 lgfr %r3,%r3 # int 546 lgfr %r3,%r3 # int
547 jg sys_setdomainname # branch to system call 547 jg sys_setdomainname # branch to system call
548 548
549 .globl sys32_newuname_wrapper 549 .globl sys32_newuname_wrapper
550sys32_newuname_wrapper: 550sys32_newuname_wrapper:
551 llgtr %r2,%r2 # struct new_utsname * 551 llgtr %r2,%r2 # struct new_utsname *
552 jg s390x_newuname # branch to system call 552 jg s390x_newuname # branch to system call
553 553
554 .globl compat_sys_adjtimex_wrapper 554 .globl compat_sys_adjtimex_wrapper
555compat_sys_adjtimex_wrapper: 555compat_sys_adjtimex_wrapper:
556 llgtr %r2,%r2 # struct compat_timex * 556 llgtr %r2,%r2 # struct compat_timex *
557 jg compat_sys_adjtimex # branch to system call 557 jg compat_sys_adjtimex # branch to system call
558 558
559 .globl sys32_mprotect_wrapper 559 .globl sys32_mprotect_wrapper
560sys32_mprotect_wrapper: 560sys32_mprotect_wrapper:
561 llgtr %r2,%r2 # unsigned long (actually pointer 561 llgtr %r2,%r2 # unsigned long (actually pointer
562 llgfr %r3,%r3 # size_t 562 llgfr %r3,%r3 # size_t
563 llgfr %r4,%r4 # unsigned long 563 llgfr %r4,%r4 # unsigned long
564 jg sys_mprotect # branch to system call 564 jg sys_mprotect # branch to system call
565 565
566 .globl compat_sys_sigprocmask_wrapper 566 .globl compat_sys_sigprocmask_wrapper
567compat_sys_sigprocmask_wrapper: 567compat_sys_sigprocmask_wrapper:
568 lgfr %r2,%r2 # int 568 lgfr %r2,%r2 # int
569 llgtr %r3,%r3 # compat_old_sigset_t * 569 llgtr %r3,%r3 # compat_old_sigset_t *
570 llgtr %r4,%r4 # compat_old_sigset_t * 570 llgtr %r4,%r4 # compat_old_sigset_t *
571 jg compat_sys_sigprocmask # branch to system call 571 jg compat_sys_sigprocmask # branch to system call
572 572
573 .globl sys32_init_module_wrapper 573 .globl sys32_init_module_wrapper
574sys32_init_module_wrapper: 574sys32_init_module_wrapper:
575 llgtr %r2,%r2 # void * 575 llgtr %r2,%r2 # void *
576 llgfr %r3,%r3 # unsigned long 576 llgfr %r3,%r3 # unsigned long
577 llgtr %r4,%r4 # char * 577 llgtr %r4,%r4 # char *
578 jg sys32_init_module # branch to system call 578 jg sys32_init_module # branch to system call
579 579
580 .globl sys32_delete_module_wrapper 580 .globl sys32_delete_module_wrapper
581sys32_delete_module_wrapper: 581sys32_delete_module_wrapper:
582 llgtr %r2,%r2 # const char * 582 llgtr %r2,%r2 # const char *
583 llgfr %r3,%r3 # unsigned int 583 llgfr %r3,%r3 # unsigned int
584 jg sys32_delete_module # branch to system call 584 jg sys32_delete_module # branch to system call
585 585
586 .globl sys32_quotactl_wrapper 586 .globl sys32_quotactl_wrapper
587sys32_quotactl_wrapper: 587sys32_quotactl_wrapper:
588 llgfr %r2,%r2 # unsigned int 588 llgfr %r2,%r2 # unsigned int
589 llgtr %r3,%r3 # const char * 589 llgtr %r3,%r3 # const char *
@@ -591,45 +591,45 @@ sys32_quotactl_wrapper:
591 llgtr %r5,%r5 # caddr_t 591 llgtr %r5,%r5 # caddr_t
592 jg sys_quotactl # branch to system call 592 jg sys_quotactl # branch to system call
593 593
594 .globl sys32_getpgid_wrapper 594 .globl sys32_getpgid_wrapper
595sys32_getpgid_wrapper: 595sys32_getpgid_wrapper:
596 lgfr %r2,%r2 # pid_t 596 lgfr %r2,%r2 # pid_t
597 jg sys_getpgid # branch to system call 597 jg sys_getpgid # branch to system call
598 598
599 .globl sys32_fchdir_wrapper 599 .globl sys32_fchdir_wrapper
600sys32_fchdir_wrapper: 600sys32_fchdir_wrapper:
601 llgfr %r2,%r2 # unsigned int 601 llgfr %r2,%r2 # unsigned int
602 jg sys_fchdir # branch to system call 602 jg sys_fchdir # branch to system call
603 603
604 .globl sys32_bdflush_wrapper 604 .globl sys32_bdflush_wrapper
605sys32_bdflush_wrapper: 605sys32_bdflush_wrapper:
606 lgfr %r2,%r2 # int 606 lgfr %r2,%r2 # int
607 lgfr %r3,%r3 # long 607 lgfr %r3,%r3 # long
608 jg sys_bdflush # branch to system call 608 jg sys_bdflush # branch to system call
609 609
610 .globl sys32_sysfs_wrapper 610 .globl sys32_sysfs_wrapper
611sys32_sysfs_wrapper: 611sys32_sysfs_wrapper:
612 lgfr %r2,%r2 # int 612 lgfr %r2,%r2 # int
613 llgfr %r3,%r3 # unsigned long 613 llgfr %r3,%r3 # unsigned long
614 llgfr %r4,%r4 # unsigned long 614 llgfr %r4,%r4 # unsigned long
615 jg sys_sysfs # branch to system call 615 jg sys_sysfs # branch to system call
616 616
617 .globl sys32_personality_wrapper 617 .globl sys32_personality_wrapper
618sys32_personality_wrapper: 618sys32_personality_wrapper:
619 llgfr %r2,%r2 # unsigned long 619 llgfr %r2,%r2 # unsigned long
620 jg s390x_personality # branch to system call 620 jg s390x_personality # branch to system call
621 621
622 .globl sys32_setfsuid16_wrapper 622 .globl sys32_setfsuid16_wrapper
623sys32_setfsuid16_wrapper: 623sys32_setfsuid16_wrapper:
624 llgfr %r2,%r2 # __kernel_old_uid_emu31_t 624 llgfr %r2,%r2 # __kernel_old_uid_emu31_t
625 jg sys32_setfsuid16 # branch to system call 625 jg sys32_setfsuid16 # branch to system call
626 626
627 .globl sys32_setfsgid16_wrapper 627 .globl sys32_setfsgid16_wrapper
628sys32_setfsgid16_wrapper: 628sys32_setfsgid16_wrapper:
629 llgfr %r2,%r2 # __kernel_old_gid_emu31_t 629 llgfr %r2,%r2 # __kernel_old_gid_emu31_t
630 jg sys32_setfsgid16 # branch to system call 630 jg sys32_setfsgid16 # branch to system call
631 631
632 .globl sys32_llseek_wrapper 632 .globl sys32_llseek_wrapper
633sys32_llseek_wrapper: 633sys32_llseek_wrapper:
634 llgfr %r2,%r2 # unsigned int 634 llgfr %r2,%r2 # unsigned int
635 llgfr %r3,%r3 # unsigned long 635 llgfr %r3,%r3 # unsigned long
@@ -638,14 +638,14 @@ sys32_llseek_wrapper:
638 llgfr %r6,%r6 # unsigned int 638 llgfr %r6,%r6 # unsigned int
639 jg sys_llseek # branch to system call 639 jg sys_llseek # branch to system call
640 640
641 .globl sys32_getdents_wrapper 641 .globl sys32_getdents_wrapper
642sys32_getdents_wrapper: 642sys32_getdents_wrapper:
643 llgfr %r2,%r2 # unsigned int 643 llgfr %r2,%r2 # unsigned int
644 llgtr %r3,%r3 # void * 644 llgtr %r3,%r3 # void *
645 llgfr %r4,%r4 # unsigned int 645 llgfr %r4,%r4 # unsigned int
646 jg compat_sys_getdents # branch to system call 646 jg compat_sys_getdents # branch to system call
647 647
648 .globl compat_sys_select_wrapper 648 .globl compat_sys_select_wrapper
649compat_sys_select_wrapper: 649compat_sys_select_wrapper:
650 lgfr %r2,%r2 # int 650 lgfr %r2,%r2 # int
651 llgtr %r3,%r3 # compat_fd_set * 651 llgtr %r3,%r3 # compat_fd_set *
@@ -654,113 +654,113 @@ compat_sys_select_wrapper:
654 llgtr %r6,%r6 # struct compat_timeval * 654 llgtr %r6,%r6 # struct compat_timeval *
655 jg compat_sys_select # branch to system call 655 jg compat_sys_select # branch to system call
656 656
657 .globl sys32_flock_wrapper 657 .globl sys32_flock_wrapper
658sys32_flock_wrapper: 658sys32_flock_wrapper:
659 llgfr %r2,%r2 # unsigned int 659 llgfr %r2,%r2 # unsigned int
660 llgfr %r3,%r3 # unsigned int 660 llgfr %r3,%r3 # unsigned int
661 jg sys_flock # branch to system call 661 jg sys_flock # branch to system call
662 662
663 .globl sys32_msync_wrapper 663 .globl sys32_msync_wrapper
664sys32_msync_wrapper: 664sys32_msync_wrapper:
665 llgfr %r2,%r2 # unsigned long 665 llgfr %r2,%r2 # unsigned long
666 llgfr %r3,%r3 # size_t 666 llgfr %r3,%r3 # size_t
667 lgfr %r4,%r4 # int 667 lgfr %r4,%r4 # int
668 jg sys_msync # branch to system call 668 jg sys_msync # branch to system call
669 669
670 .globl compat_sys_readv_wrapper 670 .globl compat_sys_readv_wrapper
671compat_sys_readv_wrapper: 671compat_sys_readv_wrapper:
672 lgfr %r2,%r2 # int 672 lgfr %r2,%r2 # int
673 llgtr %r3,%r3 # const struct compat_iovec * 673 llgtr %r3,%r3 # const struct compat_iovec *
674 llgfr %r4,%r4 # unsigned long 674 llgfr %r4,%r4 # unsigned long
675 jg compat_sys_readv # branch to system call 675 jg compat_sys_readv # branch to system call
676 676
677 .globl compat_sys_writev_wrapper 677 .globl compat_sys_writev_wrapper
678compat_sys_writev_wrapper: 678compat_sys_writev_wrapper:
679 lgfr %r2,%r2 # int 679 lgfr %r2,%r2 # int
680 llgtr %r3,%r3 # const struct compat_iovec * 680 llgtr %r3,%r3 # const struct compat_iovec *
681 llgfr %r4,%r4 # unsigned long 681 llgfr %r4,%r4 # unsigned long
682 jg compat_sys_writev # branch to system call 682 jg compat_sys_writev # branch to system call
683 683
684 .globl sys32_getsid_wrapper 684 .globl sys32_getsid_wrapper
685sys32_getsid_wrapper: 685sys32_getsid_wrapper:
686 lgfr %r2,%r2 # pid_t 686 lgfr %r2,%r2 # pid_t
687 jg sys_getsid # branch to system call 687 jg sys_getsid # branch to system call
688 688
689 .globl sys32_fdatasync_wrapper 689 .globl sys32_fdatasync_wrapper
690sys32_fdatasync_wrapper: 690sys32_fdatasync_wrapper:
691 llgfr %r2,%r2 # unsigned int 691 llgfr %r2,%r2 # unsigned int
692 jg sys_fdatasync # branch to system call 692 jg sys_fdatasync # branch to system call
693 693
694#sys32_sysctl_wrapper # tbd 694#sys32_sysctl_wrapper # tbd
695 695
696 .globl sys32_mlock_wrapper 696 .globl sys32_mlock_wrapper
697sys32_mlock_wrapper: 697sys32_mlock_wrapper:
698 llgfr %r2,%r2 # unsigned long 698 llgfr %r2,%r2 # unsigned long
699 llgfr %r3,%r3 # size_t 699 llgfr %r3,%r3 # size_t
700 jg sys_mlock # branch to system call 700 jg sys_mlock # branch to system call
701 701
702 .globl sys32_munlock_wrapper 702 .globl sys32_munlock_wrapper
703sys32_munlock_wrapper: 703sys32_munlock_wrapper:
704 llgfr %r2,%r2 # unsigned long 704 llgfr %r2,%r2 # unsigned long
705 llgfr %r3,%r3 # size_t 705 llgfr %r3,%r3 # size_t
706 jg sys_munlock # branch to system call 706 jg sys_munlock # branch to system call
707 707
708 .globl sys32_mlockall_wrapper 708 .globl sys32_mlockall_wrapper
709sys32_mlockall_wrapper: 709sys32_mlockall_wrapper:
710 lgfr %r2,%r2 # int 710 lgfr %r2,%r2 # int
711 jg sys_mlockall # branch to system call 711 jg sys_mlockall # branch to system call
712 712
713#sys32_munlockall_wrapper # void 713#sys32_munlockall_wrapper # void
714 714
715 .globl sys32_sched_setparam_wrapper 715 .globl sys32_sched_setparam_wrapper
716sys32_sched_setparam_wrapper: 716sys32_sched_setparam_wrapper:
717 lgfr %r2,%r2 # pid_t 717 lgfr %r2,%r2 # pid_t
718 llgtr %r3,%r3 # struct sched_param * 718 llgtr %r3,%r3 # struct sched_param *
719 jg sys_sched_setparam # branch to system call 719 jg sys_sched_setparam # branch to system call
720 720
721 .globl sys32_sched_getparam_wrapper 721 .globl sys32_sched_getparam_wrapper
722sys32_sched_getparam_wrapper: 722sys32_sched_getparam_wrapper:
723 lgfr %r2,%r2 # pid_t 723 lgfr %r2,%r2 # pid_t
724 llgtr %r3,%r3 # struct sched_param * 724 llgtr %r3,%r3 # struct sched_param *
725 jg sys_sched_getparam # branch to system call 725 jg sys_sched_getparam # branch to system call
726 726
727 .globl sys32_sched_setscheduler_wrapper 727 .globl sys32_sched_setscheduler_wrapper
728sys32_sched_setscheduler_wrapper: 728sys32_sched_setscheduler_wrapper:
729 lgfr %r2,%r2 # pid_t 729 lgfr %r2,%r2 # pid_t
730 lgfr %r3,%r3 # int 730 lgfr %r3,%r3 # int
731 llgtr %r4,%r4 # struct sched_param * 731 llgtr %r4,%r4 # struct sched_param *
732 jg sys_sched_setscheduler # branch to system call 732 jg sys_sched_setscheduler # branch to system call
733 733
734 .globl sys32_sched_getscheduler_wrapper 734 .globl sys32_sched_getscheduler_wrapper
735sys32_sched_getscheduler_wrapper: 735sys32_sched_getscheduler_wrapper:
736 lgfr %r2,%r2 # pid_t 736 lgfr %r2,%r2 # pid_t
737 jg sys_sched_getscheduler # branch to system call 737 jg sys_sched_getscheduler # branch to system call
738 738
739#sys32_sched_yield_wrapper # void 739#sys32_sched_yield_wrapper # void
740 740
741 .globl sys32_sched_get_priority_max_wrapper 741 .globl sys32_sched_get_priority_max_wrapper
742sys32_sched_get_priority_max_wrapper: 742sys32_sched_get_priority_max_wrapper:
743 lgfr %r2,%r2 # int 743 lgfr %r2,%r2 # int
744 jg sys_sched_get_priority_max # branch to system call 744 jg sys_sched_get_priority_max # branch to system call
745 745
746 .globl sys32_sched_get_priority_min_wrapper 746 .globl sys32_sched_get_priority_min_wrapper
747sys32_sched_get_priority_min_wrapper: 747sys32_sched_get_priority_min_wrapper:
748 lgfr %r2,%r2 # int 748 lgfr %r2,%r2 # int
749 jg sys_sched_get_priority_min # branch to system call 749 jg sys_sched_get_priority_min # branch to system call
750 750
751 .globl sys32_sched_rr_get_interval_wrapper 751 .globl sys32_sched_rr_get_interval_wrapper
752sys32_sched_rr_get_interval_wrapper: 752sys32_sched_rr_get_interval_wrapper:
753 lgfr %r2,%r2 # pid_t 753 lgfr %r2,%r2 # pid_t
754 llgtr %r3,%r3 # struct compat_timespec * 754 llgtr %r3,%r3 # struct compat_timespec *
755 jg sys32_sched_rr_get_interval # branch to system call 755 jg sys32_sched_rr_get_interval # branch to system call
756 756
757 .globl compat_sys_nanosleep_wrapper 757 .globl compat_sys_nanosleep_wrapper
758compat_sys_nanosleep_wrapper: 758compat_sys_nanosleep_wrapper:
759 llgtr %r2,%r2 # struct compat_timespec * 759 llgtr %r2,%r2 # struct compat_timespec *
760 llgtr %r3,%r3 # struct compat_timespec * 760 llgtr %r3,%r3 # struct compat_timespec *
761 jg compat_sys_nanosleep # branch to system call 761 jg compat_sys_nanosleep # branch to system call
762 762
763 .globl sys32_mremap_wrapper 763 .globl sys32_mremap_wrapper
764sys32_mremap_wrapper: 764sys32_mremap_wrapper:
765 llgfr %r2,%r2 # unsigned long 765 llgfr %r2,%r2 # unsigned long
766 llgfr %r3,%r3 # unsigned long 766 llgfr %r3,%r3 # unsigned long
@@ -769,49 +769,49 @@ sys32_mremap_wrapper:
769 llgfr %r6,%r6 # unsigned long 769 llgfr %r6,%r6 # unsigned long
770 jg sys_mremap # branch to system call 770 jg sys_mremap # branch to system call
771 771
772 .globl sys32_setresuid16_wrapper 772 .globl sys32_setresuid16_wrapper
773sys32_setresuid16_wrapper: 773sys32_setresuid16_wrapper:
774 llgfr %r2,%r2 # __kernel_old_uid_emu31_t 774 llgfr %r2,%r2 # __kernel_old_uid_emu31_t
775 llgfr %r3,%r3 # __kernel_old_uid_emu31_t 775 llgfr %r3,%r3 # __kernel_old_uid_emu31_t
776 llgfr %r4,%r4 # __kernel_old_uid_emu31_t 776 llgfr %r4,%r4 # __kernel_old_uid_emu31_t
777 jg sys32_setresuid16 # branch to system call 777 jg sys32_setresuid16 # branch to system call
778 778
779 .globl sys32_getresuid16_wrapper 779 .globl sys32_getresuid16_wrapper
780sys32_getresuid16_wrapper: 780sys32_getresuid16_wrapper:
781 llgtr %r2,%r2 # __kernel_old_uid_emu31_t * 781 llgtr %r2,%r2 # __kernel_old_uid_emu31_t *
782 llgtr %r3,%r3 # __kernel_old_uid_emu31_t * 782 llgtr %r3,%r3 # __kernel_old_uid_emu31_t *
783 llgtr %r4,%r4 # __kernel_old_uid_emu31_t * 783 llgtr %r4,%r4 # __kernel_old_uid_emu31_t *
784 jg sys32_getresuid16 # branch to system call 784 jg sys32_getresuid16 # branch to system call
785 785
786 .globl sys32_poll_wrapper 786 .globl sys32_poll_wrapper
787sys32_poll_wrapper: 787sys32_poll_wrapper:
788 llgtr %r2,%r2 # struct pollfd * 788 llgtr %r2,%r2 # struct pollfd *
789 llgfr %r3,%r3 # unsigned int 789 llgfr %r3,%r3 # unsigned int
790 lgfr %r4,%r4 # long 790 lgfr %r4,%r4 # long
791 jg sys_poll # branch to system call 791 jg sys_poll # branch to system call
792 792
793 .globl compat_sys_nfsservctl_wrapper 793 .globl compat_sys_nfsservctl_wrapper
794compat_sys_nfsservctl_wrapper: 794compat_sys_nfsservctl_wrapper:
795 lgfr %r2,%r2 # int 795 lgfr %r2,%r2 # int
796 llgtr %r3,%r3 # struct compat_nfsctl_arg* 796 llgtr %r3,%r3 # struct compat_nfsctl_arg*
797 llgtr %r4,%r4 # union compat_nfsctl_res* 797 llgtr %r4,%r4 # union compat_nfsctl_res*
798 jg compat_sys_nfsservctl # branch to system call 798 jg compat_sys_nfsservctl # branch to system call
799 799
800 .globl sys32_setresgid16_wrapper 800 .globl sys32_setresgid16_wrapper
801sys32_setresgid16_wrapper: 801sys32_setresgid16_wrapper:
802 llgfr %r2,%r2 # __kernel_old_gid_emu31_t 802 llgfr %r2,%r2 # __kernel_old_gid_emu31_t
803 llgfr %r3,%r3 # __kernel_old_gid_emu31_t 803 llgfr %r3,%r3 # __kernel_old_gid_emu31_t
804 llgfr %r4,%r4 # __kernel_old_gid_emu31_t 804 llgfr %r4,%r4 # __kernel_old_gid_emu31_t
805 jg sys32_setresgid16 # branch to system call 805 jg sys32_setresgid16 # branch to system call
806 806
807 .globl sys32_getresgid16_wrapper 807 .globl sys32_getresgid16_wrapper
808sys32_getresgid16_wrapper: 808sys32_getresgid16_wrapper:
809 llgtr %r2,%r2 # __kernel_old_gid_emu31_t * 809 llgtr %r2,%r2 # __kernel_old_gid_emu31_t *
810 llgtr %r3,%r3 # __kernel_old_gid_emu31_t * 810 llgtr %r3,%r3 # __kernel_old_gid_emu31_t *
811 llgtr %r4,%r4 # __kernel_old_gid_emu31_t * 811 llgtr %r4,%r4 # __kernel_old_gid_emu31_t *
812 jg sys32_getresgid16 # branch to system call 812 jg sys32_getresgid16 # branch to system call
813 813
814 .globl sys32_prctl_wrapper 814 .globl sys32_prctl_wrapper
815sys32_prctl_wrapper: 815sys32_prctl_wrapper:
816 lgfr %r2,%r2 # int 816 lgfr %r2,%r2 # int
817 llgfr %r3,%r3 # unsigned long 817 llgfr %r3,%r3 # unsigned long
@@ -820,9 +820,9 @@ sys32_prctl_wrapper:
820 llgfr %r6,%r6 # unsigned long 820 llgfr %r6,%r6 # unsigned long
821 jg sys_prctl # branch to system call 821 jg sys_prctl # branch to system call
822 822
823#sys32_rt_sigreturn_wrapper # done in rt_sigreturn_glue 823#sys32_rt_sigreturn_wrapper # done in rt_sigreturn_glue
824 824
825 .globl sys32_rt_sigaction_wrapper 825 .globl sys32_rt_sigaction_wrapper
826sys32_rt_sigaction_wrapper: 826sys32_rt_sigaction_wrapper:
827 lgfr %r2,%r2 # int 827 lgfr %r2,%r2 # int
828 llgtr %r3,%r3 # const struct sigaction_emu31 * 828 llgtr %r3,%r3 # const struct sigaction_emu31 *
@@ -830,7 +830,7 @@ sys32_rt_sigaction_wrapper:
830 llgfr %r5,%r5 # size_t 830 llgfr %r5,%r5 # size_t
831 jg sys32_rt_sigaction # branch to system call 831 jg sys32_rt_sigaction # branch to system call
832 832
833 .globl sys32_rt_sigprocmask_wrapper 833 .globl sys32_rt_sigprocmask_wrapper
834sys32_rt_sigprocmask_wrapper: 834sys32_rt_sigprocmask_wrapper:
835 lgfr %r2,%r2 # int 835 lgfr %r2,%r2 # int
836 llgtr %r3,%r3 # old_sigset_emu31 * 836 llgtr %r3,%r3 # old_sigset_emu31 *
@@ -838,13 +838,13 @@ sys32_rt_sigprocmask_wrapper:
838 llgfr %r5,%r5 # size_t 838 llgfr %r5,%r5 # size_t
839 jg sys32_rt_sigprocmask # branch to system call 839 jg sys32_rt_sigprocmask # branch to system call
840 840
841 .globl sys32_rt_sigpending_wrapper 841 .globl sys32_rt_sigpending_wrapper
842sys32_rt_sigpending_wrapper: 842sys32_rt_sigpending_wrapper:
843 llgtr %r2,%r2 # sigset_emu31 * 843 llgtr %r2,%r2 # sigset_emu31 *
844 llgfr %r3,%r3 # size_t 844 llgfr %r3,%r3 # size_t
845 jg sys32_rt_sigpending # branch to system call 845 jg sys32_rt_sigpending # branch to system call
846 846
847 .globl compat_sys_rt_sigtimedwait_wrapper 847 .globl compat_sys_rt_sigtimedwait_wrapper
848compat_sys_rt_sigtimedwait_wrapper: 848compat_sys_rt_sigtimedwait_wrapper:
849 llgtr %r2,%r2 # const sigset_emu31_t * 849 llgtr %r2,%r2 # const sigset_emu31_t *
850 llgtr %r3,%r3 # siginfo_emu31_t * 850 llgtr %r3,%r3 # siginfo_emu31_t *
@@ -852,7 +852,7 @@ compat_sys_rt_sigtimedwait_wrapper:
852 llgfr %r5,%r5 # size_t 852 llgfr %r5,%r5 # size_t
853 jg compat_sys_rt_sigtimedwait # branch to system call 853 jg compat_sys_rt_sigtimedwait # branch to system call
854 854
855 .globl sys32_rt_sigqueueinfo_wrapper 855 .globl sys32_rt_sigqueueinfo_wrapper
856sys32_rt_sigqueueinfo_wrapper: 856sys32_rt_sigqueueinfo_wrapper:
857 lgfr %r2,%r2 # int 857 lgfr %r2,%r2 # int
858 lgfr %r3,%r3 # int 858 lgfr %r3,%r3 # int
@@ -865,7 +865,7 @@ compat_sys_rt_sigsuspend_wrapper:
865 llgfr %r3,%r3 # compat_size_t 865 llgfr %r3,%r3 # compat_size_t
866 jg compat_sys_rt_sigsuspend 866 jg compat_sys_rt_sigsuspend
867 867
868 .globl sys32_pread64_wrapper 868 .globl sys32_pread64_wrapper
869sys32_pread64_wrapper: 869sys32_pread64_wrapper:
870 llgfr %r2,%r2 # unsigned int 870 llgfr %r2,%r2 # unsigned int
871 llgtr %r3,%r3 # char * 871 llgtr %r3,%r3 # char *
@@ -874,7 +874,7 @@ sys32_pread64_wrapper:
874 llgfr %r6,%r6 # u32 874 llgfr %r6,%r6 # u32
875 jg sys32_pread64 # branch to system call 875 jg sys32_pread64 # branch to system call
876 876
877 .globl sys32_pwrite64_wrapper 877 .globl sys32_pwrite64_wrapper
878sys32_pwrite64_wrapper: 878sys32_pwrite64_wrapper:
879 llgfr %r2,%r2 # unsigned int 879 llgfr %r2,%r2 # unsigned int
880 llgtr %r3,%r3 # const char * 880 llgtr %r3,%r3 # const char *
@@ -883,26 +883,26 @@ sys32_pwrite64_wrapper:
883 llgfr %r6,%r6 # u32 883 llgfr %r6,%r6 # u32
884 jg sys32_pwrite64 # branch to system call 884 jg sys32_pwrite64 # branch to system call
885 885
886 .globl sys32_chown16_wrapper 886 .globl sys32_chown16_wrapper
887sys32_chown16_wrapper: 887sys32_chown16_wrapper:
888 llgtr %r2,%r2 # const char * 888 llgtr %r2,%r2 # const char *
889 llgfr %r3,%r3 # __kernel_old_uid_emu31_t 889 llgfr %r3,%r3 # __kernel_old_uid_emu31_t
890 llgfr %r4,%r4 # __kernel_old_gid_emu31_t 890 llgfr %r4,%r4 # __kernel_old_gid_emu31_t
891 jg sys32_chown16 # branch to system call 891 jg sys32_chown16 # branch to system call
892 892
893 .globl sys32_getcwd_wrapper 893 .globl sys32_getcwd_wrapper
894sys32_getcwd_wrapper: 894sys32_getcwd_wrapper:
895 llgtr %r2,%r2 # char * 895 llgtr %r2,%r2 # char *
896 llgfr %r3,%r3 # unsigned long 896 llgfr %r3,%r3 # unsigned long
897 jg sys_getcwd # branch to system call 897 jg sys_getcwd # branch to system call
898 898
899 .globl sys32_capget_wrapper 899 .globl sys32_capget_wrapper
900sys32_capget_wrapper: 900sys32_capget_wrapper:
901 llgtr %r2,%r2 # cap_user_header_t 901 llgtr %r2,%r2 # cap_user_header_t
902 llgtr %r3,%r3 # cap_user_data_t 902 llgtr %r3,%r3 # cap_user_data_t
903 jg sys_capget # branch to system call 903 jg sys_capget # branch to system call
904 904
905 .globl sys32_capset_wrapper 905 .globl sys32_capset_wrapper
906sys32_capset_wrapper: 906sys32_capset_wrapper:
907 llgtr %r2,%r2 # cap_user_header_t 907 llgtr %r2,%r2 # cap_user_header_t
908 llgtr %r3,%r3 # const cap_user_data_t 908 llgtr %r3,%r3 # const cap_user_data_t
@@ -910,11 +910,11 @@ sys32_capset_wrapper:
910 910
911 .globl sys32_sigaltstack_wrapper 911 .globl sys32_sigaltstack_wrapper
912sys32_sigaltstack_wrapper: 912sys32_sigaltstack_wrapper:
913 llgtr %r2,%r2 # const stack_emu31_t * 913 llgtr %r2,%r2 # const stack_emu31_t *
914 llgtr %r3,%r3 # stack_emu31_t * 914 llgtr %r3,%r3 # stack_emu31_t *
915 jg sys32_sigaltstack 915 jg sys32_sigaltstack
916 916
917 .globl sys32_sendfile_wrapper 917 .globl sys32_sendfile_wrapper
918sys32_sendfile_wrapper: 918sys32_sendfile_wrapper:
919 lgfr %r2,%r2 # int 919 lgfr %r2,%r2 # int
920 lgfr %r3,%r3 # int 920 lgfr %r3,%r3 # int
@@ -922,33 +922,33 @@ sys32_sendfile_wrapper:
922 llgfr %r5,%r5 # size_t 922 llgfr %r5,%r5 # size_t
923 jg sys32_sendfile # branch to system call 923 jg sys32_sendfile # branch to system call
924 924
925#sys32_vfork_wrapper # done in vfork_glue 925#sys32_vfork_wrapper # done in vfork_glue
926 926
927 .globl sys32_truncate64_wrapper 927 .globl sys32_truncate64_wrapper
928sys32_truncate64_wrapper: 928sys32_truncate64_wrapper:
929 llgtr %r2,%r2 # const char * 929 llgtr %r2,%r2 # const char *
930 llgfr %r3,%r3 # unsigned long 930 llgfr %r3,%r3 # unsigned long
931 llgfr %r4,%r4 # unsigned long 931 llgfr %r4,%r4 # unsigned long
932 jg sys32_truncate64 # branch to system call 932 jg sys32_truncate64 # branch to system call
933 933
934 .globl sys32_ftruncate64_wrapper 934 .globl sys32_ftruncate64_wrapper
935sys32_ftruncate64_wrapper: 935sys32_ftruncate64_wrapper:
936 llgfr %r2,%r2 # unsigned int 936 llgfr %r2,%r2 # unsigned int
937 llgfr %r3,%r3 # unsigned long 937 llgfr %r3,%r3 # unsigned long
938 llgfr %r4,%r4 # unsigned long 938 llgfr %r4,%r4 # unsigned long
939 jg sys32_ftruncate64 # branch to system call 939 jg sys32_ftruncate64 # branch to system call
940 940
941 .globl sys32_lchown_wrapper 941 .globl sys32_lchown_wrapper
942sys32_lchown_wrapper: 942sys32_lchown_wrapper:
943 llgtr %r2,%r2 # const char * 943 llgtr %r2,%r2 # const char *
944 llgfr %r3,%r3 # uid_t 944 llgfr %r3,%r3 # uid_t
945 llgfr %r4,%r4 # gid_t 945 llgfr %r4,%r4 # gid_t
946 jg sys_lchown # branch to system call 946 jg sys_lchown # branch to system call
947 947
948#sys32_getuid_wrapper # void 948#sys32_getuid_wrapper # void
949#sys32_getgid_wrapper # void 949#sys32_getgid_wrapper # void
950#sys32_geteuid_wrapper # void 950#sys32_geteuid_wrapper # void
951#sys32_getegid_wrapper # void 951#sys32_getegid_wrapper # void
952 952
953 .globl sys32_setreuid_wrapper 953 .globl sys32_setreuid_wrapper
954sys32_setreuid_wrapper: 954sys32_setreuid_wrapper:
@@ -962,111 +962,111 @@ sys32_setregid_wrapper:
962 llgfr %r3,%r3 # gid_t 962 llgfr %r3,%r3 # gid_t
963 jg sys_setregid # branch to system call 963 jg sys_setregid # branch to system call
964 964
965 .globl sys32_getgroups_wrapper 965 .globl sys32_getgroups_wrapper
966sys32_getgroups_wrapper: 966sys32_getgroups_wrapper:
967 lgfr %r2,%r2 # int 967 lgfr %r2,%r2 # int
968 llgtr %r3,%r3 # gid_t * 968 llgtr %r3,%r3 # gid_t *
969 jg sys_getgroups # branch to system call 969 jg sys_getgroups # branch to system call
970 970
971 .globl sys32_setgroups_wrapper 971 .globl sys32_setgroups_wrapper
972sys32_setgroups_wrapper: 972sys32_setgroups_wrapper:
973 lgfr %r2,%r2 # int 973 lgfr %r2,%r2 # int
974 llgtr %r3,%r3 # gid_t * 974 llgtr %r3,%r3 # gid_t *
975 jg sys_setgroups # branch to system call 975 jg sys_setgroups # branch to system call
976 976
977 .globl sys32_fchown_wrapper 977 .globl sys32_fchown_wrapper
978sys32_fchown_wrapper: 978sys32_fchown_wrapper:
979 llgfr %r2,%r2 # unsigned int 979 llgfr %r2,%r2 # unsigned int
980 llgfr %r3,%r3 # uid_t 980 llgfr %r3,%r3 # uid_t
981 llgfr %r4,%r4 # gid_t 981 llgfr %r4,%r4 # gid_t
982 jg sys_fchown # branch to system call 982 jg sys_fchown # branch to system call
983 983
984 .globl sys32_setresuid_wrapper 984 .globl sys32_setresuid_wrapper
985sys32_setresuid_wrapper: 985sys32_setresuid_wrapper:
986 llgfr %r2,%r2 # uid_t 986 llgfr %r2,%r2 # uid_t
987 llgfr %r3,%r3 # uid_t 987 llgfr %r3,%r3 # uid_t
988 llgfr %r4,%r4 # uid_t 988 llgfr %r4,%r4 # uid_t
989 jg sys_setresuid # branch to system call 989 jg sys_setresuid # branch to system call
990 990
991 .globl sys32_getresuid_wrapper 991 .globl sys32_getresuid_wrapper
992sys32_getresuid_wrapper: 992sys32_getresuid_wrapper:
993 llgtr %r2,%r2 # uid_t * 993 llgtr %r2,%r2 # uid_t *
994 llgtr %r3,%r3 # uid_t * 994 llgtr %r3,%r3 # uid_t *
995 llgtr %r4,%r4 # uid_t * 995 llgtr %r4,%r4 # uid_t *
996 jg sys_getresuid # branch to system call 996 jg sys_getresuid # branch to system call
997 997
998 .globl sys32_setresgid_wrapper 998 .globl sys32_setresgid_wrapper
999sys32_setresgid_wrapper: 999sys32_setresgid_wrapper:
1000 llgfr %r2,%r2 # gid_t 1000 llgfr %r2,%r2 # gid_t
1001 llgfr %r3,%r3 # gid_t 1001 llgfr %r3,%r3 # gid_t
1002 llgfr %r4,%r4 # gid_t 1002 llgfr %r4,%r4 # gid_t
1003 jg sys_setresgid # branch to system call 1003 jg sys_setresgid # branch to system call
1004 1004
1005 .globl sys32_getresgid_wrapper 1005 .globl sys32_getresgid_wrapper
1006sys32_getresgid_wrapper: 1006sys32_getresgid_wrapper:
1007 llgtr %r2,%r2 # gid_t * 1007 llgtr %r2,%r2 # gid_t *
1008 llgtr %r3,%r3 # gid_t * 1008 llgtr %r3,%r3 # gid_t *
1009 llgtr %r4,%r4 # gid_t * 1009 llgtr %r4,%r4 # gid_t *
1010 jg sys_getresgid # branch to system call 1010 jg sys_getresgid # branch to system call
1011 1011
1012 .globl sys32_chown_wrapper 1012 .globl sys32_chown_wrapper
1013sys32_chown_wrapper: 1013sys32_chown_wrapper:
1014 llgtr %r2,%r2 # const char * 1014 llgtr %r2,%r2 # const char *
1015 llgfr %r3,%r3 # uid_t 1015 llgfr %r3,%r3 # uid_t
1016 llgfr %r4,%r4 # gid_t 1016 llgfr %r4,%r4 # gid_t
1017 jg sys_chown # branch to system call 1017 jg sys_chown # branch to system call
1018 1018
1019 .globl sys32_setuid_wrapper 1019 .globl sys32_setuid_wrapper
1020sys32_setuid_wrapper: 1020sys32_setuid_wrapper:
1021 llgfr %r2,%r2 # uid_t 1021 llgfr %r2,%r2 # uid_t
1022 jg sys_setuid # branch to system call 1022 jg sys_setuid # branch to system call
1023 1023
1024 .globl sys32_setgid_wrapper 1024 .globl sys32_setgid_wrapper
1025sys32_setgid_wrapper: 1025sys32_setgid_wrapper:
1026 llgfr %r2,%r2 # gid_t 1026 llgfr %r2,%r2 # gid_t
1027 jg sys_setgid # branch to system call 1027 jg sys_setgid # branch to system call
1028 1028
1029 .globl sys32_setfsuid_wrapper 1029 .globl sys32_setfsuid_wrapper
1030sys32_setfsuid_wrapper: 1030sys32_setfsuid_wrapper:
1031 llgfr %r2,%r2 # uid_t 1031 llgfr %r2,%r2 # uid_t
1032 jg sys_setfsuid # branch to system call 1032 jg sys_setfsuid # branch to system call
1033 1033
1034 .globl sys32_setfsgid_wrapper 1034 .globl sys32_setfsgid_wrapper
1035sys32_setfsgid_wrapper: 1035sys32_setfsgid_wrapper:
1036 llgfr %r2,%r2 # gid_t 1036 llgfr %r2,%r2 # gid_t
1037 jg sys_setfsgid # branch to system call 1037 jg sys_setfsgid # branch to system call
1038 1038
1039 .globl sys32_pivot_root_wrapper 1039 .globl sys32_pivot_root_wrapper
1040sys32_pivot_root_wrapper: 1040sys32_pivot_root_wrapper:
1041 llgtr %r2,%r2 # const char * 1041 llgtr %r2,%r2 # const char *
1042 llgtr %r3,%r3 # const char * 1042 llgtr %r3,%r3 # const char *
1043 jg sys_pivot_root # branch to system call 1043 jg sys_pivot_root # branch to system call
1044 1044
1045 .globl sys32_mincore_wrapper 1045 .globl sys32_mincore_wrapper
1046sys32_mincore_wrapper: 1046sys32_mincore_wrapper:
1047 llgfr %r2,%r2 # unsigned long 1047 llgfr %r2,%r2 # unsigned long
1048 llgfr %r3,%r3 # size_t 1048 llgfr %r3,%r3 # size_t
1049 llgtr %r4,%r4 # unsigned char * 1049 llgtr %r4,%r4 # unsigned char *
1050 jg sys_mincore # branch to system call 1050 jg sys_mincore # branch to system call
1051 1051
1052 .globl sys32_madvise_wrapper 1052 .globl sys32_madvise_wrapper
1053sys32_madvise_wrapper: 1053sys32_madvise_wrapper:
1054 llgfr %r2,%r2 # unsigned long 1054 llgfr %r2,%r2 # unsigned long
1055 llgfr %r3,%r3 # size_t 1055 llgfr %r3,%r3 # size_t
1056 lgfr %r4,%r4 # int 1056 lgfr %r4,%r4 # int
1057 jg sys_madvise # branch to system call 1057 jg sys_madvise # branch to system call
1058 1058
1059 .globl sys32_getdents64_wrapper 1059 .globl sys32_getdents64_wrapper
1060sys32_getdents64_wrapper: 1060sys32_getdents64_wrapper:
1061 llgfr %r2,%r2 # unsigned int 1061 llgfr %r2,%r2 # unsigned int
1062 llgtr %r3,%r3 # void * 1062 llgtr %r3,%r3 # void *
1063 llgfr %r4,%r4 # unsigned int 1063 llgfr %r4,%r4 # unsigned int
1064 jg sys_getdents64 # branch to system call 1064 jg sys_getdents64 # branch to system call
1065 1065
1066 .globl compat_sys_fcntl64_wrapper 1066 .globl compat_sys_fcntl64_wrapper
1067compat_sys_fcntl64_wrapper: 1067compat_sys_fcntl64_wrapper:
1068 llgfr %r2,%r2 # unsigned int 1068 llgfr %r2,%r2 # unsigned int
1069 llgfr %r3,%r3 # unsigned int 1069 llgfr %r3,%r3 # unsigned int
1070 llgfr %r4,%r4 # unsigned long 1070 llgfr %r4,%r4 # unsigned long
1071 jg compat_sys_fcntl64 # branch to system call 1071 jg compat_sys_fcntl64 # branch to system call
1072 1072
@@ -1087,10 +1087,10 @@ sys32_stime_wrapper:
1087 llgtr %r2,%r2 # long * 1087 llgtr %r2,%r2 # long *
1088 jg compat_sys_stime # branch to system call 1088 jg compat_sys_stime # branch to system call
1089 1089
1090 .globl sys32_sysctl_wrapper 1090 .globl sys32_sysctl_wrapper
1091sys32_sysctl_wrapper: 1091sys32_sysctl_wrapper:
1092 llgtr %r2,%r2 # struct __sysctl_args32 * 1092 llgtr %r2,%r2 # struct __sysctl_args32 *
1093 jg sys32_sysctl 1093 jg sys32_sysctl
1094 1094
1095 .globl sys32_fstat64_wrapper 1095 .globl sys32_fstat64_wrapper
1096sys32_fstat64_wrapper: 1096sys32_fstat64_wrapper:
@@ -1098,7 +1098,7 @@ sys32_fstat64_wrapper:
1098 llgtr %r3,%r3 # struct stat64 * 1098 llgtr %r3,%r3 # struct stat64 *
1099 jg sys32_fstat64 # branch to system call 1099 jg sys32_fstat64 # branch to system call
1100 1100
1101 .globl compat_sys_futex_wrapper 1101 .globl compat_sys_futex_wrapper
1102compat_sys_futex_wrapper: 1102compat_sys_futex_wrapper:
1103 llgtr %r2,%r2 # u32 * 1103 llgtr %r2,%r2 # u32 *
1104 lgfr %r3,%r3 # int 1104 lgfr %r3,%r3 # int
@@ -1213,22 +1213,22 @@ sys32_sched_getaffinity_wrapper:
1213 llgtr %r4,%r4 # unsigned long * 1213 llgtr %r4,%r4 # unsigned long *
1214 jg compat_sys_sched_getaffinity 1214 jg compat_sys_sched_getaffinity
1215 1215
1216 .globl sys32_exit_group_wrapper 1216 .globl sys32_exit_group_wrapper
1217sys32_exit_group_wrapper: 1217sys32_exit_group_wrapper:
1218 lgfr %r2,%r2 # int 1218 lgfr %r2,%r2 # int
1219 jg sys_exit_group # branch to system call 1219 jg sys_exit_group # branch to system call
1220 1220
1221 .globl sys32_set_tid_address_wrapper 1221 .globl sys32_set_tid_address_wrapper
1222sys32_set_tid_address_wrapper: 1222sys32_set_tid_address_wrapper:
1223 llgtr %r2,%r2 # int * 1223 llgtr %r2,%r2 # int *
1224 jg sys_set_tid_address # branch to system call 1224 jg sys_set_tid_address # branch to system call
1225 1225
1226 .globl sys_epoll_create_wrapper 1226 .globl sys_epoll_create_wrapper
1227sys_epoll_create_wrapper: 1227sys_epoll_create_wrapper:
1228 lgfr %r2,%r2 # int 1228 lgfr %r2,%r2 # int
1229 jg sys_epoll_create # branch to system call 1229 jg sys_epoll_create # branch to system call
1230 1230
1231 .globl sys_epoll_ctl_wrapper 1231 .globl sys_epoll_ctl_wrapper
1232sys_epoll_ctl_wrapper: 1232sys_epoll_ctl_wrapper:
1233 lgfr %r2,%r2 # int 1233 lgfr %r2,%r2 # int
1234 lgfr %r3,%r3 # int 1234 lgfr %r3,%r3 # int
@@ -1236,7 +1236,7 @@ sys_epoll_ctl_wrapper:
1236 llgtr %r5,%r5 # struct epoll_event * 1236 llgtr %r5,%r5 # struct epoll_event *
1237 jg sys_epoll_ctl # branch to system call 1237 jg sys_epoll_ctl # branch to system call
1238 1238
1239 .globl sys_epoll_wait_wrapper 1239 .globl sys_epoll_wait_wrapper
1240sys_epoll_wait_wrapper: 1240sys_epoll_wait_wrapper:
1241 lgfr %r2,%r2 # int 1241 lgfr %r2,%r2 # int
1242 llgtr %r3,%r3 # struct epoll_event * 1242 llgtr %r3,%r3 # struct epoll_event *