| author | |
| committer | |
| log | ec0e6440b102e947c2232a61148bcd050d783e3a |
| tree | 575983855cb799e2befc579199fb859db28594d1 |
| parent | 3ec27ae648246667e7d8258256ebb06683125037 |
| signature |
Adds mipsn32 and x32 sources.
Also remove some useless .in files.89 files changed, 2322 insertions(+), 5479 deletions(-)
lib/libc/musl/arch/aarch64/bits/alltypes.h.in deleted-24| ... | ... | @@ -1,24 +0,0 @@ |
| 1 | #define _Addr long | |
| 2 | #define _Int64 long | |
| 3 | #define _Reg long | |
| 4 | ||
| 5 | #if __AARCH64EB__ | |
| 6 | #define __BYTE_ORDER 4321 | |
| 7 | #else | |
| 8 | #define __BYTE_ORDER 1234 | |
| 9 | #endif | |
| 10 | ||
| 11 | #define __LONG_MAX 0x7fffffffffffffffL | |
| 12 | ||
| 13 | #ifndef __cplusplus | |
| 14 | TYPEDEF unsigned wchar_t; | |
| 15 | #endif | |
| 16 | TYPEDEF unsigned wint_t; | |
| 17 | ||
| 18 | TYPEDEF int blksize_t; | |
| 19 | TYPEDEF unsigned int nlink_t; | |
| 20 | ||
| 21 | TYPEDEF float float_t; | |
| 22 | TYPEDEF double double_t; | |
| 23 | ||
| 24 | TYPEDEF struct { long long __ll; long double __ld; } max_align_t; |
lib/libc/musl/arch/aarch64/bits/syscall.h.in deleted-307| ... | ... | @@ -1,307 +0,0 @@ |
| 1 | #define __NR_io_setup 0 | |
| 2 | #define __NR_io_destroy 1 | |
| 3 | #define __NR_io_submit 2 | |
| 4 | #define __NR_io_cancel 3 | |
| 5 | #define __NR_io_getevents 4 | |
| 6 | #define __NR_setxattr 5 | |
| 7 | #define __NR_lsetxattr 6 | |
| 8 | #define __NR_fsetxattr 7 | |
| 9 | #define __NR_getxattr 8 | |
| 10 | #define __NR_lgetxattr 9 | |
| 11 | #define __NR_fgetxattr 10 | |
| 12 | #define __NR_listxattr 11 | |
| 13 | #define __NR_llistxattr 12 | |
| 14 | #define __NR_flistxattr 13 | |
| 15 | #define __NR_removexattr 14 | |
| 16 | #define __NR_lremovexattr 15 | |
| 17 | #define __NR_fremovexattr 16 | |
| 18 | #define __NR_getcwd 17 | |
| 19 | #define __NR_lookup_dcookie 18 | |
| 20 | #define __NR_eventfd2 19 | |
| 21 | #define __NR_epoll_create1 20 | |
| 22 | #define __NR_epoll_ctl 21 | |
| 23 | #define __NR_epoll_pwait 22 | |
| 24 | #define __NR_dup 23 | |
| 25 | #define __NR_dup3 24 | |
| 26 | #define __NR_fcntl 25 | |
| 27 | #define __NR_inotify_init1 26 | |
| 28 | #define __NR_inotify_add_watch 27 | |
| 29 | #define __NR_inotify_rm_watch 28 | |
| 30 | #define __NR_ioctl 29 | |
| 31 | #define __NR_ioprio_set 30 | |
| 32 | #define __NR_ioprio_get 31 | |
| 33 | #define __NR_flock 32 | |
| 34 | #define __NR_mknodat 33 | |
| 35 | #define __NR_mkdirat 34 | |
| 36 | #define __NR_unlinkat 35 | |
| 37 | #define __NR_symlinkat 36 | |
| 38 | #define __NR_linkat 37 | |
| 39 | #define __NR_renameat 38 | |
| 40 | #define __NR_umount2 39 | |
| 41 | #define __NR_mount 40 | |
| 42 | #define __NR_pivot_root 41 | |
| 43 | #define __NR_nfsservctl 42 | |
| 44 | #define __NR_statfs 43 | |
| 45 | #define __NR_fstatfs 44 | |
| 46 | #define __NR_truncate 45 | |
| 47 | #define __NR_ftruncate 46 | |
| 48 | #define __NR_fallocate 47 | |
| 49 | #define __NR_faccessat 48 | |
| 50 | #define __NR_chdir 49 | |
| 51 | #define __NR_fchdir 50 | |
| 52 | #define __NR_chroot 51 | |
| 53 | #define __NR_fchmod 52 | |
| 54 | #define __NR_fchmodat 53 | |
| 55 | #define __NR_fchownat 54 | |
| 56 | #define __NR_fchown 55 | |
| 57 | #define __NR_openat 56 | |
| 58 | #define __NR_close 57 | |
| 59 | #define __NR_vhangup 58 | |
| 60 | #define __NR_pipe2 59 | |
| 61 | #define __NR_quotactl 60 | |
| 62 | #define __NR_getdents64 61 | |
| 63 | #define __NR_lseek 62 | |
| 64 | #define __NR_read 63 | |
| 65 | #define __NR_write 64 | |
| 66 | #define __NR_readv 65 | |
| 67 | #define __NR_writev 66 | |
| 68 | #define __NR_pread64 67 | |
| 69 | #define __NR_pwrite64 68 | |
| 70 | #define __NR_preadv 69 | |
| 71 | #define __NR_pwritev 70 | |
| 72 | #define __NR_sendfile 71 | |
| 73 | #define __NR_pselect6 72 | |
| 74 | #define __NR_ppoll 73 | |
| 75 | #define __NR_signalfd4 74 | |
| 76 | #define __NR_vmsplice 75 | |
| 77 | #define __NR_splice 76 | |
| 78 | #define __NR_tee 77 | |
| 79 | #define __NR_readlinkat 78 | |
| 80 | #define __NR_newfstatat 79 | |
| 81 | #define __NR_fstat 80 | |
| 82 | #define __NR_sync 81 | |
| 83 | #define __NR_fsync 82 | |
| 84 | #define __NR_fdatasync 83 | |
| 85 | #define __NR_sync_file_range 84 | |
| 86 | #define __NR_timerfd_create 85 | |
| 87 | #define __NR_timerfd_settime 86 | |
| 88 | #define __NR_timerfd_gettime 87 | |
| 89 | #define __NR_utimensat 88 | |
| 90 | #define __NR_acct 89 | |
| 91 | #define __NR_capget 90 | |
| 92 | #define __NR_capset 91 | |
| 93 | #define __NR_personality 92 | |
| 94 | #define __NR_exit 93 | |
| 95 | #define __NR_exit_group 94 | |
| 96 | #define __NR_waitid 95 | |
| 97 | #define __NR_set_tid_address 96 | |
| 98 | #define __NR_unshare 97 | |
| 99 | #define __NR_futex 98 | |
| 100 | #define __NR_set_robust_list 99 | |
| 101 | #define __NR_get_robust_list 100 | |
| 102 | #define __NR_nanosleep 101 | |
| 103 | #define __NR_getitimer 102 | |
| 104 | #define __NR_setitimer 103 | |
| 105 | #define __NR_kexec_load 104 | |
| 106 | #define __NR_init_module 105 | |
| 107 | #define __NR_delete_module 106 | |
| 108 | #define __NR_timer_create 107 | |
| 109 | #define __NR_timer_gettime 108 | |
| 110 | #define __NR_timer_getoverrun 109 | |
| 111 | #define __NR_timer_settime 110 | |
| 112 | #define __NR_timer_delete 111 | |
| 113 | #define __NR_clock_settime 112 | |
| 114 | #define __NR_clock_gettime 113 | |
| 115 | #define __NR_clock_getres 114 | |
| 116 | #define __NR_clock_nanosleep 115 | |
| 117 | #define __NR_syslog 116 | |
| 118 | #define __NR_ptrace 117 | |
| 119 | #define __NR_sched_setparam 118 | |
| 120 | #define __NR_sched_setscheduler 119 | |
| 121 | #define __NR_sched_getscheduler 120 | |
| 122 | #define __NR_sched_getparam 121 | |
| 123 | #define __NR_sched_setaffinity 122 | |
| 124 | #define __NR_sched_getaffinity 123 | |
| 125 | #define __NR_sched_yield 124 | |
| 126 | #define __NR_sched_get_priority_max 125 | |
| 127 | #define __NR_sched_get_priority_min 126 | |
| 128 | #define __NR_sched_rr_get_interval 127 | |
| 129 | #define __NR_restart_syscall 128 | |
| 130 | #define __NR_kill 129 | |
| 131 | #define __NR_tkill 130 | |
| 132 | #define __NR_tgkill 131 | |
| 133 | #define __NR_sigaltstack 132 | |
| 134 | #define __NR_rt_sigsuspend 133 | |
| 135 | #define __NR_rt_sigaction 134 | |
| 136 | #define __NR_rt_sigprocmask 135 | |
| 137 | #define __NR_rt_sigpending 136 | |
| 138 | #define __NR_rt_sigtimedwait 137 | |
| 139 | #define __NR_rt_sigqueueinfo 138 | |
| 140 | #define __NR_rt_sigreturn 139 | |
| 141 | #define __NR_setpriority 140 | |
| 142 | #define __NR_getpriority 141 | |
| 143 | #define __NR_reboot 142 | |
| 144 | #define __NR_setregid 143 | |
| 145 | #define __NR_setgid 144 | |
| 146 | #define __NR_setreuid 145 | |
| 147 | #define __NR_setuid 146 | |
| 148 | #define __NR_setresuid 147 | |
| 149 | #define __NR_getresuid 148 | |
| 150 | #define __NR_setresgid 149 | |
| 151 | #define __NR_getresgid 150 | |
| 152 | #define __NR_setfsuid 151 | |
| 153 | #define __NR_setfsgid 152 | |
| 154 | #define __NR_times 153 | |
| 155 | #define __NR_setpgid 154 | |
| 156 | #define __NR_getpgid 155 | |
| 157 | #define __NR_getsid 156 | |
| 158 | #define __NR_setsid 157 | |
| 159 | #define __NR_getgroups 158 | |
| 160 | #define __NR_setgroups 159 | |
| 161 | #define __NR_uname 160 | |
| 162 | #define __NR_sethostname 161 | |
| 163 | #define __NR_setdomainname 162 | |
| 164 | #define __NR_getrlimit 163 | |
| 165 | #define __NR_setrlimit 164 | |
| 166 | #define __NR_getrusage 165 | |
| 167 | #define __NR_umask 166 | |
| 168 | #define __NR_prctl 167 | |
| 169 | #define __NR_getcpu 168 | |
| 170 | #define __NR_gettimeofday 169 | |
| 171 | #define __NR_settimeofday 170 | |
| 172 | #define __NR_adjtimex 171 | |
| 173 | #define __NR_getpid 172 | |
| 174 | #define __NR_getppid 173 | |
| 175 | #define __NR_getuid 174 | |
| 176 | #define __NR_geteuid 175 | |
| 177 | #define __NR_getgid 176 | |
| 178 | #define __NR_getegid 177 | |
| 179 | #define __NR_gettid 178 | |
| 180 | #define __NR_sysinfo 179 | |
| 181 | #define __NR_mq_open 180 | |
| 182 | #define __NR_mq_unlink 181 | |
| 183 | #define __NR_mq_timedsend 182 | |
| 184 | #define __NR_mq_timedreceive 183 | |
| 185 | #define __NR_mq_notify 184 | |
| 186 | #define __NR_mq_getsetattr 185 | |
| 187 | #define __NR_msgget 186 | |
| 188 | #define __NR_msgctl 187 | |
| 189 | #define __NR_msgrcv 188 | |
| 190 | #define __NR_msgsnd 189 | |
| 191 | #define __NR_semget 190 | |
| 192 | #define __NR_semctl 191 | |
| 193 | #define __NR_semtimedop 192 | |
| 194 | #define __NR_semop 193 | |
| 195 | #define __NR_shmget 194 | |
| 196 | #define __NR_shmctl 195 | |
| 197 | #define __NR_shmat 196 | |
| 198 | #define __NR_shmdt 197 | |
| 199 | #define __NR_socket 198 | |
| 200 | #define __NR_socketpair 199 | |
| 201 | #define __NR_bind 200 | |
| 202 | #define __NR_listen 201 | |
| 203 | #define __NR_accept 202 | |
| 204 | #define __NR_connect 203 | |
| 205 | #define __NR_getsockname 204 | |
| 206 | #define __NR_getpeername 205 | |
| 207 | #define __NR_sendto 206 | |
| 208 | #define __NR_recvfrom 207 | |
| 209 | #define __NR_setsockopt 208 | |
| 210 | #define __NR_getsockopt 209 | |
| 211 | #define __NR_shutdown 210 | |
| 212 | #define __NR_sendmsg 211 | |
| 213 | #define __NR_recvmsg 212 | |
| 214 | #define __NR_readahead 213 | |
| 215 | #define __NR_brk 214 | |
| 216 | #define __NR_munmap 215 | |
| 217 | #define __NR_mremap 216 | |
| 218 | #define __NR_add_key 217 | |
| 219 | #define __NR_request_key 218 | |
| 220 | #define __NR_keyctl 219 | |
| 221 | #define __NR_clone 220 | |
| 222 | #define __NR_execve 221 | |
| 223 | #define __NR_mmap 222 | |
| 224 | #define __NR_fadvise64 223 | |
| 225 | #define __NR_swapon 224 | |
| 226 | #define __NR_swapoff 225 | |
| 227 | #define __NR_mprotect 226 | |
| 228 | #define __NR_msync 227 | |
| 229 | #define __NR_mlock 228 | |
| 230 | #define __NR_munlock 229 | |
| 231 | #define __NR_mlockall 230 | |
| 232 | #define __NR_munlockall 231 | |
| 233 | #define __NR_mincore 232 | |
| 234 | #define __NR_madvise 233 | |
| 235 | #define __NR_remap_file_pages 234 | |
| 236 | #define __NR_mbind 235 | |
| 237 | #define __NR_get_mempolicy 236 | |
| 238 | #define __NR_set_mempolicy 237 | |
| 239 | #define __NR_migrate_pages 238 | |
| 240 | #define __NR_move_pages 239 | |
| 241 | #define __NR_rt_tgsigqueueinfo 240 | |
| 242 | #define __NR_perf_event_open 241 | |
| 243 | #define __NR_accept4 242 | |
| 244 | #define __NR_recvmmsg 243 | |
| 245 | #define __NR_wait4 260 | |
| 246 | #define __NR_prlimit64 261 | |
| 247 | #define __NR_fanotify_init 262 | |
| 248 | #define __NR_fanotify_mark 263 | |
| 249 | #define __NR_name_to_handle_at 264 | |
| 250 | #define __NR_open_by_handle_at 265 | |
| 251 | #define __NR_clock_adjtime 266 | |
| 252 | #define __NR_syncfs 267 | |
| 253 | #define __NR_setns 268 | |
| 254 | #define __NR_sendmmsg 269 | |
| 255 | #define __NR_process_vm_readv 270 | |
| 256 | #define __NR_process_vm_writev 271 | |
| 257 | #define __NR_kcmp 272 | |
| 258 | #define __NR_finit_module 273 | |
| 259 | #define __NR_sched_setattr 274 | |
| 260 | #define __NR_sched_getattr 275 | |
| 261 | #define __NR_renameat2 276 | |
| 262 | #define __NR_seccomp 277 | |
| 263 | #define __NR_getrandom 278 | |
| 264 | #define __NR_memfd_create 279 | |
| 265 | #define __NR_bpf 280 | |
| 266 | #define __NR_execveat 281 | |
| 267 | #define __NR_userfaultfd 282 | |
| 268 | #define __NR_membarrier 283 | |
| 269 | #define __NR_mlock2 284 | |
| 270 | #define __NR_copy_file_range 285 | |
| 271 | #define __NR_preadv2 286 | |
| 272 | #define __NR_pwritev2 287 | |
| 273 | #define __NR_pkey_mprotect 288 | |
| 274 | #define __NR_pkey_alloc 289 | |
| 275 | #define __NR_pkey_free 290 | |
| 276 | #define __NR_statx 291 | |
| 277 | #define __NR_io_pgetevents 292 | |
| 278 | #define __NR_rseq 293 | |
| 279 | #define __NR_kexec_file_load 294 | |
| 280 | #define __NR_pidfd_send_signal 424 | |
| 281 | #define __NR_io_uring_setup 425 | |
| 282 | #define __NR_io_uring_enter 426 | |
| 283 | #define __NR_io_uring_register 427 | |
| 284 | #define __NR_open_tree		428 | |
| 285 | #define __NR_move_mount		429 | |
| 286 | #define __NR_fsopen		430 | |
| 287 | #define __NR_fsconfig		431 | |
| 288 | #define __NR_fsmount		432 | |
| 289 | #define __NR_fspick		433 | |
| 290 | #define __NR_pidfd_open		434 | |
| 291 | #define __NR_clone3		435 | |
| 292 | #define __NR_close_range	436 | |
| 293 | #define __NR_openat2		437 | |
| 294 | #define __NR_pidfd_getfd	438 | |
| 295 | #define __NR_faccessat2		439 | |
| 296 | #define __NR_process_madvise	440 | |
| 297 | #define __NR_epoll_pwait2	441 | |
| 298 | #define __NR_mount_setattr	442 | |
| 299 | #define __NR_landlock_create_ruleset	444 | |
| 300 | #define __NR_landlock_add_rule	445 | |
| 301 | #define __NR_landlock_restrict_self	446 | |
| 302 | #define __NR_process_mrelease	448 | |
| 303 | #define __NR_futex_waitv	449 | |
| 304 | #define __NR_set_mempolicy_home_node	450 | |
| 305 | #define __NR_cachestat		451 | |
| 306 | #define __NR_fchmodat2		452 | |
| 307 |
lib/libc/musl/arch/arm/bits/alltypes.h.in deleted-21| ... | ... | @@ -1,21 +0,0 @@ |
| 1 | #define _REDIR_TIME64 1 | |
| 2 | #define _Addr int | |
| 3 | #define _Int64 long long | |
| 4 | #define _Reg int | |
| 5 | ||
| 6 | #if __ARMEB__ | |
| 7 | #define __BYTE_ORDER 4321 | |
| 8 | #else | |
| 9 | #define __BYTE_ORDER 1234 | |
| 10 | #endif | |
| 11 | ||
| 12 | #define __LONG_MAX 0x7fffffffL | |
| 13 | ||
| 14 | #ifndef __cplusplus | |
| 15 | TYPEDEF unsigned wchar_t; | |
| 16 | #endif | |
| 17 | ||
| 18 | TYPEDEF float float_t; | |
| 19 | TYPEDEF double double_t; | |
| 20 | ||
| 21 | TYPEDEF struct { long long __ll; long double __ld; } max_align_t; |
lib/libc/musl/arch/arm/bits/syscall.h.in deleted-414| ... | ... | @@ -1,414 +0,0 @@ |
| 1 | #define __NR_restart_syscall	0 | |
| 2 | #define __NR_exit	1 | |
| 3 | #define __NR_fork	2 | |
| 4 | #define __NR_read	3 | |
| 5 | #define __NR_write	4 | |
| 6 | #define __NR_open	5 | |
| 7 | #define __NR_close	6 | |
| 8 | #define __NR_creat	8 | |
| 9 | #define __NR_link	9 | |
| 10 | #define __NR_unlink	10 | |
| 11 | #define __NR_execve	11 | |
| 12 | #define __NR_chdir	12 | |
| 13 | #define __NR_mknod	14 | |
| 14 | #define __NR_chmod	15 | |
| 15 | #define __NR_lchown	16 | |
| 16 | #define __NR_lseek	19 | |
| 17 | #define __NR_getpid	20 | |
| 18 | #define __NR_mount	21 | |
| 19 | #define __NR_setuid	23 | |
| 20 | #define __NR_getuid	24 | |
| 21 | #define __NR_ptrace	26 | |
| 22 | #define __NR_pause	29 | |
| 23 | #define __NR_access	33 | |
| 24 | #define __NR_nice	34 | |
| 25 | #define __NR_sync	36 | |
| 26 | #define __NR_kill	37 | |
| 27 | #define __NR_rename	38 | |
| 28 | #define __NR_mkdir	39 | |
| 29 | #define __NR_rmdir	40 | |
| 30 | #define __NR_dup	41 | |
| 31 | #define __NR_pipe	42 | |
| 32 | #define __NR_times	43 | |
| 33 | #define __NR_brk	45 | |
| 34 | #define __NR_setgid	46 | |
| 35 | #define __NR_getgid	47 | |
| 36 | #define __NR_geteuid	49 | |
| 37 | #define __NR_getegid	50 | |
| 38 | #define __NR_acct	51 | |
| 39 | #define __NR_umount2	52 | |
| 40 | #define __NR_ioctl	54 | |
| 41 | #define __NR_fcntl	55 | |
| 42 | #define __NR_setpgid	57 | |
| 43 | #define __NR_umask	60 | |
| 44 | #define __NR_chroot	61 | |
| 45 | #define __NR_ustat	62 | |
| 46 | #define __NR_dup2	63 | |
| 47 | #define __NR_getppid	64 | |
| 48 | #define __NR_getpgrp	65 | |
| 49 | #define __NR_setsid	66 | |
| 50 | #define __NR_sigaction	67 | |
| 51 | #define __NR_setreuid	70 | |
| 52 | #define __NR_setregid	71 | |
| 53 | #define __NR_sigsuspend	72 | |
| 54 | #define __NR_sigpending	73 | |
| 55 | #define __NR_sethostname	74 | |
| 56 | #define __NR_setrlimit	75 | |
| 57 | #define __NR_getrusage	77 | |
| 58 | #define __NR_gettimeofday_time32	78 | |
| 59 | #define __NR_settimeofday_time32	79 | |
| 60 | #define __NR_getgroups	80 | |
| 61 | #define __NR_setgroups	81 | |
| 62 | #define __NR_symlink	83 | |
| 63 | #define __NR_readlink	85 | |
| 64 | #define __NR_uselib	86 | |
| 65 | #define __NR_swapon	87 | |
| 66 | #define __NR_reboot	88 | |
| 67 | #define __NR_munmap	91 | |
| 68 | #define __NR_truncate	92 | |
| 69 | #define __NR_ftruncate	93 | |
| 70 | #define __NR_fchmod	94 | |
| 71 | #define __NR_fchown	95 | |
| 72 | #define __NR_getpriority	96 | |
| 73 | #define __NR_setpriority	97 | |
| 74 | #define __NR_statfs	99 | |
| 75 | #define __NR_fstatfs	100 | |
| 76 | #define __NR_syslog	103 | |
| 77 | #define __NR_setitimer	104 | |
| 78 | #define __NR_getitimer	105 | |
| 79 | #define __NR_stat	106 | |
| 80 | #define __NR_lstat	107 | |
| 81 | #define __NR_fstat	108 | |
| 82 | #define __NR_vhangup	111 | |
| 83 | #define __NR_wait4	114 | |
| 84 | #define __NR_swapoff	115 | |
| 85 | #define __NR_sysinfo	116 | |
| 86 | #define __NR_fsync	118 | |
| 87 | #define __NR_sigreturn	119 | |
| 88 | #define __NR_clone	120 | |
| 89 | #define __NR_setdomainname	121 | |
| 90 | #define __NR_uname	122 | |
| 91 | #define __NR_adjtimex	124 | |
| 92 | #define __NR_mprotect	125 | |
| 93 | #define __NR_sigprocmask	126 | |
| 94 | #define __NR_init_module	128 | |
| 95 | #define __NR_delete_module	129 | |
| 96 | #define __NR_quotactl	131 | |
| 97 | #define __NR_getpgid	132 | |
| 98 | #define __NR_fchdir	133 | |
| 99 | #define __NR_bdflush	134 | |
| 100 | #define __NR_sysfs	135 | |
| 101 | #define __NR_personality	136 | |
| 102 | #define __NR_setfsuid	138 | |
| 103 | #define __NR_setfsgid	139 | |
| 104 | #define __NR__llseek	140 | |
| 105 | #define __NR_getdents	141 | |
| 106 | #define __NR__newselect	142 | |
| 107 | #define __NR_flock	143 | |
| 108 | #define __NR_msync	144 | |
| 109 | #define __NR_readv	145 | |
| 110 | #define __NR_writev	146 | |
| 111 | #define __NR_getsid	147 | |
| 112 | #define __NR_fdatasync	148 | |
| 113 | #define __NR__sysctl	149 | |
| 114 | #define __NR_mlock	150 | |
| 115 | #define __NR_munlock	151 | |
| 116 | #define __NR_mlockall	152 | |
| 117 | #define __NR_munlockall	153 | |
| 118 | #define __NR_sched_setparam	154 | |
| 119 | #define __NR_sched_getparam	155 | |
| 120 | #define __NR_sched_setscheduler	156 | |
| 121 | #define __NR_sched_getscheduler	157 | |
| 122 | #define __NR_sched_yield	158 | |
| 123 | #define __NR_sched_get_priority_max	159 | |
| 124 | #define __NR_sched_get_priority_min	160 | |
| 125 | #define __NR_sched_rr_get_interval	161 | |
| 126 | #define __NR_nanosleep	162 | |
| 127 | #define __NR_mremap	163 | |
| 128 | #define __NR_setresuid	164 | |
| 129 | #define __NR_getresuid	165 | |
| 130 | #define __NR_poll	168 | |
| 131 | #define __NR_nfsservctl	169 | |
| 132 | #define __NR_setresgid	170 | |
| 133 | #define __NR_getresgid	171 | |
| 134 | #define __NR_prctl	172 | |
| 135 | #define __NR_rt_sigreturn	173 | |
| 136 | #define __NR_rt_sigaction	174 | |
| 137 | #define __NR_rt_sigprocmask	175 | |
| 138 | #define __NR_rt_sigpending	176 | |
| 139 | #define __NR_rt_sigtimedwait	177 | |
| 140 | #define __NR_rt_sigqueueinfo	178 | |
| 141 | #define __NR_rt_sigsuspend	179 | |
| 142 | #define __NR_pread64	180 | |
| 143 | #define __NR_pwrite64	181 | |
| 144 | #define __NR_chown	182 | |
| 145 | #define __NR_getcwd	183 | |
| 146 | #define __NR_capget	184 | |
| 147 | #define __NR_capset	185 | |
| 148 | #define __NR_sigaltstack	186 | |
| 149 | #define __NR_sendfile	187 | |
| 150 | #define __NR_vfork	190 | |
| 151 | #define __NR_ugetrlimit	191 | |
| 152 | #define __NR_mmap2	192 | |
| 153 | #define __NR_truncate64	193 | |
| 154 | #define __NR_ftruncate64	194 | |
| 155 | #define __NR_stat64	195 | |
| 156 | #define __NR_lstat64	196 | |
| 157 | #define __NR_fstat64	197 | |
| 158 | #define __NR_lchown32	198 | |
| 159 | #define __NR_getuid32	199 | |
| 160 | #define __NR_getgid32	200 | |
| 161 | #define __NR_geteuid32	201 | |
| 162 | #define __NR_getegid32	202 | |
| 163 | #define __NR_setreuid32	203 | |
| 164 | #define __NR_setregid32	204 | |
| 165 | #define __NR_getgroups32	205 | |
| 166 | #define __NR_setgroups32	206 | |
| 167 | #define __NR_fchown32	207 | |
| 168 | #define __NR_setresuid32	208 | |
| 169 | #define __NR_getresuid32	209 | |
| 170 | #define __NR_setresgid32	210 | |
| 171 | #define __NR_getresgid32	211 | |
| 172 | #define __NR_chown32	212 | |
| 173 | #define __NR_setuid32	213 | |
| 174 | #define __NR_setgid32	214 | |
| 175 | #define __NR_setfsuid32	215 | |
| 176 | #define __NR_setfsgid32	216 | |
| 177 | #define __NR_getdents64	217 | |
| 178 | #define __NR_pivot_root	218 | |
| 179 | #define __NR_mincore	219 | |
| 180 | #define __NR_madvise	220 | |
| 181 | #define __NR_fcntl64	221 | |
| 182 | #define __NR_gettid	224 | |
| 183 | #define __NR_readahead	225 | |
| 184 | #define __NR_setxattr	226 | |
| 185 | #define __NR_lsetxattr	227 | |
| 186 | #define __NR_fsetxattr	228 | |
| 187 | #define __NR_getxattr	229 | |
| 188 | #define __NR_lgetxattr	230 | |
| 189 | #define __NR_fgetxattr	231 | |
| 190 | #define __NR_listxattr	232 | |
| 191 | #define __NR_llistxattr	233 | |
| 192 | #define __NR_flistxattr	234 | |
| 193 | #define __NR_removexattr	235 | |
| 194 | #define __NR_lremovexattr	236 | |
| 195 | #define __NR_fremovexattr	237 | |
| 196 | #define __NR_tkill	238 | |
| 197 | #define __NR_sendfile64	239 | |
| 198 | #define __NR_futex	240 | |
| 199 | #define __NR_sched_setaffinity	241 | |
| 200 | #define __NR_sched_getaffinity	242 | |
| 201 | #define __NR_io_setup	243 | |
| 202 | #define __NR_io_destroy	244 | |
| 203 | #define __NR_io_getevents	245 | |
| 204 | #define __NR_io_submit	246 | |
| 205 | #define __NR_io_cancel	247 | |
| 206 | #define __NR_exit_group	248 | |
| 207 | #define __NR_lookup_dcookie	249 | |
| 208 | #define __NR_epoll_create	250 | |
| 209 | #define __NR_epoll_ctl	251 | |
| 210 | #define __NR_epoll_wait	252 | |
| 211 | #define __NR_remap_file_pages	253 | |
| 212 | #define __NR_set_tid_address	256 | |
| 213 | #define __NR_timer_create	257 | |
| 214 | #define __NR_timer_settime32	258 | |
| 215 | #define __NR_timer_gettime32	259 | |
| 216 | #define __NR_timer_getoverrun	260 | |
| 217 | #define __NR_timer_delete	261 | |
| 218 | #define __NR_clock_settime32	262 | |
| 219 | #define __NR_clock_gettime32	263 | |
| 220 | #define __NR_clock_getres_time32	264 | |
| 221 | #define __NR_clock_nanosleep_time32	265 | |
| 222 | #define __NR_statfs64	266 | |
| 223 | #define __NR_fstatfs64	267 | |
| 224 | #define __NR_tgkill	268 | |
| 225 | #define __NR_utimes	269 | |
| 226 | #define __NR_fadvise64_64	270 | |
| 227 | #define __NR_arm_fadvise64_64	270 | |
| 228 | #define __NR_pciconfig_iobase	271 | |
| 229 | #define __NR_pciconfig_read	272 | |
| 230 | #define __NR_pciconfig_write	273 | |
| 231 | #define __NR_mq_open	274 | |
| 232 | #define __NR_mq_unlink	275 | |
| 233 | #define __NR_mq_timedsend	276 | |
| 234 | #define __NR_mq_timedreceive	277 | |
| 235 | #define __NR_mq_notify	278 | |
| 236 | #define __NR_mq_getsetattr	279 | |
| 237 | #define __NR_waitid	280 | |
| 238 | #define __NR_socket	281 | |
| 239 | #define __NR_bind	282 | |
| 240 | #define __NR_connect	283 | |
| 241 | #define __NR_listen	284 | |
| 242 | #define __NR_accept	285 | |
| 243 | #define __NR_getsockname	286 | |
| 244 | #define __NR_getpeername	287 | |
| 245 | #define __NR_socketpair	288 | |
| 246 | #define __NR_send	289 | |
| 247 | #define __NR_sendto	290 | |
| 248 | #define __NR_recv	291 | |
| 249 | #define __NR_recvfrom	292 | |
| 250 | #define __NR_shutdown	293 | |
| 251 | #define __NR_setsockopt	294 | |
| 252 | #define __NR_getsockopt	295 | |
| 253 | #define __NR_sendmsg	296 | |
| 254 | #define __NR_recvmsg	297 | |
| 255 | #define __NR_semop	298 | |
| 256 | #define __NR_semget	299 | |
| 257 | #define __NR_semctl	300 | |
| 258 | #define __NR_msgsnd	301 | |
| 259 | #define __NR_msgrcv	302 | |
| 260 | #define __NR_msgget	303 | |
| 261 | #define __NR_msgctl	304 | |
| 262 | #define __NR_shmat	305 | |
| 263 | #define __NR_shmdt	306 | |
| 264 | #define __NR_shmget	307 | |
| 265 | #define __NR_shmctl	308 | |
| 266 | #define __NR_add_key	309 | |
| 267 | #define __NR_request_key	310 | |
| 268 | #define __NR_keyctl	311 | |
| 269 | #define __NR_semtimedop	312 | |
| 270 | #define __NR_vserver	313 | |
| 271 | #define __NR_ioprio_set	314 | |
| 272 | #define __NR_ioprio_get	315 | |
| 273 | #define __NR_inotify_init	316 | |
| 274 | #define __NR_inotify_add_watch	317 | |
| 275 | #define __NR_inotify_rm_watch	318 | |
| 276 | #define __NR_mbind	319 | |
| 277 | #define __NR_get_mempolicy	320 | |
| 278 | #define __NR_set_mempolicy	321 | |
| 279 | #define __NR_openat	322 | |
| 280 | #define __NR_mkdirat	323 | |
| 281 | #define __NR_mknodat	324 | |
| 282 | #define __NR_fchownat	325 | |
| 283 | #define __NR_futimesat	326 | |
| 284 | #define __NR_fstatat64	327 | |
| 285 | #define __NR_unlinkat	328 | |
| 286 | #define __NR_renameat	329 | |
| 287 | #define __NR_linkat	330 | |
| 288 | #define __NR_symlinkat	331 | |
| 289 | #define __NR_readlinkat	332 | |
| 290 | #define __NR_fchmodat	333 | |
| 291 | #define __NR_faccessat	334 | |
| 292 | #define __NR_pselect6	335 | |
| 293 | #define __NR_ppoll	336 | |
| 294 | #define __NR_unshare	337 | |
| 295 | #define __NR_set_robust_list	338 | |
| 296 | #define __NR_get_robust_list	339 | |
| 297 | #define __NR_splice	340 | |
| 298 | #define __NR_sync_file_range2	341 | |
| 299 | #define __NR_arm_sync_file_range	341 | |
| 300 | #define __NR_tee	342 | |
| 301 | #define __NR_vmsplice	343 | |
| 302 | #define __NR_move_pages	344 | |
| 303 | #define __NR_getcpu	345 | |
| 304 | #define __NR_epoll_pwait	346 | |
| 305 | #define __NR_kexec_load	347 | |
| 306 | #define __NR_utimensat	348 | |
| 307 | #define __NR_signalfd	349 | |
| 308 | #define __NR_timerfd_create	350 | |
| 309 | #define __NR_eventfd	351 | |
| 310 | #define __NR_fallocate	352 | |
| 311 | #define __NR_timerfd_settime32	353 | |
| 312 | #define __NR_timerfd_gettime32	354 | |
| 313 | #define __NR_signalfd4	355 | |
| 314 | #define __NR_eventfd2	356 | |
| 315 | #define __NR_epoll_create1	357 | |
| 316 | #define __NR_dup3	358 | |
| 317 | #define __NR_pipe2	359 | |
| 318 | #define __NR_inotify_init1	360 | |
| 319 | #define __NR_preadv	361 | |
| 320 | #define __NR_pwritev	362 | |
| 321 | #define __NR_rt_tgsigqueueinfo	363 | |
| 322 | #define __NR_perf_event_open	364 | |
| 323 | #define __NR_recvmmsg	365 | |
| 324 | #define __NR_accept4	366 | |
| 325 | #define __NR_fanotify_init	367 | |
| 326 | #define __NR_fanotify_mark	368 | |
| 327 | #define __NR_prlimit64	369 | |
| 328 | #define __NR_name_to_handle_at	370 | |
| 329 | #define __NR_open_by_handle_at	371 | |
| 330 | #define __NR_clock_adjtime	372 | |
| 331 | #define __NR_syncfs	373 | |
| 332 | #define __NR_sendmmsg	374 | |
| 333 | #define __NR_setns	375 | |
| 334 | #define __NR_process_vm_readv	376 | |
| 335 | #define __NR_process_vm_writev	377 | |
| 336 | #define __NR_kcmp		378 | |
| 337 | #define __NR_finit_module	379 | |
| 338 | #define __NR_sched_setattr	380 | |
| 339 | #define __NR_sched_getattr	381 | |
| 340 | #define __NR_renameat2	382 | |
| 341 | #define __NR_seccomp	383 | |
| 342 | #define __NR_getrandom	384 | |
| 343 | #define __NR_memfd_create	385 | |
| 344 | #define __NR_bpf	386 | |
| 345 | #define __NR_execveat	387 | |
| 346 | #define __NR_userfaultfd	388 | |
| 347 | #define __NR_membarrier		389 | |
| 348 | #define __NR_mlock2		390 | |
| 349 | #define __NR_copy_file_range	391 | |
| 350 | #define __NR_preadv2	392 | |
| 351 | #define __NR_pwritev2	393 | |
| 352 | #define __NR_pkey_mprotect	394 | |
| 353 | #define __NR_pkey_alloc	395 | |
| 354 | #define __NR_pkey_free	396 | |
| 355 | #define __NR_statx	397 | |
| 356 | #define __NR_rseq	398 | |
| 357 | #define __NR_io_pgetevents	399 | |
| 358 | #define __NR_migrate_pages	400 | |
| 359 | #define __NR_kexec_file_load	401 | |
| 360 | #define __NR_clock_gettime64	403 | |
| 361 | #define __NR_clock_settime64	404 | |
| 362 | #define __NR_clock_adjtime64	405 | |
| 363 | #define __NR_clock_getres_time64	406 | |
| 364 | #define __NR_clock_nanosleep_time64	407 | |
| 365 | #define __NR_timer_gettime64	408 | |
| 366 | #define __NR_timer_settime64	409 | |
| 367 | #define __NR_timerfd_gettime64	410 | |
| 368 | #define __NR_timerfd_settime64	411 | |
| 369 | #define __NR_utimensat_time64	412 | |
| 370 | #define __NR_pselect6_time64	413 | |
| 371 | #define __NR_ppoll_time64	414 | |
| 372 | #define __NR_io_pgetevents_time64	416 | |
| 373 | #define __NR_recvmmsg_time64	417 | |
| 374 | #define __NR_mq_timedsend_time64	418 | |
| 375 | #define __NR_mq_timedreceive_time64	419 | |
| 376 | #define __NR_semtimedop_time64	420 | |
| 377 | #define __NR_rt_sigtimedwait_time64	421 | |
| 378 | #define __NR_futex_time64	422 | |
| 379 | #define __NR_sched_rr_get_interval_time64	423 | |
| 380 | #define __NR_pidfd_send_signal	424 | |
| 381 | #define __NR_io_uring_setup	425 | |
| 382 | #define __NR_io_uring_enter	426 | |
| 383 | #define __NR_io_uring_register	427 | |
| 384 | #define __NR_open_tree		428 | |
| 385 | #define __NR_move_mount		429 | |
| 386 | #define __NR_fsopen		430 | |
| 387 | #define __NR_fsconfig		431 | |
| 388 | #define __NR_fsmount		432 | |
| 389 | #define __NR_fspick		433 | |
| 390 | #define __NR_pidfd_open		434 | |
| 391 | #define __NR_clone3		435 | |
| 392 | #define __NR_close_range	436 | |
| 393 | #define __NR_openat2		437 | |
| 394 | #define __NR_pidfd_getfd	438 | |
| 395 | #define __NR_faccessat2		439 | |
| 396 | #define __NR_process_madvise	440 | |
| 397 | #define __NR_epoll_pwait2	441 | |
| 398 | #define __NR_mount_setattr	442 | |
| 399 | #define __NR_landlock_create_ruleset	444 | |
| 400 | #define __NR_landlock_add_rule	445 | |
| 401 | #define __NR_landlock_restrict_self	446 | |
| 402 | #define __NR_process_mrelease	448 | |
| 403 | #define __NR_futex_waitv	449 | |
| 404 | #define __NR_set_mempolicy_home_node	450 | |
| 405 | #define __NR_cachestat		451 | |
| 406 | #define __NR_fchmodat2		452 | |
| 407 | ||
| 408 | #define __ARM_NR_breakpoint	0x0f0001 | |
| 409 | #define __ARM_NR_cacheflush	0x0f0002 | |
| 410 | #define __ARM_NR_usr26		0x0f0003 | |
| 411 | #define __ARM_NR_usr32		0x0f0004 | |
| 412 | #define __ARM_NR_set_tls	0x0f0005 | |
| 413 | #define __ARM_NR_get_tls	0x0f0006 | |
| 414 |
lib/libc/musl/arch/i386/bits/alltypes.h.in deleted-31| ... | ... | @@ -1,31 +0,0 @@ |
| 1 | #define _REDIR_TIME64 1 | |
| 2 | #define _Addr int | |
| 3 | #define _Int64 long long | |
| 4 | #define _Reg int | |
| 5 | ||
| 6 | #define __BYTE_ORDER 1234 | |
| 7 | #define __LONG_MAX 0x7fffffffL | |
| 8 | ||
| 9 | #ifndef __cplusplus | |
| 10 | #ifdef __WCHAR_TYPE__ | |
| 11 | TYPEDEF __WCHAR_TYPE__ wchar_t; | |
| 12 | #else | |
| 13 | TYPEDEF long wchar_t; | |
| 14 | #endif | |
| 15 | #endif | |
| 16 | ||
| 17 | #if defined(__FLT_EVAL_METHOD__) && __FLT_EVAL_METHOD__ == 0 | |
| 18 | TYPEDEF float float_t; | |
| 19 | TYPEDEF double double_t; | |
| 20 | #else | |
| 21 | TYPEDEF long double float_t; | |
| 22 | TYPEDEF long double double_t; | |
| 23 | #endif | |
| 24 | ||
| 25 | #if !defined(__cplusplus) | |
| 26 | TYPEDEF struct { _Alignas(8) long long __ll; long double __ld; } max_align_t; | |
| 27 | #elif defined(__GNUC__) | |
| 28 | TYPEDEF struct { __attribute__((__aligned__(8))) long long __ll; long double __ld; } max_align_t; | |
| 29 | #else | |
| 30 | TYPEDEF struct { alignas(8) long long __ll; long double __ld; } max_align_t; | |
| 31 | #endif |
lib/libc/musl/arch/i386/bits/syscall.h.in deleted-445| ... | ... | @@ -1,445 +0,0 @@ |
| 1 | #define __NR_restart_syscall 0 | |
| 2 | #define __NR_exit		 1 | |
| 3 | #define __NR_fork		 2 | |
| 4 | #define __NR_read		 3 | |
| 5 | #define __NR_write		 4 | |
| 6 | #define __NR_open		 5 | |
| 7 | #define __NR_close		 6 | |
| 8 | #define __NR_waitpid		 7 | |
| 9 | #define __NR_creat		 8 | |
| 10 | #define __NR_link		 9 | |
| 11 | #define __NR_unlink		 10 | |
| 12 | #define __NR_execve		 11 | |
| 13 | #define __NR_chdir		 12 | |
| 14 | #define __NR_time		 13 | |
| 15 | #define __NR_mknod		 14 | |
| 16 | #define __NR_chmod		 15 | |
| 17 | #define __NR_lchown		 16 | |
| 18 | #define __NR_break		 17 | |
| 19 | #define __NR_oldstat		 18 | |
| 20 | #define __NR_lseek		 19 | |
| 21 | #define __NR_getpid		 20 | |
| 22 | #define __NR_mount		 21 | |
| 23 | #define __NR_umount		 22 | |
| 24 | #define __NR_setuid		 23 | |
| 25 | #define __NR_getuid		 24 | |
| 26 | #define __NR_stime		 25 | |
| 27 | #define __NR_ptrace		 26 | |
| 28 | #define __NR_alarm		 27 | |
| 29 | #define __NR_oldfstat		 28 | |
| 30 | #define __NR_pause		 29 | |
| 31 | #define __NR_utime		 30 | |
| 32 | #define __NR_stty		 31 | |
| 33 | #define __NR_gtty		 32 | |
| 34 | #define __NR_access		 33 | |
| 35 | #define __NR_nice		 34 | |
| 36 | #define __NR_ftime		 35 | |
| 37 | #define __NR_sync		 36 | |
| 38 | #define __NR_kill		 37 | |
| 39 | #define __NR_rename		 38 | |
| 40 | #define __NR_mkdir		 39 | |
| 41 | #define __NR_rmdir		 40 | |
| 42 | #define __NR_dup		 41 | |
| 43 | #define __NR_pipe		 42 | |
| 44 | #define __NR_times		 43 | |
| 45 | #define __NR_prof		 44 | |
| 46 | #define __NR_brk		 45 | |
| 47 | #define __NR_setgid		 46 | |
| 48 | #define __NR_getgid		 47 | |
| 49 | #define __NR_signal		 48 | |
| 50 | #define __NR_geteuid		 49 | |
| 51 | #define __NR_getegid		 50 | |
| 52 | #define __NR_acct		 51 | |
| 53 | #define __NR_umount2		 52 | |
| 54 | #define __NR_lock		 53 | |
| 55 | #define __NR_ioctl		 54 | |
| 56 | #define __NR_fcntl		 55 | |
| 57 | #define __NR_mpx		 56 | |
| 58 | #define __NR_setpgid		 57 | |
| 59 | #define __NR_ulimit		 58 | |
| 60 | #define __NR_oldolduname	 59 | |
| 61 | #define __NR_umask		 60 | |
| 62 | #define __NR_chroot		 61 | |
| 63 | #define __NR_ustat		 62 | |
| 64 | #define __NR_dup2		 63 | |
| 65 | #define __NR_getppid		 64 | |
| 66 | #define __NR_getpgrp		 65 | |
| 67 | #define __NR_setsid		 66 | |
| 68 | #define __NR_sigaction		 67 | |
| 69 | #define __NR_sgetmask		 68 | |
| 70 | #define __NR_ssetmask		 69 | |
| 71 | #define __NR_setreuid		 70 | |
| 72 | #define __NR_setregid		 71 | |
| 73 | #define __NR_sigsuspend		 72 | |
| 74 | #define __NR_sigpending		 73 | |
| 75 | #define __NR_sethostname	 74 | |
| 76 | #define __NR_setrlimit		 75 | |
| 77 | #define __NR_getrlimit		 76 /* Back compatible 2Gig limited rlimit */ | |
| 78 | #define __NR_getrusage		 77 | |
| 79 | #define __NR_gettimeofday_time32	 78 | |
| 80 | #define __NR_settimeofday_time32	 79 | |
| 81 | #define __NR_getgroups		 80 | |
| 82 | #define __NR_setgroups		 81 | |
| 83 | #define __NR_select		 82 | |
| 84 | #define __NR_symlink		 83 | |
| 85 | #define __NR_oldlstat		 84 | |
| 86 | #define __NR_readlink		 85 | |
| 87 | #define __NR_uselib		 86 | |
| 88 | #define __NR_swapon		 87 | |
| 89 | #define __NR_reboot		 88 | |
| 90 | #define __NR_readdir		 89 | |
| 91 | #define __NR_mmap		 90 | |
| 92 | #define __NR_munmap		 91 | |
| 93 | #define __NR_truncate		 92 | |
| 94 | #define __NR_ftruncate		 93 | |
| 95 | #define __NR_fchmod		 94 | |
| 96 | #define __NR_fchown		 95 | |
| 97 | #define __NR_getpriority	 96 | |
| 98 | #define __NR_setpriority	 97 | |
| 99 | #define __NR_profil		 98 | |
| 100 | #define __NR_statfs		99 | |
| 101 | #define __NR_fstatfs		100 | |
| 102 | #define __NR_ioperm		101 | |
| 103 | #define __NR_socketcall		102 | |
| 104 | #define __NR_syslog		103 | |
| 105 | #define __NR_setitimer		104 | |
| 106 | #define __NR_getitimer		105 | |
| 107 | #define __NR_stat		106 | |
| 108 | #define __NR_lstat		107 | |
| 109 | #define __NR_fstat		108 | |
| 110 | #define __NR_olduname		109 | |
| 111 | #define __NR_iopl		110 | |
| 112 | #define __NR_vhangup		111 | |
| 113 | #define __NR_idle		112 | |
| 114 | #define __NR_vm86old		113 | |
| 115 | #define __NR_wait4		114 | |
| 116 | #define __NR_swapoff		115 | |
| 117 | #define __NR_sysinfo		116 | |
| 118 | #define __NR_ipc		117 | |
| 119 | #define __NR_fsync		118 | |
| 120 | #define __NR_sigreturn		119 | |
| 121 | #define __NR_clone		120 | |
| 122 | #define __NR_setdomainname	121 | |
| 123 | #define __NR_uname		122 | |
| 124 | #define __NR_modify_ldt		123 | |
| 125 | #define __NR_adjtimex		124 | |
| 126 | #define __NR_mprotect		125 | |
| 127 | #define __NR_sigprocmask	126 | |
| 128 | #define __NR_create_module	127 | |
| 129 | #define __NR_init_module	128 | |
| 130 | #define __NR_delete_module	129 | |
| 131 | #define __NR_get_kernel_syms	130 | |
| 132 | #define __NR_quotactl		131 | |
| 133 | #define __NR_getpgid		132 | |
| 134 | #define __NR_fchdir		133 | |
| 135 | #define __NR_bdflush		134 | |
| 136 | #define __NR_sysfs		135 | |
| 137 | #define __NR_personality	136 | |
| 138 | #define __NR_afs_syscall	137 | |
| 139 | #define __NR_setfsuid		138 | |
| 140 | #define __NR_setfsgid		139 | |
| 141 | #define __NR__llseek		140 | |
| 142 | #define __NR_getdents		141 | |
| 143 | #define __NR__newselect		142 | |
| 144 | #define __NR_flock		143 | |
| 145 | #define __NR_msync		144 | |
| 146 | #define __NR_readv		145 | |
| 147 | #define __NR_writev		146 | |
| 148 | #define __NR_getsid		147 | |
| 149 | #define __NR_fdatasync		148 | |
| 150 | #define __NR__sysctl		149 | |
| 151 | #define __NR_mlock		150 | |
| 152 | #define __NR_munlock		151 | |
| 153 | #define __NR_mlockall		152 | |
| 154 | #define __NR_munlockall		153 | |
| 155 | #define __NR_sched_setparam		154 | |
| 156 | #define __NR_sched_getparam		155 | |
| 157 | #define __NR_sched_setscheduler		156 | |
| 158 | #define __NR_sched_getscheduler		157 | |
| 159 | #define __NR_sched_yield		158 | |
| 160 | #define __NR_sched_get_priority_max	159 | |
| 161 | #define __NR_sched_get_priority_min	160 | |
| 162 | #define __NR_sched_rr_get_interval	161 | |
| 163 | #define __NR_nanosleep		162 | |
| 164 | #define __NR_mremap		163 | |
| 165 | #define __NR_setresuid		164 | |
| 166 | #define __NR_getresuid		165 | |
| 167 | #define __NR_vm86		166 | |
| 168 | #define __NR_query_module	167 | |
| 169 | #define __NR_poll		168 | |
| 170 | #define __NR_nfsservctl		169 | |
| 171 | #define __NR_setresgid		170 | |
| 172 | #define __NR_getresgid		171 | |
| 173 | #define __NR_prctl 172 | |
| 174 | #define __NR_rt_sigreturn	173 | |
| 175 | #define __NR_rt_sigaction	174 | |
| 176 | #define __NR_rt_sigprocmask	175 | |
| 177 | #define __NR_rt_sigpending	176 | |
| 178 | #define __NR_rt_sigtimedwait	177 | |
| 179 | #define __NR_rt_sigqueueinfo	178 | |
| 180 | #define __NR_rt_sigsuspend	179 | |
| 181 | #define __NR_pread64		180 | |
| 182 | #define __NR_pwrite64		181 | |
| 183 | #define __NR_chown		182 | |
| 184 | #define __NR_getcwd		183 | |
| 185 | #define __NR_capget		184 | |
| 186 | #define __NR_capset		185 | |
| 187 | #define __NR_sigaltstack	186 | |
| 188 | #define __NR_sendfile		187 | |
| 189 | #define __NR_getpmsg		188 | |
| 190 | #define __NR_putpmsg		189 | |
| 191 | #define __NR_vfork		190 | |
| 192 | #define __NR_ugetrlimit		191 | |
| 193 | #define __NR_mmap2		192 | |
| 194 | #define __NR_truncate64		193 | |
| 195 | #define __NR_ftruncate64	194 | |
| 196 | #define __NR_stat64		195 | |
| 197 | #define __NR_lstat64		196 | |
| 198 | #define __NR_fstat64		197 | |
| 199 | #define __NR_lchown32		198 | |
| 200 | #define __NR_getuid32		199 | |
| 201 | #define __NR_getgid32		200 | |
| 202 | #define __NR_geteuid32		201 | |
| 203 | #define __NR_getegid32		202 | |
| 204 | #define __NR_setreuid32		203 | |
| 205 | #define __NR_setregid32		204 | |
| 206 | #define __NR_getgroups32	205 | |
| 207 | #define __NR_setgroups32	206 | |
| 208 | #define __NR_fchown32		207 | |
| 209 | #define __NR_setresuid32	208 | |
| 210 | #define __NR_getresuid32	209 | |
| 211 | #define __NR_setresgid32	210 | |
| 212 | #define __NR_getresgid32	211 | |
| 213 | #define __NR_chown32		212 | |
| 214 | #define __NR_setuid32		213 | |
| 215 | #define __NR_setgid32		214 | |
| 216 | #define __NR_setfsuid32		215 | |
| 217 | #define __NR_setfsgid32		216 | |
| 218 | #define __NR_pivot_root		217 | |
| 219 | #define __NR_mincore		218 | |
| 220 | #define __NR_madvise		219 | |
| 221 | #define __NR_getdents64		220 | |
| 222 | #define __NR_fcntl64		221 | |
| 223 | /* 223 is unused */ | |
| 224 | #define __NR_gettid		224 | |
| 225 | #define __NR_readahead		225 | |
| 226 | #define __NR_setxattr		226 | |
| 227 | #define __NR_lsetxattr		227 | |
| 228 | #define __NR_fsetxattr		228 | |
| 229 | #define __NR_getxattr		229 | |
| 230 | #define __NR_lgetxattr		230 | |
| 231 | #define __NR_fgetxattr		231 | |
| 232 | #define __NR_listxattr		232 | |
| 233 | #define __NR_llistxattr		233 | |
| 234 | #define __NR_flistxattr		234 | |
| 235 | #define __NR_removexattr	235 | |
| 236 | #define __NR_lremovexattr	236 | |
| 237 | #define __NR_fremovexattr	237 | |
| 238 | #define __NR_tkill		238 | |
| 239 | #define __NR_sendfile64		239 | |
| 240 | #define __NR_futex		240 | |
| 241 | #define __NR_sched_setaffinity	241 | |
| 242 | #define __NR_sched_getaffinity	242 | |
| 243 | #define __NR_set_thread_area	243 | |
| 244 | #define __NR_get_thread_area	244 | |
| 245 | #define __NR_io_setup		245 | |
| 246 | #define __NR_io_destroy		246 | |
| 247 | #define __NR_io_getevents	247 | |
| 248 | #define __NR_io_submit		248 | |
| 249 | #define __NR_io_cancel		249 | |
| 250 | #define __NR_fadvise64		250 | |
| 251 | /* 251 is available for reuse (was briefly sys_set_zone_reclaim) */ | |
| 252 | #define __NR_exit_group		252 | |
| 253 | #define __NR_lookup_dcookie	253 | |
| 254 | #define __NR_epoll_create	254 | |
| 255 | #define __NR_epoll_ctl		255 | |
| 256 | #define __NR_epoll_wait		256 | |
| 257 | #define __NR_remap_file_pages	257 | |
| 258 | #define __NR_set_tid_address	258 | |
| 259 | #define __NR_timer_create	259 | |
| 260 | #define __NR_timer_settime32	(__NR_timer_create+1) | |
| 261 | #define __NR_timer_gettime32	(__NR_timer_create+2) | |
| 262 | #define __NR_timer_getoverrun	(__NR_timer_create+3) | |
| 263 | #define __NR_timer_delete	(__NR_timer_create+4) | |
| 264 | #define __NR_clock_settime32	(__NR_timer_create+5) | |
| 265 | #define __NR_clock_gettime32	(__NR_timer_create+6) | |
| 266 | #define __NR_clock_getres_time32	(__NR_timer_create+7) | |
| 267 | #define __NR_clock_nanosleep_time32	(__NR_timer_create+8) | |
| 268 | #define __NR_statfs64		268 | |
| 269 | #define __NR_fstatfs64		269 | |
| 270 | #define __NR_tgkill		270 | |
| 271 | #define __NR_utimes		271 | |
| 272 | #define __NR_fadvise64_64	272 | |
| 273 | #define __NR_vserver		273 | |
| 274 | #define __NR_mbind		274 | |
| 275 | #define __NR_get_mempolicy	275 | |
| 276 | #define __NR_set_mempolicy	276 | |
| 277 | #define __NR_mq_open 		277 | |
| 278 | #define __NR_mq_unlink		(__NR_mq_open+1) | |
| 279 | #define __NR_mq_timedsend	(__NR_mq_open+2) | |
| 280 | #define __NR_mq_timedreceive	(__NR_mq_open+3) | |
| 281 | #define __NR_mq_notify		(__NR_mq_open+4) | |
| 282 | #define __NR_mq_getsetattr	(__NR_mq_open+5) | |
| 283 | #define __NR_kexec_load		283 | |
| 284 | #define __NR_waitid		284 | |
| 285 | /* #define __NR_sys_setaltroot	285 */ | |
| 286 | #define __NR_add_key		286 | |
| 287 | #define __NR_request_key	287 | |
| 288 | #define __NR_keyctl		288 | |
| 289 | #define __NR_ioprio_set		289 | |
| 290 | #define __NR_ioprio_get		290 | |
| 291 | #define __NR_inotify_init	291 | |
| 292 | #define __NR_inotify_add_watch	292 | |
| 293 | #define __NR_inotify_rm_watch	293 | |
| 294 | #define __NR_migrate_pages	294 | |
| 295 | #define __NR_openat		295 | |
| 296 | #define __NR_mkdirat		296 | |
| 297 | #define __NR_mknodat		297 | |
| 298 | #define __NR_fchownat		298 | |
| 299 | #define __NR_futimesat		299 | |
| 300 | #define __NR_fstatat64		300 | |
| 301 | #define __NR_unlinkat		301 | |
| 302 | #define __NR_renameat		302 | |
| 303 | #define __NR_linkat		303 | |
| 304 | #define __NR_symlinkat		304 | |
| 305 | #define __NR_readlinkat		305 | |
| 306 | #define __NR_fchmodat		306 | |
| 307 | #define __NR_faccessat		307 | |
| 308 | #define __NR_pselect6		308 | |
| 309 | #define __NR_ppoll		309 | |
| 310 | #define __NR_unshare		310 | |
| 311 | #define __NR_set_robust_list	311 | |
| 312 | #define __NR_get_robust_list	312 | |
| 313 | #define __NR_splice		313 | |
| 314 | #define __NR_sync_file_range	314 | |
| 315 | #define __NR_tee		315 | |
| 316 | #define __NR_vmsplice		316 | |
| 317 | #define __NR_move_pages		317 | |
| 318 | #define __NR_getcpu		318 | |
| 319 | #define __NR_epoll_pwait	319 | |
| 320 | #define __NR_utimensat		320 | |
| 321 | #define __NR_signalfd		321 | |
| 322 | #define __NR_timerfd_create	322 | |
| 323 | #define __NR_eventfd		323 | |
| 324 | #define __NR_fallocate		324 | |
| 325 | #define __NR_timerfd_settime32	325 | |
| 326 | #define __NR_timerfd_gettime32	326 | |
| 327 | #define __NR_signalfd4		327 | |
| 328 | #define __NR_eventfd2		328 | |
| 329 | #define __NR_epoll_create1	329 | |
| 330 | #define __NR_dup3		330 | |
| 331 | #define __NR_pipe2		331 | |
| 332 | #define __NR_inotify_init1	332 | |
| 333 | #define __NR_preadv		333 | |
| 334 | #define __NR_pwritev		334 | |
| 335 | #define __NR_rt_tgsigqueueinfo	335 | |
| 336 | #define __NR_perf_event_open	336 | |
| 337 | #define __NR_recvmmsg		337 | |
| 338 | #define __NR_fanotify_init	338 | |
| 339 | #define __NR_fanotify_mark	339 | |
| 340 | #define __NR_prlimit64		340 | |
| 341 | #define __NR_name_to_handle_at	341 | |
| 342 | #define __NR_open_by_handle_at	342 | |
| 343 | #define __NR_clock_adjtime	343 | |
| 344 | #define __NR_syncfs		344 | |
| 345 | #define __NR_sendmmsg		345 | |
| 346 | #define __NR_setns		346 | |
| 347 | #define __NR_process_vm_readv	347 | |
| 348 | #define __NR_process_vm_writev	348 | |
| 349 | #define __NR_kcmp		349 | |
| 350 | #define __NR_finit_module	350 | |
| 351 | #define __NR_sched_setattr	351 | |
| 352 | #define __NR_sched_getattr	352 | |
| 353 | #define __NR_renameat2		353 | |
| 354 | #define __NR_seccomp		354 | |
| 355 | #define __NR_getrandom		355 | |
| 356 | #define __NR_memfd_create	356 | |
| 357 | #define __NR_bpf		357 | |
| 358 | #define __NR_execveat		358 | |
| 359 | #define __NR_socket		359 | |
| 360 | #define __NR_socketpair		360 | |
| 361 | #define __NR_bind		361 | |
| 362 | #define __NR_connect		362 | |
| 363 | #define __NR_listen		363 | |
| 364 | #define __NR_accept4		364 | |
| 365 | #define __NR_getsockopt		365 | |
| 366 | #define __NR_setsockopt		366 | |
| 367 | #define __NR_getsockname	367 | |
| 368 | #define __NR_getpeername	368 | |
| 369 | #define __NR_sendto		369 | |
| 370 | #define __NR_sendmsg		370 | |
| 371 | #define __NR_recvfrom		371 | |
| 372 | #define __NR_recvmsg		372 | |
| 373 | #define __NR_shutdown		373 | |
| 374 | #define __NR_userfaultfd	374 | |
| 375 | #define __NR_membarrier		375 | |
| 376 | #define __NR_mlock2		376 | |
| 377 | #define __NR_copy_file_range	377 | |
| 378 | #define __NR_preadv2		378 | |
| 379 | #define __NR_pwritev2		379 | |
| 380 | #define __NR_pkey_mprotect	380 | |
| 381 | #define __NR_pkey_alloc		381 | |
| 382 | #define __NR_pkey_free		382 | |
| 383 | #define __NR_statx		383 | |
| 384 | #define __NR_arch_prctl		384 | |
| 385 | #define __NR_io_pgetevents	385 | |
| 386 | #define __NR_rseq		386 | |
| 387 | #define __NR_semget		393 | |
| 388 | #define __NR_semctl		394 | |
| 389 | #define __NR_shmget		395 | |
| 390 | #define __NR_shmctl		396 | |
| 391 | #define __NR_shmat		397 | |
| 392 | #define __NR_shmdt		398 | |
| 393 | #define __NR_msgget		399 | |
| 394 | #define __NR_msgsnd		400 | |
| 395 | #define __NR_msgrcv		401 | |
| 396 | #define __NR_msgctl		402 | |
| 397 | #define __NR_clock_gettime64	403 | |
| 398 | #define __NR_clock_settime64	404 | |
| 399 | #define __NR_clock_adjtime64	405 | |
| 400 | #define __NR_clock_getres_time64 406 | |
| 401 | #define __NR_clock_nanosleep_time64 407 | |
| 402 | #define __NR_timer_gettime64	408 | |
| 403 | #define __NR_timer_settime64	409 | |
| 404 | #define __NR_timerfd_gettime64	410 | |
| 405 | #define __NR_timerfd_settime64	411 | |
| 406 | #define __NR_utimensat_time64	412 | |
| 407 | #define __NR_pselect6_time64	413 | |
| 408 | #define __NR_ppoll_time64	414 | |
| 409 | #define __NR_io_pgetevents_time64 416 | |
| 410 | #define __NR_recvmmsg_time64	417 | |
| 411 | #define __NR_mq_timedsend_time64 418 | |
| 412 | #define __NR_mq_timedreceive_time64 419 | |
| 413 | #define __NR_semtimedop_time64	420 | |
| 414 | #define __NR_rt_sigtimedwait_time64 421 | |
| 415 | #define __NR_futex_time64	422 | |
| 416 | #define __NR_sched_rr_get_interval_time64 423 | |
| 417 | #define __NR_pidfd_send_signal	424 | |
| 418 | #define __NR_io_uring_setup	425 | |
| 419 | #define __NR_io_uring_enter	426 | |
| 420 | #define __NR_io_uring_register	427 | |
| 421 | #define __NR_open_tree		428 | |
| 422 | #define __NR_move_mount		429 | |
| 423 | #define __NR_fsopen		430 | |
| 424 | #define __NR_fsconfig		431 | |
| 425 | #define __NR_fsmount		432 | |
| 426 | #define __NR_fspick		433 | |
| 427 | #define __NR_pidfd_open		434 | |
| 428 | #define __NR_clone3		435 | |
| 429 | #define __NR_close_range	436 | |
| 430 | #define __NR_openat2		437 | |
| 431 | #define __NR_pidfd_getfd	438 | |
| 432 | #define __NR_faccessat2		439 | |
| 433 | #define __NR_process_madvise	440 | |
| 434 | #define __NR_epoll_pwait2	441 | |
| 435 | #define __NR_mount_setattr	442 | |
| 436 | #define __NR_landlock_create_ruleset	444 | |
| 437 | #define __NR_landlock_add_rule	445 | |
| 438 | #define __NR_landlock_restrict_self	446 | |
| 439 | #define __NR_memfd_secret	447 | |
| 440 | #define __NR_process_mrelease	448 | |
| 441 | #define __NR_futex_waitv	449 | |
| 442 | #define __NR_set_mempolicy_home_node	450 | |
| 443 | #define __NR_cachestat		451 | |
| 444 | #define __NR_fchmodat2		452 | |
| 445 |
lib/libc/musl/arch/loongarch64/bits/alltypes.h.in deleted-18| ... | ... | @@ -1,18 +0,0 @@ |
| 1 | #define _Addr long | |
| 2 | #define _Int64 long | |
| 3 | #define _Reg long | |
| 4 | ||
| 5 | #define __BYTE_ORDER 1234 | |
| 6 | #define __LONG_MAX 0x7fffffffffffffffL | |
| 7 | ||
| 8 | #ifndef __cplusplus | |
| 9 | TYPEDEF int wchar_t; | |
| 10 | #endif | |
| 11 | ||
| 12 | TYPEDEF float float_t; | |
| 13 | TYPEDEF double double_t; | |
| 14 | ||
| 15 | TYPEDEF struct { long long __ll; long double __ld; } max_align_t; | |
| 16 | ||
| 17 | TYPEDEF unsigned nlink_t; | |
| 18 | TYPEDEF int blksize_t; |
lib/libc/musl/arch/loongarch64/bits/syscall.h.in deleted-316| ... | ... | @@ -1,316 +0,0 @@ |
| 1 | #define __NR_io_setup 0 | |
| 2 | #define __NR_io_destroy 1 | |
| 3 | #define __NR_io_submit 2 | |
| 4 | #define __NR_io_cancel 3 | |
| 5 | #define __NR_io_getevents 4 | |
| 6 | #define __NR_setxattr 5 | |
| 7 | #define __NR_lsetxattr 6 | |
| 8 | #define __NR_fsetxattr 7 | |
| 9 | #define __NR_getxattr 8 | |
| 10 | #define __NR_lgetxattr 9 | |
| 11 | #define __NR_fgetxattr 10 | |
| 12 | #define __NR_listxattr 11 | |
| 13 | #define __NR_llistxattr 12 | |
| 14 | #define __NR_flistxattr 13 | |
| 15 | #define __NR_removexattr 14 | |
| 16 | #define __NR_lremovexattr 15 | |
| 17 | #define __NR_fremovexattr 16 | |
| 18 | #define __NR_getcwd 17 | |
| 19 | #define __NR_lookup_dcookie 18 | |
| 20 | #define __NR_eventfd2 19 | |
| 21 | #define __NR_epoll_create1 20 | |
| 22 | #define __NR_epoll_ctl 21 | |
| 23 | #define __NR_epoll_pwait 22 | |
| 24 | #define __NR_dup 23 | |
| 25 | #define __NR_dup3 24 | |
| 26 | #define __NR3264_fcntl 25 | |
| 27 | #define __NR_inotify_init1 26 | |
| 28 | #define __NR_inotify_add_watch 27 | |
| 29 | #define __NR_inotify_rm_watch 28 | |
| 30 | #define __NR_ioctl 29 | |
| 31 | #define __NR_ioprio_set 30 | |
| 32 | #define __NR_ioprio_get 31 | |
| 33 | #define __NR_flock 32 | |
| 34 | #define __NR_mknodat 33 | |
| 35 | #define __NR_mkdirat 34 | |
| 36 | #define __NR_unlinkat 35 | |
| 37 | #define __NR_symlinkat 36 | |
| 38 | #define __NR_linkat 37 | |
| 39 | #define __NR_umount2 39 | |
| 40 | #define __NR_mount 40 | |
| 41 | #define __NR_pivot_root 41 | |
| 42 | #define __NR_nfsservctl 42 | |
| 43 | #define __NR3264_statfs 43 | |
| 44 | #define __NR3264_fstatfs 44 | |
| 45 | #define __NR3264_truncate 45 | |
| 46 | #define __NR3264_ftruncate 46 | |
| 47 | #define __NR_fallocate 47 | |
| 48 | #define __NR_faccessat 48 | |
| 49 | #define __NR_chdir 49 | |
| 50 | #define __NR_fchdir 50 | |
| 51 | #define __NR_chroot 51 | |
| 52 | #define __NR_fchmod 52 | |
| 53 | #define __NR_fchmodat 53 | |
| 54 | #define __NR_fchownat 54 | |
| 55 | #define __NR_fchown 55 | |
| 56 | #define __NR_openat 56 | |
| 57 | #define __NR_close 57 | |
| 58 | #define __NR_vhangup 58 | |
| 59 | #define __NR_pipe2 59 | |
| 60 | #define __NR_quotactl 60 | |
| 61 | #define __NR_getdents64 61 | |
| 62 | #define __NR3264_lseek 62 | |
| 63 | #define __NR_read 63 | |
| 64 | #define __NR_write 64 | |
| 65 | #define __NR_readv 65 | |
| 66 | #define __NR_writev 66 | |
| 67 | #define __NR_pread64 67 | |
| 68 | #define __NR_pwrite64 68 | |
| 69 | #define __NR_preadv 69 | |
| 70 | #define __NR_pwritev 70 | |
| 71 | #define __NR3264_sendfile 71 | |
| 72 | #define __NR_pselect6 72 | |
| 73 | #define __NR_ppoll 73 | |
| 74 | #define __NR_signalfd4 74 | |
| 75 | #define __NR_vmsplice 75 | |
| 76 | #define __NR_splice 76 | |
| 77 | #define __NR_tee 77 | |
| 78 | #define __NR_readlinkat 78 | |
| 79 | #define __NR_sync 81 | |
| 80 | #define __NR_fsync 82 | |
| 81 | #define __NR_fdatasync 83 | |
| 82 | #define __NR_sync_file_range 84 | |
| 83 | #define __NR_timerfd_create 85 | |
| 84 | #define __NR_timerfd_settime 86 | |
| 85 | #define __NR_timerfd_gettime 87 | |
| 86 | #define __NR_utimensat 88 | |
| 87 | #define __NR_acct 89 | |
| 88 | #define __NR_capget 90 | |
| 89 | #define __NR_capset 91 | |
| 90 | #define __NR_personality 92 | |
| 91 | #define __NR_exit 93 | |
| 92 | #define __NR_exit_group 94 | |
| 93 | #define __NR_waitid 95 | |
| 94 | #define __NR_set_tid_address 96 | |
| 95 | #define __NR_unshare 97 | |
| 96 | #define __NR_futex 98 | |
| 97 | #define __NR_set_robust_list 99 | |
| 98 | #define __NR_get_robust_list 100 | |
| 99 | #define __NR_nanosleep 101 | |
| 100 | #define __NR_getitimer 102 | |
| 101 | #define __NR_setitimer 103 | |
| 102 | #define __NR_kexec_load 104 | |
| 103 | #define __NR_init_module 105 | |
| 104 | #define __NR_delete_module 106 | |
| 105 | #define __NR_timer_create 107 | |
| 106 | #define __NR_timer_gettime 108 | |
| 107 | #define __NR_timer_getoverrun 109 | |
| 108 | #define __NR_timer_settime 110 | |
| 109 | #define __NR_timer_delete 111 | |
| 110 | #define __NR_clock_settime 112 | |
| 111 | #define __NR_clock_gettime 113 | |
| 112 | #define __NR_clock_getres 114 | |
| 113 | #define __NR_clock_nanosleep 115 | |
| 114 | #define __NR_syslog 116 | |
| 115 | #define __NR_ptrace 117 | |
| 116 | #define __NR_sched_setparam 118 | |
| 117 | #define __NR_sched_setscheduler 119 | |
| 118 | #define __NR_sched_getscheduler 120 | |
| 119 | #define __NR_sched_getparam 121 | |
| 120 | #define __NR_sched_setaffinity 122 | |
| 121 | #define __NR_sched_getaffinity 123 | |
| 122 | #define __NR_sched_yield 124 | |
| 123 | #define __NR_sched_get_priority_max 125 | |
| 124 | #define __NR_sched_get_priority_min 126 | |
| 125 | #define __NR_sched_rr_get_interval 127 | |
| 126 | #define __NR_restart_syscall 128 | |
| 127 | #define __NR_kill 129 | |
| 128 | #define __NR_tkill 130 | |
| 129 | #define __NR_tgkill 131 | |
| 130 | #define __NR_sigaltstack 132 | |
| 131 | #define __NR_rt_sigsuspend 133 | |
| 132 | #define __NR_rt_sigaction 134 | |
| 133 | #define __NR_rt_sigprocmask 135 | |
| 134 | #define __NR_rt_sigpending 136 | |
| 135 | #define __NR_rt_sigtimedwait 137 | |
| 136 | #define __NR_rt_sigqueueinfo 138 | |
| 137 | #define __NR_rt_sigreturn 139 | |
| 138 | #define __NR_setpriority 140 | |
| 139 | #define __NR_getpriority 141 | |
| 140 | #define __NR_reboot 142 | |
| 141 | #define __NR_setregid 143 | |
| 142 | #define __NR_setgid 144 | |
| 143 | #define __NR_setreuid 145 | |
| 144 | #define __NR_setuid 146 | |
| 145 | #define __NR_setresuid 147 | |
| 146 | #define __NR_getresuid 148 | |
| 147 | #define __NR_setresgid 149 | |
| 148 | #define __NR_getresgid 150 | |
| 149 | #define __NR_setfsuid 151 | |
| 150 | #define __NR_setfsgid 152 | |
| 151 | #define __NR_times 153 | |
| 152 | #define __NR_setpgid 154 | |
| 153 | #define __NR_getpgid 155 | |
| 154 | #define __NR_getsid 156 | |
| 155 | #define __NR_setsid 157 | |
| 156 | #define __NR_getgroups 158 | |
| 157 | #define __NR_setgroups 159 | |
| 158 | #define __NR_uname 160 | |
| 159 | #define __NR_sethostname 161 | |
| 160 | #define __NR_setdomainname 162 | |
| 161 | #define __NR_getrusage 165 | |
| 162 | #define __NR_umask 166 | |
| 163 | #define __NR_prctl 167 | |
| 164 | #define __NR_getcpu 168 | |
| 165 | #define __NR_gettimeofday 169 | |
| 166 | #define __NR_settimeofday 170 | |
| 167 | #define __NR_adjtimex 171 | |
| 168 | #define __NR_getpid 172 | |
| 169 | #define __NR_getppid 173 | |
| 170 | #define __NR_getuid 174 | |
| 171 | #define __NR_geteuid 175 | |
| 172 | #define __NR_getgid 176 | |
| 173 | #define __NR_getegid 177 | |
| 174 | #define __NR_gettid 178 | |
| 175 | #define __NR_sysinfo 179 | |
| 176 | #define __NR_mq_open 180 | |
| 177 | #define __NR_mq_unlink 181 | |
| 178 | #define __NR_mq_timedsend 182 | |
| 179 | #define __NR_mq_timedreceive 183 | |
| 180 | #define __NR_mq_notify 184 | |
| 181 | #define __NR_mq_getsetattr 185 | |
| 182 | #define __NR_msgget 186 | |
| 183 | #define __NR_msgctl 187 | |
| 184 | #define __NR_msgrcv 188 | |
| 185 | #define __NR_msgsnd 189 | |
| 186 | #define __NR_semget 190 | |
| 187 | #define __NR_semctl 191 | |
| 188 | #define __NR_semtimedop 192 | |
| 189 | #define __NR_semop 193 | |
| 190 | #define __NR_shmget 194 | |
| 191 | #define __NR_shmctl 195 | |
| 192 | #define __NR_shmat 196 | |
| 193 | #define __NR_shmdt 197 | |
| 194 | #define __NR_socket 198 | |
| 195 | #define __NR_socketpair 199 | |
| 196 | #define __NR_bind 200 | |
| 197 | #define __NR_listen 201 | |
| 198 | #define __NR_accept 202 | |
| 199 | #define __NR_connect 203 | |
| 200 | #define __NR_getsockname 204 | |
| 201 | #define __NR_getpeername 205 | |
| 202 | #define __NR_sendto 206 | |
| 203 | #define __NR_recvfrom 207 | |
| 204 | #define __NR_setsockopt 208 | |
| 205 | #define __NR_getsockopt 209 | |
| 206 | #define __NR_shutdown 210 | |
| 207 | #define __NR_sendmsg 211 | |
| 208 | #define __NR_recvmsg 212 | |
| 209 | #define __NR_readahead 213 | |
| 210 | #define __NR_brk 214 | |
| 211 | #define __NR_munmap 215 | |
| 212 | #define __NR_mremap 216 | |
| 213 | #define __NR_add_key 217 | |
| 214 | #define __NR_request_key 218 | |
| 215 | #define __NR_keyctl 219 | |
| 216 | #define __NR_clone 220 | |
| 217 | #define __NR_execve 221 | |
| 218 | #define __NR3264_mmap 222 | |
| 219 | #define __NR3264_fadvise64 223 | |
| 220 | #define __NR_swapon 224 | |
| 221 | #define __NR_swapoff 225 | |
| 222 | #define __NR_mprotect 226 | |
| 223 | #define __NR_msync 227 | |
| 224 | #define __NR_mlock 228 | |
| 225 | #define __NR_munlock 229 | |
| 226 | #define __NR_mlockall 230 | |
| 227 | #define __NR_munlockall 231 | |
| 228 | #define __NR_mincore 232 | |
| 229 | #define __NR_madvise 233 | |
| 230 | #define __NR_remap_file_pages 234 | |
| 231 | #define __NR_mbind 235 | |
| 232 | #define __NR_get_mempolicy 236 | |
| 233 | #define __NR_set_mempolicy 237 | |
| 234 | #define __NR_migrate_pages 238 | |
| 235 | #define __NR_move_pages 239 | |
| 236 | #define __NR_rt_tgsigqueueinfo 240 | |
| 237 | #define __NR_perf_event_open 241 | |
| 238 | #define __NR_accept4 242 | |
| 239 | #define __NR_recvmmsg 243 | |
| 240 | #define __NR_arch_specific_syscall 244 | |
| 241 | #define __NR_wait4 260 | |
| 242 | #define __NR_prlimit64 261 | |
| 243 | #define __NR_fanotify_init 262 | |
| 244 | #define __NR_fanotify_mark 263 | |
| 245 | #define __NR_name_to_handle_at 264 | |
| 246 | #define __NR_open_by_handle_at 265 | |
| 247 | #define __NR_clock_adjtime 266 | |
| 248 | #define __NR_syncfs 267 | |
| 249 | #define __NR_setns 268 | |
| 250 | #define __NR_sendmmsg 269 | |
| 251 | #define __NR_process_vm_readv 270 | |
| 252 | #define __NR_process_vm_writev 271 | |
| 253 | #define __NR_kcmp 272 | |
| 254 | #define __NR_finit_module 273 | |
| 255 | #define __NR_sched_setattr 274 | |
| 256 | #define __NR_sched_getattr 275 | |
| 257 | #define __NR_renameat2 276 | |
| 258 | #define __NR_seccomp 277 | |
| 259 | #define __NR_getrandom 278 | |
| 260 | #define __NR_memfd_create 279 | |
| 261 | #define __NR_bpf 280 | |
| 262 | #define __NR_execveat 281 | |
| 263 | #define __NR_userfaultfd 282 | |
| 264 | #define __NR_membarrier 283 | |
| 265 | #define __NR_mlock2 284 | |
| 266 | #define __NR_copy_file_range 285 | |
| 267 | #define __NR_preadv2 286 | |
| 268 | #define __NR_pwritev2 287 | |
| 269 | #define __NR_pkey_mprotect 288 | |
| 270 | #define __NR_pkey_alloc 289 | |
| 271 | #define __NR_pkey_free 290 | |
| 272 | #define __NR_statx 291 | |
| 273 | #define __NR_io_pgetevents 292 | |
| 274 | #define __NR_rseq 293 | |
| 275 | #define __NR_kexec_file_load 294 | |
| 276 | #define __NR_pidfd_send_signal 424 | |
| 277 | #define __NR_io_uring_setup 425 | |
| 278 | #define __NR_io_uring_enter 426 | |
| 279 | #define __NR_io_uring_register 427 | |
| 280 | #define __NR_open_tree 428 | |
| 281 | #define __NR_move_mount 429 | |
| 282 | #define __NR_fsopen 430 | |
| 283 | #define __NR_fsconfig 431 | |
| 284 | #define __NR_fsmount 432 | |
| 285 | #define __NR_fspick 433 | |
| 286 | #define __NR_pidfd_open 434 | |
| 287 | #define __NR_clone3 435 | |
| 288 | #define __NR_close_range 436 | |
| 289 | #define __NR_openat2 437 | |
| 290 | #define __NR_pidfd_getfd 438 | |
| 291 | #define __NR_faccessat2 439 | |
| 292 | #define __NR_process_madvise 440 | |
| 293 | #define __NR_epoll_pwait2 441 | |
| 294 | #define __NR_mount_setattr 442 | |
| 295 | #define __NR_quotactl_fd 443 | |
| 296 | #define __NR_landlock_create_ruleset 444 | |
| 297 | #define __NR_landlock_add_rule 445 | |
| 298 | #define __NR_landlock_restrict_self 446 | |
| 299 | #define __NR_process_mrelease 448 | |
| 300 | #define __NR_futex_waitv 449 | |
| 301 | #define __NR_set_mempolicy_home_node 450 | |
| 302 | #define __NR_cachestat 451 | |
| 303 | #define __NR_fchmodat2 452 | |
| 304 | #define __NR_map_shadow_stack 453 | |
| 305 | #define __NR_futex_wake 454 | |
| 306 | #define __NR_futex_wait 455 | |
| 307 | #define __NR_futex_requeue 456 | |
| 308 | #define __NR_fcntl __NR3264_fcntl | |
| 309 | #define __NR_statfs __NR3264_statfs | |
| 310 | #define __NR_fstatfs __NR3264_fstatfs | |
| 311 | #define __NR_truncate __NR3264_truncate | |
| 312 | #define __NR_ftruncate __NR3264_ftruncate | |
| 313 | #define __NR_lseek __NR3264_lseek | |
| 314 | #define __NR_sendfile __NR3264_sendfile | |
| 315 | #define __NR_mmap __NR3264_mmap | |
| 316 | #define __NR_fadvise64 __NR3264_fadvise64 |
lib/libc/musl/arch/m68k/bits/alltypes.h.in deleted-25| ... | ... | @@ -1,25 +0,0 @@ |
| 1 | #define _REDIR_TIME64 1 | |
| 2 | #define _Addr int | |
| 3 | #define _Int64 long long | |
| 4 | #define _Reg int | |
| 5 | ||
| 6 | #define __BYTE_ORDER 4321 | |
| 7 | #define __LONG_MAX 0x7fffffffL | |
| 8 | ||
| 9 | #ifndef __cplusplus | |
| 10 | #ifdef __WCHAR_TYPE__ | |
| 11 | TYPEDEF __WCHAR_TYPE__ wchar_t; | |
| 12 | #else | |
| 13 | TYPEDEF long wchar_t; | |
| 14 | #endif | |
| 15 | #endif | |
| 16 | ||
| 17 | #if __mcffpu__ | |
| 18 | TYPEDEF float float_t; | |
| 19 | TYPEDEF double double_t; | |
| 20 | #else | |
| 21 | TYPEDEF long double float_t; | |
| 22 | TYPEDEF long double double_t; | |
| 23 | #endif | |
| 24 | ||
| 25 | TYPEDEF struct { long long __ll; long double __ld; } max_align_t; |
lib/libc/musl/arch/m68k/bits/syscall.h.in deleted-423| ... | ... | @@ -1,423 +0,0 @@ |
| 1 | #define __NR_restart_syscall	 0 | |
| 2 | #define __NR_exit		 1 | |
| 3 | #define __NR_fork		 2 | |
| 4 | #define __NR_read		 3 | |
| 5 | #define __NR_write		 4 | |
| 6 | #define __NR_open		 5 | |
| 7 | #define __NR_close		 6 | |
| 8 | #define __NR_waitpid		 7 | |
| 9 | #define __NR_creat		 8 | |
| 10 | #define __NR_link		 9 | |
| 11 | #define __NR_unlink		 10 | |
| 12 | #define __NR_execve		 11 | |
| 13 | #define __NR_chdir		 12 | |
| 14 | #define __NR_time		 13 | |
| 15 | #define __NR_mknod		 14 | |
| 16 | #define __NR_chmod		 15 | |
| 17 | #define __NR_chown		 16 | |
| 18 | #define __NR_oldstat		 18 | |
| 19 | #define __NR_lseek		 19 | |
| 20 | #define __NR_getpid		 20 | |
| 21 | #define __NR_mount		 21 | |
| 22 | #define __NR_umount		 22 | |
| 23 | #define __NR_setuid		 23 | |
| 24 | #define __NR_getuid		 24 | |
| 25 | #define __NR_stime		 25 | |
| 26 | #define __NR_ptrace		 26 | |
| 27 | #define __NR_alarm		 27 | |
| 28 | #define __NR_oldfstat		 28 | |
| 29 | #define __NR_pause		 29 | |
| 30 | #define __NR_utime		 30 | |
| 31 | #define __NR_access		 33 | |
| 32 | #define __NR_nice		 34 | |
| 33 | #define __NR_sync		 36 | |
| 34 | #define __NR_kill		 37 | |
| 35 | #define __NR_rename		 38 | |
| 36 | #define __NR_mkdir		 39 | |
| 37 | #define __NR_rmdir		 40 | |
| 38 | #define __NR_dup		 41 | |
| 39 | #define __NR_pipe		 42 | |
| 40 | #define __NR_times		 43 | |
| 41 | #define __NR_brk		 45 | |
| 42 | #define __NR_setgid		 46 | |
| 43 | #define __NR_getgid		 47 | |
| 44 | #define __NR_signal		 48 | |
| 45 | #define __NR_geteuid		 49 | |
| 46 | #define __NR_getegid		 50 | |
| 47 | #define __NR_acct		 51 | |
| 48 | #define __NR_umount2		 52 | |
| 49 | #define __NR_ioctl		 54 | |
| 50 | #define __NR_fcntl		 55 | |
| 51 | #define __NR_setpgid		 57 | |
| 52 | #define __NR_umask		 60 | |
| 53 | #define __NR_chroot		 61 | |
| 54 | #define __NR_ustat		 62 | |
| 55 | #define __NR_dup2		 63 | |
| 56 | #define __NR_getppid		 64 | |
| 57 | #define __NR_getpgrp		 65 | |
| 58 | #define __NR_setsid		 66 | |
| 59 | #define __NR_sigaction		 67 | |
| 60 | #define __NR_sgetmask		 68 | |
| 61 | #define __NR_ssetmask		 69 | |
| 62 | #define __NR_setreuid		 70 | |
| 63 | #define __NR_setregid		 71 | |
| 64 | #define __NR_sigsuspend		 72 | |
| 65 | #define __NR_sigpending		 73 | |
| 66 | #define __NR_sethostname	 74 | |
| 67 | #define __NR_setrlimit		 75 | |
| 68 | #define __NR_getrlimit		 76 | |
| 69 | #define __NR_getrusage		 77 | |
| 70 | #define __NR_gettimeofday_time32	 78 | |
| 71 | #define __NR_settimeofday_time32	 79 | |
| 72 | #define __NR_getgroups		 80 | |
| 73 | #define __NR_setgroups		 81 | |
| 74 | #define __NR_select		 82 | |
| 75 | #define __NR_symlink		 83 | |
| 76 | #define __NR_oldlstat		 84 | |
| 77 | #define __NR_readlink		 85 | |
| 78 | #define __NR_uselib		 86 | |
| 79 | #define __NR_swapon		 87 | |
| 80 | #define __NR_reboot		 88 | |
| 81 | #define __NR_readdir		 89 | |
| 82 | #define __NR_mmap		 90 | |
| 83 | #define __NR_munmap		 91 | |
| 84 | #define __NR_truncate		 92 | |
| 85 | #define __NR_ftruncate		 93 | |
| 86 | #define __NR_fchmod		 94 | |
| 87 | #define __NR_fchown		 95 | |
| 88 | #define __NR_getpriority	 96 | |
| 89 | #define __NR_setpriority	 97 | |
| 90 | #define __NR_statfs		 99 | |
| 91 | #define __NR_fstatfs		100 | |
| 92 | #define __NR_socketcall		102 | |
| 93 | #define __NR_syslog		103 | |
| 94 | #define __NR_setitimer		104 | |
| 95 | #define __NR_getitimer		105 | |
| 96 | #define __NR_stat		106 | |
| 97 | #define __NR_lstat		107 | |
| 98 | #define __NR_fstat		108 | |
| 99 | #define __NR_vhangup		111 | |
| 100 | #define __NR_wait4		114 | |
| 101 | #define __NR_swapoff		115 | |
| 102 | #define __NR_sysinfo		116 | |
| 103 | #define __NR_ipc		117 | |
| 104 | #define __NR_fsync		118 | |
| 105 | #define __NR_sigreturn		119 | |
| 106 | #define __NR_clone		120 | |
| 107 | #define __NR_setdomainname	121 | |
| 108 | #define __NR_uname		122 | |
| 109 | #define __NR_cacheflush		123 | |
| 110 | #define __NR_adjtimex		124 | |
| 111 | #define __NR_mprotect		125 | |
| 112 | #define __NR_sigprocmask	126 | |
| 113 | #define __NR_create_module	127 | |
| 114 | #define __NR_init_module	128 | |
| 115 | #define __NR_delete_module	129 | |
| 116 | #define __NR_get_kernel_syms	130 | |
| 117 | #define __NR_quotactl		131 | |
| 118 | #define __NR_getpgid		132 | |
| 119 | #define __NR_fchdir		133 | |
| 120 | #define __NR_bdflush		134 | |
| 121 | #define __NR_sysfs		135 | |
| 122 | #define __NR_personality	136 | |
| 123 | #define __NR_setfsuid		138 | |
| 124 | #define __NR_setfsgid		139 | |
| 125 | #define __NR__llseek		140 | |
| 126 | #define __NR_getdents		141 | |
| 127 | #define __NR__newselect		142 | |
| 128 | #define __NR_flock		143 | |
| 129 | #define __NR_msync		144 | |
| 130 | #define __NR_readv		145 | |
| 131 | #define __NR_writev		146 | |
| 132 | #define __NR_getsid		147 | |
| 133 | #define __NR_fdatasync		148 | |
| 134 | #define __NR__sysctl		149 | |
| 135 | #define __NR_mlock		150 | |
| 136 | #define __NR_munlock		151 | |
| 137 | #define __NR_mlockall		152 | |
| 138 | #define __NR_munlockall		153 | |
| 139 | #define __NR_sched_setparam		154 | |
| 140 | #define __NR_sched_getparam		155 | |
| 141 | #define __NR_sched_setscheduler		156 | |
| 142 | #define __NR_sched_getscheduler		157 | |
| 143 | #define __NR_sched_yield		158 | |
| 144 | #define __NR_sched_get_priority_max	159 | |
| 145 | #define __NR_sched_get_priority_min	160 | |
| 146 | #define __NR_sched_rr_get_interval	161 | |
| 147 | #define __NR_nanosleep		162 | |
| 148 | #define __NR_mremap		163 | |
| 149 | #define __NR_setresuid		164 | |
| 150 | #define __NR_getresuid		165 | |
| 151 | #define __NR_getpagesize	166 | |
| 152 | #define __NR_query_module	167 | |
| 153 | #define __NR_poll		168 | |
| 154 | #define __NR_nfsservctl		169 | |
| 155 | #define __NR_setresgid		170 | |
| 156 | #define __NR_getresgid		171 | |
| 157 | #define __NR_prctl		172 | |
| 158 | #define __NR_rt_sigreturn	173 | |
| 159 | #define __NR_rt_sigaction	174 | |
| 160 | #define __NR_rt_sigprocmask	175 | |
| 161 | #define __NR_rt_sigpending	176 | |
| 162 | #define __NR_rt_sigtimedwait	177 | |
| 163 | #define __NR_rt_sigqueueinfo	178 | |
| 164 | #define __NR_rt_sigsuspend	179 | |
| 165 | #define __NR_pread64		180 | |
| 166 | #define __NR_pwrite64		181 | |
| 167 | #define __NR_lchown		182 | |
| 168 | #define __NR_getcwd		183 | |
| 169 | #define __NR_capget		184 | |
| 170 | #define __NR_capset		185 | |
| 171 | #define __NR_sigaltstack	186 | |
| 172 | #define __NR_sendfile		187 | |
| 173 | #define __NR_getpmsg		188 | |
| 174 | #define __NR_putpmsg		189 | |
| 175 | #define __NR_vfork		190 | |
| 176 | #define __NR_ugetrlimit		191 | |
| 177 | #define __NR_mmap2		192 | |
| 178 | #define __NR_truncate64		193 | |
| 179 | #define __NR_ftruncate64	194 | |
| 180 | #define __NR_stat64		195 | |
| 181 | #define __NR_lstat64		196 | |
| 182 | #define __NR_fstat64		197 | |
| 183 | #define __NR_chown32		198 | |
| 184 | #define __NR_getuid32		199 | |
| 185 | #define __NR_getgid32		200 | |
| 186 | #define __NR_geteuid32		201 | |
| 187 | #define __NR_getegid32		202 | |
| 188 | #define __NR_setreuid32		203 | |
| 189 | #define __NR_setregid32		204 | |
| 190 | #define __NR_getgroups32	205 | |
| 191 | #define __NR_setgroups32	206 | |
| 192 | #define __NR_fchown32		207 | |
| 193 | #define __NR_setresuid32	208 | |
| 194 | #define __NR_getresuid32	209 | |
| 195 | #define __NR_setresgid32	210 | |
| 196 | #define __NR_getresgid32	211 | |
| 197 | #define __NR_lchown32		212 | |
| 198 | #define __NR_setuid32		213 | |
| 199 | #define __NR_setgid32		214 | |
| 200 | #define __NR_setfsuid32		215 | |
| 201 | #define __NR_setfsgid32		216 | |
| 202 | #define __NR_pivot_root		217 | |
| 203 | #define __NR_getdents64		220 | |
| 204 | #define __NR_gettid		221 | |
| 205 | #define __NR_tkill		222 | |
| 206 | #define __NR_setxattr		223 | |
| 207 | #define __NR_lsetxattr		224 | |
| 208 | #define __NR_fsetxattr		225 | |
| 209 | #define __NR_getxattr		226 | |
| 210 | #define __NR_lgetxattr		227 | |
| 211 | #define __NR_fgetxattr		228 | |
| 212 | #define __NR_listxattr		229 | |
| 213 | #define __NR_llistxattr		230 | |
| 214 | #define __NR_flistxattr		231 | |
| 215 | #define __NR_removexattr	232 | |
| 216 | #define __NR_lremovexattr	233 | |
| 217 | #define __NR_fremovexattr	234 | |
| 218 | #define __NR_futex		235 | |
| 219 | #define __NR_sendfile64		236 | |
| 220 | #define __NR_mincore		237 | |
| 221 | #define __NR_madvise		238 | |
| 222 | #define __NR_fcntl64		239 | |
| 223 | #define __NR_readahead		240 | |
| 224 | #define __NR_io_setup		241 | |
| 225 | #define __NR_io_destroy		242 | |
| 226 | #define __NR_io_getevents	243 | |
| 227 | #define __NR_io_submit		244 | |
| 228 | #define __NR_io_cancel		245 | |
| 229 | #define __NR_fadvise64		246 | |
| 230 | #define __NR_exit_group		247 | |
| 231 | #define __NR_lookup_dcookie	248 | |
| 232 | #define __NR_epoll_create	249 | |
| 233 | #define __NR_epoll_ctl		250 | |
| 234 | #define __NR_epoll_wait		251 | |
| 235 | #define __NR_remap_file_pages	252 | |
| 236 | #define __NR_set_tid_address	253 | |
| 237 | #define __NR_timer_create	254 | |
| 238 | #define __NR_timer_settime32	255 | |
| 239 | #define __NR_timer_gettime32	256 | |
| 240 | #define __NR_timer_getoverrun	257 | |
| 241 | #define __NR_timer_delete	258 | |
| 242 | #define __NR_clock_settime32	259 | |
| 243 | #define __NR_clock_gettime32	260 | |
| 244 | #define __NR_clock_getres_time32	261 | |
| 245 | #define __NR_clock_nanosleep_time32	262 | |
| 246 | #define __NR_statfs64		263 | |
| 247 | #define __NR_fstatfs64		264 | |
| 248 | #define __NR_tgkill		265 | |
| 249 | #define __NR_utimes		266 | |
| 250 | #define __NR_fadvise64_64	267 | |
| 251 | #define __NR_mbind		268 | |
| 252 | #define __NR_get_mempolicy	269 | |
| 253 | #define __NR_set_mempolicy	270 | |
| 254 | #define __NR_mq_open		271 | |
| 255 | #define __NR_mq_unlink		272 | |
| 256 | #define __NR_mq_timedsend	273 | |
| 257 | #define __NR_mq_timedreceive	274 | |
| 258 | #define __NR_mq_notify		275 | |
| 259 | #define __NR_mq_getsetattr	276 | |
| 260 | #define __NR_waitid		277 | |
| 261 | #define __NR_add_key		279 | |
| 262 | #define __NR_request_key	280 | |
| 263 | #define __NR_keyctl		281 | |
| 264 | #define __NR_ioprio_set		282 | |
| 265 | #define __NR_ioprio_get		283 | |
| 266 | #define __NR_inotify_init	284 | |
| 267 | #define __NR_inotify_add_watch	285 | |
| 268 | #define __NR_inotify_rm_watch	286 | |
| 269 | #define __NR_migrate_pages	287 | |
| 270 | #define __NR_openat		288 | |
| 271 | #define __NR_mkdirat		289 | |
| 272 | #define __NR_mknodat		290 | |
| 273 | #define __NR_fchownat		291 | |
| 274 | #define __NR_futimesat		292 | |
| 275 | #define __NR_fstatat64		293 | |
| 276 | #define __NR_unlinkat		294 | |
| 277 | #define __NR_renameat		295 | |
| 278 | #define __NR_linkat		296 | |
| 279 | #define __NR_symlinkat		297 | |
| 280 | #define __NR_readlinkat		298 | |
| 281 | #define __NR_fchmodat		299 | |
| 282 | #define __NR_faccessat		300 | |
| 283 | #define __NR_pselect6		301 | |
| 284 | #define __NR_ppoll		302 | |
| 285 | #define __NR_unshare		303 | |
| 286 | #define __NR_set_robust_list	304 | |
| 287 | #define __NR_get_robust_list	305 | |
| 288 | #define __NR_splice		306 | |
| 289 | #define __NR_sync_file_range	307 | |
| 290 | #define __NR_tee		308 | |
| 291 | #define __NR_vmsplice		309 | |
| 292 | #define __NR_move_pages		310 | |
| 293 | #define __NR_sched_setaffinity	311 | |
| 294 | #define __NR_sched_getaffinity	312 | |
| 295 | #define __NR_kexec_load		313 | |
| 296 | #define __NR_getcpu		314 | |
| 297 | #define __NR_epoll_pwait	315 | |
| 298 | #define __NR_utimensat		316 | |
| 299 | #define __NR_signalfd		317 | |
| 300 | #define __NR_timerfd_create	318 | |
| 301 | #define __NR_eventfd		319 | |
| 302 | #define __NR_fallocate		320 | |
| 303 | #define __NR_timerfd_settime32	321 | |
| 304 | #define __NR_timerfd_gettime32	322 | |
| 305 | #define __NR_signalfd4		323 | |
| 306 | #define __NR_eventfd2		324 | |
| 307 | #define __NR_epoll_create1	325 | |
| 308 | #define __NR_dup3		326 | |
| 309 | #define __NR_pipe2		327 | |
| 310 | #define __NR_inotify_init1	328 | |
| 311 | #define __NR_preadv		329 | |
| 312 | #define __NR_pwritev		330 | |
| 313 | #define __NR_rt_tgsigqueueinfo	331 | |
| 314 | #define __NR_perf_event_open	332 | |
| 315 | #define __NR_get_thread_area	333 | |
| 316 | #define __NR_set_thread_area	334 | |
| 317 | #define __NR_atomic_cmpxchg_32	335 | |
| 318 | #define __NR_atomic_barrier	336 | |
| 319 | #define __NR_fanotify_init	337 | |
| 320 | #define __NR_fanotify_mark	338 | |
| 321 | #define __NR_prlimit64		339 | |
| 322 | #define __NR_name_to_handle_at	340 | |
| 323 | #define __NR_open_by_handle_at	341 | |
| 324 | #define __NR_clock_adjtime	342 | |
| 325 | #define __NR_syncfs		343 | |
| 326 | #define __NR_setns		344 | |
| 327 | #define __NR_process_vm_readv	345 | |
| 328 | #define __NR_process_vm_writev	346 | |
| 329 | #define __NR_kcmp		347 | |
| 330 | #define __NR_finit_module	348 | |
| 331 | #define __NR_sched_setattr	349 | |
| 332 | #define __NR_sched_getattr	350 | |
| 333 | #define __NR_renameat2		351 | |
| 334 | #define __NR_getrandom		352 | |
| 335 | #define __NR_memfd_create	353 | |
| 336 | #define __NR_bpf		354 | |
| 337 | #define __NR_execveat		355 | |
| 338 | #define __NR_socket		356 | |
| 339 | #define __NR_socketpair		357 | |
| 340 | #define __NR_bind		358 | |
| 341 | #define __NR_connect		359 | |
| 342 | #define __NR_listen		360 | |
| 343 | #define __NR_accept4		361 | |
| 344 | #define __NR_getsockopt		362 | |
| 345 | #define __NR_setsockopt		363 | |
| 346 | #define __NR_getsockname	364 | |
| 347 | #define __NR_getpeername	365 | |
| 348 | #define __NR_sendto		366 | |
| 349 | #define __NR_sendmsg		367 | |
| 350 | #define __NR_recvfrom		368 | |
| 351 | #define __NR_recvmsg		369 | |
| 352 | #define __NR_shutdown		370 | |
| 353 | #define __NR_recvmmsg		371 | |
| 354 | #define __NR_sendmmsg		372 | |
| 355 | #define __NR_userfaultfd	373 | |
| 356 | #define __NR_membarrier		374 | |
| 357 | #define __NR_mlock2		375 | |
| 358 | #define __NR_copy_file_range	376 | |
| 359 | #define __NR_preadv2		377 | |
| 360 | #define __NR_pwritev2		378 | |
| 361 | #define __NR_statx		379 | |
| 362 | #define __NR_seccomp		380 | |
| 363 | #define __NR_pkey_mprotect	381 | |
| 364 | #define __NR_pkey_alloc		382 | |
| 365 | #define __NR_pkey_free		383 | |
| 366 | #define __NR_rseq		384 | |
| 367 | #define __NR_semget		393 | |
| 368 | #define __NR_semctl		394 | |
| 369 | #define __NR_shmget		395 | |
| 370 | #define __NR_shmctl		396 | |
| 371 | #define __NR_shmat		397 | |
| 372 | #define __NR_shmdt		398 | |
| 373 | #define __NR_msgget		399 | |
| 374 | #define __NR_msgsnd		400 | |
| 375 | #define __NR_msgrcv		401 | |
| 376 | #define __NR_msgctl		402 | |
| 377 | #define __NR_clock_gettime64	403 | |
| 378 | #define __NR_clock_settime64	404 | |
| 379 | #define __NR_clock_adjtime64	405 | |
| 380 | #define __NR_clock_getres_time64 406 | |
| 381 | #define __NR_clock_nanosleep_time64 407 | |
| 382 | #define __NR_timer_gettime64	408 | |
| 383 | #define __NR_timer_settime64	409 | |
| 384 | #define __NR_timerfd_gettime64	410 | |
| 385 | #define __NR_timerfd_settime64	411 | |
| 386 | #define __NR_utimensat_time64	412 | |
| 387 | #define __NR_pselect6_time64	413 | |
| 388 | #define __NR_ppoll_time64	414 | |
| 389 | #define __NR_io_pgetevents_time64 416 | |
| 390 | #define __NR_recvmmsg_time64	417 | |
| 391 | #define __NR_mq_timedsend_time64 418 | |
| 392 | #define __NR_mq_timedreceive_time64 419 | |
| 393 | #define __NR_semtimedop_time64	420 | |
| 394 | #define __NR_rt_sigtimedwait_time64 421 | |
| 395 | #define __NR_futex_time64	422 | |
| 396 | #define __NR_sched_rr_get_interval_time64 423 | |
| 397 | #define __NR_pidfd_send_signal	424 | |
| 398 | #define __NR_io_uring_setup	425 | |
| 399 | #define __NR_io_uring_enter	426 | |
| 400 | #define __NR_io_uring_register	427 | |
| 401 | #define __NR_open_tree		428 | |
| 402 | #define __NR_move_mount		429 | |
| 403 | #define __NR_fsopen		430 | |
| 404 | #define __NR_fsconfig		431 | |
| 405 | #define __NR_fsmount		432 | |
| 406 | #define __NR_fspick		433 | |
| 407 | #define __NR_pidfd_open		434 | |
| 408 | #define __NR_clone3		435 | |
| 409 | #define __NR_close_range	436 | |
| 410 | #define __NR_openat2		437 | |
| 411 | #define __NR_pidfd_getfd	438 | |
| 412 | #define __NR_faccessat2		439 | |
| 413 | #define __NR_process_madvise	440 | |
| 414 | #define __NR_epoll_pwait2	441 | |
| 415 | #define __NR_mount_setattr	442 | |
| 416 | #define __NR_landlock_create_ruleset	444 | |
| 417 | #define __NR_landlock_add_rule	445 | |
| 418 | #define __NR_landlock_restrict_self	446 | |
| 419 | #define __NR_process_mrelease	448 | |
| 420 | #define __NR_futex_waitv	449 | |
| 421 | #define __NR_set_mempolicy_home_node	450 | |
| 422 | #define __NR_cachestat		451 | |
| 423 | #define __NR_fchmodat2		452 |
lib/libc/musl/arch/mips/bits/alltypes.h.in deleted-21| ... | ... | @@ -1,21 +0,0 @@ |
| 1 | #define _REDIR_TIME64 1 | |
| 2 | #define _Addr int | |
| 3 | #define _Int64 long long | |
| 4 | #define _Reg int | |
| 5 | ||
| 6 | #if _MIPSEL || __MIPSEL || __MIPSEL__ | |
| 7 | #define __BYTE_ORDER 1234 | |
| 8 | #else | |
| 9 | #define __BYTE_ORDER 4321 | |
| 10 | #endif | |
| 11 | ||
| 12 | #define __LONG_MAX 0x7fffffffL | |
| 13 | ||
| 14 | #ifndef __cplusplus | |
| 15 | TYPEDEF int wchar_t; | |
| 16 | #endif | |
| 17 | ||
| 18 | TYPEDEF float float_t; | |
| 19 | TYPEDEF double double_t; | |
| 20 | ||
| 21 | TYPEDEF struct { long long __ll; long double __ld; } max_align_t; |
lib/libc/musl/arch/mips/bits/syscall.h.in deleted-426| ... | ... | @@ -1,426 +0,0 @@ |
| 1 | #define __NR_syscall 4000 | |
| 2 | #define __NR_exit 4001 | |
| 3 | #define __NR_fork 4002 | |
| 4 | #define __NR_read 4003 | |
| 5 | #define __NR_write 4004 | |
| 6 | #define __NR_open 4005 | |
| 7 | #define __NR_close 4006 | |
| 8 | #define __NR_waitpid 4007 | |
| 9 | #define __NR_creat 4008 | |
| 10 | #define __NR_link 4009 | |
| 11 | #define __NR_unlink 4010 | |
| 12 | #define __NR_execve 4011 | |
| 13 | #define __NR_chdir 4012 | |
| 14 | #define __NR_time 4013 | |
| 15 | #define __NR_mknod 4014 | |
| 16 | #define __NR_chmod 4015 | |
| 17 | #define __NR_lchown 4016 | |
| 18 | #define __NR_break 4017 | |
| 19 | #define __NR_unused18 4018 | |
| 20 | #define __NR_lseek 4019 | |
| 21 | #define __NR_getpid 4020 | |
| 22 | #define __NR_mount 4021 | |
| 23 | #define __NR_umount 4022 | |
| 24 | #define __NR_setuid 4023 | |
| 25 | #define __NR_getuid 4024 | |
| 26 | #define __NR_stime 4025 | |
| 27 | #define __NR_ptrace 4026 | |
| 28 | #define __NR_alarm 4027 | |
| 29 | #define __NR_unused28 4028 | |
| 30 | #define __NR_pause 4029 | |
| 31 | #define __NR_utime 4030 | |
| 32 | #define __NR_stty 4031 | |
| 33 | #define __NR_gtty 4032 | |
| 34 | #define __NR_access 4033 | |
| 35 | #define __NR_nice 4034 | |
| 36 | #define __NR_ftime 4035 | |
| 37 | #define __NR_sync 4036 | |
| 38 | #define __NR_kill 4037 | |
| 39 | #define __NR_rename 4038 | |
| 40 | #define __NR_mkdir 4039 | |
| 41 | #define __NR_rmdir 4040 | |
| 42 | #define __NR_dup 4041 | |
| 43 | #define __NR_pipe 4042 | |
| 44 | #define __NR_times 4043 | |
| 45 | #define __NR_prof 4044 | |
| 46 | #define __NR_brk 4045 | |
| 47 | #define __NR_setgid 4046 | |
| 48 | #define __NR_getgid 4047 | |
| 49 | #define __NR_signal 4048 | |
| 50 | #define __NR_geteuid 4049 | |
| 51 | #define __NR_getegid 4050 | |
| 52 | #define __NR_acct 4051 | |
| 53 | #define __NR_umount2 4052 | |
| 54 | #define __NR_lock 4053 | |
| 55 | #define __NR_ioctl 4054 | |
| 56 | #define __NR_fcntl 4055 | |
| 57 | #define __NR_mpx 4056 | |
| 58 | #define __NR_setpgid 4057 | |
| 59 | #define __NR_ulimit 4058 | |
| 60 | #define __NR_unused59 4059 | |
| 61 | #define __NR_umask 4060 | |
| 62 | #define __NR_chroot 4061 | |
| 63 | #define __NR_ustat 4062 | |
| 64 | #define __NR_dup2 4063 | |
| 65 | #define __NR_getppid 4064 | |
| 66 | #define __NR_getpgrp 4065 | |
| 67 | #define __NR_setsid 4066 | |
| 68 | #define __NR_sigaction 4067 | |
| 69 | #define __NR_sgetmask 4068 | |
| 70 | #define __NR_ssetmask 4069 | |
| 71 | #define __NR_setreuid 4070 | |
| 72 | #define __NR_setregid 4071 | |
| 73 | #define __NR_sigsuspend 4072 | |
| 74 | #define __NR_sigpending 4073 | |
| 75 | #define __NR_sethostname 4074 | |
| 76 | #define __NR_setrlimit 4075 | |
| 77 | #define __NR_getrlimit 4076 | |
| 78 | #define __NR_getrusage 4077 | |
| 79 | #define __NR_gettimeofday_time32 4078 | |
| 80 | #define __NR_settimeofday_time32 4079 | |
| 81 | #define __NR_getgroups 4080 | |
| 82 | #define __NR_setgroups 4081 | |
| 83 | #define __NR_reserved82 4082 | |
| 84 | #define __NR_symlink 4083 | |
| 85 | #define __NR_unused84 4084 | |
| 86 | #define __NR_readlink 4085 | |
| 87 | #define __NR_uselib 4086 | |
| 88 | #define __NR_swapon 4087 | |
| 89 | #define __NR_reboot 4088 | |
| 90 | #define __NR_readdir 4089 | |
| 91 | #define __NR_mmap 4090 | |
| 92 | #define __NR_munmap 4091 | |
| 93 | #define __NR_truncate 4092 | |
| 94 | #define __NR_ftruncate 4093 | |
| 95 | #define __NR_fchmod 4094 | |
| 96 | #define __NR_fchown 4095 | |
| 97 | #define __NR_getpriority 4096 | |
| 98 | #define __NR_setpriority 4097 | |
| 99 | #define __NR_profil 4098 | |
| 100 | #define __NR_statfs 4099 | |
| 101 | #define __NR_fstatfs 4100 | |
| 102 | #define __NR_ioperm 4101 | |
| 103 | #define __NR_socketcall 4102 | |
| 104 | #define __NR_syslog 4103 | |
| 105 | #define __NR_setitimer 4104 | |
| 106 | #define __NR_getitimer 4105 | |
| 107 | #define __NR_stat 4106 | |
| 108 | #define __NR_lstat 4107 | |
| 109 | #define __NR_fstat 4108 | |
| 110 | #define __NR_unused109 4109 | |
| 111 | #define __NR_iopl 4110 | |
| 112 | #define __NR_vhangup 4111 | |
| 113 | #define __NR_idle 4112 | |
| 114 | #define __NR_vm86 4113 | |
| 115 | #define __NR_wait4 4114 | |
| 116 | #define __NR_swapoff 4115 | |
| 117 | #define __NR_sysinfo 4116 | |
| 118 | #define __NR_ipc 4117 | |
| 119 | #define __NR_fsync 4118 | |
| 120 | #define __NR_sigreturn 4119 | |
| 121 | #define __NR_clone 4120 | |
| 122 | #define __NR_setdomainname 4121 | |
| 123 | #define __NR_uname 4122 | |
| 124 | #define __NR_modify_ldt 4123 | |
| 125 | #define __NR_adjtimex 4124 | |
| 126 | #define __NR_mprotect 4125 | |
| 127 | #define __NR_sigprocmask 4126 | |
| 128 | #define __NR_create_module 4127 | |
| 129 | #define __NR_init_module 4128 | |
| 130 | #define __NR_delete_module 4129 | |
| 131 | #define __NR_get_kernel_syms 4130 | |
| 132 | #define __NR_quotactl 4131 | |
| 133 | #define __NR_getpgid 4132 | |
| 134 | #define __NR_fchdir 4133 | |
| 135 | #define __NR_bdflush 4134 | |
| 136 | #define __NR_sysfs 4135 | |
| 137 | #define __NR_personality 4136 | |
| 138 | #define __NR_afs_syscall 4137 | |
| 139 | #define __NR_setfsuid 4138 | |
| 140 | #define __NR_setfsgid 4139 | |
| 141 | #define __NR__llseek 4140 | |
| 142 | #define __NR_getdents 4141 | |
| 143 | #define __NR__newselect 4142 | |
| 144 | #define __NR_flock 4143 | |
| 145 | #define __NR_msync 4144 | |
| 146 | #define __NR_readv 4145 | |
| 147 | #define __NR_writev 4146 | |
| 148 | #define __NR_cacheflush 4147 | |
| 149 | #define __NR_cachectl 4148 | |
| 150 | #define __NR_sysmips 4149 | |
| 151 | #define __NR_unused150 4150 | |
| 152 | #define __NR_getsid 4151 | |
| 153 | #define __NR_fdatasync 4152 | |
| 154 | #define __NR__sysctl 4153 | |
| 155 | #define __NR_mlock 4154 | |
| 156 | #define __NR_munlock 4155 | |
| 157 | #define __NR_mlockall 4156 | |
| 158 | #define __NR_munlockall 4157 | |
| 159 | #define __NR_sched_setparam 4158 | |
| 160 | #define __NR_sched_getparam 4159 | |
| 161 | #define __NR_sched_setscheduler 4160 | |
| 162 | #define __NR_sched_getscheduler 4161 | |
| 163 | #define __NR_sched_yield 4162 | |
| 164 | #define __NR_sched_get_priority_max 4163 | |
| 165 | #define __NR_sched_get_priority_min 4164 | |
| 166 | #define __NR_sched_rr_get_interval 4165 | |
| 167 | #define __NR_nanosleep 4166 | |
| 168 | #define __NR_mremap 4167 | |
| 169 | #define __NR_accept 4168 | |
| 170 | #define __NR_bind 4169 | |
| 171 | #define __NR_connect 4170 | |
| 172 | #define __NR_getpeername 4171 | |
| 173 | #define __NR_getsockname 4172 | |
| 174 | #define __NR_getsockopt 4173 | |
| 175 | #define __NR_listen 4174 | |
| 176 | #define __NR_recv 4175 | |
| 177 | #define __NR_recvfrom 4176 | |
| 178 | #define __NR_recvmsg 4177 | |
| 179 | #define __NR_send 4178 | |
| 180 | #define __NR_sendmsg 4179 | |
| 181 | #define __NR_sendto 4180 | |
| 182 | #define __NR_setsockopt 4181 | |
| 183 | #define __NR_shutdown 4182 | |
| 184 | #define __NR_socket 4183 | |
| 185 | #define __NR_socketpair 4184 | |
| 186 | #define __NR_setresuid 4185 | |
| 187 | #define __NR_getresuid 4186 | |
| 188 | #define __NR_query_module 4187 | |
| 189 | #define __NR_poll 4188 | |
| 190 | #define __NR_nfsservctl 4189 | |
| 191 | #define __NR_setresgid 4190 | |
| 192 | #define __NR_getresgid 4191 | |
| 193 | #define __NR_prctl 4192 | |
| 194 | #define __NR_rt_sigreturn 4193 | |
| 195 | #define __NR_rt_sigaction 4194 | |
| 196 | #define __NR_rt_sigprocmask 4195 | |
| 197 | #define __NR_rt_sigpending 4196 | |
| 198 | #define __NR_rt_sigtimedwait 4197 | |
| 199 | #define __NR_rt_sigqueueinfo 4198 | |
| 200 | #define __NR_rt_sigsuspend 4199 | |
| 201 | #define __NR_pread64 4200 | |
| 202 | #define __NR_pwrite64 4201 | |
| 203 | #define __NR_chown 4202 | |
| 204 | #define __NR_getcwd 4203 | |
| 205 | #define __NR_capget 4204 | |
| 206 | #define __NR_capset 4205 | |
| 207 | #define __NR_sigaltstack 4206 | |
| 208 | #define __NR_sendfile 4207 | |
| 209 | #define __NR_getpmsg 4208 | |
| 210 | #define __NR_putpmsg 4209 | |
| 211 | #define __NR_mmap2 4210 | |
| 212 | #define __NR_truncate64 4211 | |
| 213 | #define __NR_ftruncate64 4212 | |
| 214 | #define __NR_stat64 4213 | |
| 215 | #define __NR_lstat64 4214 | |
| 216 | #define __NR_fstat64 4215 | |
| 217 | #define __NR_pivot_root 4216 | |
| 218 | #define __NR_mincore 4217 | |
| 219 | #define __NR_madvise 4218 | |
| 220 | #define __NR_getdents64 4219 | |
| 221 | #define __NR_fcntl64 4220 | |
| 222 | #define __NR_reserved221 4221 | |
| 223 | #define __NR_gettid 4222 | |
| 224 | #define __NR_readahead 4223 | |
| 225 | #define __NR_setxattr 4224 | |
| 226 | #define __NR_lsetxattr 4225 | |
| 227 | #define __NR_fsetxattr 4226 | |
| 228 | #define __NR_getxattr 4227 | |
| 229 | #define __NR_lgetxattr 4228 | |
| 230 | #define __NR_fgetxattr 4229 | |
| 231 | #define __NR_listxattr 4230 | |
| 232 | #define __NR_llistxattr 4231 | |
| 233 | #define __NR_flistxattr 4232 | |
| 234 | #define __NR_removexattr 4233 | |
| 235 | #define __NR_lremovexattr 4234 | |
| 236 | #define __NR_fremovexattr 4235 | |
| 237 | #define __NR_tkill 4236 | |
| 238 | #define __NR_sendfile64 4237 | |
| 239 | #define __NR_futex 4238 | |
| 240 | #define __NR_sched_setaffinity 4239 | |
| 241 | #define __NR_sched_getaffinity 4240 | |
| 242 | #define __NR_io_setup 4241 | |
| 243 | #define __NR_io_destroy 4242 | |
| 244 | #define __NR_io_getevents 4243 | |
| 245 | #define __NR_io_submit 4244 | |
| 246 | #define __NR_io_cancel 4245 | |
| 247 | #define __NR_exit_group 4246 | |
| 248 | #define __NR_lookup_dcookie 4247 | |
| 249 | #define __NR_epoll_create 4248 | |
| 250 | #define __NR_epoll_ctl 4249 | |
| 251 | #define __NR_epoll_wait 4250 | |
| 252 | #define __NR_remap_file_pages 4251 | |
| 253 | #define __NR_set_tid_address 4252 | |
| 254 | #define __NR_restart_syscall 4253 | |
| 255 | #define __NR_fadvise64 4254 | |
| 256 | #define __NR_statfs64 4255 | |
| 257 | #define __NR_fstatfs64 4256 | |
| 258 | #define __NR_timer_create 4257 | |
| 259 | #define __NR_timer_settime32 4258 | |
| 260 | #define __NR_timer_gettime32 4259 | |
| 261 | #define __NR_timer_getoverrun 4260 | |
| 262 | #define __NR_timer_delete 4261 | |
| 263 | #define __NR_clock_settime32 4262 | |
| 264 | #define __NR_clock_gettime32 4263 | |
| 265 | #define __NR_clock_getres_time32 4264 | |
| 266 | #define __NR_clock_nanosleep_time32 4265 | |
| 267 | #define __NR_tgkill 4266 | |
| 268 | #define __NR_utimes 4267 | |
| 269 | #define __NR_mbind 4268 | |
| 270 | #define __NR_get_mempolicy 4269 | |
| 271 | #define __NR_set_mempolicy 4270 | |
| 272 | #define __NR_mq_open 4271 | |
| 273 | #define __NR_mq_unlink 4272 | |
| 274 | #define __NR_mq_timedsend 4273 | |
| 275 | #define __NR_mq_timedreceive 4274 | |
| 276 | #define __NR_mq_notify 4275 | |
| 277 | #define __NR_mq_getsetattr 4276 | |
| 278 | #define __NR_vserver 4277 | |
| 279 | #define __NR_waitid 4278 | |
| 280 | #define __NR_add_key 4280 | |
| 281 | #define __NR_request_key 4281 | |
| 282 | #define __NR_keyctl 4282 | |
| 283 | #define __NR_set_thread_area 4283 | |
| 284 | #define __NR_inotify_init 4284 | |
| 285 | #define __NR_inotify_add_watch 4285 | |
| 286 | #define __NR_inotify_rm_watch 4286 | |
| 287 | #define __NR_migrate_pages 4287 | |
| 288 | #define __NR_openat 4288 | |
| 289 | #define __NR_mkdirat 4289 | |
| 290 | #define __NR_mknodat 4290 | |
| 291 | #define __NR_fchownat 4291 | |
| 292 | #define __NR_futimesat 4292 | |
| 293 | #define __NR_fstatat64 4293 | |
| 294 | #define __NR_unlinkat 4294 | |
| 295 | #define __NR_renameat 4295 | |
| 296 | #define __NR_linkat 4296 | |
| 297 | #define __NR_symlinkat 4297 | |
| 298 | #define __NR_readlinkat 4298 | |
| 299 | #define __NR_fchmodat 4299 | |
| 300 | #define __NR_faccessat 4300 | |
| 301 | #define __NR_pselect6 4301 | |
| 302 | #define __NR_ppoll 4302 | |
| 303 | #define __NR_unshare 4303 | |
| 304 | #define __NR_splice 4304 | |
| 305 | #define __NR_sync_file_range 4305 | |
| 306 | #define __NR_tee 4306 | |
| 307 | #define __NR_vmsplice 4307 | |
| 308 | #define __NR_move_pages 4308 | |
| 309 | #define __NR_set_robust_list 4309 | |
| 310 | #define __NR_get_robust_list 4310 | |
| 311 | #define __NR_kexec_load 4311 | |
| 312 | #define __NR_getcpu 4312 | |
| 313 | #define __NR_epoll_pwait 4313 | |
| 314 | #define __NR_ioprio_set 4314 | |
| 315 | #define __NR_ioprio_get 4315 | |
| 316 | #define __NR_utimensat 4316 | |
| 317 | #define __NR_signalfd 4317 | |
| 318 | #define __NR_timerfd 4318 | |
| 319 | #define __NR_eventfd 4319 | |
| 320 | #define __NR_fallocate 4320 | |
| 321 | #define __NR_timerfd_create 4321 | |
| 322 | #define __NR_timerfd_gettime32 4322 | |
| 323 | #define __NR_timerfd_settime32 4323 | |
| 324 | #define __NR_signalfd4 4324 | |
| 325 | #define __NR_eventfd2 4325 | |
| 326 | #define __NR_epoll_create1 4326 | |
| 327 | #define __NR_dup3 4327 | |
| 328 | #define __NR_pipe2 4328 | |
| 329 | #define __NR_inotify_init1 4329 | |
| 330 | #define __NR_preadv 4330 | |
| 331 | #define __NR_pwritev 4331 | |
| 332 | #define __NR_rt_tgsigqueueinfo 4332 | |
| 333 | #define __NR_perf_event_open 4333 | |
| 334 | #define __NR_accept4 4334 | |
| 335 | #define __NR_recvmmsg 4335 | |
| 336 | #define __NR_fanotify_init 4336 | |
| 337 | #define __NR_fanotify_mark 4337 | |
| 338 | #define __NR_prlimit64 4338 | |
| 339 | #define __NR_name_to_handle_at 4339 | |
| 340 | #define __NR_open_by_handle_at 4340 | |
| 341 | #define __NR_clock_adjtime 4341 | |
| 342 | #define __NR_syncfs 4342 | |
| 343 | #define __NR_sendmmsg 4343 | |
| 344 | #define __NR_setns 4344 | |
| 345 | #define __NR_process_vm_readv 4345 | |
| 346 | #define __NR_process_vm_writev 4346 | |
| 347 | #define __NR_kcmp 4347 | |
| 348 | #define __NR_finit_module 4348 | |
| 349 | #define __NR_sched_setattr 4349 | |
| 350 | #define __NR_sched_getattr 4350 | |
| 351 | #define __NR_renameat2 4351 | |
| 352 | #define __NR_seccomp 4352 | |
| 353 | #define __NR_getrandom 4353 | |
| 354 | #define __NR_memfd_create 4354 | |
| 355 | #define __NR_bpf 4355 | |
| 356 | #define __NR_execveat 4356 | |
| 357 | #define __NR_userfaultfd 4357 | |
| 358 | #define __NR_membarrier 4358 | |
| 359 | #define __NR_mlock2 4359 | |
| 360 | #define __NR_copy_file_range 4360 | |
| 361 | #define __NR_preadv2 4361 | |
| 362 | #define __NR_pwritev2 4362 | |
| 363 | #define __NR_pkey_mprotect 4363 | |
| 364 | #define __NR_pkey_alloc 4364 | |
| 365 | #define __NR_pkey_free 4365 | |
| 366 | #define __NR_statx 4366 | |
| 367 | #define __NR_rseq 4367 | |
| 368 | #define __NR_io_pgetevents 4368 | |
| 369 | #define __NR_semget 4393 | |
| 370 | #define __NR_semctl 4394 | |
| 371 | #define __NR_shmget 4395 | |
| 372 | #define __NR_shmctl 4396 | |
| 373 | #define __NR_shmat 4397 | |
| 374 | #define __NR_shmdt 4398 | |
| 375 | #define __NR_msgget 4399 | |
| 376 | #define __NR_msgsnd 4400 | |
| 377 | #define __NR_msgrcv 4401 | |
| 378 | #define __NR_msgctl 4402 | |
| 379 | #define __NR_clock_gettime64 4403 | |
| 380 | #define __NR_clock_settime64 4404 | |
| 381 | #define __NR_clock_adjtime64 4405 | |
| 382 | #define __NR_clock_getres_time64 4406 | |
| 383 | #define __NR_clock_nanosleep_time64 4407 | |
| 384 | #define __NR_timer_gettime64 4408 | |
| 385 | #define __NR_timer_settime64 4409 | |
| 386 | #define __NR_timerfd_gettime64 4410 | |
| 387 | #define __NR_timerfd_settime64 4411 | |
| 388 | #define __NR_utimensat_time64 4412 | |
| 389 | #define __NR_pselect6_time64 4413 | |
| 390 | #define __NR_ppoll_time64 4414 | |
| 391 | #define __NR_io_pgetevents_time64 4416 | |
| 392 | #define __NR_recvmmsg_time64 4417 | |
| 393 | #define __NR_mq_timedsend_time64 4418 | |
| 394 | #define __NR_mq_timedreceive_time64 4419 | |
| 395 | #define __NR_semtimedop_time64 4420 | |
| 396 | #define __NR_rt_sigtimedwait_time64 4421 | |
| 397 | #define __NR_futex_time64 4422 | |
| 398 | #define __NR_sched_rr_get_interval_time64 4423 | |
| 399 | #define __NR_pidfd_send_signal 4424 | |
| 400 | #define __NR_io_uring_setup 4425 | |
| 401 | #define __NR_io_uring_enter 4426 | |
| 402 | #define __NR_io_uring_register 4427 | |
| 403 | #define __NR_open_tree		4428 | |
| 404 | #define __NR_move_mount		4429 | |
| 405 | #define __NR_fsopen		4430 | |
| 406 | #define __NR_fsconfig		4431 | |
| 407 | #define __NR_fsmount		4432 | |
| 408 | #define __NR_fspick		4433 | |
| 409 | #define __NR_pidfd_open		4434 | |
| 410 | #define __NR_clone3		4435 | |
| 411 | #define __NR_close_range	4436 | |
| 412 | #define __NR_openat2		4437 | |
| 413 | #define __NR_pidfd_getfd	4438 | |
| 414 | #define __NR_faccessat2		4439 | |
| 415 | #define __NR_process_madvise	4440 | |
| 416 | #define __NR_epoll_pwait2	4441 | |
| 417 | #define __NR_mount_setattr	4442 | |
| 418 | #define __NR_landlock_create_ruleset	4444 | |
| 419 | #define __NR_landlock_add_rule	4445 | |
| 420 | #define __NR_landlock_restrict_self	4446 | |
| 421 | #define __NR_process_mrelease	4448 | |
| 422 | #define __NR_futex_waitv	4449 | |
| 423 | #define __NR_set_mempolicy_home_node	4450 | |
| 424 | #define __NR_cachestat		4451 | |
| 425 | #define __NR_fchmodat2		4452 | |
| 426 |
lib/libc/musl/arch/mips64/bits/alltypes.h.in deleted-22| ... | ... | @@ -1,22 +0,0 @@ |
| 1 | #define _Addr long | |
| 2 | #define _Int64 long | |
| 3 | #define _Reg long | |
| 4 | ||
| 5 | #if _MIPSEL || __MIPSEL || __MIPSEL__ | |
| 6 | #define __BYTE_ORDER 1234 | |
| 7 | #else | |
| 8 | #define __BYTE_ORDER 4321 | |
| 9 | #endif | |
| 10 | ||
| 11 | #define __LONG_MAX 0x7fffffffffffffffL | |
| 12 | ||
| 13 | #ifndef __cplusplus | |
| 14 | TYPEDEF int wchar_t; | |
| 15 | #endif | |
| 16 | ||
| 17 | TYPEDEF float float_t; | |
| 18 | TYPEDEF double double_t; | |
| 19 | ||
| 20 | TYPEDEF struct { long long __ll; long double __ld; } max_align_t; | |
| 21 | ||
| 22 | TYPEDEF unsigned nlink_t; |
lib/libc/musl/arch/mips64/bits/syscall.h.in deleted-356| ... | ... | @@ -1,356 +0,0 @@ |
| 1 | #define __NR_read			5000 | |
| 2 | #define __NR_write			5001 | |
| 3 | #define __NR_open			5002 | |
| 4 | #define __NR_close			5003 | |
| 5 | #define __NR_stat			5004 | |
| 6 | #define __NR_fstat			5005 | |
| 7 | #define __NR_lstat			5006 | |
| 8 | #define __NR_poll			5007 | |
| 9 | #define __NR_lseek			5008 | |
| 10 | #define __NR_mmap			5009 | |
| 11 | #define __NR_mprotect			5010 | |
| 12 | #define __NR_munmap			5011 | |
| 13 | #define __NR_brk			5012 | |
| 14 | #define __NR_rt_sigaction		5013 | |
| 15 | #define __NR_rt_sigprocmask		5014 | |
| 16 | #define __NR_ioctl			5015 | |
| 17 | #define __NR_pread64			5016 | |
| 18 | #define __NR_pwrite64			5017 | |
| 19 | #define __NR_readv			5018 | |
| 20 | #define __NR_writev			5019 | |
| 21 | #define __NR_access			5020 | |
| 22 | #define __NR_pipe			5021 | |
| 23 | #define __NR__newselect			5022 | |
| 24 | #define __NR_sched_yield		5023 | |
| 25 | #define __NR_mremap			5024 | |
| 26 | #define __NR_msync			5025 | |
| 27 | #define __NR_mincore			5026 | |
| 28 | #define __NR_madvise			5027 | |
| 29 | #define __NR_shmget			5028 | |
| 30 | #define __NR_shmat			5029 | |
| 31 | #define __NR_shmctl			5030 | |
| 32 | #define __NR_dup			5031 | |
| 33 | #define __NR_dup2			5032 | |
| 34 | #define __NR_pause			5033 | |
| 35 | #define __NR_nanosleep			5034 | |
| 36 | #define __NR_getitimer			5035 | |
| 37 | #define __NR_setitimer			5036 | |
| 38 | #define __NR_alarm			5037 | |
| 39 | #define __NR_getpid			5038 | |
| 40 | #define __NR_sendfile			5039 | |
| 41 | #define __NR_socket			5040 | |
| 42 | #define __NR_connect			5041 | |
| 43 | #define __NR_accept			5042 | |
| 44 | #define __NR_sendto			5043 | |
| 45 | #define __NR_recvfrom			5044 | |
| 46 | #define __NR_sendmsg			5045 | |
| 47 | #define __NR_recvmsg			5046 | |
| 48 | #define __NR_shutdown			5047 | |
| 49 | #define __NR_bind			5048 | |
| 50 | #define __NR_listen			5049 | |
| 51 | #define __NR_getsockname		5050 | |
| 52 | #define __NR_getpeername		5051 | |
| 53 | #define __NR_socketpair			5052 | |
| 54 | #define __NR_setsockopt			5053 | |
| 55 | #define __NR_getsockopt			5054 | |
| 56 | #define __NR_clone			5055 | |
| 57 | #define __NR_fork			5056 | |
| 58 | #define __NR_execve			5057 | |
| 59 | #define __NR_exit			5058 | |
| 60 | #define __NR_wait4			5059 | |
| 61 | #define __NR_kill			5060 | |
| 62 | #define __NR_uname			5061 | |
| 63 | #define __NR_semget			5062 | |
| 64 | #define __NR_semop			5063 | |
| 65 | #define __NR_semctl			5064 | |
| 66 | #define __NR_shmdt			5065 | |
| 67 | #define __NR_msgget			5066 | |
| 68 | #define __NR_msgsnd			5067 | |
| 69 | #define __NR_msgrcv			5068 | |
| 70 | #define __NR_msgctl			5069 | |
| 71 | #define __NR_fcntl			5070 | |
| 72 | #define __NR_flock			5071 | |
| 73 | #define __NR_fsync			5072 | |
| 74 | #define __NR_fdatasync			5073 | |
| 75 | #define __NR_truncate			5074 | |
| 76 | #define __NR_ftruncate			5075 | |
| 77 | #define __NR_getdents			5076 | |
| 78 | #define __NR_getcwd			5077 | |
| 79 | #define __NR_chdir			5078 | |
| 80 | #define __NR_fchdir			5079 | |
| 81 | #define __NR_rename			5080 | |
| 82 | #define __NR_mkdir			5081 | |
| 83 | #define __NR_rmdir			5082 | |
| 84 | #define __NR_creat			5083 | |
| 85 | #define __NR_link			5084 | |
| 86 | #define __NR_unlink			5085 | |
| 87 | #define __NR_symlink			5086 | |
| 88 | #define __NR_readlink			5087 | |
| 89 | #define __NR_chmod			5088 | |
| 90 | #define __NR_fchmod			5089 | |
| 91 | #define __NR_chown			5090 | |
| 92 | #define __NR_fchown			5091 | |
| 93 | #define __NR_lchown			5092 | |
| 94 | #define __NR_umask			5093 | |
| 95 | #define __NR_gettimeofday		5094 | |
| 96 | #define __NR_getrlimit			5095 | |
| 97 | #define __NR_getrusage			5096 | |
| 98 | #define __NR_sysinfo			5097 | |
| 99 | #define __NR_times			5098 | |
| 100 | #define __NR_ptrace			5099 | |
| 101 | #define __NR_getuid			5100 | |
| 102 | #define __NR_syslog			5101 | |
| 103 | #define __NR_getgid			5102 | |
| 104 | #define __NR_setuid			5103 | |
| 105 | #define __NR_setgid			5104 | |
| 106 | #define __NR_geteuid			5105 | |
| 107 | #define __NR_getegid			5106 | |
| 108 | #define __NR_setpgid			5107 | |
| 109 | #define __NR_getppid			5108 | |
| 110 | #define __NR_getpgrp			5109 | |
| 111 | #define __NR_setsid			5110 | |
| 112 | #define __NR_setreuid			5111 | |
| 113 | #define __NR_setregid			5112 | |
| 114 | #define __NR_getgroups			5113 | |
| 115 | #define __NR_setgroups			5114 | |
| 116 | #define __NR_setresuid			5115 | |
| 117 | #define __NR_getresuid			5116 | |
| 118 | #define __NR_setresgid			5117 | |
| 119 | #define __NR_getresgid			5118 | |
| 120 | #define __NR_getpgid			5119 | |
| 121 | #define __NR_setfsuid			5120 | |
| 122 | #define __NR_setfsgid			5121 | |
| 123 | #define __NR_getsid			5122 | |
| 124 | #define __NR_capget			5123 | |
| 125 | #define __NR_capset			5124 | |
| 126 | #define __NR_rt_sigpending		5125 | |
| 127 | #define __NR_rt_sigtimedwait		5126 | |
| 128 | #define __NR_rt_sigqueueinfo		5127 | |
| 129 | #define __NR_rt_sigsuspend		5128 | |
| 130 | #define __NR_sigaltstack		5129 | |
| 131 | #define __NR_utime			5130 | |
| 132 | #define __NR_mknod			5131 | |
| 133 | #define __NR_personality		5132 | |
| 134 | #define __NR_ustat			5133 | |
| 135 | #define __NR_statfs			5134 | |
| 136 | #define __NR_fstatfs			5135 | |
| 137 | #define __NR_sysfs			5136 | |
| 138 | #define __NR_getpriority		5137 | |
| 139 | #define __NR_setpriority		5138 | |
| 140 | #define __NR_sched_setparam		5139 | |
| 141 | #define __NR_sched_getparam		5140 | |
| 142 | #define __NR_sched_setscheduler		5141 | |
| 143 | #define __NR_sched_getscheduler		5142 | |
| 144 | #define __NR_sched_get_priority_max	5143 | |
| 145 | #define __NR_sched_get_priority_min	5144 | |
| 146 | #define __NR_sched_rr_get_interval	5145 | |
| 147 | #define __NR_mlock			5146 | |
| 148 | #define __NR_munlock			5147 | |
| 149 | #define __NR_mlockall			5148 | |
| 150 | #define __NR_munlockall			5149 | |
| 151 | #define __NR_vhangup			5150 | |
| 152 | #define __NR_pivot_root			5151 | |
| 153 | #define __NR__sysctl			5152 | |
| 154 | #define __NR_prctl			5153 | |
| 155 | #define __NR_adjtimex			5154 | |
| 156 | #define __NR_setrlimit			5155 | |
| 157 | #define __NR_chroot			5156 | |
| 158 | #define __NR_sync			5157 | |
| 159 | #define __NR_acct			5158 | |
| 160 | #define __NR_settimeofday		5159 | |
| 161 | #define __NR_mount			5160 | |
| 162 | #define __NR_umount2			5161 | |
| 163 | #define __NR_swapon			5162 | |
| 164 | #define __NR_swapoff			5163 | |
| 165 | #define __NR_reboot			5164 | |
| 166 | #define __NR_sethostname		5165 | |
| 167 | #define __NR_setdomainname		5166 | |
| 168 | #define __NR_create_module		5167 | |
| 169 | #define __NR_init_module		5168 | |
| 170 | #define __NR_delete_module		5169 | |
| 171 | #define __NR_get_kernel_syms		5170 | |
| 172 | #define __NR_query_module		5171 | |
| 173 | #define __NR_quotactl			5172 | |
| 174 | #define __NR_nfsservctl			5173 | |
| 175 | #define __NR_getpmsg			5174 | |
| 176 | #define __NR_putpmsg			5175 | |
| 177 | #define __NR_afs_syscall		5176 | |
| 178 | #define __NR_reserved177		5177 | |
| 179 | #define __NR_gettid			5178 | |
| 180 | #define __NR_readahead			5179 | |
| 181 | #define __NR_setxattr			5180 | |
| 182 | #define __NR_lsetxattr			5181 | |
| 183 | #define __NR_fsetxattr			5182 | |
| 184 | #define __NR_getxattr			5183 | |
| 185 | #define __NR_lgetxattr			5184 | |
| 186 | #define __NR_fgetxattr			5185 | |
| 187 | #define __NR_listxattr			5186 | |
| 188 | #define __NR_llistxattr			5187 | |
| 189 | #define __NR_flistxattr			5188 | |
| 190 | #define __NR_removexattr		5189 | |
| 191 | #define __NR_lremovexattr		5190 | |
| 192 | #define __NR_fremovexattr		5191 | |
| 193 | #define __NR_tkill			5192 | |
| 194 | #define __NR_reserved193		5193 | |
| 195 | #define __NR_futex			5194 | |
| 196 | #define __NR_sched_setaffinity		5195 | |
| 197 | #define __NR_sched_getaffinity		5196 | |
| 198 | #define __NR_cacheflush			5197 | |
| 199 | #define __NR_cachectl			5198 | |
| 200 | #define __NR_sysmips			5199 | |
| 201 | #define __NR_io_setup			5200 | |
| 202 | #define __NR_io_destroy			5201 | |
| 203 | #define __NR_io_getevents		5202 | |
| 204 | #define __NR_io_submit			5203 | |
| 205 | #define __NR_io_cancel			5204 | |
| 206 | #define __NR_exit_group			5205 | |
| 207 | #define __NR_lookup_dcookie		5206 | |
| 208 | #define __NR_epoll_create		5207 | |
| 209 | #define __NR_epoll_ctl			5208 | |
| 210 | #define __NR_epoll_wait			5209 | |
| 211 | #define __NR_remap_file_pages		5210 | |
| 212 | #define __NR_rt_sigreturn		5211 | |
| 213 | #define __NR_set_tid_address		5212 | |
| 214 | #define __NR_restart_syscall		5213 | |
| 215 | #define __NR_semtimedop			5214 | |
| 216 | #define __NR_fadvise64			5215 | |
| 217 | #define __NR_timer_create		5216 | |
| 218 | #define __NR_timer_settime		5217 | |
| 219 | #define __NR_timer_gettime		5218 | |
| 220 | #define __NR_timer_getoverrun		5219 | |
| 221 | #define __NR_timer_delete		5220 | |
| 222 | #define __NR_clock_settime		5221 | |
| 223 | #define __NR_clock_gettime		5222 | |
| 224 | #define __NR_clock_getres		5223 | |
| 225 | #define __NR_clock_nanosleep		5224 | |
| 226 | #define __NR_tgkill			5225 | |
| 227 | #define __NR_utimes			5226 | |
| 228 | #define __NR_mbind			5227 | |
| 229 | #define __NR_get_mempolicy		5228 | |
| 230 | #define __NR_set_mempolicy		5229 | |
| 231 | #define __NR_mq_open			5230 | |
| 232 | #define __NR_mq_unlink			5231 | |
| 233 | #define __NR_mq_timedsend		5232 | |
| 234 | #define __NR_mq_timedreceive		5233 | |
| 235 | #define __NR_mq_notify			5234 | |
| 236 | #define __NR_mq_getsetattr		5235 | |
| 237 | #define __NR_vserver			5236 | |
| 238 | #define __NR_waitid			5237 | |
| 239 | #define __NR_add_key			5239 | |
| 240 | #define __NR_request_key		5240 | |
| 241 | #define __NR_keyctl			5241 | |
| 242 | #define __NR_set_thread_area		5242 | |
| 243 | #define __NR_inotify_init		5243 | |
| 244 | #define __NR_inotify_add_watch		5244 | |
| 245 | #define __NR_inotify_rm_watch		5245 | |
| 246 | #define __NR_migrate_pages		5246 | |
| 247 | #define __NR_openat			5247 | |
| 248 | #define __NR_mkdirat			5248 | |
| 249 | #define __NR_mknodat			5249 | |
| 250 | #define __NR_fchownat			5250 | |
| 251 | #define __NR_futimesat			5251 | |
| 252 | #define __NR_newfstatat			5252 | |
| 253 | #define __NR_unlinkat			5253 | |
| 254 | #define __NR_renameat			5254 | |
| 255 | #define __NR_linkat			5255 | |
| 256 | #define __NR_symlinkat			5256 | |
| 257 | #define __NR_readlinkat			5257 | |
| 258 | #define __NR_fchmodat			5258 | |
| 259 | #define __NR_faccessat			5259 | |
| 260 | #define __NR_pselect6			5260 | |
| 261 | #define __NR_ppoll			5261 | |
| 262 | #define __NR_unshare			5262 | |
| 263 | #define __NR_splice			5263 | |
| 264 | #define __NR_sync_file_range		5264 | |
| 265 | #define __NR_tee			5265 | |
| 266 | #define __NR_vmsplice			5266 | |
| 267 | #define __NR_move_pages			5267 | |
| 268 | #define __NR_set_robust_list		5268 | |
| 269 | #define __NR_get_robust_list		5269 | |
| 270 | #define __NR_kexec_load			5270 | |
| 271 | #define __NR_getcpu			5271 | |
| 272 | #define __NR_epoll_pwait		5272 | |
| 273 | #define __NR_ioprio_set			5273 | |
| 274 | #define __NR_ioprio_get			5274 | |
| 275 | #define __NR_utimensat			5275 | |
| 276 | #define __NR_signalfd			5276 | |
| 277 | #define __NR_timerfd			5277 | |
| 278 | #define __NR_eventfd			5278 | |
| 279 | #define __NR_fallocate			5279 | |
| 280 | #define __NR_timerfd_create		5280 | |
| 281 | #define __NR_timerfd_gettime		5281 | |
| 282 | #define __NR_timerfd_settime		5282 | |
| 283 | #define __NR_signalfd4			5283 | |
| 284 | #define __NR_eventfd2			5284 | |
| 285 | #define __NR_epoll_create1		5285 | |
| 286 | #define __NR_dup3			5286 | |
| 287 | #define __NR_pipe2			5287 | |
| 288 | #define __NR_inotify_init1		5288 | |
| 289 | #define __NR_preadv			5289 | |
| 290 | #define __NR_pwritev			5290 | |
| 291 | #define __NR_rt_tgsigqueueinfo		5291 | |
| 292 | #define __NR_perf_event_open		5292 | |
| 293 | #define __NR_accept4			5293 | |
| 294 | #define __NR_recvmmsg			5294 | |
| 295 | #define __NR_fanotify_init		5295 | |
| 296 | #define __NR_fanotify_mark		5296 | |
| 297 | #define __NR_prlimit64			5297 | |
| 298 | #define __NR_name_to_handle_at		5298 | |
| 299 | #define __NR_open_by_handle_at		5299 | |
| 300 | #define __NR_clock_adjtime		5300 | |
| 301 | #define __NR_syncfs			5301 | |
| 302 | #define __NR_sendmmsg			5302 | |
| 303 | #define __NR_setns			5303 | |
| 304 | #define __NR_process_vm_readv		5304 | |
| 305 | #define __NR_process_vm_writev		5305 | |
| 306 | #define __NR_kcmp			5306 | |
| 307 | #define __NR_finit_module		5307 | |
| 308 | #define __NR_getdents64			5308 | |
| 309 | #define __NR_sched_setattr		5309 | |
| 310 | #define __NR_sched_getattr		5310 | |
| 311 | #define __NR_renameat2			5311 | |
| 312 | #define __NR_seccomp			5312 | |
| 313 | #define __NR_getrandom			5313 | |
| 314 | #define __NR_memfd_create		5314 | |
| 315 | #define __NR_bpf			5315 | |
| 316 | #define __NR_execveat			5316 | |
| 317 | #define __NR_userfaultfd		5317 | |
| 318 | #define __NR_membarrier			5318 | |
| 319 | #define __NR_mlock2			5319 | |
| 320 | #define __NR_copy_file_range		5320 | |
| 321 | #define __NR_preadv2			5321 | |
| 322 | #define __NR_pwritev2			5322 | |
| 323 | #define __NR_pkey_mprotect		5323 | |
| 324 | #define __NR_pkey_alloc			5324 | |
| 325 | #define __NR_pkey_free			5325 | |
| 326 | #define __NR_statx			5326 | |
| 327 | #define __NR_rseq			5327 | |
| 328 | #define __NR_io_pgetevents		5328 | |
| 329 | #define __NR_pidfd_send_signal		5424 | |
| 330 | #define __NR_io_uring_setup		5425 | |
| 331 | #define __NR_io_uring_enter		5426 | |
| 332 | #define __NR_io_uring_register		5427 | |
| 333 | #define __NR_open_tree		5428 | |
| 334 | #define __NR_move_mount		5429 | |
| 335 | #define __NR_fsopen		5430 | |
| 336 | #define __NR_fsconfig		5431 | |
| 337 | #define __NR_fsmount		5432 | |
| 338 | #define __NR_fspick		5433 | |
| 339 | #define __NR_pidfd_open		5434 | |
| 340 | #define __NR_clone3		5435 | |
| 341 | #define __NR_close_range	5436 | |
| 342 | #define __NR_openat2		5437 | |
| 343 | #define __NR_pidfd_getfd	5438 | |
| 344 | #define __NR_faccessat2		5439 | |
| 345 | #define __NR_process_madvise	5440 | |
| 346 | #define __NR_epoll_pwait2	5441 | |
| 347 | #define __NR_mount_setattr	5442 | |
| 348 | #define __NR_landlock_create_ruleset	5444 | |
| 349 | #define __NR_landlock_add_rule	5445 | |
| 350 | #define __NR_landlock_restrict_self	5446 | |
| 351 | #define __NR_process_mrelease	5448 | |
| 352 | #define __NR_futex_waitv	5449 | |
| 353 | #define __NR_set_mempolicy_home_node	5450 | |
| 354 | #define __NR_cachestat		5451 | |
| 355 | #define __NR_fchmodat2		5452 | |
| 356 |
lib/libc/musl/arch/mipsn32/atomic_arch.h created+52| ... | ... | @@ -0,0 +1,52 @@ |
| 1 | #if __mips_isa_rev < 6 | |
| 2 | #define LLSC_M "m" | |
| 3 | #else | |
| 4 | #define LLSC_M "ZC" | |
| 5 | #endif | |
| 6 | ||
| 7 | #define a_ll a_ll | |
| 8 | static inline int a_ll(volatile int *p) | |
| 9 | { | |
| 10 | 	int v; | |
| 11 | #if __mips < 2 | |
| 12 | 	__asm__ __volatile__ ( | |
| 13 | 		".set push ; .set mips2\n\t" | |
| 14 | 		"ll %0, %1" | |
| 15 | 		"\n\t.set pop" | |
| 16 | 		: "=r"(v) : "m"(*p)); | |
| 17 | #else | |
| 18 | 	__asm__ __volatile__ ( | |
| 19 | 		"ll %0, %1" | |
| 20 | 		: "=r"(v) : LLSC_M(*p)); | |
| 21 | #endif | |
| 22 | 	return v; | |
| 23 | } | |
| 24 | ||
| 25 | #define a_sc a_sc | |
| 26 | static inline int a_sc(volatile int *p, int v) | |
| 27 | { | |
| 28 | 	int r; | |
| 29 | #if __mips < 2 | |
| 30 | 	__asm__ __volatile__ ( | |
| 31 | 		".set push ; .set mips2\n\t" | |
| 32 | 		"sc %0, %1" | |
| 33 | 		"\n\t.set pop" | |
| 34 | 		: "=r"(r), "=m"(*p) : "0"(v) : "memory"); | |
| 35 | #else | |
| 36 | 	__asm__ __volatile__ ( | |
| 37 | 		"sc %0, %1" | |
| 38 | 		: "=r"(r), "="LLSC_M(*p) : "0"(v) : "memory"); | |
| 39 | #endif | |
| 40 | 	return r; | |
| 41 | } | |
| 42 | ||
| 43 | #define a_barrier a_barrier | |
| 44 | static inline void a_barrier() | |
| 45 | { | |
| 46 | 	__asm__ __volatile__ ("sync" : : : "memory"); | |
| 47 | } | |
| 48 | ||
| 49 | #define a_pre_llsc a_barrier | |
| 50 | #define a_post_llsc a_barrier | |
| 51 | ||
| 52 | #undef LLSC_M |
lib/libc/musl/arch/mipsn32/bits/errno.h created+134| ... | ... | @@ -0,0 +1,134 @@ |
| 1 | #define EPERM 1 | |
| 2 | #define ENOENT 2 | |
| 3 | #define ESRCH 3 | |
| 4 | #define EINTR 4 | |
| 5 | #define EIO 5 | |
| 6 | #define ENXIO 6 | |
| 7 | #define E2BIG 7 | |
| 8 | #define ENOEXEC 8 | |
| 9 | #define EBADF 9 | |
| 10 | #define ECHILD 10 | |
| 11 | #define EAGAIN 11 | |
| 12 | #define ENOMEM 12 | |
| 13 | #define EACCES 13 | |
| 14 | #define EFAULT 14 | |
| 15 | #define ENOTBLK 15 | |
| 16 | #define EBUSY 16 | |
| 17 | #define EEXIST 17 | |
| 18 | #define EXDEV 18 | |
| 19 | #define ENODEV 19 | |
| 20 | #define ENOTDIR 20 | |
| 21 | #define EISDIR 21 | |
| 22 | #define EINVAL 22 | |
| 23 | #define ENFILE 23 | |
| 24 | #define EMFILE 24 | |
| 25 | #define ENOTTY 25 | |
| 26 | #define ETXTBSY 26 | |
| 27 | #define EFBIG 27 | |
| 28 | #define ENOSPC 28 | |
| 29 | #define ESPIPE 29 | |
| 30 | #define EROFS 30 | |
| 31 | #define EMLINK 31 | |
| 32 | #define EPIPE 32 | |
| 33 | #define EDOM 33 | |
| 34 | #define ERANGE 34 | |
| 35 | #define ENOMSG 35 | |
| 36 | #define EIDRM 36 | |
| 37 | #define ECHRNG 37 | |
| 38 | #define EL2NSYNC 38 | |
| 39 | #define EL3HLT 39 | |
| 40 | #define EL3RST 40 | |
| 41 | #define ELNRNG 41 | |
| 42 | #define EUNATCH 42 | |
| 43 | #define ENOCSI 43 | |
| 44 | #define EL2HLT 44 | |
| 45 | #define EDEADLK 45 | |
| 46 | #define ENOLCK 46 | |
| 47 | #define EBADE 50 | |
| 48 | #define EBADR 51 | |
| 49 | #define EXFULL 52 | |
| 50 | #define ENOANO 53 | |
| 51 | #define EBADRQC 54 | |
| 52 | #define EBADSLT 55 | |
| 53 | #define EDEADLOCK 56 | |
| 54 | #define EBFONT 59 | |
| 55 | #define ENOSTR 60 | |
| 56 | #define ENODATA 61 | |
| 57 | #define ETIME 62 | |
| 58 | #define ENOSR 63 | |
| 59 | #define ENONET 64 | |
| 60 | #define ENOPKG 65 | |
| 61 | #define EREMOTE 66 | |
| 62 | #define ENOLINK 67 | |
| 63 | #define EADV 68 | |
| 64 | #define ESRMNT 69 | |
| 65 | #define ECOMM 70 | |
| 66 | #define EPROTO 71 | |
| 67 | #define EDOTDOT 73 | |
| 68 | #define EMULTIHOP 74 | |
| 69 | #define EBADMSG 77 | |
| 70 | #define ENAMETOOLONG 78 | |
| 71 | #define EOVERFLOW 79 | |
| 72 | #define ENOTUNIQ 80 | |
| 73 | #define EBADFD 81 | |
| 74 | #define EREMCHG 82 | |
| 75 | #define ELIBACC 83 | |
| 76 | #define ELIBBAD 84 | |
| 77 | #define ELIBSCN 85 | |
| 78 | #define ELIBMAX 86 | |
| 79 | #define ELIBEXEC 87 | |
| 80 | #define EILSEQ 88 | |
| 81 | #define ENOSYS 89 | |
| 82 | #define ELOOP 90 | |
| 83 | #define ERESTART 91 | |
| 84 | #define ESTRPIPE 92 | |
| 85 | #define ENOTEMPTY 93 | |
| 86 | #define EUSERS 94 | |
| 87 | #define ENOTSOCK 95 | |
| 88 | #define EDESTADDRREQ 96 | |
| 89 | #define EMSGSIZE 97 | |
| 90 | #define EPROTOTYPE 98 | |
| 91 | #define ENOPROTOOPT 99 | |
| 92 | #define EPROTONOSUPPORT 120 | |
| 93 | #define ESOCKTNOSUPPORT 121 | |
| 94 | #define EOPNOTSUPP 122 | |
| 95 | #define ENOTSUP EOPNOTSUPP | |
| 96 | #define EPFNOSUPPORT 123 | |
| 97 | #define EAFNOSUPPORT 124 | |
| 98 | #define EADDRINUSE 125 | |
| 99 | #define EADDRNOTAVAIL 126 | |
| 100 | #define ENETDOWN 127 | |
| 101 | #define ENETUNREACH 128 | |
| 102 | #define ENETRESET 129 | |
| 103 | #define ECONNABORTED 130 | |
| 104 | #define ECONNRESET 131 | |
| 105 | #define ENOBUFS 132 | |
| 106 | #define EISCONN 133 | |
| 107 | #define ENOTCONN 134 | |
| 108 | #define EUCLEAN 135 | |
| 109 | #define ENOTNAM 137 | |
| 110 | #define ENAVAIL 138 | |
| 111 | #define EISNAM 139 | |
| 112 | #define EREMOTEIO 140 | |
| 113 | #define ESHUTDOWN 143 | |
| 114 | #define ETOOMANYREFS 144 | |
| 115 | #define ETIMEDOUT 145 | |
| 116 | #define ECONNREFUSED 146 | |
| 117 | #define EHOSTDOWN 147 | |
| 118 | #define EHOSTUNREACH 148 | |
| 119 | #define EWOULDBLOCK EAGAIN | |
| 120 | #define EALREADY 149 | |
| 121 | #define EINPROGRESS 150 | |
| 122 | #define ESTALE 151 | |
| 123 | #define ECANCELED 158 | |
| 124 | #define ENOMEDIUM 159 | |
| 125 | #define EMEDIUMTYPE 160 | |
| 126 | #define ENOKEY 161 | |
| 127 | #define EKEYEXPIRED 162 | |
| 128 | #define EKEYREVOKED 163 | |
| 129 | #define EKEYREJECTED 164 | |
| 130 | #define EOWNERDEAD 165 | |
| 131 | #define ENOTRECOVERABLE 166 | |
| 132 | #define ERFKILL 167 | |
| 133 | #define EHWPOISON 168 | |
| 134 | #define EDQUOT 1133 |
lib/libc/musl/arch/mipsn32/bits/fcntl.h created+40| ... | ... | @@ -0,0 +1,40 @@ |
| 1 | #define O_CREAT 0400 | |
| 2 | #define O_EXCL 02000 | |
| 3 | #define O_NOCTTY 04000 | |
| 4 | #define O_TRUNC 01000 | |
| 5 | #define O_APPEND 0010 | |
| 6 | #define O_NONBLOCK 0200 | |
| 7 | #define O_DSYNC 0020 | |
| 8 | #define O_SYNC 040020 | |
| 9 | #define O_RSYNC 040020 | |
| 10 | #define O_DIRECTORY 0200000 | |
| 11 | #define O_NOFOLLOW 0400000 | |
| 12 | #define O_CLOEXEC 02000000 | |
| 13 | ||
| 14 | #define O_ASYNC 010000 | |
| 15 | #define O_DIRECT 0100000 | |
| 16 | #define O_LARGEFILE 020000 | |
| 17 | #define O_NOATIME 01000000 | |
| 18 | #define O_PATH 010000000 | |
| 19 | #define O_TMPFILE 020200000 | |
| 20 | #define O_NDELAY O_NONBLOCK | |
| 21 | ||
| 22 | #define F_DUPFD 0 | |
| 23 | #define F_GETFD 1 | |
| 24 | #define F_SETFD 2 | |
| 25 | #define F_GETFL 3 | |
| 26 | #define F_SETFL 4 | |
| 27 | ||
| 28 | #define F_SETOWN 24 | |
| 29 | #define F_GETOWN 23 | |
| 30 | #define F_SETSIG 10 | |
| 31 | #define F_GETSIG 11 | |
| 32 | ||
| 33 | #define F_GETLK 33 | |
| 34 | #define F_SETLK 34 | |
| 35 | #define F_SETLKW 35 | |
| 36 | ||
| 37 | #define F_SETOWN_EX 15 | |
| 38 | #define F_GETOWN_EX 16 | |
| 39 | ||
| 40 | #define F_GETOWNER_UIDS 17 |
lib/libc/musl/arch/mipsn32/bits/fenv.h created+25| ... | ... | @@ -0,0 +1,25 @@ |
| 1 | #ifdef __mips_soft_float | |
| 2 | #define FE_ALL_EXCEPT 0 | |
| 3 | #define FE_TONEAREST 0 | |
| 4 | #else | |
| 5 | #define FE_INEXACT 4 | |
| 6 | #define FE_UNDERFLOW 8 | |
| 7 | #define FE_OVERFLOW 16 | |
| 8 | #define FE_DIVBYZERO 32 | |
| 9 | #define FE_INVALID 64 | |
| 10 | ||
| 11 | #define FE_ALL_EXCEPT 124 | |
| 12 | ||
| 13 | #define FE_TONEAREST 0 | |
| 14 | #define FE_TOWARDZERO 1 | |
| 15 | #define FE_UPWARD 2 | |
| 16 | #define FE_DOWNWARD 3 | |
| 17 | #endif | |
| 18 | ||
| 19 | typedef unsigned short fexcept_t; | |
| 20 | ||
| 21 | typedef struct { | |
| 22 | 	unsigned __cw; | |
| 23 | } fenv_t; | |
| 24 | ||
| 25 | #define FE_DFL_ENV ((const fenv_t *) -1) |
lib/libc/musl/arch/mipsn32/bits/float.h created+16| ... | ... | @@ -0,0 +1,16 @@ |
| 1 | #define FLT_EVAL_METHOD 0 | |
| 2 | ||
| 3 | #define LDBL_TRUE_MIN 6.47517511943802511092443895822764655e-4966L | |
| 4 | #define LDBL_MIN 3.36210314311209350626267781732175260e-4932L | |
| 5 | #define LDBL_MAX 1.18973149535723176508575932662800702e+4932L | |
| 6 | #define LDBL_EPSILON 1.92592994438723585305597794258492732e-34L | |
| 7 | ||
| 8 | #define LDBL_MANT_DIG 113 | |
| 9 | #define LDBL_MIN_EXP (-16381) | |
| 10 | #define LDBL_MAX_EXP 16384 | |
| 11 | ||
| 12 | #define LDBL_DIG 33 | |
| 13 | #define LDBL_MIN_10_EXP (-4931) | |
| 14 | #define LDBL_MAX_10_EXP 4932 | |
| 15 | ||
| 16 | #define DECIMAL_DIG 36 |
lib/libc/musl/arch/mipsn32/bits/hwcap.h created+3| ... | ... | @@ -0,0 +1,3 @@ |
| 1 | #define HWCAP_MIPS_R6		(1 << 0) | |
| 2 | #define HWCAP_MIPS_MSA		(1 << 1) | |
| 3 | #define HWCAP_MIPS_CRC32	(1 << 2) |
lib/libc/musl/arch/mipsn32/bits/ioctl.h created+114| ... | ... | @@ -0,0 +1,114 @@ |
| 1 | #define _IOC(a,b,c,d) ( ((a)<<29) | ((b)<<8) | (c) | ((d)<<16) ) | |
| 2 | #define _IOC_NONE 1U | |
| 3 | #define _IOC_READ 2U | |
| 4 | #define _IOC_WRITE 4U | |
| 5 | ||
| 6 | #define _IO(a,b) _IOC(_IOC_NONE,(a),(b),0) | |
| 7 | #define _IOW(a,b,c) _IOC(_IOC_WRITE,(a),(b),sizeof(c)) | |
| 8 | #define _IOR(a,b,c) _IOC(_IOC_READ,(a),(b),sizeof(c)) | |
| 9 | #define _IOWR(a,b,c) _IOC(_IOC_READ|_IOC_WRITE,(a),(b),sizeof(c)) | |
| 10 | ||
| 11 | #define TCGETA		0x5401 | |
| 12 | #define TCSETA		0x5402 | |
| 13 | #define TCSETAW		0x5403 | |
| 14 | #define TCSETAF		0x5404 | |
| 15 | #define TCSBRK		0x5405 | |
| 16 | #define TCXONC		0x5406 | |
| 17 | #define TCFLSH		0x5407 | |
| 18 | #define TCGETS		0x540D | |
| 19 | #define TCSETS		0x540E | |
| 20 | #define TCSETSW		0x540F | |
| 21 | #define TCSETSF		0x5410 | |
| 22 | ||
| 23 | #define TIOCEXCL	0x740D | |
| 24 | #define TIOCNXCL	0x740E | |
| 25 | #define TIOCOUTQ	0x7472 | |
| 26 | #define TIOCSTI		0x5472 | |
| 27 | #define TIOCMGET	0x741D | |
| 28 | #define TIOCMBIS	0x741B | |
| 29 | #define TIOCMBIC	0x741C | |
| 30 | #define TIOCMSET	0x741A | |
| 31 | ||
| 32 | #define TIOCPKT		0x5470 | |
| 33 | #define TIOCSWINSZ	_IOW('t', 103, struct winsize) | |
| 34 | #define TIOCGWINSZ	_IOR('t', 104, struct winsize) | |
| 35 | #define TIOCNOTTY	0x5471 | |
| 36 | #define TIOCSETD	0x7401 | |
| 37 | #define TIOCGETD	0x7400 | |
| 38 | ||
| 39 | #define FIOCLEX		0x6601 | |
| 40 | #define FIONCLEX	0x6602 | |
| 41 | #define FIOASYNC	0x667D | |
| 42 | #define FIONBIO		0x667E | |
| 43 | #define FIOQSIZE	0x667F | |
| 44 | ||
| 45 | #define TIOCGLTC 0x7474 | |
| 46 | #define TIOCSLTC 0x7475 | |
| 47 | #define TIOCSPGRP	_IOW('t', 118, int) | |
| 48 | #define TIOCGPGRP	_IOR('t', 119, int) | |
| 49 | #define TIOCCONS	_IOW('t', 120, int) | |
| 50 | ||
| 51 | #define FIONREAD	0x467F | |
| 52 | #define TIOCINQ		FIONREAD | |
| 53 | ||
| 54 | #define TIOCGETP 0x7408 | |
| 55 | #define TIOCSETP 0x7409 | |
| 56 | #define TIOCSETN 0x740A | |
| 57 | ||
| 58 | #define TIOCSBRK	0x5427 | |
| 59 | #define TIOCCBRK	0x5428 | |
| 60 | #define TIOCGSID	0x7416 | |
| 61 | #define TIOCGRS485	_IOR('T', 0x2E, char[32]) | |
| 62 | #define TIOCSRS485	_IOWR('T', 0x2F, char[32]) | |
| 63 | #define TIOCGPTN	_IOR('T', 0x30, unsigned int) | |
| 64 | #define TIOCSPTLCK	_IOW('T', 0x31, int) | |
| 65 | #define TIOCGDEV	_IOR('T', 0x32, unsigned int) | |
| 66 | #define TIOCSIG		_IOW('T', 0x36, int) | |
| 67 | #define TIOCVHANGUP	0x5437 | |
| 68 | #define TIOCGPKT	_IOR('T', 0x38, int) | |
| 69 | #define TIOCGPTLCK	_IOR('T', 0x39, int) | |
| 70 | #define TIOCGEXCL	_IOR('T', 0x40, int) | |
| 71 | #define TIOCGPTPEER	_IO('T', 0x41) | |
| 72 | ||
| 73 | #define TIOCSCTTY	0x5480 | |
| 74 | #define TIOCGSOFTCAR	0x5481 | |
| 75 | #define TIOCSSOFTCAR	0x5482 | |
| 76 | #define TIOCLINUX	0x5483 | |
| 77 | #define TIOCGSERIAL	0x5484 | |
| 78 | #define TIOCSSERIAL	0x5485 | |
| 79 | #define TCSBRKP		0x5486 | |
| 80 | ||
| 81 | #define TIOCSERCONFIG	0x5488 | |
| 82 | #define TIOCSERGWILD	0x5489 | |
| 83 | #define TIOCSERSWILD	0x548A | |
| 84 | #define TIOCGLCKTRMIOS	0x548B | |
| 85 | #define TIOCSLCKTRMIOS	0x548C | |
| 86 | #define TIOCSERGSTRUCT	0x548D | |
| 87 | #define TIOCSERGETLSR 0x548E | |
| 88 | #define TIOCSERGETMULTI 0x548F | |
| 89 | #define TIOCSERSETMULTI 0x5490 | |
| 90 | #define TIOCMIWAIT	0x5491 | |
| 91 | #define TIOCGICOUNT	0x5492 | |
| 92 | ||
| 93 | #define TIOCM_LE	0x001 | |
| 94 | #define TIOCM_DTR	0x002 | |
| 95 | #define TIOCM_RTS	0x004 | |
| 96 | #define TIOCM_ST	0x010 | |
| 97 | #define TIOCM_SR	0x020 | |
| 98 | #define TIOCM_CTS	0x040 | |
| 99 | #define TIOCM_CAR	0x100 | |
| 100 | #define TIOCM_CD	TIOCM_CAR | |
| 101 | #define TIOCM_RNG	0x200 | |
| 102 | #define TIOCM_RI	TIOCM_RNG | |
| 103 | #define TIOCM_DSR	0x400 | |
| 104 | #define TIOCM_OUT1	0x2000 | |
| 105 | #define TIOCM_OUT2	0x4000 | |
| 106 | #define TIOCM_LOOP	0x8000 | |
| 107 | ||
| 108 | #define FIOGETOWN _IOR('f', 123, int) | |
| 109 | #define FIOSETOWN _IOW('f', 124, int) | |
| 110 | #define SIOCATMARK _IOR('s', 7, int) | |
| 111 | #define SIOCSPGRP _IOW('s', 8, pid_t) | |
| 112 | #define SIOCGPGRP _IOR('s', 9, pid_t) | |
| 113 | #define SIOCGSTAMP _IOR(0x89, 6, char[16]) | |
| 114 | #define SIOCGSTAMPNS _IOR(0x89, 7, char[16]) |
lib/libc/musl/arch/mipsn32/bits/ipcstat.h created+1| ... | ... | @@ -0,0 +1 @@ |
| 1 | #define IPC_STAT 0x102 |
lib/libc/musl/arch/mipsn32/bits/mman.h created+25| ... | ... | @@ -0,0 +1,25 @@ |
| 1 | #undef MAP_ANON | |
| 2 | #define MAP_ANON 0x800 | |
| 3 | #undef MAP_NORESERVE | |
| 4 | #define MAP_NORESERVE 0x0400 | |
| 5 | #undef MAP_GROWSDOWN | |
| 6 | #define MAP_GROWSDOWN 0x1000 | |
| 7 | #undef MAP_DENYWRITE | |
| 8 | #define MAP_DENYWRITE 0x2000 | |
| 9 | #undef MAP_EXECUTABLE | |
| 10 | #define MAP_EXECUTABLE 0x4000 | |
| 11 | #undef MAP_LOCKED | |
| 12 | #define MAP_LOCKED 0x8000 | |
| 13 | #undef MAP_POPULATE | |
| 14 | #define MAP_POPULATE 0x10000 | |
| 15 | #undef MAP_NONBLOCK | |
| 16 | #define MAP_NONBLOCK 0x20000 | |
| 17 | #undef MAP_STACK | |
| 18 | #define MAP_STACK 0x40000 | |
| 19 | #undef MAP_HUGETLB | |
| 20 | #define MAP_HUGETLB 0x80000 | |
| 21 | #undef MAP_SYNC | |
| 22 | ||
| 23 | #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) | |
| 24 | #undef MADV_SOFT_OFFLINE | |
| 25 | #endif |
lib/libc/musl/arch/mipsn32/bits/msg.h created+27| ... | ... | @@ -0,0 +1,27 @@ |
| 1 | struct msqid_ds { | |
| 2 | 	struct ipc_perm msg_perm; | |
| 3 | #if _MIPSEL || __MIPSEL || __MIPSEL__ | |
| 4 | 	unsigned long __msg_stime_lo; | |
| 5 | 	unsigned long __msg_stime_hi; | |
| 6 | 	unsigned long __msg_rtime_lo; | |
| 7 | 	unsigned long __msg_rtime_hi; | |
| 8 | 	unsigned long __msg_ctime_lo; | |
| 9 | 	unsigned long __msg_ctime_hi; | |
| 10 | #else | |
| 11 | 	unsigned long __msg_stime_hi; | |
| 12 | 	unsigned long __msg_stime_lo; | |
| 13 | 	unsigned long __msg_rtime_hi; | |
| 14 | 	unsigned long __msg_rtime_lo; | |
| 15 | 	unsigned long __msg_ctime_hi; | |
| 16 | 	unsigned long __msg_ctime_lo; | |
| 17 | #endif | |
| 18 | 	unsigned long msg_cbytes; | |
| 19 | 	msgqnum_t msg_qnum; | |
| 20 | 	msglen_t msg_qbytes; | |
| 21 | 	pid_t msg_lspid; | |
| 22 | 	pid_t msg_lrpid; | |
| 23 | 	unsigned long __unused[2]; | |
| 24 | 	time_t msg_stime; | |
| 25 | 	time_t msg_rtime; | |
| 26 | 	time_t msg_ctime; | |
| 27 | }; |
lib/libc/musl/arch/mipsn32/bits/poll.h created+2| ... | ... | @@ -0,0 +1,2 @@ |
| 1 | #define POLLWRNORM POLLOUT | |
| 2 | #define POLLWRBAND 0x100 |
lib/libc/musl/arch/mipsn32/bits/posix.h created+2| ... | ... | @@ -0,0 +1,2 @@ |
| 1 | #define _POSIX_V6_ILP32_OFFBIG 1 | |
| 2 | #define _POSIX_V7_ILP32_OFFBIG 1 |
lib/libc/musl/arch/mipsn32/bits/ptrace.h created+9| ... | ... | @@ -0,0 +1,9 @@ |
| 1 | #define PTRACE_GET_THREAD_AREA	25 | |
| 2 | #define PTRACE_SET_THREAD_AREA	26 | |
| 3 | #define PTRACE_PEEKTEXT_3264	0xc0 | |
| 4 | #define PTRACE_PEEKDATA_3264	0xc1 | |
| 5 | #define PTRACE_POKETEXT_3264	0xc2 | |
| 6 | #define PTRACE_POKEDATA_3264	0xc3 | |
| 7 | #define PTRACE_GET_THREAD_AREA_3264	0xc4 | |
| 8 | #define PTRACE_GET_WATCH_REGS	0xd0 | |
| 9 | #define PTRACE_SET_WATCH_REGS	0xd1 |
lib/libc/musl/arch/mipsn32/bits/reg.h created+47| ... | ... | @@ -0,0 +1,47 @@ |
| 1 | #undef __WORDSIZE | |
| 2 | #define __WORDSIZE 64 | |
| 3 | ||
| 4 | #define EF_R0 0 | |
| 5 | #define EF_R1 1 | |
| 6 | #define EF_R2 2 | |
| 7 | #define EF_R3 3 | |
| 8 | #define EF_R4 4 | |
| 9 | #define EF_R5 5 | |
| 10 | #define EF_R6 6 | |
| 11 | #define EF_R7 7 | |
| 12 | #define EF_R8 8 | |
| 13 | #define EF_R9 9 | |
| 14 | #define EF_R10 10 | |
| 15 | #define EF_R11 11 | |
| 16 | #define EF_R12 12 | |
| 17 | #define EF_R13 13 | |
| 18 | #define EF_R14 14 | |
| 19 | #define EF_R15 15 | |
| 20 | #define EF_R16 16 | |
| 21 | #define EF_R17 17 | |
| 22 | #define EF_R18 18 | |
| 23 | #define EF_R19 19 | |
| 24 | #define EF_R20 20 | |
| 25 | #define EF_R21 21 | |
| 26 | #define EF_R22 22 | |
| 27 | #define EF_R23 23 | |
| 28 | #define EF_R24 24 | |
| 29 | #define EF_R25 25 | |
| 30 | ||
| 31 | #define EF_R26 26 | |
| 32 | #define EF_R27 27 | |
| 33 | #define EF_R28 28 | |
| 34 | #define EF_R29 29 | |
| 35 | #define EF_R30 30 | |
| 36 | #define EF_R31 31 | |
| 37 | ||
| 38 | #define EF_LO 32 | |
| 39 | #define EF_HI 33 | |
| 40 | ||
| 41 | #define EF_CP0_EPC 34 | |
| 42 | #define EF_CP0_BADVADDR 35 | |
| 43 | #define EF_CP0_STATUS 36 | |
| 44 | #define EF_CP0_CAUSE 37 | |
| 45 | #define EF_UNUSED0 38 | |
| 46 | ||
| 47 | #define EF_SIZE 304 |
lib/libc/musl/arch/mipsn32/bits/resource.h created+5| ... | ... | @@ -0,0 +1,5 @@ |
| 1 | #define RLIMIT_NOFILE 5 | |
| 2 | #define RLIMIT_AS 6 | |
| 3 | #define RLIMIT_RSS 7 | |
| 4 | #define RLIMIT_NPROC 8 | |
| 5 | #define RLIMIT_MEMLOCK 9 |
lib/libc/musl/arch/mipsn32/bits/sem.h created+16| ... | ... | @@ -0,0 +1,16 @@ |
| 1 | struct semid_ds { | |
| 2 | 	struct ipc_perm sem_perm; | |
| 3 | 	unsigned long __sem_otime_lo; | |
| 4 | 	unsigned long __sem_ctime_lo; | |
| 5 | #if __BYTE_ORDER == __LITTLE_ENDIAN | |
| 6 | 	unsigned short sem_nsems; | |
| 7 | 	char __sem_nsems_pad[sizeof(long)-sizeof(short)]; | |
| 8 | #else | |
| 9 | 	char __sem_nsems_pad[sizeof(long)-sizeof(short)]; | |
| 10 | 	unsigned short sem_nsems; | |
| 11 | #endif | |
| 12 | 	unsigned long __sem_otime_hi; | |
| 13 | 	unsigned long __sem_ctime_hi; | |
| 14 | 	time_t sem_otime; | |
| 15 | 	time_t sem_ctime; | |
| 16 | }; |
lib/libc/musl/arch/mipsn32/bits/setjmp.h created+1| ... | ... | @@ -0,0 +1 @@ |
| 1 | typedef unsigned long long __jmp_buf[23]; |
lib/libc/musl/arch/mipsn32/bits/shm.h created+29| ... | ... | @@ -0,0 +1,29 @@ |
| 1 | #define SHMLBA 4096 | |
| 2 | ||
| 3 | struct shmid_ds { | |
| 4 | 	struct ipc_perm shm_perm; | |
| 5 | 	size_t shm_segsz; | |
| 6 | 	unsigned long __shm_atime_lo; | |
| 7 | 	unsigned long __shm_dtime_lo; | |
| 8 | 	unsigned long __shm_ctime_lo; | |
| 9 | 	pid_t shm_cpid; | |
| 10 | 	pid_t shm_lpid; | |
| 11 | 	unsigned long shm_nattch; | |
| 12 | 	unsigned short __shm_atime_hi; | |
| 13 | 	unsigned short __shm_dtime_hi; | |
| 14 | 	unsigned short __shm_ctime_hi; | |
| 15 | 	unsigned short __pad1; | |
| 16 | 	time_t shm_atime; | |
| 17 | 	time_t shm_dtime; | |
| 18 | 	time_t shm_ctime; | |
| 19 | }; | |
| 20 | ||
| 21 | struct shminfo { | |
| 22 | 	unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4]; | |
| 23 | }; | |
| 24 | ||
| 25 | struct shm_info { | |
| 26 | 	int __used_ids; | |
| 27 | 	unsigned long shm_tot, shm_rss, shm_swp; | |
| 28 | 	unsigned long __swap_attempts, __swap_successes; | |
| 29 | }; |
lib/libc/musl/arch/mipsn32/bits/signal.h created+142| ... | ... | @@ -0,0 +1,142 @@ |
| 1 | #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ | |
| 2 | || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) | |
| 3 | ||
| 4 | #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) | |
| 5 | #define MINSIGSTKSZ 2048 | |
| 6 | #define SIGSTKSZ 8192 | |
| 7 | #endif | |
| 8 | ||
| 9 | #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) | |
| 10 | typedef unsigned long long greg_t, gregset_t[32]; | |
| 11 | ||
| 12 | typedef struct { | |
| 13 | 	union { | |
| 14 | 		double fp_dregs[32]; | |
| 15 | 		struct { | |
| 16 | 			float _fp_fregs; | |
| 17 | 			unsigned _fp_pad; | |
| 18 | 		} fp_fregs[32]; | |
| 19 | 	} fp_r; | |
| 20 | } fpregset_t; | |
| 21 | ||
| 22 | struct sigcontext { | |
| 23 | 	unsigned long long sc_regs[32]; | |
| 24 | 	unsigned long long sc_fpregs[32]; | |
| 25 | 	unsigned long long sc_mdhi; | |
| 26 | 	unsigned long long sc_hi1; | |
| 27 | 	unsigned long long sc_hi2; | |
| 28 | 	unsigned long long sc_hi3; | |
| 29 | 	unsigned long long sc_mdlo; | |
| 30 | 	unsigned long long sc_lo1; | |
| 31 | 	unsigned long long sc_lo2; | |
| 32 | 	unsigned long long sc_lo3; | |
| 33 | 	unsigned long long sc_pc; | |
| 34 | 	unsigned int sc_fpc_csr; | |
| 35 | 	unsigned int sc_used_math; | |
| 36 | 	unsigned int sc_dsp; | |
| 37 | 	unsigned int sc_reserved; | |
| 38 | }; | |
| 39 | ||
| 40 | typedef struct { | |
| 41 | 	gregset_t gregs; | |
| 42 | 	fpregset_t fpregs; | |
| 43 | 	greg_t mdhi; | |
| 44 | 	greg_t hi1; | |
| 45 | 	greg_t hi2; | |
| 46 | 	greg_t hi3; | |
| 47 | 	greg_t mdlo; | |
| 48 | 	greg_t lo1; | |
| 49 | 	greg_t lo2; | |
| 50 | 	greg_t lo3; | |
| 51 | 	greg_t pc; | |
| 52 | 	unsigned int fpc_csr; | |
| 53 | 	unsigned int used_math; | |
| 54 | 	unsigned int dsp; | |
| 55 | 	unsigned int reserved; | |
| 56 | } mcontext_t; | |
| 57 | ||
| 58 | #else | |
| 59 | typedef struct { | |
| 60 | 	unsigned long long __mc1[32]; | |
| 61 | 	double __mc2[32]; | |
| 62 | 	unsigned long long __mc3[9]; | |
| 63 | 	unsigned __mc4[4]; | |
| 64 | } mcontext_t; | |
| 65 | #endif | |
| 66 | ||
| 67 | struct sigaltstack { | |
| 68 | 	void *ss_sp; | |
| 69 | 	size_t ss_size; | |
| 70 | 	int ss_flags; | |
| 71 | }; | |
| 72 | ||
| 73 | typedef struct __ucontext { | |
| 74 | 	unsigned long uc_flags; | |
| 75 | 	struct __ucontext *uc_link; | |
| 76 | 	stack_t uc_stack; | |
| 77 | 	mcontext_t uc_mcontext; | |
| 78 | 	sigset_t uc_sigmask; | |
| 79 | } ucontext_t; | |
| 80 | ||
| 81 | #define SA_NOCLDSTOP 1 | |
| 82 | #define SA_NOCLDWAIT 0x10000 | |
| 83 | #define SA_SIGINFO 8 | |
| 84 | #define SA_ONSTACK 0x08000000 | |
| 85 | #define SA_RESTART 0x10000000 | |
| 86 | #define SA_NODEFER 0x40000000 | |
| 87 | #define SA_RESETHAND 0x80000000 | |
| 88 | ||
| 89 | #undef SIG_BLOCK | |
| 90 | #undef SIG_UNBLOCK | |
| 91 | #undef SIG_SETMASK | |
| 92 | #define SIG_BLOCK 1 | |
| 93 | #define SIG_UNBLOCK 2 | |
| 94 | #define SIG_SETMASK 3 | |
| 95 | ||
| 96 | #undef SI_ASYNCIO | |
| 97 | #undef SI_MESGQ | |
| 98 | #undef SI_TIMER | |
| 99 | #define SI_ASYNCIO (-2) | |
| 100 | #define SI_MESGQ (-4) | |
| 101 | #define SI_TIMER (-3) | |
| 102 | ||
| 103 | #define __SI_SWAP_ERRNO_CODE | |
| 104 | ||
| 105 | #endif | |
| 106 | ||
| 107 | #define SIGHUP 1 | |
| 108 | #define SIGINT 2 | |
| 109 | #define SIGQUIT 3 | |
| 110 | #define SIGILL 4 | |
| 111 | #define SIGTRAP 5 | |
| 112 | #define SIGABRT 6 | |
| 113 | #define SIGIOT SIGABRT | |
| 114 | #define SIGEMT 7 | |
| 115 | #define SIGFPE 8 | |
| 116 | #define SIGKILL 9 | |
| 117 | #define SIGBUS 10 | |
| 118 | #define SIGSEGV 11 | |
| 119 | #define SIGSYS 12 | |
| 120 | #define SIGPIPE 13 | |
| 121 | #define SIGALRM 14 | |
| 122 | #define SIGTERM 15 | |
| 123 | #define SIGUSR1 16 | |
| 124 | #define SIGUSR2 17 | |
| 125 | #define SIGCHLD 18 | |
| 126 | #define SIGPWR 19 | |
| 127 | #define SIGWINCH 20 | |
| 128 | #define SIGURG 21 | |
| 129 | #define SIGIO 22 | |
| 130 | #define SIGPOLL SIGIO | |
| 131 | #define SIGSTOP 23 | |
| 132 | #define SIGTSTP 24 | |
| 133 | #define SIGCONT 25 | |
| 134 | #define SIGTTIN 26 | |
| 135 | #define SIGTTOU 27 | |
| 136 | #define SIGVTALRM 28 | |
| 137 | #define SIGPROF 29 | |
| 138 | #define SIGXCPU 30 | |
| 139 | #define SIGXFSZ 31 | |
| 140 | #define SIGUNUSED SIGSYS | |
| 141 | ||
| 142 | #define _NSIG 128 |
lib/libc/musl/arch/mipsn32/bits/socket.h created+35| ... | ... | @@ -0,0 +1,35 @@ |
| 1 | #define SOCK_STREAM 2 | |
| 2 | #define SOCK_DGRAM 1 | |
| 3 | ||
| 4 | #define SOL_SOCKET 65535 | |
| 5 | ||
| 6 | #define SO_DEBUG 1 | |
| 7 | ||
| 8 | #define SO_REUSEADDR 0x0004 | |
| 9 | #define SO_KEEPALIVE 0x0008 | |
| 10 | #define SO_DONTROUTE 0x0010 | |
| 11 | #define SO_BROADCAST 0x0020 | |
| 12 | #define SO_LINGER 0x0080 | |
| 13 | #define SO_OOBINLINE 0x0100 | |
| 14 | #define SO_REUSEPORT 0x0200 | |
| 15 | #define SO_SNDBUF 0x1001 | |
| 16 | #define SO_RCVBUF 0x1002 | |
| 17 | #define SO_SNDLOWAT 0x1003 | |
| 18 | #define SO_RCVLOWAT 0x1004 | |
| 19 | #define SO_ERROR 0x1007 | |
| 20 | #define SO_TYPE 0x1008 | |
| 21 | #define SO_ACCEPTCONN 0x1009 | |
| 22 | #define SO_PROTOCOL 0x1028 | |
| 23 | #define SO_DOMAIN 0x1029 | |
| 24 | ||
| 25 | #define SO_NO_CHECK 11 | |
| 26 | #define SO_PRIORITY 12 | |
| 27 | #define SO_BSDCOMPAT 14 | |
| 28 | #define SO_PASSCRED 17 | |
| 29 | #define SO_PEERCRED 18 | |
| 30 | #define SO_PEERSEC 30 | |
| 31 | #define SO_SNDBUFFORCE 31 | |
| 32 | #define SO_RCVBUFFORCE 33 | |
| 33 | ||
| 34 | #define SOCK_NONBLOCK 0200 | |
| 35 | #define SOCK_CLOEXEC 02000000 |
lib/libc/musl/arch/mipsn32/bits/stat.h created+23| ... | ... | @@ -0,0 +1,23 @@ |
| 1 | struct stat { | |
| 2 | 	dev_t st_dev; | |
| 3 | 	long __pad1[2]; | |
| 4 | 	ino_t st_ino; | |
| 5 | 	mode_t st_mode; | |
| 6 | 	nlink_t st_nlink; | |
| 7 | 	uid_t st_uid; | |
| 8 | 	gid_t st_gid; | |
| 9 | 	dev_t st_rdev; | |
| 10 | 	long __pad2[2]; | |
| 11 | 	off_t st_size; | |
| 12 | 	struct { | |
| 13 | 		long tv_sec; | |
| 14 | 		long tv_nsec; | |
| 15 | 	} __st_atim32, __st_mtim32, __st_ctim32; | |
| 16 | 	blksize_t st_blksize; | |
| 17 | 	long __pad3; | |
| 18 | 	blkcnt_t st_blocks; | |
| 19 | 	struct timespec st_atim; | |
| 20 | 	struct timespec st_mtim; | |
| 21 | 	struct timespec st_ctim; | |
| 22 | 	long __pad4[2]; | |
| 23 | }; |
lib/libc/musl/arch/mipsn32/bits/statfs.h created+8| ... | ... | @@ -0,0 +1,8 @@ |
| 1 | struct statfs { | |
| 2 | 	unsigned long f_type, f_bsize, f_frsize; | |
| 3 | 	fsblkcnt_t f_blocks, f_bfree; | |
| 4 | 	fsfilcnt_t f_files, f_ffree; | |
| 5 | 	fsblkcnt_t f_bavail; | |
| 6 | 	fsid_t f_fsid; | |
| 7 | 	unsigned long f_namelen, f_flags, f_spare[5]; | |
| 8 | }; |
lib/libc/musl/arch/mipsn32/bits/stdint.h created+20| ... | ... | @@ -0,0 +1,20 @@ |
| 1 | typedef int32_t int_fast16_t; | |
| 2 | typedef int32_t int_fast32_t; | |
| 3 | typedef uint32_t uint_fast16_t; | |
| 4 | typedef uint32_t uint_fast32_t; | |
| 5 | ||
| 6 | #define INT_FAST16_MIN INT32_MIN | |
| 7 | #define INT_FAST32_MIN INT32_MIN | |
| 8 | ||
| 9 | #define INT_FAST16_MAX INT32_MAX | |
| 10 | #define INT_FAST32_MAX INT32_MAX | |
| 11 | ||
| 12 | #define UINT_FAST16_MAX UINT32_MAX | |
| 13 | #define UINT_FAST32_MAX UINT32_MAX | |
| 14 | ||
| 15 | #define INTPTR_MIN INT32_MIN | |
| 16 | #define INTPTR_MAX INT32_MAX | |
| 17 | #define UINTPTR_MAX UINT32_MAX | |
| 18 | #define PTRDIFF_MIN INT32_MIN | |
| 19 | #define PTRDIFF_MAX INT32_MAX | |
| 20 | #define SIZE_MAX UINT32_MAX |
lib/libc/musl/arch/mipsn32/bits/termios.h created+169| ... | ... | @@ -0,0 +1,169 @@ |
| 1 | struct termios { | |
| 2 | 	tcflag_t c_iflag; | |
| 3 | 	tcflag_t c_oflag; | |
| 4 | 	tcflag_t c_cflag; | |
| 5 | 	tcflag_t c_lflag; | |
| 6 | 	cc_t c_line; | |
| 7 | 	cc_t c_cc[NCCS]; | |
| 8 | 	speed_t __c_ispeed; | |
| 9 | 	speed_t __c_ospeed; | |
| 10 | }; | |
| 11 | ||
| 12 | #define VINTR 0 | |
| 13 | #define VQUIT 1 | |
| 14 | #define VERASE 2 | |
| 15 | #define VKILL 3 | |
| 16 | #define VMIN 4 | |
| 17 | #define VTIME 5 | |
| 18 | #define VEOL2 6 | |
| 19 | #define VSWTC 7 | |
| 20 | #define VSWTCH 7 | |
| 21 | #define VSTART 8 | |
| 22 | #define VSTOP 9 | |
| 23 | #define VSUSP 10 | |
| 24 | #define VREPRINT 12 | |
| 25 | #define VDISCARD 13 | |
| 26 | #define VWERASE 14 | |
| 27 | #define VLNEXT 15 | |
| 28 | #define VEOF 16 | |
| 29 | #define VEOL 17 | |
| 30 | ||
| 31 | #define IGNBRK 0000001 | |
| 32 | #define BRKINT 0000002 | |
| 33 | #define IGNPAR 0000004 | |
| 34 | #define PARMRK 0000010 | |
| 35 | #define INPCK 0000020 | |
| 36 | #define ISTRIP 0000040 | |
| 37 | #define INLCR 0000100 | |
| 38 | #define IGNCR 0000200 | |
| 39 | #define ICRNL 0000400 | |
| 40 | #define IUCLC 0001000 | |
| 41 | #define IXON 0002000 | |
| 42 | #define IXANY 0004000 | |
| 43 | #define IXOFF 0010000 | |
| 44 | #define IMAXBEL 0020000 | |
| 45 | #define IUTF8 0040000 | |
| 46 | ||
| 47 | #define OPOST 0000001 | |
| 48 | #define OLCUC 0000002 | |
| 49 | #define ONLCR 0000004 | |
| 50 | #define OCRNL 0000010 | |
| 51 | #define ONOCR 0000020 | |
| 52 | #define ONLRET 0000040 | |
| 53 | #define OFILL 0000100 | |
| 54 | #define OFDEL 0000200 | |
| 55 | #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_XOPEN_SOURCE) | |
| 56 | #define NLDLY 0000400 | |
| 57 | #define NL0 0000000 | |
| 58 | #define NL1 0000400 | |
| 59 | #define CRDLY 0003000 | |
| 60 | #define CR0 0000000 | |
| 61 | #define CR1 0001000 | |
| 62 | #define CR2 0002000 | |
| 63 | #define CR3 0003000 | |
| 64 | #define TABDLY 0014000 | |
| 65 | #define TAB0 0000000 | |
| 66 | #define TAB1 0004000 | |
| 67 | #define TAB2 0010000 | |
| 68 | #define TAB3 0014000 | |
| 69 | #define BSDLY 0020000 | |
| 70 | #define BS0 0000000 | |
| 71 | #define BS1 0020000 | |
| 72 | #define FFDLY 0100000 | |
| 73 | #define FF0 0000000 | |
| 74 | #define FF1 0100000 | |
| 75 | #endif | |
| 76 | ||
| 77 | #define VTDLY 0040000 | |
| 78 | #define VT0 0000000 | |
| 79 | #define VT1 0040000 | |
| 80 | ||
| 81 | #define B0 0000000 | |
| 82 | #define B50 0000001 | |
| 83 | #define B75 0000002 | |
| 84 | #define B110 0000003 | |
| 85 | #define B134 0000004 | |
| 86 | #define B150 0000005 | |
| 87 | #define B200 0000006 | |
| 88 | #define B300 0000007 | |
| 89 | #define B600 0000010 | |
| 90 | #define B1200 0000011 | |
| 91 | #define B1800 0000012 | |
| 92 | #define B2400 0000013 | |
| 93 | #define B4800 0000014 | |
| 94 | #define B9600 0000015 | |
| 95 | #define B19200 0000016 | |
| 96 | #define B38400 0000017 | |
| 97 | ||
| 98 | #define B57600 0010001 | |
| 99 | #define B115200 0010002 | |
| 100 | #define B230400 0010003 | |
| 101 | #define B460800 0010004 | |
| 102 | #define B500000 0010005 | |
| 103 | #define B576000 0010006 | |
| 104 | #define B921600 0010007 | |
| 105 | #define B1000000 0010010 | |
| 106 | #define B1152000 0010011 | |
| 107 | #define B1500000 0010012 | |
| 108 | #define B2000000 0010013 | |
| 109 | #define B2500000 0010014 | |
| 110 | #define B3000000 0010015 | |
| 111 | #define B3500000 0010016 | |
| 112 | #define B4000000 0010017 | |
| 113 | ||
| 114 | #define CSIZE 0000060 | |
| 115 | #define CS5 0000000 | |
| 116 | #define CS6 0000020 | |
| 117 | #define CS7 0000040 | |
| 118 | #define CS8 0000060 | |
| 119 | #define CSTOPB 0000100 | |
| 120 | #define CREAD 0000200 | |
| 121 | #define PARENB 0000400 | |
| 122 | #define PARODD 0001000 | |
| 123 | #define HUPCL 0002000 | |
| 124 | #define CLOCAL 0004000 | |
| 125 | ||
| 126 | #define ISIG 0000001 | |
| 127 | #define ICANON 0000002 | |
| 128 | #define ECHO 0000010 | |
| 129 | #define ECHOE 0000020 | |
| 130 | #define ECHOK 0000040 | |
| 131 | #define ECHONL 0000100 | |
| 132 | #define NOFLSH 0000200 | |
| 133 | #define IEXTEN 0000400 | |
| 134 | #define TOSTOP 0100000 | |
| 135 | #define ITOSTOP 0100000 | |
| 136 | ||
| 137 | #define TCOOFF 0 | |
| 138 | #define TCOON 1 | |
| 139 | #define TCIOFF 2 | |
| 140 | #define TCION 3 | |
| 141 | ||
| 142 | #define TCIFLUSH 0 | |
| 143 | #define TCOFLUSH 1 | |
| 144 | #define TCIOFLUSH 2 | |
| 145 | ||
| 146 | #define TCSANOW 0 | |
| 147 | #define TCSADRAIN 1 | |
| 148 | #define TCSAFLUSH 2 | |
| 149 | ||
| 150 | #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) | |
| 151 | #define EXTA 0000016 | |
| 152 | #define EXTB 0000017 | |
| 153 | #define CBAUD 0010017 | |
| 154 | #define CBAUDEX 0010000 | |
| 155 | #define CIBAUD 002003600000 | |
| 156 | #define CMSPAR 010000000000 | |
| 157 | #define CRTSCTS 020000000000 | |
| 158 | ||
| 159 | #define XCASE 0000004 | |
| 160 | #define ECHOCTL 0001000 | |
| 161 | #define ECHOPRT 0002000 | |
| 162 | #define ECHOKE 0004000 | |
| 163 | #define FLUSHO 0020000 | |
| 164 | #define PENDIN 0040000 | |
| 165 | #define EXTPROC 0200000 | |
| 166 | ||
| 167 | #define XTABS 0014000 | |
| 168 | #define TIOCSER_TEMT 1 | |
| 169 | #endif |
lib/libc/musl/arch/mipsn32/bits/user.h created+15| ... | ... | @@ -0,0 +1,15 @@ |
| 1 | struct user { | |
| 2 | 	unsigned long regs[102]; | |
| 3 | 	unsigned long u_tsize, u_dsize, u_ssize; | |
| 4 | 	unsigned long long start_code, start_data, start_stack; | |
| 5 | 	long long signal; | |
| 6 | 	unsigned long long *u_ar0; | |
| 7 | 	unsigned long long magic; | |
| 8 | 	char u_comm[32]; | |
| 9 | }; | |
| 10 | ||
| 11 | #define ELF_NGREG 45 | |
| 12 | #define ELF_NFPREG 33 | |
| 13 | ||
| 14 | typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG]; | |
| 15 | typedef double elf_fpreg_t, elf_fpregset_t[ELF_NFPREG]; |
lib/libc/musl/arch/mipsn32/crt_arch.h created+32| ... | ... | @@ -0,0 +1,32 @@ |
| 1 | __asm__( | |
| 2 | ".set push\n" | |
| 3 | ".set noreorder\n" | |
| 4 | ".text \n" | |
| 5 | ".global _" START "\n" | |
| 6 | ".global " START "\n" | |
| 7 | ".global " START "_data\n" | |
| 8 | ".type _" START ", @function\n" | |
| 9 | ".type " START ", @function\n" | |
| 10 | ".type " START "_data, @function\n" | |
| 11 | "_" START ":\n" | |
| 12 | "" START ":\n" | |
| 13 | "	bal 1f \n" | |
| 14 | "	move $fp, $0 \n" | |
| 15 | "" START "_data: \n" | |
| 16 | "	.gpword " START "_data \n" | |
| 17 | "	.gpword " START "_c \n" | |
| 18 | ".weak _DYNAMIC \n" | |
| 19 | ".hidden _DYNAMIC \n" | |
| 20 | "	.gpword _DYNAMIC \n" | |
| 21 | "1:	lw $gp, 0($ra) \n" | |
| 22 | "	subu $gp, $ra, $gp \n" | |
| 23 | "	move $4, $sp \n" | |
| 24 | "	lw $5, 8($ra) \n" | |
| 25 | "	addu $5, $5, $gp \n" | |
| 26 | "	lw $25, 4($ra) \n" | |
| 27 | "	addu $25, $25, $gp \n" | |
| 28 | "	and $sp, $sp, -8 \n" | |
| 29 | "	jalr $25 \n" | |
| 30 | "	subu $sp, $sp, 16 \n" | |
| 31 | ".set pop \n" | |
| 32 | ); |
lib/libc/musl/arch/mipsn32/ksigaction.h created+10| ... | ... | @@ -0,0 +1,10 @@ |
| 1 | #include <features.h> | |
| 2 | ||
| 3 | struct k_sigaction { | |
| 4 | 	unsigned flags; | |
| 5 | 	void (*handler)(int); | |
| 6 | 	unsigned long mask[4]; | |
| 7 | 	void *unused; | |
| 8 | }; | |
| 9 | ||
| 10 | hidden void __restore(), __restore_rt(); |
lib/libc/musl/arch/mipsn32/kstat.h created+22| ... | ... | @@ -0,0 +1,22 @@ |
| 1 | struct kstat { | |
| 2 | 	unsigned st_dev; | |
| 3 | 	long __pad1[3]; | |
| 4 | 	ino_t st_ino; | |
| 5 | 	mode_t st_mode; | |
| 6 | 	nlink_t st_nlink; | |
| 7 | 	uid_t st_uid; | |
| 8 | 	gid_t st_gid; | |
| 9 | 	unsigned st_rdev; | |
| 10 | 	long __pad2[3]; | |
| 11 | 	off_t st_size; | |
| 12 | 	long st_atime_sec; | |
| 13 | 	long st_atime_nsec; | |
| 14 | 	long st_mtime_sec; | |
| 15 | 	long st_mtime_nsec; | |
| 16 | 	long st_ctime_sec; | |
| 17 | 	long st_ctime_nsec; | |
| 18 | 	blksize_t st_blksize; | |
| 19 | 	long __pad3; | |
| 20 | 	blkcnt_t st_blocks; | |
| 21 | 	long __pad4[14]; | |
| 22 | }; |
lib/libc/musl/arch/mipsn32/pthread_arch.h created+19| ... | ... | @@ -0,0 +1,19 @@ |
| 1 | static inline uintptr_t __get_tp() | |
| 2 | { | |
| 3 | #if __mips_isa_rev < 2 | |
| 4 | 	register uintptr_t tp __asm__("$3"); | |
| 5 | 	__asm__ (".word 0x7c03e83b" : "=r" (tp) ); | |
| 6 | #else | |
| 7 | 	uintptr_t tp; | |
| 8 | 	__asm__ ("rdhwr %0, $29" : "=r" (tp) ); | |
| 9 | #endif | |
| 10 | 	return tp; | |
| 11 | } | |
| 12 | ||
| 13 | #define TLS_ABOVE_TP | |
| 14 | #define GAP_ABOVE_TP 0 | |
| 15 | ||
| 16 | #define TP_OFFSET 0x7000 | |
| 17 | #define DTP_OFFSET 0x8000 | |
| 18 | ||
| 19 | #define MC_PC pc |
lib/libc/musl/arch/mipsn32/reloc.h created+51| ... | ... | @@ -0,0 +1,51 @@ |
| 1 | #if __mips_isa_rev >= 6 | |
| 2 | #define ISA_SUFFIX "r6" | |
| 3 | #else | |
| 4 | #define ISA_SUFFIX "" | |
| 5 | #endif | |
| 6 | ||
| 7 | #if __BYTE_ORDER == __LITTLE_ENDIAN | |
| 8 | #define ENDIAN_SUFFIX "el" | |
| 9 | #else | |
| 10 | #define ENDIAN_SUFFIX "" | |
| 11 | #endif | |
| 12 | ||
| 13 | #ifdef __mips_soft_float | |
| 14 | #define FP_SUFFIX "-sf" | |
| 15 | #else | |
| 16 | #define FP_SUFFIX "" | |
| 17 | #endif | |
| 18 | ||
| 19 | #define LDSO_ARCH "mipsn32" ISA_SUFFIX ENDIAN_SUFFIX FP_SUFFIX | |
| 20 | ||
| 21 | #define TPOFF_K (-0x7000) | |
| 22 | ||
| 23 | #define REL_SYM_OR_REL R_MIPS_REL32 | |
| 24 | #define REL_PLT R_MIPS_JUMP_SLOT | |
| 25 | #define REL_COPY R_MIPS_COPY | |
| 26 | #define REL_DTPMOD R_MIPS_TLS_DTPMOD32 | |
| 27 | #define REL_DTPOFF R_MIPS_TLS_DTPREL32 | |
| 28 | #define REL_TPOFF R_MIPS_TLS_TPREL32 | |
| 29 | ||
| 30 | #define NEED_MIPS_GOT_RELOCS 1 | |
| 31 | #define DT_DEBUG_INDIRECT DT_MIPS_RLD_MAP | |
| 32 | #define DT_DEBUG_INDIRECT_REL DT_MIPS_RLD_MAP_REL | |
| 33 | #define ARCH_SYM_REJECT_UND(s) (!((s)->st_other & STO_MIPS_PLT)) | |
| 34 | ||
| 35 | #define CRTJMP(pc,sp) __asm__ __volatile__( \ | |
| 36 | 	"move $sp,%1 ; jr %0" : : "r"(pc), "r"(sp) : "memory" ) | |
| 37 | ||
| 38 | #define GETFUNCSYM(fp, sym, got) __asm__ ( \ | |
| 39 | 	".hidden " #sym "\n" \ | |
| 40 | 	".set push \n" \ | |
| 41 | 	".set noreorder \n" \ | |
| 42 | 	"	bal 1f \n" \ | |
| 43 | 	"	nop \n" \ | |
| 44 | 	"	.gpword . \n" \ | |
| 45 | 	"	.gpword " #sym " \n" \ | |
| 46 | 	"1:	lw %0, ($ra) \n" \ | |
| 47 | 	"	subu %0, $ra, %0 \n" \ | |
| 48 | 	"	lw $ra, 4($ra) \n" \ | |
| 49 | 	"	addu %0, %0, $ra \n" \ | |
| 50 | 	".set pop \n" \ | |
| 51 | 	: "=r"(*(fp)) : : "memory", "ra" ) |
lib/libc/musl/arch/mipsn32/syscall_arch.h created+130| ... | ... | @@ -0,0 +1,130 @@ |
| 1 | #define __SYSCALL_LL_E(x) (x) | |
| 2 | #define __SYSCALL_LL_O(x) (x) | |
| 3 | ||
| 4 | #define SYSCALL_RLIM_INFINITY (-1UL/2) | |
| 5 | ||
| 6 | #if __mips_isa_rev >= 6 | |
| 7 | #define SYSCALL_CLOBBERLIST \ | |
| 8 | 	"$1", "$3", "$10", "$11", "$12", "$13", \ | |
| 9 | 	"$14", "$15", "$24", "$25", "memory" | |
| 10 | #else | |
| 11 | #define SYSCALL_CLOBBERLIST \ | |
| 12 | 	"$1", "$3", "$10", "$11", "$12", "$13", \ | |
| 13 | 	"$14", "$15", "$24", "$25", "hi", "lo", "memory" | |
| 14 | #endif | |
| 15 | ||
| 16 | static inline long __syscall0(long n) | |
| 17 | { | |
| 18 | 	register long r7 __asm__("$7"); | |
| 19 | 	register long r2 __asm__("$2"); | |
| 20 | 	__asm__ __volatile__ ( | |
| 21 | 		"daddu $2,$0,%2 ; syscall" | |
| 22 | 		: "=&r"(r2), "=r"(r7) | |
| 23 | 		: "ir"(n), "0"(r2) | |
| 24 | 		: SYSCALL_CLOBBERLIST); | |
| 25 | 	return r7 && r2>0 ? -r2 : r2; | |
| 26 | } | |
| 27 | ||
| 28 | static inline long __syscall1(long n, long a) | |
| 29 | { | |
| 30 | 	register long r4 __asm__("$4") = a; | |
| 31 | 	register long r7 __asm__("$7"); | |
| 32 | 	register long r2 __asm__("$2"); | |
| 33 | 	__asm__ __volatile__ ( | |
| 34 | 		"daddu $2,$0,%2 ; syscall" | |
| 35 | 		: "=&r"(r2), "=r"(r7) | |
| 36 | 		: "ir"(n), "0"(r2), "r"(r4) | |
| 37 | 		: SYSCALL_CLOBBERLIST); | |
| 38 | 	return r7 && r2>0 ? -r2 : r2; | |
| 39 | } | |
| 40 | ||
| 41 | static inline long __syscall2(long n, long a, long b) | |
| 42 | { | |
| 43 | 	register long r4 __asm__("$4") = a; | |
| 44 | 	register long r5 __asm__("$5") = b; | |
| 45 | 	register long r7 __asm__("$7"); | |
| 46 | 	register long r2 __asm__("$2"); | |
| 47 | ||
| 48 | 	__asm__ __volatile__ ( | |
| 49 | 		"daddu $2,$0,%2 ; syscall" | |
| 50 | 		: "=&r"(r2), "=r"(r7) | |
| 51 | 		: "ir"(n), "0"(r2), "r"(r4), "r"(r5) | |
| 52 | 		: SYSCALL_CLOBBERLIST); | |
| 53 | 	return r7 && r2>0 ? -r2 : r2; | |
| 54 | } | |
| 55 | ||
| 56 | static inline long __syscall3(long n, long a, long b, long c) | |
| 57 | { | |
| 58 | 	register long r4 __asm__("$4") = a; | |
| 59 | 	register long r5 __asm__("$5") = b; | |
| 60 | 	register long r6 __asm__("$6") = c; | |
| 61 | 	register long r7 __asm__("$7"); | |
| 62 | 	register long r2 __asm__("$2"); | |
| 63 | ||
| 64 | 	__asm__ __volatile__ ( | |
| 65 | 		"daddu $2,$0,%2 ; syscall" | |
| 66 | 		: "=&r"(r2), "=r"(r7) | |
| 67 | 		: "ir"(n), "0"(r2), "r"(r4), "r"(r5), "r"(r6) | |
| 68 | 		: SYSCALL_CLOBBERLIST); | |
| 69 | 	return r7 && r2>0 ? -r2 : r2; | |
| 70 | } | |
| 71 | ||
| 72 | static inline long __syscall4(long n, long a, long b, long c, long d) | |
| 73 | { | |
| 74 | 	register long r4 __asm__("$4") = a; | |
| 75 | 	register long r5 __asm__("$5") = b; | |
| 76 | 	register long r6 __asm__("$6") = c; | |
| 77 | 	register long r7 __asm__("$7") = d; | |
| 78 | 	register long r2 __asm__("$2"); | |
| 79 | ||
| 80 | 	__asm__ __volatile__ ( | |
| 81 | 		"daddu $2,$0,%2 ; syscall" | |
| 82 | 		: "=&r"(r2), "+r"(r7) | |
| 83 | 		: "ir"(n), "0"(r2), "r"(r4), "r"(r5), "r"(r6) | |
| 84 | 		: SYSCALL_CLOBBERLIST); | |
| 85 | 	return r7 && r2>0 ? -r2 : r2; | |
| 86 | } | |
| 87 | ||
| 88 | static inline long __syscall5(long n, long a, long b, long c, long d, long e) | |
| 89 | { | |
| 90 | 	register long r4 __asm__("$4") = a; | |
| 91 | 	register long r5 __asm__("$5") = b; | |
| 92 | 	register long r6 __asm__("$6") = c; | |
| 93 | 	register long r7 __asm__("$7") = d; | |
| 94 | 	register long r8 __asm__("$8") = e; | |
| 95 | 	register long r2 __asm__("$2"); | |
| 96 | ||
| 97 | 	__asm__ __volatile__ ( | |
| 98 | 		"daddu $2,$0,%2 ; syscall" | |
| 99 | 		: "=&r"(r2), "+r"(r7) | |
| 100 | 		: "ir"(n), "0"(r2), "r"(r4), "r"(r5), "r"(r6), "r"(r8) | |
| 101 | 		: SYSCALL_CLOBBERLIST); | |
| 102 | 	return r7 && r2>0 ? -r2 : r2; | |
| 103 | } | |
| 104 | ||
| 105 | static inline long __syscall6(long n, long a, long b, long c, long d, long e, long f) | |
| 106 | { | |
| 107 | 	register long r4 __asm__("$4") = a; | |
| 108 | 	register long r5 __asm__("$5") = b; | |
| 109 | 	register long r6 __asm__("$6") = c; | |
| 110 | 	register long r7 __asm__("$7") = d; | |
| 111 | 	register long r8 __asm__("$8") = e; | |
| 112 | 	register long r9 __asm__("$9") = f; | |
| 113 | 	register long r2 __asm__("$2"); | |
| 114 | ||
| 115 | 	__asm__ __volatile__ ( | |
| 116 | 		"daddu $2,$0,%2 ; syscall" | |
| 117 | 		: "=&r"(r2), "+r"(r7) | |
| 118 | 		: "ir"(n), "0"(r2), "r"(r4), "r"(r5), "r"(r6), "r"(r8), "r"(r9) | |
| 119 | 		: SYSCALL_CLOBBERLIST); | |
| 120 | 	return r7 && r2>0 ? -r2 : r2; | |
| 121 | } | |
| 122 | ||
| 123 | #define VDSO_USEFUL | |
| 124 | #define VDSO_CGT32_SYM "__vdso_clock_gettime" | |
| 125 | #define VDSO_CGT32_VER "LINUX_2.6" | |
| 126 | #define VDSO_CGT_SYM "__vdso_clock_gettime64" | |
| 127 | #define VDSO_CGT_VER "LINUX_2.6" | |
| 128 | ||
| 129 | #define SO_SNDTIMEO_OLD 0x1005 | |
| 130 | #define SO_RCVTIMEO_OLD 0x1006 |
lib/libc/musl/arch/powerpc/bits/alltypes.h.in deleted-20| ... | ... | @@ -1,20 +0,0 @@ |
| 1 | #define _REDIR_TIME64 1 | |
| 2 | #define _Addr int | |
| 3 | #define _Int64 long long | |
| 4 | #define _Reg int | |
| 5 | ||
| 6 | #define __BYTE_ORDER 4321 | |
| 7 | #define __LONG_MAX 0x7fffffffL | |
| 8 | ||
| 9 | #ifndef __cplusplus | |
| 10 | #ifdef __WCHAR_TYPE__ | |
| 11 | TYPEDEF __WCHAR_TYPE__ wchar_t; | |
| 12 | #else | |
| 13 | TYPEDEF long wchar_t; | |
| 14 | #endif | |
| 15 | #endif | |
| 16 | ||
| 17 | TYPEDEF float float_t; | |
| 18 | TYPEDEF double double_t; | |
| 19 | ||
| 20 | TYPEDEF struct { long long __ll; long double __ld; } max_align_t; |
lib/libc/musl/arch/powerpc/bits/syscall.h.in deleted-433| ... | ... | @@ -1,433 +0,0 @@ |
| 1 | #define __NR_restart_syscall 0 | |
| 2 | #define __NR_exit 1 | |
| 3 | #define __NR_fork 2 | |
| 4 | #define __NR_read 3 | |
| 5 | #define __NR_write 4 | |
| 6 | #define __NR_open 5 | |
| 7 | #define __NR_close 6 | |
| 8 | #define __NR_waitpid 7 | |
| 9 | #define __NR_creat 8 | |
| 10 | #define __NR_link 9 | |
| 11 | #define __NR_unlink 10 | |
| 12 | #define __NR_execve 11 | |
| 13 | #define __NR_chdir 12 | |
| 14 | #define __NR_time 13 | |
| 15 | #define __NR_mknod 14 | |
| 16 | #define __NR_chmod 15 | |
| 17 | #define __NR_lchown 16 | |
| 18 | #define __NR_break 17 | |
| 19 | #define __NR_oldstat 18 | |
| 20 | #define __NR_lseek 19 | |
| 21 | #define __NR_getpid 20 | |
| 22 | #define __NR_mount 21 | |
| 23 | #define __NR_umount 22 | |
| 24 | #define __NR_setuid 23 | |
| 25 | #define __NR_getuid 24 | |
| 26 | #define __NR_stime 25 | |
| 27 | #define __NR_ptrace 26 | |
| 28 | #define __NR_alarm 27 | |
| 29 | #define __NR_oldfstat 28 | |
| 30 | #define __NR_pause 29 | |
| 31 | #define __NR_utime 30 | |
| 32 | #define __NR_stty 31 | |
| 33 | #define __NR_gtty 32 | |
| 34 | #define __NR_access 33 | |
| 35 | #define __NR_nice 34 | |
| 36 | #define __NR_ftime 35 | |
| 37 | #define __NR_sync 36 | |
| 38 | #define __NR_kill 37 | |
| 39 | #define __NR_rename 38 | |
| 40 | #define __NR_mkdir 39 | |
| 41 | #define __NR_rmdir 40 | |
| 42 | #define __NR_dup 41 | |
| 43 | #define __NR_pipe 42 | |
| 44 | #define __NR_times 43 | |
| 45 | #define __NR_prof 44 | |
| 46 | #define __NR_brk 45 | |
| 47 | #define __NR_setgid 46 | |
| 48 | #define __NR_getgid 47 | |
| 49 | #define __NR_signal 48 | |
| 50 | #define __NR_geteuid 49 | |
| 51 | #define __NR_getegid 50 | |
| 52 | #define __NR_acct 51 | |
| 53 | #define __NR_umount2 52 | |
| 54 | #define __NR_lock 53 | |
| 55 | #define __NR_ioctl 54 | |
| 56 | #define __NR_fcntl 55 | |
| 57 | #define __NR_mpx 56 | |
| 58 | #define __NR_setpgid 57 | |
| 59 | #define __NR_ulimit 58 | |
| 60 | #define __NR_oldolduname 59 | |
| 61 | #define __NR_umask 60 | |
| 62 | #define __NR_chroot 61 | |
| 63 | #define __NR_ustat 62 | |
| 64 | #define __NR_dup2 63 | |
| 65 | #define __NR_getppid 64 | |
| 66 | #define __NR_getpgrp 65 | |
| 67 | #define __NR_setsid 66 | |
| 68 | #define __NR_sigaction 67 | |
| 69 | #define __NR_sgetmask 68 | |
| 70 | #define __NR_ssetmask 69 | |
| 71 | #define __NR_setreuid 70 | |
| 72 | #define __NR_setregid 71 | |
| 73 | #define __NR_sigsuspend 72 | |
| 74 | #define __NR_sigpending 73 | |
| 75 | #define __NR_sethostname 74 | |
| 76 | #define __NR_setrlimit 75 | |
| 77 | #define __NR_getrlimit 76 | |
| 78 | #define __NR_getrusage 77 | |
| 79 | #define __NR_gettimeofday_time32 78 | |
| 80 | #define __NR_settimeofday_time32 79 | |
| 81 | #define __NR_getgroups 80 | |
| 82 | #define __NR_setgroups 81 | |
| 83 | #define __NR_select 82 | |
| 84 | #define __NR_symlink 83 | |
| 85 | #define __NR_oldlstat 84 | |
| 86 | #define __NR_readlink 85 | |
| 87 | #define __NR_uselib 86 | |
| 88 | #define __NR_swapon 87 | |
| 89 | #define __NR_reboot 88 | |
| 90 | #define __NR_readdir 89 | |
| 91 | #define __NR_mmap 90 | |
| 92 | #define __NR_munmap 91 | |
| 93 | #define __NR_truncate 92 | |
| 94 | #define __NR_ftruncate 93 | |
| 95 | #define __NR_fchmod 94 | |
| 96 | #define __NR_fchown 95 | |
| 97 | #define __NR_getpriority 96 | |
| 98 | #define __NR_setpriority 97 | |
| 99 | #define __NR_profil 98 | |
| 100 | #define __NR_statfs 99 | |
| 101 | #define __NR_fstatfs 100 | |
| 102 | #define __NR_ioperm 101 | |
| 103 | #define __NR_socketcall 102 | |
| 104 | #define __NR_syslog 103 | |
| 105 | #define __NR_setitimer 104 | |
| 106 | #define __NR_getitimer 105 | |
| 107 | #define __NR_stat 106 | |
| 108 | #define __NR_lstat 107 | |
| 109 | #define __NR_fstat 108 | |
| 110 | #define __NR_olduname 109 | |
| 111 | #define __NR_iopl 110 | |
| 112 | #define __NR_vhangup 111 | |
| 113 | #define __NR_idle 112 | |
| 114 | #define __NR_vm86 113 | |
| 115 | #define __NR_wait4 114 | |
| 116 | #define __NR_swapoff 115 | |
| 117 | #define __NR_sysinfo 116 | |
| 118 | #define __NR_ipc 117 | |
| 119 | #define __NR_fsync 118 | |
| 120 | #define __NR_sigreturn 119 | |
| 121 | #define __NR_clone 120 | |
| 122 | #define __NR_setdomainname 121 | |
| 123 | #define __NR_uname 122 | |
| 124 | #define __NR_modify_ldt 123 | |
| 125 | #define __NR_adjtimex 124 | |
| 126 | #define __NR_mprotect 125 | |
| 127 | #define __NR_sigprocmask 126 | |
| 128 | #define __NR_create_module 127 | |
| 129 | #define __NR_init_module 128 | |
| 130 | #define __NR_delete_module 129 | |
| 131 | #define __NR_get_kernel_syms 130 | |
| 132 | #define __NR_quotactl 131 | |
| 133 | #define __NR_getpgid 132 | |
| 134 | #define __NR_fchdir 133 | |
| 135 | #define __NR_bdflush 134 | |
| 136 | #define __NR_sysfs 135 | |
| 137 | #define __NR_personality 136 | |
| 138 | #define __NR_afs_syscall 137 | |
| 139 | #define __NR_setfsuid 138 | |
| 140 | #define __NR_setfsgid 139 | |
| 141 | #define __NR__llseek 140 | |
| 142 | #define __NR_getdents 141 | |
| 143 | #define __NR__newselect 142 | |
| 144 | #define __NR_flock 143 | |
| 145 | #define __NR_msync 144 | |
| 146 | #define __NR_readv 145 | |
| 147 | #define __NR_writev 146 | |
| 148 | #define __NR_getsid 147 | |
| 149 | #define __NR_fdatasync 148 | |
| 150 | #define __NR__sysctl 149 | |
| 151 | #define __NR_mlock 150 | |
| 152 | #define __NR_munlock 151 | |
| 153 | #define __NR_mlockall 152 | |
| 154 | #define __NR_munlockall 153 | |
| 155 | #define __NR_sched_setparam 154 | |
| 156 | #define __NR_sched_getparam 155 | |
| 157 | #define __NR_sched_setscheduler 156 | |
| 158 | #define __NR_sched_getscheduler 157 | |
| 159 | #define __NR_sched_yield 158 | |
| 160 | #define __NR_sched_get_priority_max 159 | |
| 161 | #define __NR_sched_get_priority_min 160 | |
| 162 | #define __NR_sched_rr_get_interval 161 | |
| 163 | #define __NR_nanosleep 162 | |
| 164 | #define __NR_mremap 163 | |
| 165 | #define __NR_setresuid 164 | |
| 166 | #define __NR_getresuid 165 | |
| 167 | #define __NR_query_module 166 | |
| 168 | #define __NR_poll 167 | |
| 169 | #define __NR_nfsservctl 168 | |
| 170 | #define __NR_setresgid 169 | |
| 171 | #define __NR_getresgid 170 | |
| 172 | #define __NR_prctl 171 | |
| 173 | #define __NR_rt_sigreturn 172 | |
| 174 | #define __NR_rt_sigaction 173 | |
| 175 | #define __NR_rt_sigprocmask 174 | |
| 176 | #define __NR_rt_sigpending 175 | |
| 177 | #define __NR_rt_sigtimedwait 176 | |
| 178 | #define __NR_rt_sigqueueinfo 177 | |
| 179 | #define __NR_rt_sigsuspend 178 | |
| 180 | #define __NR_pread64 179 | |
| 181 | #define __NR_pwrite64 180 | |
| 182 | #define __NR_chown 181 | |
| 183 | #define __NR_getcwd 182 | |
| 184 | #define __NR_capget 183 | |
| 185 | #define __NR_capset 184 | |
| 186 | #define __NR_sigaltstack 185 | |
| 187 | #define __NR_sendfile 186 | |
| 188 | #define __NR_getpmsg 187 | |
| 189 | #define __NR_putpmsg 188 | |
| 190 | #define __NR_vfork 189 | |
| 191 | #define __NR_ugetrlimit 190 | |
| 192 | #define __NR_readahead 191 | |
| 193 | #define __NR_mmap2 192 | |
| 194 | #define __NR_truncate64 193 | |
| 195 | #define __NR_ftruncate64 194 | |
| 196 | #define __NR_stat64 195 | |
| 197 | #define __NR_lstat64 196 | |
| 198 | #define __NR_fstat64 197 | |
| 199 | #define __NR_pciconfig_read 198 | |
| 200 | #define __NR_pciconfig_write 199 | |
| 201 | #define __NR_pciconfig_iobase 200 | |
| 202 | #define __NR_multiplexer 201 | |
| 203 | #define __NR_getdents64 202 | |
| 204 | #define __NR_pivot_root 203 | |
| 205 | #define __NR_fcntl64 204 | |
| 206 | #define __NR_madvise 205 | |
| 207 | #define __NR_mincore 206 | |
| 208 | #define __NR_gettid 207 | |
| 209 | #define __NR_tkill 208 | |
| 210 | #define __NR_setxattr 209 | |
| 211 | #define __NR_lsetxattr 210 | |
| 212 | #define __NR_fsetxattr 211 | |
| 213 | #define __NR_getxattr 212 | |
| 214 | #define __NR_lgetxattr 213 | |
| 215 | #define __NR_fgetxattr 214 | |
| 216 | #define __NR_listxattr 215 | |
| 217 | #define __NR_llistxattr 216 | |
| 218 | #define __NR_flistxattr 217 | |
| 219 | #define __NR_removexattr 218 | |
| 220 | #define __NR_lremovexattr 219 | |
| 221 | #define __NR_fremovexattr 220 | |
| 222 | #define __NR_futex 221 | |
| 223 | #define __NR_sched_setaffinity 222 | |
| 224 | #define __NR_sched_getaffinity 223 | |
| 225 | #define __NR_tuxcall 225 | |
| 226 | #define __NR_sendfile64 226 | |
| 227 | #define __NR_io_setup 227 | |
| 228 | #define __NR_io_destroy 228 | |
| 229 | #define __NR_io_getevents 229 | |
| 230 | #define __NR_io_submit 230 | |
| 231 | #define __NR_io_cancel 231 | |
| 232 | #define __NR_set_tid_address 232 | |
| 233 | #define __NR_fadvise64 233 | |
| 234 | #define __NR_exit_group 234 | |
| 235 | #define __NR_lookup_dcookie 235 | |
| 236 | #define __NR_epoll_create 236 | |
| 237 | #define __NR_epoll_ctl 237 | |
| 238 | #define __NR_epoll_wait 238 | |
| 239 | #define __NR_remap_file_pages 239 | |
| 240 | #define __NR_timer_create 240 | |
| 241 | #define __NR_timer_settime32 241 | |
| 242 | #define __NR_timer_gettime32 242 | |
| 243 | #define __NR_timer_getoverrun 243 | |
| 244 | #define __NR_timer_delete 244 | |
| 245 | #define __NR_clock_settime32 245 | |
| 246 | #define __NR_clock_gettime32 246 | |
| 247 | #define __NR_clock_getres_time32 247 | |
| 248 | #define __NR_clock_nanosleep_time32 248 | |
| 249 | #define __NR_swapcontext 249 | |
| 250 | #define __NR_tgkill 250 | |
| 251 | #define __NR_utimes 251 | |
| 252 | #define __NR_statfs64 252 | |
| 253 | #define __NR_fstatfs64 253 | |
| 254 | #define __NR_fadvise64_64 254 | |
| 255 | #define __NR_rtas		255 | |
| 256 | #define __NR_sys_debug_setcontext 256 | |
| 257 | #define __NR_migrate_pages	258 | |
| 258 | #define __NR_mbind		259 | |
| 259 | #define __NR_get_mempolicy	260 | |
| 260 | #define __NR_set_mempolicy	261 | |
| 261 | #define __NR_mq_open		262 | |
| 262 | #define __NR_mq_unlink		263 | |
| 263 | #define __NR_mq_timedsend	264 | |
| 264 | #define __NR_mq_timedreceive	265 | |
| 265 | #define __NR_mq_notify		266 | |
| 266 | #define __NR_mq_getsetattr	267 | |
| 267 | #define __NR_kexec_load		268 | |
| 268 | #define __NR_add_key		269 | |
| 269 | #define __NR_request_key	270 | |
| 270 | #define __NR_keyctl		271 | |
| 271 | #define __NR_waitid		272 | |
| 272 | #define __NR_ioprio_set		273 | |
| 273 | #define __NR_ioprio_get		274 | |
| 274 | #define __NR_inotify_init	275 | |
| 275 | #define __NR_inotify_add_watch	276 | |
| 276 | #define __NR_inotify_rm_watch	277 | |
| 277 | #define __NR_spu_run		278 | |
| 278 | #define __NR_spu_create		279 | |
| 279 | #define __NR_pselect6		280 | |
| 280 | #define __NR_ppoll		281 | |
| 281 | #define __NR_unshare		282 | |
| 282 | #define __NR_splice		283 | |
| 283 | #define __NR_tee		284 | |
| 284 | #define __NR_vmsplice		285 | |
| 285 | #define __NR_openat		286 | |
| 286 | #define __NR_mkdirat		287 | |
| 287 | #define __NR_mknodat		288 | |
| 288 | #define __NR_fchownat		289 | |
| 289 | #define __NR_futimesat		290 | |
| 290 | #define __NR_fstatat64		291 | |
| 291 | #define __NR_unlinkat		292 | |
| 292 | #define __NR_renameat		293 | |
| 293 | #define __NR_linkat		294 | |
| 294 | #define __NR_symlinkat		295 | |
| 295 | #define __NR_readlinkat		296 | |
| 296 | #define __NR_fchmodat		297 | |
| 297 | #define __NR_faccessat		298 | |
| 298 | #define __NR_get_robust_list	299 | |
| 299 | #define __NR_set_robust_list	300 | |
| 300 | #define __NR_move_pages		301 | |
| 301 | #define __NR_getcpu		302 | |
| 302 | #define __NR_epoll_pwait	303 | |
| 303 | #define __NR_utimensat		304 | |
| 304 | #define __NR_signalfd		305 | |
| 305 | #define __NR_timerfd_create 306 | |
| 306 | #define __NR_eventfd		307 | |
| 307 | #define __NR_sync_file_range2	308 | |
| 308 | #define __NR_fallocate		309 | |
| 309 | #define __NR_subpage_prot		310 | |
| 310 | #define __NR_timerfd_settime32	311 | |
| 311 | #define __NR_timerfd_gettime32	312 | |
| 312 | #define __NR_signalfd4		313 | |
| 313 | #define __NR_eventfd2		314 | |
| 314 | #define __NR_epoll_create1	315 | |
| 315 | #define __NR_dup3			316 | |
| 316 | #define __NR_pipe2		317 | |
| 317 | #define __NR_inotify_init1	318 | |
| 318 | #define __NR_perf_event_open 319 | |
| 319 | #define __NR_preadv 320 | |
| 320 | #define __NR_pwritev 321 | |
| 321 | #define __NR_rt_tgsigqueueinfo 322 | |
| 322 | #define __NR_fanotify_init 323 | |
| 323 | #define __NR_fanotify_mark 324 | |
| 324 | #define __NR_prlimit64 325 | |
| 325 | #define __NR_socket 326 | |
| 326 | #define __NR_bind 327 | |
| 327 | #define __NR_connect 328 | |
| 328 | #define __NR_listen 329 | |
| 329 | #define __NR_accept 330 | |
| 330 | #define __NR_getsockname 331 | |
| 331 | #define __NR_getpeername 332 | |
| 332 | #define __NR_socketpair 333 | |
| 333 | #define __NR_send 334 | |
| 334 | #define __NR_sendto 335 | |
| 335 | #define __NR_recv 336 | |
| 336 | #define __NR_recvfrom 337 | |
| 337 | #define __NR_shutdown 338 | |
| 338 | #define __NR_setsockopt 339 | |
| 339 | #define __NR_getsockopt 340 | |
| 340 | #define __NR_sendmsg 341 | |
| 341 | #define __NR_recvmsg 342 | |
| 342 | #define __NR_recvmmsg 343 | |
| 343 | #define __NR_accept4 344 | |
| 344 | #define __NR_name_to_handle_at 345 | |
| 345 | #define __NR_open_by_handle_at 346 | |
| 346 | #define __NR_clock_adjtime 347 | |
| 347 | #define __NR_syncfs 348 | |
| 348 | #define __NR_sendmmsg 349 | |
| 349 | #define __NR_setns 350 | |
| 350 | #define __NR_process_vm_readv 351 | |
| 351 | #define __NR_process_vm_writev 352 | |
| 352 | #define __NR_finit_module 353 | |
| 353 | #define __NR_kcmp 354 | |
| 354 | #define __NR_sched_setattr 355 | |
| 355 | #define __NR_sched_getattr 356 | |
| 356 | #define __NR_renameat2 357 | |
| 357 | #define __NR_seccomp 358 | |
| 358 | #define __NR_getrandom 359 | |
| 359 | #define __NR_memfd_create 360 | |
| 360 | #define __NR_bpf 361 | |
| 361 | #define __NR_execveat 362 | |
| 362 | #define __NR_switch_endian 363 | |
| 363 | #define __NR_userfaultfd 364 | |
| 364 | #define __NR_membarrier 365 | |
| 365 | #define __NR_mlock2 378 | |
| 366 | #define __NR_copy_file_range 379 | |
| 367 | #define __NR_preadv2 380 | |
| 368 | #define __NR_pwritev2 381 | |
| 369 | #define __NR_kexec_file_load 382 | |
| 370 | #define __NR_statx 383 | |
| 371 | #define __NR_pkey_alloc 384 | |
| 372 | #define __NR_pkey_free 385 | |
| 373 | #define __NR_pkey_mprotect 386 | |
| 374 | #define __NR_rseq 387 | |
| 375 | #define __NR_io_pgetevents 388 | |
| 376 | #define __NR_semget 393 | |
| 377 | #define __NR_semctl 394 | |
| 378 | #define __NR_shmget 395 | |
| 379 | #define __NR_shmctl 396 | |
| 380 | #define __NR_shmat 397 | |
| 381 | #define __NR_shmdt 398 | |
| 382 | #define __NR_msgget 399 | |
| 383 | #define __NR_msgsnd 400 | |
| 384 | #define __NR_msgrcv 401 | |
| 385 | #define __NR_msgctl 402 | |
| 386 | #define __NR_clock_gettime64 403 | |
| 387 | #define __NR_clock_settime64 404 | |
| 388 | #define __NR_clock_adjtime64 405 | |
| 389 | #define __NR_clock_getres_time64 406 | |
| 390 | #define __NR_clock_nanosleep_time64 407 | |
| 391 | #define __NR_timer_gettime64 408 | |
| 392 | #define __NR_timer_settime64 409 | |
| 393 | #define __NR_timerfd_gettime64 410 | |
| 394 | #define __NR_timerfd_settime64 411 | |
| 395 | #define __NR_utimensat_time64 412 | |
| 396 | #define __NR_pselect6_time64 413 | |
| 397 | #define __NR_ppoll_time64 414 | |
| 398 | #define __NR_io_pgetevents_time64 416 | |
| 399 | #define __NR_recvmmsg_time64 417 | |
| 400 | #define __NR_mq_timedsend_time64 418 | |
| 401 | #define __NR_mq_timedreceive_time64 419 | |
| 402 | #define __NR_semtimedop_time64 420 | |
| 403 | #define __NR_rt_sigtimedwait_time64 421 | |
| 404 | #define __NR_futex_time64 422 | |
| 405 | #define __NR_sched_rr_get_interval_time64 423 | |
| 406 | #define __NR_pidfd_send_signal 424 | |
| 407 | #define __NR_io_uring_setup 425 | |
| 408 | #define __NR_io_uring_enter 426 | |
| 409 | #define __NR_io_uring_register 427 | |
| 410 | #define __NR_open_tree		428 | |
| 411 | #define __NR_move_mount		429 | |
| 412 | #define __NR_fsopen		430 | |
| 413 | #define __NR_fsconfig		431 | |
| 414 | #define __NR_fsmount		432 | |
| 415 | #define __NR_fspick		433 | |
| 416 | #define __NR_pidfd_open		434 | |
| 417 | #define __NR_clone3		435 | |
| 418 | #define __NR_close_range	436 | |
| 419 | #define __NR_openat2		437 | |
| 420 | #define __NR_pidfd_getfd	438 | |
| 421 | #define __NR_faccessat2		439 | |
| 422 | #define __NR_process_madvise	440 | |
| 423 | #define __NR_epoll_pwait2	441 | |
| 424 | #define __NR_mount_setattr	442 | |
| 425 | #define __NR_landlock_create_ruleset	444 | |
| 426 | #define __NR_landlock_add_rule	445 | |
| 427 | #define __NR_landlock_restrict_self	446 | |
| 428 | #define __NR_process_mrelease	448 | |
| 429 | #define __NR_futex_waitv	449 | |
| 430 | #define __NR_set_mempolicy_home_node	450 | |
| 431 | #define __NR_cachestat		451 | |
| 432 | #define __NR_fchmodat2		452 | |
| 433 |
lib/libc/musl/arch/powerpc64/bits/alltypes.h.in deleted-20| ... | ... | @@ -1,20 +0,0 @@ |
| 1 | #define _Addr long | |
| 2 | #define _Int64 long | |
| 3 | #define _Reg long | |
| 4 | ||
| 5 | #if __BIG_ENDIAN__ | |
| 6 | #define __BYTE_ORDER 4321 | |
| 7 | #else | |
| 8 | #define __BYTE_ORDER 1234 | |
| 9 | #endif | |
| 10 | ||
| 11 | #define __LONG_MAX 0x7fffffffffffffffL | |
| 12 | ||
| 13 | #ifndef __cplusplus | |
| 14 | TYPEDEF int wchar_t; | |
| 15 | #endif | |
| 16 | ||
| 17 | TYPEDEF float float_t; | |
| 18 | TYPEDEF double double_t; | |
| 19 | ||
| 20 | TYPEDEF struct { long long __ll; long double __ld; } max_align_t; |
lib/libc/musl/arch/powerpc64/bits/syscall.h.in deleted-405| ... | ... | @@ -1,405 +0,0 @@ |
| 1 | #define __NR_restart_syscall 0 | |
| 2 | #define __NR_exit 1 | |
| 3 | #define __NR_fork 2 | |
| 4 | #define __NR_read 3 | |
| 5 | #define __NR_write 4 | |
| 6 | #define __NR_open 5 | |
| 7 | #define __NR_close 6 | |
| 8 | #define __NR_waitpid 7 | |
| 9 | #define __NR_creat 8 | |
| 10 | #define __NR_link 9 | |
| 11 | #define __NR_unlink 10 | |
| 12 | #define __NR_execve 11 | |
| 13 | #define __NR_chdir 12 | |
| 14 | #define __NR_time 13 | |
| 15 | #define __NR_mknod 14 | |
| 16 | #define __NR_chmod 15 | |
| 17 | #define __NR_lchown 16 | |
| 18 | #define __NR_break 17 | |
| 19 | #define __NR_oldstat 18 | |
| 20 | #define __NR_lseek 19 | |
| 21 | #define __NR_getpid 20 | |
| 22 | #define __NR_mount 21 | |
| 23 | #define __NR_umount 22 | |
| 24 | #define __NR_setuid 23 | |
| 25 | #define __NR_getuid 24 | |
| 26 | #define __NR_stime 25 | |
| 27 | #define __NR_ptrace 26 | |
| 28 | #define __NR_alarm 27 | |
| 29 | #define __NR_oldfstat 28 | |
| 30 | #define __NR_pause 29 | |
| 31 | #define __NR_utime 30 | |
| 32 | #define __NR_stty 31 | |
| 33 | #define __NR_gtty 32 | |
| 34 | #define __NR_access 33 | |
| 35 | #define __NR_nice 34 | |
| 36 | #define __NR_ftime 35 | |
| 37 | #define __NR_sync 36 | |
| 38 | #define __NR_kill 37 | |
| 39 | #define __NR_rename 38 | |
| 40 | #define __NR_mkdir 39 | |
| 41 | #define __NR_rmdir 40 | |
| 42 | #define __NR_dup 41 | |
| 43 | #define __NR_pipe 42 | |
| 44 | #define __NR_times 43 | |
| 45 | #define __NR_prof 44 | |
| 46 | #define __NR_brk 45 | |
| 47 | #define __NR_setgid 46 | |
| 48 | #define __NR_getgid 47 | |
| 49 | #define __NR_signal 48 | |
| 50 | #define __NR_geteuid 49 | |
| 51 | #define __NR_getegid 50 | |
| 52 | #define __NR_acct 51 | |
| 53 | #define __NR_umount2 52 | |
| 54 | #define __NR_lock 53 | |
| 55 | #define __NR_ioctl 54 | |
| 56 | #define __NR_fcntl 55 | |
| 57 | #define __NR_mpx 56 | |
| 58 | #define __NR_setpgid 57 | |
| 59 | #define __NR_ulimit 58 | |
| 60 | #define __NR_oldolduname 59 | |
| 61 | #define __NR_umask 60 | |
| 62 | #define __NR_chroot 61 | |
| 63 | #define __NR_ustat 62 | |
| 64 | #define __NR_dup2 63 | |
| 65 | #define __NR_getppid 64 | |
| 66 | #define __NR_getpgrp 65 | |
| 67 | #define __NR_setsid 66 | |
| 68 | #define __NR_sigaction 67 | |
| 69 | #define __NR_sgetmask 68 | |
| 70 | #define __NR_ssetmask 69 | |
| 71 | #define __NR_setreuid 70 | |
| 72 | #define __NR_setregid 71 | |
| 73 | #define __NR_sigsuspend 72 | |
| 74 | #define __NR_sigpending 73 | |
| 75 | #define __NR_sethostname 74 | |
| 76 | #define __NR_setrlimit 75 | |
| 77 | #define __NR_getrlimit 76 | |
| 78 | #define __NR_getrusage 77 | |
| 79 | #define __NR_gettimeofday 78 | |
| 80 | #define __NR_settimeofday 79 | |
| 81 | #define __NR_getgroups 80 | |
| 82 | #define __NR_setgroups 81 | |
| 83 | #define __NR_select 82 | |
| 84 | #define __NR_symlink 83 | |
| 85 | #define __NR_oldlstat 84 | |
| 86 | #define __NR_readlink 85 | |
| 87 | #define __NR_uselib 86 | |
| 88 | #define __NR_swapon 87 | |
| 89 | #define __NR_reboot 88 | |
| 90 | #define __NR_readdir 89 | |
| 91 | #define __NR_mmap 90 | |
| 92 | #define __NR_munmap 91 | |
| 93 | #define __NR_truncate 92 | |
| 94 | #define __NR_ftruncate 93 | |
| 95 | #define __NR_fchmod 94 | |
| 96 | #define __NR_fchown 95 | |
| 97 | #define __NR_getpriority 96 | |
| 98 | #define __NR_setpriority 97 | |
| 99 | #define __NR_profil 98 | |
| 100 | #define __NR_statfs 99 | |
| 101 | #define __NR_fstatfs 100 | |
| 102 | #define __NR_ioperm 101 | |
| 103 | #define __NR_socketcall 102 | |
| 104 | #define __NR_syslog 103 | |
| 105 | #define __NR_setitimer 104 | |
| 106 | #define __NR_getitimer 105 | |
| 107 | #define __NR_stat 106 | |
| 108 | #define __NR_lstat 107 | |
| 109 | #define __NR_fstat 108 | |
| 110 | #define __NR_olduname 109 | |
| 111 | #define __NR_iopl 110 | |
| 112 | #define __NR_vhangup 111 | |
| 113 | #define __NR_idle 112 | |
| 114 | #define __NR_vm86 113 | |
| 115 | #define __NR_wait4 114 | |
| 116 | #define __NR_swapoff 115 | |
| 117 | #define __NR_sysinfo 116 | |
| 118 | #define __NR_ipc 117 | |
| 119 | #define __NR_fsync 118 | |
| 120 | #define __NR_sigreturn 119 | |
| 121 | #define __NR_clone 120 | |
| 122 | #define __NR_setdomainname 121 | |
| 123 | #define __NR_uname 122 | |
| 124 | #define __NR_modify_ldt 123 | |
| 125 | #define __NR_adjtimex 124 | |
| 126 | #define __NR_mprotect 125 | |
| 127 | #define __NR_sigprocmask 126 | |
| 128 | #define __NR_create_module 127 | |
| 129 | #define __NR_init_module 128 | |
| 130 | #define __NR_delete_module 129 | |
| 131 | #define __NR_get_kernel_syms 130 | |
| 132 | #define __NR_quotactl 131 | |
| 133 | #define __NR_getpgid 132 | |
| 134 | #define __NR_fchdir 133 | |
| 135 | #define __NR_bdflush 134 | |
| 136 | #define __NR_sysfs 135 | |
| 137 | #define __NR_personality 136 | |
| 138 | #define __NR_afs_syscall 137 | |
| 139 | #define __NR_setfsuid 138 | |
| 140 | #define __NR_setfsgid 139 | |
| 141 | #define __NR__llseek 140 | |
| 142 | #define __NR_getdents 141 | |
| 143 | #define __NR__newselect 142 | |
| 144 | #define __NR_flock 143 | |
| 145 | #define __NR_msync 144 | |
| 146 | #define __NR_readv 145 | |
| 147 | #define __NR_writev 146 | |
| 148 | #define __NR_getsid 147 | |
| 149 | #define __NR_fdatasync 148 | |
| 150 | #define __NR__sysctl 149 | |
| 151 | #define __NR_mlock 150 | |
| 152 | #define __NR_munlock 151 | |
| 153 | #define __NR_mlockall 152 | |
| 154 | #define __NR_munlockall 153 | |
| 155 | #define __NR_sched_setparam 154 | |
| 156 | #define __NR_sched_getparam 155 | |
| 157 | #define __NR_sched_setscheduler 156 | |
| 158 | #define __NR_sched_getscheduler 157 | |
| 159 | #define __NR_sched_yield 158 | |
| 160 | #define __NR_sched_get_priority_max 159 | |
| 161 | #define __NR_sched_get_priority_min 160 | |
| 162 | #define __NR_sched_rr_get_interval 161 | |
| 163 | #define __NR_nanosleep 162 | |
| 164 | #define __NR_mremap 163 | |
| 165 | #define __NR_setresuid 164 | |
| 166 | #define __NR_getresuid 165 | |
| 167 | #define __NR_query_module 166 | |
| 168 | #define __NR_poll 167 | |
| 169 | #define __NR_nfsservctl 168 | |
| 170 | #define __NR_setresgid 169 | |
| 171 | #define __NR_getresgid 170 | |
| 172 | #define __NR_prctl 171 | |
| 173 | #define __NR_rt_sigreturn 172 | |
| 174 | #define __NR_rt_sigaction 173 | |
| 175 | #define __NR_rt_sigprocmask 174 | |
| 176 | #define __NR_rt_sigpending 175 | |
| 177 | #define __NR_rt_sigtimedwait 176 | |
| 178 | #define __NR_rt_sigqueueinfo 177 | |
| 179 | #define __NR_rt_sigsuspend 178 | |
| 180 | #define __NR_pread64 179 | |
| 181 | #define __NR_pwrite64 180 | |
| 182 | #define __NR_chown 181 | |
| 183 | #define __NR_getcwd 182 | |
| 184 | #define __NR_capget 183 | |
| 185 | #define __NR_capset 184 | |
| 186 | #define __NR_sigaltstack 185 | |
| 187 | #define __NR_sendfile 186 | |
| 188 | #define __NR_getpmsg 187 | |
| 189 | #define __NR_putpmsg 188 | |
| 190 | #define __NR_vfork 189 | |
| 191 | #define __NR_ugetrlimit 190 | |
| 192 | #define __NR_readahead 191 | |
| 193 | #define __NR_pciconfig_read 198 | |
| 194 | #define __NR_pciconfig_write 199 | |
| 195 | #define __NR_pciconfig_iobase 200 | |
| 196 | #define __NR_multiplexer 201 | |
| 197 | #define __NR_getdents64 202 | |
| 198 | #define __NR_pivot_root 203 | |
| 199 | #define __NR_madvise 205 | |
| 200 | #define __NR_mincore 206 | |
| 201 | #define __NR_gettid 207 | |
| 202 | #define __NR_tkill 208 | |
| 203 | #define __NR_setxattr 209 | |
| 204 | #define __NR_lsetxattr 210 | |
| 205 | #define __NR_fsetxattr 211 | |
| 206 | #define __NR_getxattr 212 | |
| 207 | #define __NR_lgetxattr 213 | |
| 208 | #define __NR_fgetxattr 214 | |
| 209 | #define __NR_listxattr 215 | |
| 210 | #define __NR_llistxattr 216 | |
| 211 | #define __NR_flistxattr 217 | |
| 212 | #define __NR_removexattr 218 | |
| 213 | #define __NR_lremovexattr 219 | |
| 214 | #define __NR_fremovexattr 220 | |
| 215 | #define __NR_futex 221 | |
| 216 | #define __NR_sched_setaffinity 222 | |
| 217 | #define __NR_sched_getaffinity 223 | |
| 218 | #define __NR_tuxcall 225 | |
| 219 | #define __NR_io_setup 227 | |
| 220 | #define __NR_io_destroy 228 | |
| 221 | #define __NR_io_getevents 229 | |
| 222 | #define __NR_io_submit 230 | |
| 223 | #define __NR_io_cancel 231 | |
| 224 | #define __NR_set_tid_address 232 | |
| 225 | #define __NR_fadvise64 233 | |
| 226 | #define __NR_exit_group 234 | |
| 227 | #define __NR_lookup_dcookie 235 | |
| 228 | #define __NR_epoll_create 236 | |
| 229 | #define __NR_epoll_ctl 237 | |
| 230 | #define __NR_epoll_wait 238 | |
| 231 | #define __NR_remap_file_pages 239 | |
| 232 | #define __NR_timer_create 240 | |
| 233 | #define __NR_timer_settime 241 | |
| 234 | #define __NR_timer_gettime 242 | |
| 235 | #define __NR_timer_getoverrun 243 | |
| 236 | #define __NR_timer_delete 244 | |
| 237 | #define __NR_clock_settime 245 | |
| 238 | #define __NR_clock_gettime 246 | |
| 239 | #define __NR_clock_getres 247 | |
| 240 | #define __NR_clock_nanosleep 248 | |
| 241 | #define __NR_swapcontext 249 | |
| 242 | #define __NR_tgkill 250 | |
| 243 | #define __NR_utimes 251 | |
| 244 | #define __NR_statfs64 252 | |
| 245 | #define __NR_fstatfs64 253 | |
| 246 | #define __NR_rtas 255 | |
| 247 | #define __NR_sys_debug_setcontext 256 | |
| 248 | #define __NR_migrate_pages 258 | |
| 249 | #define __NR_mbind 259 | |
| 250 | #define __NR_get_mempolicy 260 | |
| 251 | #define __NR_set_mempolicy 261 | |
| 252 | #define __NR_mq_open 262 | |
| 253 | #define __NR_mq_unlink 263 | |
| 254 | #define __NR_mq_timedsend 264 | |
| 255 | #define __NR_mq_timedreceive 265 | |
| 256 | #define __NR_mq_notify 266 | |
| 257 | #define __NR_mq_getsetattr 267 | |
| 258 | #define __NR_kexec_load 268 | |
| 259 | #define __NR_add_key 269 | |
| 260 | #define __NR_request_key 270 | |
| 261 | #define __NR_keyctl 271 | |
| 262 | #define __NR_waitid 272 | |
| 263 | #define __NR_ioprio_set 273 | |
| 264 | #define __NR_ioprio_get 274 | |
| 265 | #define __NR_inotify_init 275 | |
| 266 | #define __NR_inotify_add_watch 276 | |
| 267 | #define __NR_inotify_rm_watch 277 | |
| 268 | #define __NR_spu_run 278 | |
| 269 | #define __NR_spu_create 279 | |
| 270 | #define __NR_pselect6 280 | |
| 271 | #define __NR_ppoll 281 | |
| 272 | #define __NR_unshare 282 | |
| 273 | #define __NR_splice 283 | |
| 274 | #define __NR_tee 284 | |
| 275 | #define __NR_vmsplice 285 | |
| 276 | #define __NR_openat 286 | |
| 277 | #define __NR_mkdirat 287 | |
| 278 | #define __NR_mknodat 288 | |
| 279 | #define __NR_fchownat 289 | |
| 280 | #define __NR_futimesat 290 | |
| 281 | #define __NR_newfstatat 291 | |
| 282 | #define __NR_unlinkat 292 | |
| 283 | #define __NR_renameat 293 | |
| 284 | #define __NR_linkat 294 | |
| 285 | #define __NR_symlinkat 295 | |
| 286 | #define __NR_readlinkat 296 | |
| 287 | #define __NR_fchmodat 297 | |
| 288 | #define __NR_faccessat 298 | |
| 289 | #define __NR_get_robust_list 299 | |
| 290 | #define __NR_set_robust_list 300 | |
| 291 | #define __NR_move_pages 301 | |
| 292 | #define __NR_getcpu 302 | |
| 293 | #define __NR_epoll_pwait 303 | |
| 294 | #define __NR_utimensat 304 | |
| 295 | #define __NR_signalfd 305 | |
| 296 | #define __NR_timerfd_create 306 | |
| 297 | #define __NR_eventfd 307 | |
| 298 | #define __NR_sync_file_range2 308 | |
| 299 | #define __NR_fallocate 309 | |
| 300 | #define __NR_subpage_prot 310 | |
| 301 | #define __NR_timerfd_settime 311 | |
| 302 | #define __NR_timerfd_gettime 312 | |
| 303 | #define __NR_signalfd4 313 | |
| 304 | #define __NR_eventfd2 314 | |
| 305 | #define __NR_epoll_create1 315 | |
| 306 | #define __NR_dup3 316 | |
| 307 | #define __NR_pipe2 317 | |
| 308 | #define __NR_inotify_init1 318 | |
| 309 | #define __NR_perf_event_open 319 | |
| 310 | #define __NR_preadv 320 | |
| 311 | #define __NR_pwritev 321 | |
| 312 | #define __NR_rt_tgsigqueueinfo 322 | |
| 313 | #define __NR_fanotify_init 323 | |
| 314 | #define __NR_fanotify_mark 324 | |
| 315 | #define __NR_prlimit64 325 | |
| 316 | #define __NR_socket 326 | |
| 317 | #define __NR_bind 327 | |
| 318 | #define __NR_connect 328 | |
| 319 | #define __NR_listen 329 | |
| 320 | #define __NR_accept 330 | |
| 321 | #define __NR_getsockname 331 | |
| 322 | #define __NR_getpeername 332 | |
| 323 | #define __NR_socketpair 333 | |
| 324 | #define __NR_send 334 | |
| 325 | #define __NR_sendto 335 | |
| 326 | #define __NR_recv 336 | |
| 327 | #define __NR_recvfrom 337 | |
| 328 | #define __NR_shutdown 338 | |
| 329 | #define __NR_setsockopt 339 | |
| 330 | #define __NR_getsockopt 340 | |
| 331 | #define __NR_sendmsg 341 | |
| 332 | #define __NR_recvmsg 342 | |
| 333 | #define __NR_recvmmsg 343 | |
| 334 | #define __NR_accept4 344 | |
| 335 | #define __NR_name_to_handle_at 345 | |
| 336 | #define __NR_open_by_handle_at 346 | |
| 337 | #define __NR_clock_adjtime 347 | |
| 338 | #define __NR_syncfs 348 | |
| 339 | #define __NR_sendmmsg 349 | |
| 340 | #define __NR_setns 350 | |
| 341 | #define __NR_process_vm_readv 351 | |
| 342 | #define __NR_process_vm_writev 352 | |
| 343 | #define __NR_finit_module 353 | |
| 344 | #define __NR_kcmp 354 | |
| 345 | #define __NR_sched_setattr 355 | |
| 346 | #define __NR_sched_getattr 356 | |
| 347 | #define __NR_renameat2 357 | |
| 348 | #define __NR_seccomp 358 | |
| 349 | #define __NR_getrandom 359 | |
| 350 | #define __NR_memfd_create 360 | |
| 351 | #define __NR_bpf 361 | |
| 352 | #define __NR_execveat 362 | |
| 353 | #define __NR_switch_endian 363 | |
| 354 | #define __NR_userfaultfd 364 | |
| 355 | #define __NR_membarrier 365 | |
| 356 | #define __NR_mlock2 378 | |
| 357 | #define __NR_copy_file_range 379 | |
| 358 | #define __NR_preadv2 380 | |
| 359 | #define __NR_pwritev2 381 | |
| 360 | #define __NR_kexec_file_load 382 | |
| 361 | #define __NR_statx 383 | |
| 362 | #define __NR_pkey_alloc 384 | |
| 363 | #define __NR_pkey_free 385 | |
| 364 | #define __NR_pkey_mprotect 386 | |
| 365 | #define __NR_rseq 387 | |
| 366 | #define __NR_io_pgetevents 388 | |
| 367 | #define __NR_semtimedop 392 | |
| 368 | #define __NR_semget 393 | |
| 369 | #define __NR_semctl 394 | |
| 370 | #define __NR_shmget 395 | |
| 371 | #define __NR_shmctl 396 | |
| 372 | #define __NR_shmat 397 | |
| 373 | #define __NR_shmdt 398 | |
| 374 | #define __NR_msgget 399 | |
| 375 | #define __NR_msgsnd 400 | |
| 376 | #define __NR_msgrcv 401 | |
| 377 | #define __NR_msgctl 402 | |
| 378 | #define __NR_pidfd_send_signal 424 | |
| 379 | #define __NR_io_uring_setup 425 | |
| 380 | #define __NR_io_uring_enter 426 | |
| 381 | #define __NR_io_uring_register 427 | |
| 382 | #define __NR_open_tree		428 | |
| 383 | #define __NR_move_mount		429 | |
| 384 | #define __NR_fsopen		430 | |
| 385 | #define __NR_fsconfig		431 | |
| 386 | #define __NR_fsmount		432 | |
| 387 | #define __NR_fspick		433 | |
| 388 | #define __NR_pidfd_open		434 | |
| 389 | #define __NR_clone3		435 | |
| 390 | #define __NR_close_range	436 | |
| 391 | #define __NR_openat2		437 | |
| 392 | #define __NR_pidfd_getfd	438 | |
| 393 | #define __NR_faccessat2		439 | |
| 394 | #define __NR_process_madvise	440 | |
| 395 | #define __NR_epoll_pwait2	441 | |
| 396 | #define __NR_mount_setattr	442 | |
| 397 | #define __NR_landlock_create_ruleset	444 | |
| 398 | #define __NR_landlock_add_rule	445 | |
| 399 | #define __NR_landlock_restrict_self	446 | |
| 400 | #define __NR_process_mrelease	448 | |
| 401 | #define __NR_futex_waitv	449 | |
| 402 | #define __NR_set_mempolicy_home_node	450 | |
| 403 | #define __NR_cachestat		451 | |
| 404 | #define __NR_fchmodat2		452 | |
| 405 |
lib/libc/musl/arch/riscv32/bits/alltypes.h.in deleted-18| ... | ... | @@ -1,18 +0,0 @@ |
| 1 | #define _Addr int | |
| 2 | #define _Int64 long long | |
| 3 | #define _Reg int | |
| 4 | ||
| 5 | #define __BYTE_ORDER 1234 | |
| 6 | #define __LONG_MAX 0x7fffffffL | |
| 7 | ||
| 8 | #ifndef __cplusplus | |
| 9 | TYPEDEF int wchar_t; | |
| 10 | #endif | |
| 11 | ||
| 12 | TYPEDEF int blksize_t; | |
| 13 | TYPEDEF unsigned int nlink_t; | |
| 14 | ||
| 15 | TYPEDEF float float_t; | |
| 16 | TYPEDEF double double_t; | |
| 17 | ||
| 18 | TYPEDEF struct { long long __ll; long double __ld; } max_align_t; |
lib/libc/musl/arch/riscv32/bits/syscall.h.in deleted-300| ... | ... | @@ -1,300 +0,0 @@ |
| 1 | #define __NR_io_setup 0 | |
| 2 | #define __NR_io_destroy 1 | |
| 3 | #define __NR_io_submit 2 | |
| 4 | #define __NR_io_cancel 3 | |
| 5 | #define __NR_setxattr 5 | |
| 6 | #define __NR_lsetxattr 6 | |
| 7 | #define __NR_fsetxattr 7 | |
| 8 | #define __NR_getxattr 8 | |
| 9 | #define __NR_lgetxattr 9 | |
| 10 | #define __NR_fgetxattr 10 | |
| 11 | #define __NR_listxattr 11 | |
| 12 | #define __NR_llistxattr 12 | |
| 13 | #define __NR_flistxattr 13 | |
| 14 | #define __NR_removexattr 14 | |
| 15 | #define __NR_lremovexattr 15 | |
| 16 | #define __NR_fremovexattr 16 | |
| 17 | #define __NR_getcwd 17 | |
| 18 | #define __NR_lookup_dcookie 18 | |
| 19 | #define __NR_eventfd2 19 | |
| 20 | #define __NR_epoll_create1 20 | |
| 21 | #define __NR_epoll_ctl 21 | |
| 22 | #define __NR_epoll_pwait 22 | |
| 23 | #define __NR_dup 23 | |
| 24 | #define __NR_dup3 24 | |
| 25 | #define __NR_fcntl64 25 | |
| 26 | #define __NR_inotify_init1 26 | |
| 27 | #define __NR_inotify_add_watch 27 | |
| 28 | #define __NR_inotify_rm_watch 28 | |
| 29 | #define __NR_ioctl 29 | |
| 30 | #define __NR_ioprio_set 30 | |
| 31 | #define __NR_ioprio_get 31 | |
| 32 | #define __NR_flock 32 | |
| 33 | #define __NR_mknodat 33 | |
| 34 | #define __NR_mkdirat 34 | |
| 35 | #define __NR_unlinkat 35 | |
| 36 | #define __NR_symlinkat 36 | |
| 37 | #define __NR_linkat 37 | |
| 38 | #define __NR_umount2 39 | |
| 39 | #define __NR_mount 40 | |
| 40 | #define __NR_pivot_root 41 | |
| 41 | #define __NR_nfsservctl 42 | |
| 42 | #define __NR_statfs64 43 | |
| 43 | #define __NR_fstatfs64 44 | |
| 44 | #define __NR_truncate64 45 | |
| 45 | #define __NR_ftruncate64 46 | |
| 46 | #define __NR_fallocate 47 | |
| 47 | #define __NR_faccessat 48 | |
| 48 | #define __NR_chdir 49 | |
| 49 | #define __NR_fchdir 50 | |
| 50 | #define __NR_chroot 51 | |
| 51 | #define __NR_fchmod 52 | |
| 52 | #define __NR_fchmodat 53 | |
| 53 | #define __NR_fchownat 54 | |
| 54 | #define __NR_fchown 55 | |
| 55 | #define __NR_openat 56 | |
| 56 | #define __NR_close 57 | |
| 57 | #define __NR_vhangup 58 | |
| 58 | #define __NR_pipe2 59 | |
| 59 | #define __NR_quotactl 60 | |
| 60 | #define __NR_getdents64 61 | |
| 61 | #define __NR__llseek 62 | |
| 62 | #define __NR_read 63 | |
| 63 | #define __NR_write 64 | |
| 64 | #define __NR_readv 65 | |
| 65 | #define __NR_writev 66 | |
| 66 | #define __NR_pread64 67 | |
| 67 | #define __NR_pwrite64 68 | |
| 68 | #define __NR_preadv 69 | |
| 69 | #define __NR_pwritev 70 | |
| 70 | #define __NR_sendfile64 71 | |
| 71 | #define __NR_signalfd4 74 | |
| 72 | #define __NR_vmsplice 75 | |
| 73 | #define __NR_splice 76 | |
| 74 | #define __NR_tee 77 | |
| 75 | #define __NR_readlinkat 78 | |
| 76 | #define __NR_sync 81 | |
| 77 | #define __NR_fsync 82 | |
| 78 | #define __NR_fdatasync 83 | |
| 79 | #define __NR_sync_file_range 84 | |
| 80 | #define __NR_timerfd_create 85 | |
| 81 | #define __NR_acct 89 | |
| 82 | #define __NR_capget 90 | |
| 83 | #define __NR_capset 91 | |
| 84 | #define __NR_personality 92 | |
| 85 | #define __NR_exit 93 | |
| 86 | #define __NR_exit_group 94 | |
| 87 | #define __NR_waitid 95 | |
| 88 | #define __NR_set_tid_address 96 | |
| 89 | #define __NR_unshare 97 | |
| 90 | #define __NR_set_robust_list 99 | |
| 91 | #define __NR_get_robust_list 100 | |
| 92 | #define __NR_nanosleep 101 | |
| 93 | #define __NR_getitimer 102 | |
| 94 | #define __NR_setitimer 103 | |
| 95 | #define __NR_kexec_load 104 | |
| 96 | #define __NR_init_module 105 | |
| 97 | #define __NR_delete_module 106 | |
| 98 | #define __NR_timer_create 107 | |
| 99 | #define __NR_timer_getoverrun 109 | |
| 100 | #define __NR_timer_delete 111 | |
| 101 | #define __NR_syslog 116 | |
| 102 | #define __NR_ptrace 117 | |
| 103 | #define __NR_sched_setparam 118 | |
| 104 | #define __NR_sched_setscheduler 119 | |
| 105 | #define __NR_sched_getscheduler 120 | |
| 106 | #define __NR_sched_getparam 121 | |
| 107 | #define __NR_sched_setaffinity 122 | |
| 108 | #define __NR_sched_getaffinity 123 | |
| 109 | #define __NR_sched_yield 124 | |
| 110 | #define __NR_sched_get_priority_max 125 | |
| 111 | #define __NR_sched_get_priority_min 126 | |
| 112 | #define __NR_restart_syscall 128 | |
| 113 | #define __NR_kill 129 | |
| 114 | #define __NR_tkill 130 | |
| 115 | #define __NR_tgkill 131 | |
| 116 | #define __NR_sigaltstack 132 | |
| 117 | #define __NR_rt_sigsuspend 133 | |
| 118 | #define __NR_rt_sigaction 134 | |
| 119 | #define __NR_rt_sigprocmask 135 | |
| 120 | #define __NR_rt_sigpending 136 | |
| 121 | #define __NR_rt_sigqueueinfo 138 | |
| 122 | #define __NR_rt_sigreturn 139 | |
| 123 | #define __NR_setpriority 140 | |
| 124 | #define __NR_getpriority 141 | |
| 125 | #define __NR_reboot 142 | |
| 126 | #define __NR_setregid 143 | |
| 127 | #define __NR_setgid 144 | |
| 128 | #define __NR_setreuid 145 | |
| 129 | #define __NR_setuid 146 | |
| 130 | #define __NR_setresuid 147 | |
| 131 | #define __NR_getresuid 148 | |
| 132 | #define __NR_setresgid 149 | |
| 133 | #define __NR_getresgid 150 | |
| 134 | #define __NR_setfsuid 151 | |
| 135 | #define __NR_setfsgid 152 | |
| 136 | #define __NR_times 153 | |
| 137 | #define __NR_setpgid 154 | |
| 138 | #define __NR_getpgid 155 | |
| 139 | #define __NR_getsid 156 | |
| 140 | #define __NR_setsid 157 | |
| 141 | #define __NR_getgroups 158 | |
| 142 | #define __NR_setgroups 159 | |
| 143 | #define __NR_uname 160 | |
| 144 | #define __NR_sethostname 161 | |
| 145 | #define __NR_setdomainname 162 | |
| 146 | #define __NR_getrusage 165 | |
| 147 | #define __NR_umask 166 | |
| 148 | #define __NR_prctl 167 | |
| 149 | #define __NR_getcpu 168 | |
| 150 | #define __NR_getpid 172 | |
| 151 | #define __NR_getppid 173 | |
| 152 | #define __NR_getuid 174 | |
| 153 | #define __NR_geteuid 175 | |
| 154 | #define __NR_getgid 176 | |
| 155 | #define __NR_getegid 177 | |
| 156 | #define __NR_gettid 178 | |
| 157 | #define __NR_sysinfo 179 | |
| 158 | #define __NR_mq_open 180 | |
| 159 | #define __NR_mq_unlink 181 | |
| 160 | #define __NR_mq_notify 184 | |
| 161 | #define __NR_mq_getsetattr 185 | |
| 162 | #define __NR_msgget 186 | |
| 163 | #define __NR_msgctl 187 | |
| 164 | #define __NR_msgrcv 188 | |
| 165 | #define __NR_msgsnd 189 | |
| 166 | #define __NR_semget 190 | |
| 167 | #define __NR_semctl 191 | |
| 168 | #define __NR_semop 193 | |
| 169 | #define __NR_shmget 194 | |
| 170 | #define __NR_shmctl 195 | |
| 171 | #define __NR_shmat 196 | |
| 172 | #define __NR_shmdt 197 | |
| 173 | #define __NR_socket 198 | |
| 174 | #define __NR_socketpair 199 | |
| 175 | #define __NR_bind 200 | |
| 176 | #define __NR_listen 201 | |
| 177 | #define __NR_accept 202 | |
| 178 | #define __NR_connect 203 | |
| 179 | #define __NR_getsockname 204 | |
| 180 | #define __NR_getpeername 205 | |
| 181 | #define __NR_sendto 206 | |
| 182 | #define __NR_recvfrom 207 | |
| 183 | #define __NR_setsockopt 208 | |
| 184 | #define __NR_getsockopt 209 | |
| 185 | #define __NR_shutdown 210 | |
| 186 | #define __NR_sendmsg 211 | |
| 187 | #define __NR_recvmsg 212 | |
| 188 | #define __NR_readahead 213 | |
| 189 | #define __NR_brk 214 | |
| 190 | #define __NR_munmap 215 | |
| 191 | #define __NR_mremap 216 | |
| 192 | #define __NR_add_key 217 | |
| 193 | #define __NR_request_key 218 | |
| 194 | #define __NR_keyctl 219 | |
| 195 | #define __NR_clone 220 | |
| 196 | #define __NR_execve 221 | |
| 197 | #define __NR_mmap2 222 | |
| 198 | #define __NR_fadvise64_64 223 | |
| 199 | #define __NR_swapon 224 | |
| 200 | #define __NR_swapoff 225 | |
| 201 | #define __NR_mprotect 226 | |
| 202 | #define __NR_msync 227 | |
| 203 | #define __NR_mlock 228 | |
| 204 | #define __NR_munlock 229 | |
| 205 | #define __NR_mlockall 230 | |
| 206 | #define __NR_munlockall 231 | |
| 207 | #define __NR_mincore 232 | |
| 208 | #define __NR_madvise 233 | |
| 209 | #define __NR_remap_file_pages 234 | |
| 210 | #define __NR_mbind 235 | |
| 211 | #define __NR_get_mempolicy 236 | |
| 212 | #define __NR_set_mempolicy 237 | |
| 213 | #define __NR_migrate_pages 238 | |
| 214 | #define __NR_move_pages 239 | |
| 215 | #define __NR_rt_tgsigqueueinfo 240 | |
| 216 | #define __NR_perf_event_open 241 | |
| 217 | #define __NR_accept4 242 | |
| 218 | #define __NR_arch_specific_syscall 244 | |
| 219 | #define __NR_prlimit64 261 | |
| 220 | #define __NR_fanotify_init 262 | |
| 221 | #define __NR_fanotify_mark 263 | |
| 222 | #define __NR_name_to_handle_at 264 | |
| 223 | #define __NR_open_by_handle_at 265 | |
| 224 | #define __NR_syncfs 267 | |
| 225 | #define __NR_setns 268 | |
| 226 | #define __NR_sendmmsg 269 | |
| 227 | #define __NR_process_vm_readv 270 | |
| 228 | #define __NR_process_vm_writev 271 | |
| 229 | #define __NR_kcmp 272 | |
| 230 | #define __NR_finit_module 273 | |
| 231 | #define __NR_sched_setattr 274 | |
| 232 | #define __NR_sched_getattr 275 | |
| 233 | #define __NR_renameat2 276 | |
| 234 | #define __NR_seccomp 277 | |
| 235 | #define __NR_getrandom 278 | |
| 236 | #define __NR_memfd_create 279 | |
| 237 | #define __NR_bpf 280 | |
| 238 | #define __NR_execveat 281 | |
| 239 | #define __NR_userfaultfd 282 | |
| 240 | #define __NR_membarrier 283 | |
| 241 | #define __NR_mlock2 284 | |
| 242 | #define __NR_copy_file_range 285 | |
| 243 | #define __NR_preadv2 286 | |
| 244 | #define __NR_pwritev2 287 | |
| 245 | #define __NR_pkey_mprotect 288 | |
| 246 | #define __NR_pkey_alloc 289 | |
| 247 | #define __NR_pkey_free 290 | |
| 248 | #define __NR_statx 291 | |
| 249 | #define __NR_rseq 293 | |
| 250 | #define __NR_kexec_file_load 294 | |
| 251 | #define __NR_clock_gettime64		403 | |
| 252 | #define __NR_clock_settime64		404 | |
| 253 | #define __NR_clock_adjtime64		405 | |
| 254 | #define __NR_clock_getres_time64	406 | |
| 255 | #define __NR_clock_nanosleep_time64	407 | |
| 256 | #define __NR_timer_gettime64		408 | |
| 257 | #define __NR_timer_settime64		409 | |
| 258 | #define __NR_timerfd_gettime64		410 | |
| 259 | #define __NR_timerfd_settime64		411 | |
| 260 | #define __NR_utimensat_time64		412 | |
| 261 | #define __NR_pselect6_time64		413 | |
| 262 | #define __NR_ppoll_time64		414 | |
| 263 | #define __NR_io_pgetevents_time64	416 | |
| 264 | #define __NR_recvmmsg_time64		417 | |
| 265 | #define __NR_mq_timedsend_time64	418 | |
| 266 | #define __NR_mq_timedreceive_time64	419 | |
| 267 | #define __NR_semtimedop_time64		420 | |
| 268 | #define __NR_rt_sigtimedwait_time64	421 | |
| 269 | #define __NR_futex_time64		422 | |
| 270 | #define __NR_sched_rr_get_interval_time64 423 | |
| 271 | #define __NR_pidfd_send_signal 424 | |
| 272 | #define __NR_io_uring_setup 425 | |
| 273 | #define __NR_io_uring_enter 426 | |
| 274 | #define __NR_io_uring_register 427 | |
| 275 | #define __NR_open_tree		428 | |
| 276 | #define __NR_move_mount		429 | |
| 277 | #define __NR_fsopen		430 | |
| 278 | #define __NR_fsconfig		431 | |
| 279 | #define __NR_fsmount		432 | |
| 280 | #define __NR_fspick		433 | |
| 281 | #define __NR_pidfd_open		434 | |
| 282 | #define __NR_clone3		435 | |
| 283 | #define __NR_openat2		437 | |
| 284 | #define __NR_pidfd_getfd	438 | |
| 285 | #define __NR_faccessat2		439 | |
| 286 | #define __NR_process_madvise	440 | |
| 287 | #define __NR_epoll_pwait2	441 | |
| 288 | #define __NR_mount_setattr	442 | |
| 289 | #define __NR_landlock_create_ruleset	444 | |
| 290 | #define __NR_landlock_add_rule	445 | |
| 291 | #define __NR_landlock_restrict_self	446 | |
| 292 | #define __NR_process_mrelease	448 | |
| 293 | #define __NR_futex_waitv	449 | |
| 294 | #define __NR_set_mempolicy_home_node	450 | |
| 295 | #define __NR_cachestat		451 | |
| 296 | #define __NR_fchmodat2		452 | |
| 297 | #define __NR_futex __NR_futex_time64 | |
| 298 | ||
| 299 | #define __NR_sysriscv __NR_arch_specific_syscall | |
| 300 | #define __NR_riscv_flush_icache (__NR_sysriscv + 15) |
lib/libc/musl/arch/riscv64/bits/alltypes.h.in deleted-18| ... | ... | @@ -1,18 +0,0 @@ |
| 1 | #define _Addr long | |
| 2 | #define _Int64 long | |
| 3 | #define _Reg long | |
| 4 | ||
| 5 | #define __BYTE_ORDER 1234 | |
| 6 | #define __LONG_MAX 0x7fffffffffffffffL | |
| 7 | ||
| 8 | #ifndef __cplusplus | |
| 9 | TYPEDEF int wchar_t; | |
| 10 | #endif | |
| 11 | ||
| 12 | TYPEDEF int blksize_t; | |
| 13 | TYPEDEF unsigned int nlink_t; | |
| 14 | ||
| 15 | TYPEDEF float float_t; | |
| 16 | TYPEDEF double double_t; | |
| 17 | ||
| 18 | TYPEDEF struct { long long __ll; long double __ld; } max_align_t; |
lib/libc/musl/arch/riscv64/bits/syscall.h.in deleted-309| ... | ... | @@ -1,309 +0,0 @@ |
| 1 | #define __NR_io_setup 0 | |
| 2 | #define __NR_io_destroy 1 | |
| 3 | #define __NR_io_submit 2 | |
| 4 | #define __NR_io_cancel 3 | |
| 5 | #define __NR_io_getevents 4 | |
| 6 | #define __NR_setxattr 5 | |
| 7 | #define __NR_lsetxattr 6 | |
| 8 | #define __NR_fsetxattr 7 | |
| 9 | #define __NR_getxattr 8 | |
| 10 | #define __NR_lgetxattr 9 | |
| 11 | #define __NR_fgetxattr 10 | |
| 12 | #define __NR_listxattr 11 | |
| 13 | #define __NR_llistxattr 12 | |
| 14 | #define __NR_flistxattr 13 | |
| 15 | #define __NR_removexattr 14 | |
| 16 | #define __NR_lremovexattr 15 | |
| 17 | #define __NR_fremovexattr 16 | |
| 18 | #define __NR_getcwd 17 | |
| 19 | #define __NR_lookup_dcookie 18 | |
| 20 | #define __NR_eventfd2 19 | |
| 21 | #define __NR_epoll_create1 20 | |
| 22 | #define __NR_epoll_ctl 21 | |
| 23 | #define __NR_epoll_pwait 22 | |
| 24 | #define __NR_dup 23 | |
| 25 | #define __NR_dup3 24 | |
| 26 | #define __NR_fcntl 25 | |
| 27 | #define __NR_inotify_init1 26 | |
| 28 | #define __NR_inotify_add_watch 27 | |
| 29 | #define __NR_inotify_rm_watch 28 | |
| 30 | #define __NR_ioctl 29 | |
| 31 | #define __NR_ioprio_set 30 | |
| 32 | #define __NR_ioprio_get 31 | |
| 33 | #define __NR_flock 32 | |
| 34 | #define __NR_mknodat 33 | |
| 35 | #define __NR_mkdirat 34 | |
| 36 | #define __NR_unlinkat 35 | |
| 37 | #define __NR_symlinkat 36 | |
| 38 | #define __NR_linkat 37 | |
| 39 | #define __NR_umount2 39 | |
| 40 | #define __NR_mount 40 | |
| 41 | #define __NR_pivot_root 41 | |
| 42 | #define __NR_nfsservctl 42 | |
| 43 | #define __NR_statfs 43 | |
| 44 | #define __NR_fstatfs 44 | |
| 45 | #define __NR_truncate 45 | |
| 46 | #define __NR_ftruncate 46 | |
| 47 | #define __NR_fallocate 47 | |
| 48 | #define __NR_faccessat 48 | |
| 49 | #define __NR_chdir 49 | |
| 50 | #define __NR_fchdir 50 | |
| 51 | #define __NR_chroot 51 | |
| 52 | #define __NR_fchmod 52 | |
| 53 | #define __NR_fchmodat 53 | |
| 54 | #define __NR_fchownat 54 | |
| 55 | #define __NR_fchown 55 | |
| 56 | #define __NR_openat 56 | |
| 57 | #define __NR_close 57 | |
| 58 | #define __NR_vhangup 58 | |
| 59 | #define __NR_pipe2 59 | |
| 60 | #define __NR_quotactl 60 | |
| 61 | #define __NR_getdents64 61 | |
| 62 | #define __NR_lseek 62 | |
| 63 | #define __NR_read 63 | |
| 64 | #define __NR_write 64 | |
| 65 | #define __NR_readv 65 | |
| 66 | #define __NR_writev 66 | |
| 67 | #define __NR_pread64 67 | |
| 68 | #define __NR_pwrite64 68 | |
| 69 | #define __NR_preadv 69 | |
| 70 | #define __NR_pwritev 70 | |
| 71 | #define __NR_sendfile 71 | |
| 72 | #define __NR_pselect6 72 | |
| 73 | #define __NR_ppoll 73 | |
| 74 | #define __NR_signalfd4 74 | |
| 75 | #define __NR_vmsplice 75 | |
| 76 | #define __NR_splice 76 | |
| 77 | #define __NR_tee 77 | |
| 78 | #define __NR_readlinkat 78 | |
| 79 | #define __NR_newfstatat 79 | |
| 80 | #define __NR_fstat 80 | |
| 81 | #define __NR_sync 81 | |
| 82 | #define __NR_fsync 82 | |
| 83 | #define __NR_fdatasync 83 | |
| 84 | #define __NR_sync_file_range 84 | |
| 85 | #define __NR_timerfd_create 85 | |
| 86 | #define __NR_timerfd_settime 86 | |
| 87 | #define __NR_timerfd_gettime 87 | |
| 88 | #define __NR_utimensat 88 | |
| 89 | #define __NR_acct 89 | |
| 90 | #define __NR_capget 90 | |
| 91 | #define __NR_capset 91 | |
| 92 | #define __NR_personality 92 | |
| 93 | #define __NR_exit 93 | |
| 94 | #define __NR_exit_group 94 | |
| 95 | #define __NR_waitid 95 | |
| 96 | #define __NR_set_tid_address 96 | |
| 97 | #define __NR_unshare 97 | |
| 98 | #define __NR_futex 98 | |
| 99 | #define __NR_set_robust_list 99 | |
| 100 | #define __NR_get_robust_list 100 | |
| 101 | #define __NR_nanosleep 101 | |
| 102 | #define __NR_getitimer 102 | |
| 103 | #define __NR_setitimer 103 | |
| 104 | #define __NR_kexec_load 104 | |
| 105 | #define __NR_init_module 105 | |
| 106 | #define __NR_delete_module 106 | |
| 107 | #define __NR_timer_create 107 | |
| 108 | #define __NR_timer_gettime 108 | |
| 109 | #define __NR_timer_getoverrun 109 | |
| 110 | #define __NR_timer_settime 110 | |
| 111 | #define __NR_timer_delete 111 | |
| 112 | #define __NR_clock_settime 112 | |
| 113 | #define __NR_clock_gettime 113 | |
| 114 | #define __NR_clock_getres 114 | |
| 115 | #define __NR_clock_nanosleep 115 | |
| 116 | #define __NR_syslog 116 | |
| 117 | #define __NR_ptrace 117 | |
| 118 | #define __NR_sched_setparam 118 | |
| 119 | #define __NR_sched_setscheduler 119 | |
| 120 | #define __NR_sched_getscheduler 120 | |
| 121 | #define __NR_sched_getparam 121 | |
| 122 | #define __NR_sched_setaffinity 122 | |
| 123 | #define __NR_sched_getaffinity 123 | |
| 124 | #define __NR_sched_yield 124 | |
| 125 | #define __NR_sched_get_priority_max 125 | |
| 126 | #define __NR_sched_get_priority_min 126 | |
| 127 | #define __NR_sched_rr_get_interval 127 | |
| 128 | #define __NR_restart_syscall 128 | |
| 129 | #define __NR_kill 129 | |
| 130 | #define __NR_tkill 130 | |
| 131 | #define __NR_tgkill 131 | |
| 132 | #define __NR_sigaltstack 132 | |
| 133 | #define __NR_rt_sigsuspend 133 | |
| 134 | #define __NR_rt_sigaction 134 | |
| 135 | #define __NR_rt_sigprocmask 135 | |
| 136 | #define __NR_rt_sigpending 136 | |
| 137 | #define __NR_rt_sigtimedwait 137 | |
| 138 | #define __NR_rt_sigqueueinfo 138 | |
| 139 | #define __NR_rt_sigreturn 139 | |
| 140 | #define __NR_setpriority 140 | |
| 141 | #define __NR_getpriority 141 | |
| 142 | #define __NR_reboot 142 | |
| 143 | #define __NR_setregid 143 | |
| 144 | #define __NR_setgid 144 | |
| 145 | #define __NR_setreuid 145 | |
| 146 | #define __NR_setuid 146 | |
| 147 | #define __NR_setresuid 147 | |
| 148 | #define __NR_getresuid 148 | |
| 149 | #define __NR_setresgid 149 | |
| 150 | #define __NR_getresgid 150 | |
| 151 | #define __NR_setfsuid 151 | |
| 152 | #define __NR_setfsgid 152 | |
| 153 | #define __NR_times 153 | |
| 154 | #define __NR_setpgid 154 | |
| 155 | #define __NR_getpgid 155 | |
| 156 | #define __NR_getsid 156 | |
| 157 | #define __NR_setsid 157 | |
| 158 | #define __NR_getgroups 158 | |
| 159 | #define __NR_setgroups 159 | |
| 160 | #define __NR_uname 160 | |
| 161 | #define __NR_sethostname 161 | |
| 162 | #define __NR_setdomainname 162 | |
| 163 | #define __NR_getrlimit 163 | |
| 164 | #define __NR_setrlimit 164 | |
| 165 | #define __NR_getrusage 165 | |
| 166 | #define __NR_umask 166 | |
| 167 | #define __NR_prctl 167 | |
| 168 | #define __NR_getcpu 168 | |
| 169 | #define __NR_gettimeofday 169 | |
| 170 | #define __NR_settimeofday 170 | |
| 171 | #define __NR_adjtimex 171 | |
| 172 | #define __NR_getpid 172 | |
| 173 | #define __NR_getppid 173 | |
| 174 | #define __NR_getuid 174 | |
| 175 | #define __NR_geteuid 175 | |
| 176 | #define __NR_getgid 176 | |
| 177 | #define __NR_getegid 177 | |
| 178 | #define __NR_gettid 178 | |
| 179 | #define __NR_sysinfo 179 | |
| 180 | #define __NR_mq_open 180 | |
| 181 | #define __NR_mq_unlink 181 | |
| 182 | #define __NR_mq_timedsend 182 | |
| 183 | #define __NR_mq_timedreceive 183 | |
| 184 | #define __NR_mq_notify 184 | |
| 185 | #define __NR_mq_getsetattr 185 | |
| 186 | #define __NR_msgget 186 | |
| 187 | #define __NR_msgctl 187 | |
| 188 | #define __NR_msgrcv 188 | |
| 189 | #define __NR_msgsnd 189 | |
| 190 | #define __NR_semget 190 | |
| 191 | #define __NR_semctl 191 | |
| 192 | #define __NR_semtimedop 192 | |
| 193 | #define __NR_semop 193 | |
| 194 | #define __NR_shmget 194 | |
| 195 | #define __NR_shmctl 195 | |
| 196 | #define __NR_shmat 196 | |
| 197 | #define __NR_shmdt 197 | |
| 198 | #define __NR_socket 198 | |
| 199 | #define __NR_socketpair 199 | |
| 200 | #define __NR_bind 200 | |
| 201 | #define __NR_listen 201 | |
| 202 | #define __NR_accept 202 | |
| 203 | #define __NR_connect 203 | |
| 204 | #define __NR_getsockname 204 | |
| 205 | #define __NR_getpeername 205 | |
| 206 | #define __NR_sendto 206 | |
| 207 | #define __NR_recvfrom 207 | |
| 208 | #define __NR_setsockopt 208 | |
| 209 | #define __NR_getsockopt 209 | |
| 210 | #define __NR_shutdown 210 | |
| 211 | #define __NR_sendmsg 211 | |
| 212 | #define __NR_recvmsg 212 | |
| 213 | #define __NR_readahead 213 | |
| 214 | #define __NR_brk 214 | |
| 215 | #define __NR_munmap 215 | |
| 216 | #define __NR_mremap 216 | |
| 217 | #define __NR_add_key 217 | |
| 218 | #define __NR_request_key 218 | |
| 219 | #define __NR_keyctl 219 | |
| 220 | #define __NR_clone 220 | |
| 221 | #define __NR_execve 221 | |
| 222 | #define __NR_mmap 222 | |
| 223 | #define __NR_fadvise64 223 | |
| 224 | #define __NR_swapon 224 | |
| 225 | #define __NR_swapoff 225 | |
| 226 | #define __NR_mprotect 226 | |
| 227 | #define __NR_msync 227 | |
| 228 | #define __NR_mlock 228 | |
| 229 | #define __NR_munlock 229 | |
| 230 | #define __NR_mlockall 230 | |
| 231 | #define __NR_munlockall 231 | |
| 232 | #define __NR_mincore 232 | |
| 233 | #define __NR_madvise 233 | |
| 234 | #define __NR_remap_file_pages 234 | |
| 235 | #define __NR_mbind 235 | |
| 236 | #define __NR_get_mempolicy 236 | |
| 237 | #define __NR_set_mempolicy 237 | |
| 238 | #define __NR_migrate_pages 238 | |
| 239 | #define __NR_move_pages 239 | |
| 240 | #define __NR_rt_tgsigqueueinfo 240 | |
| 241 | #define __NR_perf_event_open 241 | |
| 242 | #define __NR_accept4 242 | |
| 243 | #define __NR_recvmmsg 243 | |
| 244 | #define __NR_arch_specific_syscall 244 | |
| 245 | #define __NR_wait4 260 | |
| 246 | #define __NR_prlimit64 261 | |
| 247 | #define __NR_fanotify_init 262 | |
| 248 | #define __NR_fanotify_mark 263 | |
| 249 | #define __NR_name_to_handle_at 264 | |
| 250 | #define __NR_open_by_handle_at 265 | |
| 251 | #define __NR_clock_adjtime 266 | |
| 252 | #define __NR_syncfs 267 | |
| 253 | #define __NR_setns 268 | |
| 254 | #define __NR_sendmmsg 269 | |
| 255 | #define __NR_process_vm_readv 270 | |
| 256 | #define __NR_process_vm_writev 271 | |
| 257 | #define __NR_kcmp 272 | |
| 258 | #define __NR_finit_module 273 | |
| 259 | #define __NR_sched_setattr 274 | |
| 260 | #define __NR_sched_getattr 275 | |
| 261 | #define __NR_renameat2 276 | |
| 262 | #define __NR_seccomp 277 | |
| 263 | #define __NR_getrandom 278 | |
| 264 | #define __NR_memfd_create 279 | |
| 265 | #define __NR_bpf 280 | |
| 266 | #define __NR_execveat 281 | |
| 267 | #define __NR_userfaultfd 282 | |
| 268 | #define __NR_membarrier 283 | |
| 269 | #define __NR_mlock2 284 | |
| 270 | #define __NR_copy_file_range 285 | |
| 271 | #define __NR_preadv2 286 | |
| 272 | #define __NR_pwritev2 287 | |
| 273 | #define __NR_pkey_mprotect 288 | |
| 274 | #define __NR_pkey_alloc 289 | |
| 275 | #define __NR_pkey_free 290 | |
| 276 | #define __NR_statx 291 | |
| 277 | #define __NR_io_pgetevents 292 | |
| 278 | #define __NR_rseq 293 | |
| 279 | #define __NR_kexec_file_load 294 | |
| 280 | #define __NR_pidfd_send_signal 424 | |
| 281 | #define __NR_io_uring_setup 425 | |
| 282 | #define __NR_io_uring_enter 426 | |
| 283 | #define __NR_io_uring_register 427 | |
| 284 | #define __NR_open_tree		428 | |
| 285 | #define __NR_move_mount		429 | |
| 286 | #define __NR_fsopen		430 | |
| 287 | #define __NR_fsconfig		431 | |
| 288 | #define __NR_fsmount		432 | |
| 289 | #define __NR_fspick		433 | |
| 290 | #define __NR_pidfd_open		434 | |
| 291 | #define __NR_clone3		435 | |
| 292 | #define __NR_close_range	436 | |
| 293 | #define __NR_openat2		437 | |
| 294 | #define __NR_pidfd_getfd	438 | |
| 295 | #define __NR_faccessat2		439 | |
| 296 | #define __NR_process_madvise	440 | |
| 297 | #define __NR_epoll_pwait2	441 | |
| 298 | #define __NR_mount_setattr	442 | |
| 299 | #define __NR_landlock_create_ruleset	444 | |
| 300 | #define __NR_landlock_add_rule	445 | |
| 301 | #define __NR_landlock_restrict_self	446 | |
| 302 | #define __NR_process_mrelease	448 | |
| 303 | #define __NR_futex_waitv	449 | |
| 304 | #define __NR_set_mempolicy_home_node	450 | |
| 305 | #define __NR_cachestat		451 | |
| 306 | #define __NR_fchmodat2		452 | |
| 307 | ||
| 308 | #define __NR_sysriscv __NR_arch_specific_syscall | |
| 309 | #define __NR_riscv_flush_icache (__NR_sysriscv + 15) |
lib/libc/musl/arch/s390x/bits/alltypes.h.in deleted-19| ... | ... | @@ -1,19 +0,0 @@ |
| 1 | #define _Addr long | |
| 2 | #define _Int64 long | |
| 3 | #define _Reg long | |
| 4 | ||
| 5 | #define __BYTE_ORDER 4321 | |
| 6 | #define __LONG_MAX 0x7fffffffffffffffL | |
| 7 | ||
| 8 | #ifndef __cplusplus | |
| 9 | TYPEDEF int wchar_t; | |
| 10 | #endif | |
| 11 | ||
| 12 | #if defined(__FLT_EVAL_METHOD__) && __FLT_EVAL_METHOD__ == 1 | |
| 13 | TYPEDEF double float_t; | |
| 14 | #else | |
| 15 | TYPEDEF float float_t; | |
| 16 | #endif | |
| 17 | TYPEDEF double double_t; | |
| 18 | ||
| 19 | TYPEDEF struct { long long __ll; long double __ld; } max_align_t; |
lib/libc/musl/arch/s390x/bits/syscall.h.in deleted-371| ... | ... | @@ -1,371 +0,0 @@ |
| 1 | #define __NR_exit 1 | |
| 2 | #define __NR_fork 2 | |
| 3 | #define __NR_read 3 | |
| 4 | #define __NR_write 4 | |
| 5 | #define __NR_open 5 | |
| 6 | #define __NR_close 6 | |
| 7 | #define __NR_restart_syscall 7 | |
| 8 | #define __NR_creat 8 | |
| 9 | #define __NR_link 9 | |
| 10 | #define __NR_unlink 10 | |
| 11 | #define __NR_execve 11 | |
| 12 | #define __NR_chdir 12 | |
| 13 | #define __NR_mknod 14 | |
| 14 | #define __NR_chmod 15 | |
| 15 | #define __NR_lseek 19 | |
| 16 | #define __NR_getpid 20 | |
| 17 | #define __NR_mount 21 | |
| 18 | #define __NR_umount 22 | |
| 19 | #define __NR_ptrace 26 | |
| 20 | #define __NR_alarm 27 | |
| 21 | #define __NR_pause 29 | |
| 22 | #define __NR_utime 30 | |
| 23 | #define __NR_access 33 | |
| 24 | #define __NR_nice 34 | |
| 25 | #define __NR_sync 36 | |
| 26 | #define __NR_kill 37 | |
| 27 | #define __NR_rename 38 | |
| 28 | #define __NR_mkdir 39 | |
| 29 | #define __NR_rmdir 40 | |
| 30 | #define __NR_dup 41 | |
| 31 | #define __NR_pipe 42 | |
| 32 | #define __NR_times 43 | |
| 33 | #define __NR_brk 45 | |
| 34 | #define __NR_signal 48 | |
| 35 | #define __NR_acct 51 | |
| 36 | #define __NR_umount2 52 | |
| 37 | #define __NR_ioctl 54 | |
| 38 | #define __NR_fcntl 55 | |
| 39 | #define __NR_setpgid 57 | |
| 40 | #define __NR_umask 60 | |
| 41 | #define __NR_chroot 61 | |
| 42 | #define __NR_ustat 62 | |
| 43 | #define __NR_dup2 63 | |
| 44 | #define __NR_getppid 64 | |
| 45 | #define __NR_getpgrp 65 | |
| 46 | #define __NR_setsid 66 | |
| 47 | #define __NR_sigaction 67 | |
| 48 | #define __NR_sigsuspend 72 | |
| 49 | #define __NR_sigpending 73 | |
| 50 | #define __NR_sethostname 74 | |
| 51 | #define __NR_setrlimit 75 | |
| 52 | #define __NR_getrusage 77 | |
| 53 | #define __NR_gettimeofday 78 | |
| 54 | #define __NR_settimeofday 79 | |
| 55 | #define __NR_symlink 83 | |
| 56 | #define __NR_readlink 85 | |
| 57 | #define __NR_uselib 86 | |
| 58 | #define __NR_swapon 87 | |
| 59 | #define __NR_reboot 88 | |
| 60 | #define __NR_readdir 89 | |
| 61 | #define __NR_mmap 90 | |
| 62 | #define __NR_munmap 91 | |
| 63 | #define __NR_truncate 92 | |
| 64 | #define __NR_ftruncate 93 | |
| 65 | #define __NR_fchmod 94 | |
| 66 | #define __NR_getpriority 96 | |
| 67 | #define __NR_setpriority 97 | |
| 68 | #define __NR_statfs 99 | |
| 69 | #define __NR_fstatfs 100 | |
| 70 | #define __NR_socketcall 102 | |
| 71 | #define __NR_syslog 103 | |
| 72 | #define __NR_setitimer 104 | |
| 73 | #define __NR_getitimer 105 | |
| 74 | #define __NR_stat 106 | |
| 75 | #define __NR_lstat 107 | |
| 76 | #define __NR_fstat 108 | |
| 77 | #define __NR_lookup_dcookie 110 | |
| 78 | #define __NR_vhangup 111 | |
| 79 | #define __NR_idle 112 | |
| 80 | #define __NR_wait4 114 | |
| 81 | #define __NR_swapoff 115 | |
| 82 | #define __NR_sysinfo 116 | |
| 83 | #define __NR_ipc 117 | |
| 84 | #define __NR_fsync 118 | |
| 85 | #define __NR_sigreturn 119 | |
| 86 | #define __NR_clone 120 | |
| 87 | #define __NR_setdomainname 121 | |
| 88 | #define __NR_uname 122 | |
| 89 | #define __NR_adjtimex 124 | |
| 90 | #define __NR_mprotect 125 | |
| 91 | #define __NR_sigprocmask 126 | |
| 92 | #define __NR_create_module 127 | |
| 93 | #define __NR_init_module 128 | |
| 94 | #define __NR_delete_module 129 | |
| 95 | #define __NR_get_kernel_syms 130 | |
| 96 | #define __NR_quotactl 131 | |
| 97 | #define __NR_getpgid 132 | |
| 98 | #define __NR_fchdir 133 | |
| 99 | #define __NR_bdflush 134 | |
| 100 | #define __NR_sysfs 135 | |
| 101 | #define __NR_personality 136 | |
| 102 | #define __NR_afs_syscall 137 | |
| 103 | #define __NR_getdents 141 | |
| 104 | #define __NR_select 142 | |
| 105 | #define __NR_flock 143 | |
| 106 | #define __NR_msync 144 | |
| 107 | #define __NR_readv 145 | |
| 108 | #define __NR_writev 146 | |
| 109 | #define __NR_getsid 147 | |
| 110 | #define __NR_fdatasync 148 | |
| 111 | #define __NR__sysctl 149 | |
| 112 | #define __NR_mlock 150 | |
| 113 | #define __NR_munlock 151 | |
| 114 | #define __NR_mlockall 152 | |
| 115 | #define __NR_munlockall 153 | |
| 116 | #define __NR_sched_setparam 154 | |
| 117 | #define __NR_sched_getparam 155 | |
| 118 | #define __NR_sched_setscheduler 156 | |
| 119 | #define __NR_sched_getscheduler 157 | |
| 120 | #define __NR_sched_yield 158 | |
| 121 | #define __NR_sched_get_priority_max 159 | |
| 122 | #define __NR_sched_get_priority_min 160 | |
| 123 | #define __NR_sched_rr_get_interval 161 | |
| 124 | #define __NR_nanosleep 162 | |
| 125 | #define __NR_mremap 163 | |
| 126 | #define __NR_query_module 167 | |
| 127 | #define __NR_poll 168 | |
| 128 | #define __NR_nfsservctl 169 | |
| 129 | #define __NR_prctl 172 | |
| 130 | #define __NR_rt_sigreturn 173 | |
| 131 | #define __NR_rt_sigaction 174 | |
| 132 | #define __NR_rt_sigprocmask 175 | |
| 133 | #define __NR_rt_sigpending 176 | |
| 134 | #define __NR_rt_sigtimedwait 177 | |
| 135 | #define __NR_rt_sigqueueinfo 178 | |
| 136 | #define __NR_rt_sigsuspend 179 | |
| 137 | #define __NR_pread64 180 | |
| 138 | #define __NR_pwrite64 181 | |
| 139 | #define __NR_getcwd 183 | |
| 140 | #define __NR_capget 184 | |
| 141 | #define __NR_capset 185 | |
| 142 | #define __NR_sigaltstack 186 | |
| 143 | #define __NR_sendfile 187 | |
| 144 | #define __NR_getpmsg 188 | |
| 145 | #define __NR_putpmsg 189 | |
| 146 | #define __NR_vfork 190 | |
| 147 | #define __NR_getrlimit 191 | |
| 148 | #define __NR_lchown 198 | |
| 149 | #define __NR_getuid 199 | |
| 150 | #define __NR_getgid 200 | |
| 151 | #define __NR_geteuid 201 | |
| 152 | #define __NR_getegid 202 | |
| 153 | #define __NR_setreuid 203 | |
| 154 | #define __NR_setregid 204 | |
| 155 | #define __NR_getgroups 205 | |
| 156 | #define __NR_setgroups 206 | |
| 157 | #define __NR_fchown 207 | |
| 158 | #define __NR_setresuid 208 | |
| 159 | #define __NR_getresuid 209 | |
| 160 | #define __NR_setresgid 210 | |
| 161 | #define __NR_getresgid 211 | |
| 162 | #define __NR_chown 212 | |
| 163 | #define __NR_setuid 213 | |
| 164 | #define __NR_setgid 214 | |
| 165 | #define __NR_setfsuid 215 | |
| 166 | #define __NR_setfsgid 216 | |
| 167 | #define __NR_pivot_root 217 | |
| 168 | #define __NR_mincore 218 | |
| 169 | #define __NR_madvise 219 | |
| 170 | #define __NR_getdents64 220 | |
| 171 | #define __NR_readahead 222 | |
| 172 | #define __NR_setxattr 224 | |
| 173 | #define __NR_lsetxattr 225 | |
| 174 | #define __NR_fsetxattr 226 | |
| 175 | #define __NR_getxattr 227 | |
| 176 | #define __NR_lgetxattr 228 | |
| 177 | #define __NR_fgetxattr 229 | |
| 178 | #define __NR_listxattr 230 | |
| 179 | #define __NR_llistxattr 231 | |
| 180 | #define __NR_flistxattr 232 | |
| 181 | #define __NR_removexattr 233 | |
| 182 | #define __NR_lremovexattr 234 | |
| 183 | #define __NR_fremovexattr 235 | |
| 184 | #define __NR_gettid 236 | |
| 185 | #define __NR_tkill 237 | |
| 186 | #define __NR_futex 238 | |
| 187 | #define __NR_sched_setaffinity 239 | |
| 188 | #define __NR_sched_getaffinity 240 | |
| 189 | #define __NR_tgkill 241 | |
| 190 | #define __NR_io_setup 243 | |
| 191 | #define __NR_io_destroy 244 | |
| 192 | #define __NR_io_getevents 245 | |
| 193 | #define __NR_io_submit 246 | |
| 194 | #define __NR_io_cancel 247 | |
| 195 | #define __NR_exit_group 248 | |
| 196 | #define __NR_epoll_create 249 | |
| 197 | #define __NR_epoll_ctl 250 | |
| 198 | #define __NR_epoll_wait 251 | |
| 199 | #define __NR_set_tid_address 252 | |
| 200 | #define __NR_fadvise64 253 | |
| 201 | #define __NR_timer_create 254 | |
| 202 | #define __NR_timer_settime 255 | |
| 203 | #define __NR_timer_gettime 256 | |
| 204 | #define __NR_timer_getoverrun 257 | |
| 205 | #define __NR_timer_delete 258 | |
| 206 | #define __NR_clock_settime 259 | |
| 207 | #define __NR_clock_gettime 260 | |
| 208 | #define __NR_clock_getres 261 | |
| 209 | #define __NR_clock_nanosleep 262 | |
| 210 | #define __NR_statfs64 265 | |
| 211 | #define __NR_fstatfs64 266 | |
| 212 | #define __NR_remap_file_pages 267 | |
| 213 | #define __NR_mbind 268 | |
| 214 | #define __NR_get_mempolicy 269 | |
| 215 | #define __NR_set_mempolicy 270 | |
| 216 | #define __NR_mq_open 271 | |
| 217 | #define __NR_mq_unlink 272 | |
| 218 | #define __NR_mq_timedsend 273 | |
| 219 | #define __NR_mq_timedreceive 274 | |
| 220 | #define __NR_mq_notify 275 | |
| 221 | #define __NR_mq_getsetattr 276 | |
| 222 | #define __NR_kexec_load 277 | |
| 223 | #define __NR_add_key 278 | |
| 224 | #define __NR_request_key 279 | |
| 225 | #define __NR_keyctl 280 | |
| 226 | #define __NR_waitid 281 | |
| 227 | #define __NR_ioprio_set 282 | |
| 228 | #define __NR_ioprio_get 283 | |
| 229 | #define __NR_inotify_init 284 | |
| 230 | #define __NR_inotify_add_watch 285 | |
| 231 | #define __NR_inotify_rm_watch 286 | |
| 232 | #define __NR_migrate_pages 287 | |
| 233 | #define __NR_openat 288 | |
| 234 | #define __NR_mkdirat 289 | |
| 235 | #define __NR_mknodat 290 | |
| 236 | #define __NR_fchownat 291 | |
| 237 | #define __NR_futimesat 292 | |
| 238 | #define __NR_newfstatat 293 | |
| 239 | #define __NR_unlinkat 294 | |
| 240 | #define __NR_renameat 295 | |
| 241 | #define __NR_linkat 296 | |
| 242 | #define __NR_symlinkat 297 | |
| 243 | #define __NR_readlinkat 298 | |
| 244 | #define __NR_fchmodat 299 | |
| 245 | #define __NR_faccessat 300 | |
| 246 | #define __NR_pselect6 301 | |
| 247 | #define __NR_ppoll 302 | |
| 248 | #define __NR_unshare 303 | |
| 249 | #define __NR_set_robust_list 304 | |
| 250 | #define __NR_get_robust_list 305 | |
| 251 | #define __NR_splice 306 | |
| 252 | #define __NR_sync_file_range 307 | |
| 253 | #define __NR_tee 308 | |
| 254 | #define __NR_vmsplice 309 | |
| 255 | #define __NR_move_pages 310 | |
| 256 | #define __NR_getcpu 311 | |
| 257 | #define __NR_epoll_pwait 312 | |
| 258 | #define __NR_utimes 313 | |
| 259 | #define __NR_fallocate 314 | |
| 260 | #define __NR_utimensat 315 | |
| 261 | #define __NR_signalfd 316 | |
| 262 | #define __NR_timerfd 317 | |
| 263 | #define __NR_eventfd 318 | |
| 264 | #define __NR_timerfd_create 319 | |
| 265 | #define __NR_timerfd_settime 320 | |
| 266 | #define __NR_timerfd_gettime 321 | |
| 267 | #define __NR_signalfd4 322 | |
| 268 | #define __NR_eventfd2 323 | |
| 269 | #define __NR_inotify_init1 324 | |
| 270 | #define __NR_pipe2 325 | |
| 271 | #define __NR_dup3 326 | |
| 272 | #define __NR_epoll_create1 327 | |
| 273 | #define __NR_preadv 328 | |
| 274 | #define __NR_pwritev 329 | |
| 275 | #define __NR_rt_tgsigqueueinfo 330 | |
| 276 | #define __NR_perf_event_open 331 | |
| 277 | #define __NR_fanotify_init 332 | |
| 278 | #define __NR_fanotify_mark 333 | |
| 279 | #define __NR_prlimit64 334 | |
| 280 | #define __NR_name_to_handle_at 335 | |
| 281 | #define __NR_open_by_handle_at 336 | |
| 282 | #define __NR_clock_adjtime 337 | |
| 283 | #define __NR_syncfs 338 | |
| 284 | #define __NR_setns 339 | |
| 285 | #define __NR_process_vm_readv 340 | |
| 286 | #define __NR_process_vm_writev 341 | |
| 287 | #define __NR_s390_runtime_instr 342 | |
| 288 | #define __NR_kcmp 343 | |
| 289 | #define __NR_finit_module 344 | |
| 290 | #define __NR_sched_setattr 345 | |
| 291 | #define __NR_sched_getattr 346 | |
| 292 | #define __NR_renameat2 347 | |
| 293 | #define __NR_seccomp 348 | |
| 294 | #define __NR_getrandom 349 | |
| 295 | #define __NR_memfd_create 350 | |
| 296 | #define __NR_bpf 351 | |
| 297 | #define __NR_s390_pci_mmio_write 352 | |
| 298 | #define __NR_s390_pci_mmio_read 353 | |
| 299 | #define __NR_execveat 354 | |
| 300 | #define __NR_userfaultfd 355 | |
| 301 | #define __NR_membarrier 356 | |
| 302 | #define __NR_recvmmsg 357 | |
| 303 | #define __NR_sendmmsg 358 | |
| 304 | #define __NR_socket 359 | |
| 305 | #define __NR_socketpair 360 | |
| 306 | #define __NR_bind 361 | |
| 307 | #define __NR_connect 362 | |
| 308 | #define __NR_listen 363 | |
| 309 | #define __NR_accept4 364 | |
| 310 | #define __NR_getsockopt 365 | |
| 311 | #define __NR_setsockopt 366 | |
| 312 | #define __NR_getsockname 367 | |
| 313 | #define __NR_getpeername 368 | |
| 314 | #define __NR_sendto 369 | |
| 315 | #define __NR_sendmsg 370 | |
| 316 | #define __NR_recvfrom 371 | |
| 317 | #define __NR_recvmsg 372 | |
| 318 | #define __NR_shutdown 373 | |
| 319 | #define __NR_mlock2 374 | |
| 320 | #define __NR_copy_file_range 375 | |
| 321 | #define __NR_preadv2 376 | |
| 322 | #define __NR_pwritev2 377 | |
| 323 | #define __NR_s390_guarded_storage 378 | |
| 324 | #define __NR_statx 379 | |
| 325 | #define __NR_s390_sthyi 380 | |
| 326 | #define __NR_kexec_file_load 381 | |
| 327 | #define __NR_io_pgetevents 382 | |
| 328 | #define __NR_rseq 383 | |
| 329 | #define __NR_pkey_mprotect 384 | |
| 330 | #define __NR_pkey_alloc 385 | |
| 331 | #define __NR_pkey_free 386 | |
| 332 | #define __NR_semtimedop 392 | |
| 333 | #define __NR_semget 393 | |
| 334 | #define __NR_semctl 394 | |
| 335 | #define __NR_shmget 395 | |
| 336 | #define __NR_shmctl 396 | |
| 337 | #define __NR_shmat 397 | |
| 338 | #define __NR_shmdt 398 | |
| 339 | #define __NR_msgget 399 | |
| 340 | #define __NR_msgsnd 400 | |
| 341 | #define __NR_msgrcv 401 | |
| 342 | #define __NR_msgctl 402 | |
| 343 | #define __NR_pidfd_send_signal 424 | |
| 344 | #define __NR_io_uring_setup 425 | |
| 345 | #define __NR_io_uring_enter 426 | |
| 346 | #define __NR_io_uring_register 427 | |
| 347 | #define __NR_open_tree		428 | |
| 348 | #define __NR_move_mount		429 | |
| 349 | #define __NR_fsopen		430 | |
| 350 | #define __NR_fsconfig		431 | |
| 351 | #define __NR_fsmount		432 | |
| 352 | #define __NR_fspick		433 | |
| 353 | #define __NR_pidfd_open		434 | |
| 354 | #define __NR_clone3		435 | |
| 355 | #define __NR_close_range	436 | |
| 356 | #define __NR_openat2		437 | |
| 357 | #define __NR_pidfd_getfd	438 | |
| 358 | #define __NR_faccessat2		439 | |
| 359 | #define __NR_process_madvise	440 | |
| 360 | #define __NR_epoll_pwait2	441 | |
| 361 | #define __NR_mount_setattr	442 | |
| 362 | #define __NR_landlock_create_ruleset	444 | |
| 363 | #define __NR_landlock_add_rule	445 | |
| 364 | #define __NR_landlock_restrict_self	446 | |
| 365 | #define __NR_memfd_secret	447 | |
| 366 | #define __NR_process_mrelease	448 | |
| 367 | #define __NR_futex_waitv	449 | |
| 368 | #define __NR_set_mempolicy_home_node	450 | |
| 369 | #define __NR_cachestat		451 | |
| 370 | #define __NR_fchmodat2		452 | |
| 371 |
lib/libc/musl/arch/x32/atomic_arch.h created+121| ... | ... | @@ -0,0 +1,121 @@ |
| 1 | #define a_cas a_cas | |
| 2 | static inline int a_cas(volatile int *p, int t, int s) | |
| 3 | { | |
| 4 | 	__asm__ __volatile__ ( | |
| 5 | 		"lock ; cmpxchg %3, %1" | |
| 6 | 		: "=a"(t), "=m"(*p) : "a"(t), "r"(s) : "memory" ); | |
| 7 | 	return t; | |
| 8 | } | |
| 9 | ||
| 10 | #define a_swap a_swap | |
| 11 | static inline int a_swap(volatile int *p, int v) | |
| 12 | { | |
| 13 | 	__asm__ __volatile__( | |
| 14 | 		"xchg %0, %1" | |
| 15 | 		: "=r"(v), "=m"(*p) : "0"(v) : "memory" ); | |
| 16 | 	return v; | |
| 17 | } | |
| 18 | ||
| 19 | #define a_fetch_add a_fetch_add | |
| 20 | static inline int a_fetch_add(volatile int *p, int v) | |
| 21 | { | |
| 22 | 	__asm__ __volatile__( | |
| 23 | 		"lock ; xadd %0, %1" | |
| 24 | 		: "=r"(v), "=m"(*p) : "0"(v) : "memory" ); | |
| 25 | 	return v; | |
| 26 | } | |
| 27 | ||
| 28 | #define a_and a_and | |
| 29 | static inline void a_and(volatile int *p, int v) | |
| 30 | { | |
| 31 | 	__asm__ __volatile__( | |
| 32 | 		"lock ; and %1, %0" | |
| 33 | 		: "=m"(*p) : "r"(v) : "memory" ); | |
| 34 | } | |
| 35 | ||
| 36 | #define a_or a_or | |
| 37 | static inline void a_or(volatile int *p, int v) | |
| 38 | { | |
| 39 | 	__asm__ __volatile__( | |
| 40 | 		"lock ; or %1, %0" | |
| 41 | 		: "=m"(*p) : "r"(v) : "memory" ); | |
| 42 | } | |
| 43 | ||
| 44 | #define a_and_64 a_and_64 | |
| 45 | static inline void a_and_64(volatile uint64_t *p, uint64_t v) | |
| 46 | { | |
| 47 | 	__asm__ __volatile( | |
| 48 | 		"lock ; and %1, %0" | |
| 49 | 		 : "=m"(*p) : "r"(v) : "memory" ); | |
| 50 | } | |
| 51 | ||
| 52 | #define a_or_64 a_or_64 | |
| 53 | static inline void a_or_64(volatile uint64_t *p, uint64_t v) | |
| 54 | { | |
| 55 | 	__asm__ __volatile__( | |
| 56 | 		"lock ; or %1, %0" | |
| 57 | 		 : "=m"(*p) : "r"(v) : "memory" ); | |
| 58 | } | |
| 59 | ||
| 60 | #define a_inc a_inc | |
| 61 | static inline void a_inc(volatile int *p) | |
| 62 | { | |
| 63 | 	__asm__ __volatile__( | |
| 64 | 		"lock ; incl %0" | |
| 65 | 		: "=m"(*p) : "m"(*p) : "memory" ); | |
| 66 | } | |
| 67 | ||
| 68 | #define a_dec a_dec | |
| 69 | static inline void a_dec(volatile int *p) | |
| 70 | { | |
| 71 | 	__asm__ __volatile__( | |
| 72 | 		"lock ; decl %0" | |
| 73 | 		: "=m"(*p) : "m"(*p) : "memory" ); | |
| 74 | } | |
| 75 | ||
| 76 | #define a_store a_store | |
| 77 | static inline void a_store(volatile int *p, int x) | |
| 78 | { | |
| 79 | 	__asm__ __volatile__( | |
| 80 | 		"mov %1, %0 ; lock ; orl $0,(%%rsp)" | |
| 81 | 		: "=m"(*p) : "r"(x) : "memory" ); | |
| 82 | } | |
| 83 | ||
| 84 | #define a_barrier a_barrier | |
| 85 | static inline void a_barrier() | |
| 86 | { | |
| 87 | 	__asm__ __volatile__( "" : : : "memory" ); | |
| 88 | } | |
| 89 | ||
| 90 | #define a_spin a_spin | |
| 91 | static inline void a_spin() | |
| 92 | { | |
| 93 | 	__asm__ __volatile__( "pause" : : : "memory" ); | |
| 94 | } | |
| 95 | ||
| 96 | #define a_crash a_crash | |
| 97 | static inline void a_crash() | |
| 98 | { | |
| 99 | 	__asm__ __volatile__( "hlt" : : : "memory" ); | |
| 100 | } | |
| 101 | ||
| 102 | #define a_ctz_64 a_ctz_64 | |
| 103 | static inline int a_ctz_64(uint64_t x) | |
| 104 | { | |
| 105 | 	__asm__( "bsf %1,%0" : "=r"(x) : "r"(x) ); | |
| 106 | 	return x; | |
| 107 | } | |
| 108 | ||
| 109 | #define a_ctz_32 a_ctz_32 | |
| 110 | static inline int a_ctz_32(uint32_t x) | |
| 111 | { | |
| 112 | 	__asm__( "bsf %1,%0" : "=r"(x) : "r"(x) ); | |
| 113 | 	return x; | |
| 114 | } | |
| 115 | ||
| 116 | #define a_clz_64 a_clz_64 | |
| 117 | static inline int a_clz_64(uint64_t x) | |
| 118 | { | |
| 119 | 	__asm__( "bsr %1,%0 ; xor $63,%0" : "=r"(x) : "r"(x) ); | |
| 120 | 	return x; | |
| 121 | } |
lib/libc/musl/arch/x32/bits/fcntl.h created+40| ... | ... | @@ -0,0 +1,40 @@ |
| 1 | #define O_CREAT 0100 | |
| 2 | #define O_EXCL 0200 | |
| 3 | #define O_NOCTTY 0400 | |
| 4 | #define O_TRUNC 01000 | |
| 5 | #define O_APPEND 02000 | |
| 6 | #define O_NONBLOCK 04000 | |
| 7 | #define O_DSYNC 010000 | |
| 8 | #define O_SYNC 04010000 | |
| 9 | #define O_RSYNC 04010000 | |
| 10 | #define O_DIRECTORY 0200000 | |
| 11 | #define O_NOFOLLOW 0400000 | |
| 12 | #define O_CLOEXEC 02000000 | |
| 13 | ||
| 14 | #define O_ASYNC 020000 | |
| 15 | #define O_DIRECT 040000 | |
| 16 | #define O_LARGEFILE 0100000 | |
| 17 | #define O_NOATIME 01000000 | |
| 18 | #define O_PATH 010000000 | |
| 19 | #define O_TMPFILE 020200000 | |
| 20 | #define O_NDELAY O_NONBLOCK | |
| 21 | ||
| 22 | #define F_DUPFD 0 | |
| 23 | #define F_GETFD 1 | |
| 24 | #define F_SETFD 2 | |
| 25 | #define F_GETFL 3 | |
| 26 | #define F_SETFL 4 | |
| 27 | ||
| 28 | #define F_SETOWN 8 | |
| 29 | #define F_GETOWN 9 | |
| 30 | #define F_SETSIG 10 | |
| 31 | #define F_GETSIG 11 | |
| 32 | ||
| 33 | #define F_GETLK 5 | |
| 34 | #define F_SETLK 6 | |
| 35 | #define F_SETLKW 7 | |
| 36 | ||
| 37 | #define F_SETOWN_EX 15 | |
| 38 | #define F_GETOWN_EX 16 | |
| 39 | ||
| 40 | #define F_GETOWNER_UIDS 17 |
lib/libc/musl/arch/x32/bits/fenv.h created+34| ... | ... | @@ -0,0 +1,34 @@ |
| 1 | #define FE_INVALID 1 | |
| 2 | #define __FE_DENORM 2 | |
| 3 | #define FE_DIVBYZERO 4 | |
| 4 | #define FE_OVERFLOW 8 | |
| 5 | #define FE_UNDERFLOW 16 | |
| 6 | #define FE_INEXACT 32 | |
| 7 | ||
| 8 | #define FE_ALL_EXCEPT 63 | |
| 9 | ||
| 10 | #define FE_TONEAREST 0 | |
| 11 | #define FE_DOWNWARD 0x400 | |
| 12 | #define FE_UPWARD 0x800 | |
| 13 | #define FE_TOWARDZERO 0xc00 | |
| 14 | ||
| 15 | typedef unsigned short fexcept_t; | |
| 16 | ||
| 17 | typedef struct { | |
| 18 | 	unsigned short __control_word; | |
| 19 | 	unsigned short __unused1; | |
| 20 | 	unsigned short __status_word; | |
| 21 | 	unsigned short __unused2; | |
| 22 | 	unsigned short __tags; | |
| 23 | 	unsigned short __unused3; | |
| 24 | 	unsigned int __eip; | |
| 25 | 	unsigned short __cs_selector; | |
| 26 | 	unsigned int __opcode:11; | |
| 27 | 	unsigned int __unused4:5; | |
| 28 | 	unsigned int __data_offset; | |
| 29 | 	unsigned short __data_selector; | |
| 30 | 	unsigned short __unused5; | |
| 31 | 	unsigned int __mxcsr; | |
| 32 | } fenv_t; | |
| 33 | ||
| 34 | #define FE_DFL_ENV ((const fenv_t *) -1) |
lib/libc/musl/arch/x32/bits/float.h created+20| ... | ... | @@ -0,0 +1,20 @@ |
| 1 | #ifdef __FLT_EVAL_METHOD__ | |
| 2 | #define FLT_EVAL_METHOD __FLT_EVAL_METHOD__ | |
| 3 | #else | |
| 4 | #define FLT_EVAL_METHOD 0 | |
| 5 | #endif | |
| 6 | ||
| 7 | #define LDBL_TRUE_MIN 3.6451995318824746025e-4951L | |
| 8 | #define LDBL_MIN 3.3621031431120935063e-4932L | |
| 9 | #define LDBL_MAX 1.1897314953572317650e+4932L | |
| 10 | #define LDBL_EPSILON 1.0842021724855044340e-19L | |
| 11 | ||
| 12 | #define LDBL_MANT_DIG 64 | |
| 13 | #define LDBL_MIN_EXP (-16381) | |
| 14 | #define LDBL_MAX_EXP 16384 | |
| 15 | ||
| 16 | #define LDBL_DIG 18 | |
| 17 | #define LDBL_MIN_10_EXP (-4931) | |
| 18 | #define LDBL_MAX_10_EXP 4932 | |
| 19 | ||
| 20 | #define DECIMAL_DIG 21 |
lib/libc/musl/arch/x32/bits/io.h created+77| ... | ... | @@ -0,0 +1,77 @@ |
| 1 | static __inline void outb(unsigned char __val, unsigned short __port) | |
| 2 | { | |
| 3 | 	__asm__ volatile ("outb %0,%1" : : "a" (__val), "dN" (__port)); | |
| 4 | } | |
| 5 | ||
| 6 | static __inline void outw(unsigned short __val, unsigned short __port) | |
| 7 | { | |
| 8 | 	__asm__ volatile ("outw %0,%1" : : "a" (__val), "dN" (__port)); | |
| 9 | } | |
| 10 | ||
| 11 | static __inline void outl(unsigned int __val, unsigned short __port) | |
| 12 | { | |
| 13 | 	__asm__ volatile ("outl %0,%1" : : "a" (__val), "dN" (__port)); | |
| 14 | } | |
| 15 | ||
| 16 | static __inline unsigned char inb(unsigned short __port) | |
| 17 | { | |
| 18 | 	unsigned char __val; | |
| 19 | 	__asm__ volatile ("inb %1,%0" : "=a" (__val) : "dN" (__port)); | |
| 20 | 	return __val; | |
| 21 | } | |
| 22 | ||
| 23 | static __inline unsigned short inw(unsigned short __port) | |
| 24 | { | |
| 25 | 	unsigned short __val; | |
| 26 | 	__asm__ volatile ("inw %1,%0" : "=a" (__val) : "dN" (__port)); | |
| 27 | 	return __val; | |
| 28 | } | |
| 29 | ||
| 30 | static __inline unsigned int inl(unsigned short __port) | |
| 31 | { | |
| 32 | 	unsigned int __val; | |
| 33 | 	__asm__ volatile ("inl %1,%0" : "=a" (__val) : "dN" (__port)); | |
| 34 | 	return __val; | |
| 35 | } | |
| 36 | ||
| 37 | static __inline void outsb(unsigned short __port, const void *__buf, unsigned long __n) | |
| 38 | { | |
| 39 | 	__asm__ volatile ("cld; rep; outsb" | |
| 40 | 		 : "+S" (__buf), "+c" (__n) | |
| 41 | 		 : "d" (__port)); | |
| 42 | } | |
| 43 | ||
| 44 | static __inline void outsw(unsigned short __port, const void *__buf, unsigned long __n) | |
| 45 | { | |
| 46 | 	__asm__ volatile ("cld; rep; outsw" | |
| 47 | 		 : "+S" (__buf), "+c" (__n) | |
| 48 | 		 : "d" (__port)); | |
| 49 | } | |
| 50 | ||
| 51 | static __inline void outsl(unsigned short __port, const void *__buf, unsigned long __n) | |
| 52 | { | |
| 53 | 	__asm__ volatile ("cld; rep; outsl" | |
| 54 | 		 : "+S" (__buf), "+c"(__n) | |
| 55 | 		 : "d" (__port)); | |
| 56 | } | |
| 57 | ||
| 58 | static __inline void insb(unsigned short __port, void *__buf, unsigned long __n) | |
| 59 | { | |
| 60 | 	__asm__ volatile ("cld; rep; insb" | |
| 61 | 		 : "+D" (__buf), "+c" (__n) | |
| 62 | 		 : "d" (__port)); | |
| 63 | } | |
| 64 | ||
| 65 | static __inline void insw(unsigned short __port, void *__buf, unsigned long __n) | |
| 66 | { | |
| 67 | 	__asm__ volatile ("cld; rep; insw" | |
| 68 | 		 : "+D" (__buf), "+c" (__n) | |
| 69 | 		 : "d" (__port)); | |
| 70 | } | |
| 71 | ||
| 72 | static __inline void insl(unsigned short __port, void *__buf, unsigned long __n) | |
| 73 | { | |
| 74 | 	__asm__ volatile ("cld; rep; insl" | |
| 75 | 		 : "+D" (__buf), "+c" (__n) | |
| 76 | 		 : "d" (__port)); | |
| 77 | } |
lib/libc/musl/arch/x32/bits/ioctl_fix.h created+4| ... | ... | @@ -0,0 +1,4 @@ |
| 1 | #undef SIOCGSTAMP | |
| 2 | #undef SIOCGSTAMPNS | |
| 3 | #define SIOCGSTAMP 0x8906 | |
| 4 | #define SIOCGSTAMPNS 0x8907 |
lib/libc/musl/arch/x32/bits/ipc.h created+11| ... | ... | @@ -0,0 +1,11 @@ |
| 1 | struct ipc_perm { | |
| 2 | 	key_t __ipc_perm_key; | |
| 3 | 	uid_t uid; | |
| 4 | 	gid_t gid; | |
| 5 | 	uid_t cuid; | |
| 6 | 	gid_t cgid; | |
| 7 | 	mode_t mode; | |
| 8 | 	int __ipc_perm_seq; | |
| 9 | 	long long __pad1; | |
| 10 | 	long long __pad2; | |
| 11 | }; |
lib/libc/musl/arch/x32/bits/limits.h created+1| ... | ... | @@ -0,0 +1 @@ |
| 1 | #define PAGESIZE 4096 |
lib/libc/musl/arch/x32/bits/mman.h created+1| ... | ... | @@ -0,0 +1 @@ |
| 1 | #define MAP_32BIT 0x40 |
lib/libc/musl/arch/x32/bits/msg.h created+15| ... | ... | @@ -0,0 +1,15 @@ |
| 1 | struct msqid_ds { | |
| 2 | 	struct ipc_perm msg_perm; | |
| 3 | 	time_t msg_stime; | |
| 4 | 	time_t msg_rtime; | |
| 5 | 	time_t msg_ctime; | |
| 6 | 	unsigned long msg_cbytes; | |
| 7 | 	long __unused1; | |
| 8 | 	msgqnum_t msg_qnum; | |
| 9 | 	long __unused2; | |
| 10 | 	msglen_t msg_qbytes; | |
| 11 | 	long __unused3; | |
| 12 | 	pid_t msg_lspid; | |
| 13 | 	pid_t msg_lrpid; | |
| 14 | 	unsigned long long __unused[2]; | |
| 15 | }; |
lib/libc/musl/arch/x32/bits/posix.h created+2| ... | ... | @@ -0,0 +1,2 @@ |
| 1 | #define _POSIX_V6_ILP32_OFFBIG 1 | |
| 2 | #define _POSIX_V7_ILP32_OFFBIG 1 |
lib/libc/musl/arch/x32/bits/ptrace.h created+13| ... | ... | @@ -0,0 +1,13 @@ |
| 1 | #define PTRACE_GET_THREAD_AREA		25 | |
| 2 | #define PTRACE_SET_THREAD_AREA		26 | |
| 3 | #define PTRACE_ARCH_PRCTL		30 | |
| 4 | #define PTRACE_SYSEMU			31 | |
| 5 | #define PTRACE_SYSEMU_SINGLESTEP	32 | |
| 6 | #define PTRACE_SINGLEBLOCK		33 | |
| 7 | ||
| 8 | #define PT_GET_THREAD_AREA PTRACE_GET_THREAD_AREA | |
| 9 | #define PT_SET_THREAD_AREA PTRACE_SET_THREAD_AREA | |
| 10 | #define PT_ARCH_PRCTL PTRACE_ARCH_PRCTL | |
| 11 | #define PT_SYSEMU PTRACE_SYSEMU | |
| 12 | #define PT_SYSEMU_SINGLESTEP PTRACE_SYSEMU_SINGLESTEP | |
| 13 | #define PT_STEPBLOCK PTRACE_SINGLEBLOCK |
lib/libc/musl/arch/x32/bits/reg.h created+29| ... | ... | @@ -0,0 +1,29 @@ |
| 1 | #undef __WORDSIZE | |
| 2 | #define __WORDSIZE 32 | |
| 3 | #define R15 0 | |
| 4 | #define R14 1 | |
| 5 | #define R13 2 | |
| 6 | #define R12 3 | |
| 7 | #define RBP 4 | |
| 8 | #define RBX 5 | |
| 9 | #define R11 6 | |
| 10 | #define R10 7 | |
| 11 | #define R9 8 | |
| 12 | #define R8 9 | |
| 13 | #define RAX 10 | |
| 14 | #define RCX 11 | |
| 15 | #define RDX 12 | |
| 16 | #define RSI 13 | |
| 17 | #define RDI 14 | |
| 18 | #define ORIG_RAX 15 | |
| 19 | #define RIP 16 | |
| 20 | #define CS 17 | |
| 21 | #define EFLAGS 18 | |
| 22 | #define RSP 19 | |
| 23 | #define SS 20 | |
| 24 | #define FS_BASE 21 | |
| 25 | #define GS_BASE 22 | |
| 26 | #define DS 23 | |
| 27 | #define ES 24 | |
| 28 | #define FS 25 | |
| 29 | #define GS 26 |
lib/libc/musl/arch/x32/bits/sem.h created+11| ... | ... | @@ -0,0 +1,11 @@ |
| 1 | struct semid_ds { | |
| 2 | 	struct ipc_perm sem_perm; | |
| 3 | 	time_t sem_otime; | |
| 4 | 	long long __unused1; | |
| 5 | 	time_t sem_ctime; | |
| 6 | 	long long __unused2; | |
| 7 | 	unsigned short sem_nsems; | |
| 8 | 	char __sem_nsems_pad[sizeof(long long)-sizeof(short)]; | |
| 9 | 	long long __unused3; | |
| 10 | 	long long __unused4; | |
| 11 | }; |
lib/libc/musl/arch/x32/bits/setjmp.h created+1| ... | ... | @@ -0,0 +1 @@ |
| 1 | typedef unsigned long long __jmp_buf[8]; |
lib/libc/musl/arch/x32/bits/shm.h created+32| ... | ... | @@ -0,0 +1,32 @@ |
| 1 | #define SHMLBA 4096 | |
| 2 | ||
| 3 | struct shmid_ds { | |
| 4 | 	struct ipc_perm shm_perm; | |
| 5 | 	size_t shm_segsz; | |
| 6 | 	time_t shm_atime; | |
| 7 | 	time_t shm_dtime; | |
| 8 | 	time_t shm_ctime; | |
| 9 | 	pid_t shm_cpid; | |
| 10 | 	pid_t shm_lpid; | |
| 11 | 	unsigned long shm_nattch; | |
| 12 | 	unsigned long __pad0; | |
| 13 | 	unsigned long long __pad1; | |
| 14 | 	unsigned long long __pad2; | |
| 15 | }; | |
| 16 | ||
| 17 | struct shminfo { | |
| 18 | 	unsigned long shmmax, __pad0, shmmin, __pad1, shmmni, __pad2, | |
| 19 | 	 shmseg, __pad3, shmall, __pad4; | |
| 20 | 	unsigned long long __unused[4]; | |
| 21 | }; | |
| 22 | ||
| 23 | struct shm_info { | |
| 24 | 	int __used_ids; | |
| 25 | 	int __pad_ids; | |
| 26 | 	unsigned long shm_tot, __pad0, shm_rss, __pad1, shm_swp, __pad2; | |
| 27 | 	unsigned long __swap_attempts, __pad3, __swap_successes, __pad4; | |
| 28 | } | |
| 29 | #ifdef __GNUC__ | |
| 30 | __attribute__((__aligned__(8))) | |
| 31 | #endif | |
| 32 | ; |
lib/libc/musl/arch/x32/bits/signal.h created+153| ... | ... | @@ -0,0 +1,153 @@ |
| 1 | #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ | |
| 2 | || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) | |
| 3 | ||
| 4 | #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) | |
| 5 | #define MINSIGSTKSZ 2048 | |
| 6 | #define SIGSTKSZ 8192 | |
| 7 | #endif | |
| 8 | ||
| 9 | #ifdef _GNU_SOURCE | |
| 10 | enum { REG_R8 = 0 }; | |
| 11 | #define REG_R8 REG_R8 | |
| 12 | enum { REG_R9 = 1 }; | |
| 13 | #define REG_R9 REG_R9 | |
| 14 | enum { REG_R10 = 2 }; | |
| 15 | #define REG_R10 REG_R10 | |
| 16 | enum { REG_R11 = 3 }; | |
| 17 | #define REG_R11 REG_R11 | |
| 18 | enum { REG_R12 = 4 }; | |
| 19 | #define REG_R12 REG_R12 | |
| 20 | enum { REG_R13 = 5 }; | |
| 21 | #define REG_R13 REG_R13 | |
| 22 | enum { REG_R14 = 6 }; | |
| 23 | #define REG_R14 REG_R14 | |
| 24 | enum { REG_R15 = 7 }; | |
| 25 | #define REG_R15 REG_R15 | |
| 26 | enum { REG_RDI = 8 }; | |
| 27 | #define REG_RDI REG_RDI | |
| 28 | enum { REG_RSI = 9 }; | |
| 29 | #define REG_RSI REG_RSI | |
| 30 | enum { REG_RBP = 10 }; | |
| 31 | #define REG_RBP REG_RBP | |
| 32 | enum { REG_RBX = 11 }; | |
| 33 | #define REG_RBX REG_RBX | |
| 34 | enum { REG_RDX = 12 }; | |
| 35 | #define REG_RDX REG_RDX | |
| 36 | enum { REG_RAX = 13 }; | |
| 37 | #define REG_RAX REG_RAX | |
| 38 | enum { REG_RCX = 14 }; | |
| 39 | #define REG_RCX REG_RCX | |
| 40 | enum { REG_RSP = 15 }; | |
| 41 | #define REG_RSP REG_RSP | |
| 42 | enum { REG_RIP = 16 }; | |
| 43 | #define REG_RIP REG_RIP | |
| 44 | enum { REG_EFL = 17 }; | |
| 45 | #define REG_EFL REG_EFL | |
| 46 | enum { REG_CSGSFS = 18 }; | |
| 47 | #define REG_CSGSFS REG_CSGSFS | |
| 48 | enum { REG_ERR = 19 }; | |
| 49 | #define REG_ERR REG_ERR | |
| 50 | enum { REG_TRAPNO = 20 }; | |
| 51 | #define REG_TRAPNO REG_TRAPNO | |
| 52 | enum { REG_OLDMASK = 21 }; | |
| 53 | #define REG_OLDMASK REG_OLDMASK | |
| 54 | enum { REG_CR2 = 22 }; | |
| 55 | #define REG_CR2 REG_CR2 | |
| 56 | #endif | |
| 57 | ||
| 58 | #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) | |
| 59 | typedef long long greg_t, gregset_t[23]; | |
| 60 | typedef struct _fpstate { | |
| 61 | 	unsigned short cwd, swd, ftw, fop; | |
| 62 | 	unsigned long long rip, rdp; | |
| 63 | 	unsigned mxcsr, mxcr_mask; | |
| 64 | 	struct { | |
| 65 | 		unsigned short significand[4], exponent, padding[3]; | |
| 66 | 	} _st[8]; | |
| 67 | 	struct { | |
| 68 | 		unsigned element[4]; | |
| 69 | 	} _xmm[16]; | |
| 70 | 	unsigned padding[24]; | |
| 71 | } *fpregset_t; | |
| 72 | struct sigcontext { | |
| 73 | 	unsigned long long r8, r9, r10, r11, r12, r13, r14, r15; | |
| 74 | 	unsigned long long rdi, rsi, rbp, rbx, rdx, rax, rcx, rsp, rip, eflags; | |
| 75 | 	unsigned short cs, gs, fs, __pad0; | |
| 76 | 	unsigned long long err, trapno, oldmask, cr2; | |
| 77 | 	struct _fpstate *fpstate; | |
| 78 | 	unsigned long long __reserved1[8]; | |
| 79 | }; | |
| 80 | typedef struct { | |
| 81 | 	gregset_t gregs; | |
| 82 | 	fpregset_t fpregs; | |
| 83 | 	unsigned long long __reserved1[8]; | |
| 84 | } mcontext_t; | |
| 85 | #else | |
| 86 | typedef struct { | |
| 87 | 	unsigned long long __space[32]; | |
| 88 | } mcontext_t; | |
| 89 | #endif | |
| 90 | ||
| 91 | struct sigaltstack { | |
| 92 | 	void *ss_sp; | |
| 93 | 	int ss_flags; | |
| 94 | 	size_t ss_size; | |
| 95 | }; | |
| 96 | ||
| 97 | typedef struct __ucontext { | |
| 98 | 	unsigned long uc_flags; | |
| 99 | 	struct __ucontext *uc_link; | |
| 100 | 	stack_t uc_stack; | |
| 101 | 	mcontext_t uc_mcontext; | |
| 102 | 	sigset_t uc_sigmask; | |
| 103 | 	unsigned long long __fpregs_mem[64]; | |
| 104 | } ucontext_t; | |
| 105 | ||
| 106 | #define SA_NOCLDSTOP 1 | |
| 107 | #define SA_NOCLDWAIT 2 | |
| 108 | #define SA_SIGINFO 4 | |
| 109 | #define SA_ONSTACK 0x08000000 | |
| 110 | #define SA_RESTART 0x10000000 | |
| 111 | #define SA_NODEFER 0x40000000 | |
| 112 | #define SA_RESETHAND 0x80000000 | |
| 113 | #define SA_RESTORER 0x04000000 | |
| 114 | ||
| 115 | #endif | |
| 116 | ||
| 117 | #define SIGHUP 1 | |
| 118 | #define SIGINT 2 | |
| 119 | #define SIGQUIT 3 | |
| 120 | #define SIGILL 4 | |
| 121 | #define SIGTRAP 5 | |
| 122 | #define SIGABRT 6 | |
| 123 | #define SIGIOT SIGABRT | |
| 124 | #define SIGBUS 7 | |
| 125 | #define SIGFPE 8 | |
| 126 | #define SIGKILL 9 | |
| 127 | #define SIGUSR1 10 | |
| 128 | #define SIGSEGV 11 | |
| 129 | #define SIGUSR2 12 | |
| 130 | #define SIGPIPE 13 | |
| 131 | #define SIGALRM 14 | |
| 132 | #define SIGTERM 15 | |
| 133 | #define SIGSTKFLT 16 | |
| 134 | #define SIGCHLD 17 | |
| 135 | #define SIGCONT 18 | |
| 136 | #define SIGSTOP 19 | |
| 137 | #define SIGTSTP 20 | |
| 138 | #define SIGTTIN 21 | |
| 139 | #define SIGTTOU 22 | |
| 140 | #define SIGURG 23 | |
| 141 | #define SIGXCPU 24 | |
| 142 | #define SIGXFSZ 25 | |
| 143 | #define SIGVTALRM 26 | |
| 144 | #define SIGPROF 27 | |
| 145 | #define SIGWINCH 28 | |
| 146 | #define SIGIO 29 | |
| 147 | #define SIGPOLL 29 | |
| 148 | #define SIGPWR 30 | |
| 149 | #define SIGSYS 31 | |
| 150 | #define SIGUNUSED SIGSYS | |
| 151 | ||
| 152 | #define _NSIG 65 | |
| 153 |
lib/libc/musl/arch/x32/bits/socket.h created+5| ... | ... | @@ -0,0 +1,5 @@ |
| 1 | #define SO_RCVTIMEO 20 | |
| 2 | #define SO_SNDTIMEO 21 | |
| 3 | #define SO_TIMESTAMP 29 | |
| 4 | #define SO_TIMESTAMPNS 35 | |
| 5 | #define SO_TIMESTAMPING 37 |
lib/libc/musl/arch/x32/bits/stat.h created+22| ... | ... | @@ -0,0 +1,22 @@ |
| 1 | /* copied from kernel definition, but with padding replaced | |
| 2 | * by the corresponding correctly-sized userspace types. */ | |
| 3 | ||
| 4 | struct stat { | |
| 5 | 	dev_t st_dev; | |
| 6 | 	ino_t st_ino; | |
| 7 | 	nlink_t st_nlink; | |
| 8 | ||
| 9 | 	mode_t st_mode; | |
| 10 | 	uid_t st_uid; | |
| 11 | 	gid_t st_gid; | |
| 12 | 	unsigned int __pad0; | |
| 13 | 	dev_t st_rdev; | |
| 14 | 	off_t st_size; | |
| 15 | 	blksize_t st_blksize; | |
| 16 | 	blkcnt_t st_blocks; | |
| 17 | ||
| 18 | 	struct timespec st_atim; | |
| 19 | 	struct timespec st_mtim; | |
| 20 | 	struct timespec st_ctim; | |
| 21 | 	long long __unused[3]; | |
| 22 | }; |
lib/libc/musl/arch/x32/bits/statfs.h created+9| ... | ... | @@ -0,0 +1,9 @@ |
| 1 | struct statfs { | |
| 2 | 	unsigned long f_type, __pad0, f_bsize, __pad1; | |
| 3 | 	fsblkcnt_t f_blocks, f_bfree, f_bavail; | |
| 4 | 	fsfilcnt_t f_files, f_ffree; | |
| 5 | 	fsid_t f_fsid; | |
| 6 | 	unsigned long f_namelen, __pad2, f_frsize, __pad3; | |
| 7 | 	unsigned long f_flags, __pad4; | |
| 8 | 	unsigned long long f_spare[4]; | |
| 9 | }; |
lib/libc/musl/arch/x32/bits/stdint.h created+20| ... | ... | @@ -0,0 +1,20 @@ |
| 1 | typedef int32_t int_fast16_t; | |
| 2 | typedef int32_t int_fast32_t; | |
| 3 | typedef uint32_t uint_fast16_t; | |
| 4 | typedef uint32_t uint_fast32_t; | |
| 5 | ||
| 6 | #define INT_FAST16_MIN INT32_MIN | |
| 7 | #define INT_FAST32_MIN INT32_MIN | |
| 8 | ||
| 9 | #define INT_FAST16_MAX INT32_MAX | |
| 10 | #define INT_FAST32_MAX INT32_MAX | |
| 11 | ||
| 12 | #define UINT_FAST16_MAX UINT32_MAX | |
| 13 | #define UINT_FAST32_MAX UINT32_MAX | |
| 14 | ||
| 15 | #define INTPTR_MIN INT32_MIN | |
| 16 | #define INTPTR_MAX INT32_MAX | |
| 17 | #define UINTPTR_MAX UINT32_MAX | |
| 18 | #define PTRDIFF_MIN INT32_MIN | |
| 19 | #define PTRDIFF_MAX INT32_MAX | |
| 20 | #define SIZE_MAX UINT32_MAX |
lib/libc/musl/arch/x32/bits/user.h created+41| ... | ... | @@ -0,0 +1,41 @@ |
| 1 | #undef __WORDSIZE | |
| 2 | #define __WORDSIZE 32 | |
| 3 | ||
| 4 | typedef struct user_fpregs_struct { | |
| 5 | 	uint16_t cwd, swd, ftw, fop; | |
| 6 | 	uint64_t rip, rdp; | |
| 7 | 	uint32_t mxcsr, mxcr_mask; | |
| 8 | 	uint32_t st_space[32], xmm_space[64], padding[24]; | |
| 9 | } elf_fpregset_t; | |
| 10 | ||
| 11 | struct user_regs_struct { | |
| 12 | 	unsigned long r15, r14, r13, r12, rbp, rbx, r11, r10, r9, r8; | |
| 13 | 	unsigned long rax, rcx, rdx, rsi, rdi, orig_rax, rip; | |
| 14 | 	unsigned long cs, eflags, rsp, ss, fs_base, gs_base, ds, es, fs, gs; | |
| 15 | }; | |
| 16 | #define ELF_NGREG 27 | |
| 17 | typedef unsigned long long elf_greg_t, elf_gregset_t[ELF_NGREG]; | |
| 18 | ||
| 19 | struct user { | |
| 20 | 	struct user_regs_struct		regs; | |
| 21 | 	int				u_fpvalid; | |
| 22 | 	struct user_fpregs_struct	i387; | |
| 23 | 	unsigned long			u_tsize; | |
| 24 | 	unsigned long			u_dsize; | |
| 25 | 	unsigned long			u_ssize; | |
| 26 | 	unsigned long			start_code; | |
| 27 | 	unsigned long			start_stack; | |
| 28 | 	long				signal; | |
| 29 | 	int				reserved; | |
| 30 | 	struct user_regs_struct		*u_ar0; | |
| 31 | 	struct user_fpregs_struct	*u_fpstate; | |
| 32 | 	unsigned long			magic; | |
| 33 | 	char				u_comm[32]; | |
| 34 | 	unsigned long			u_debugreg[8]; | |
| 35 | }; | |
| 36 | ||
| 37 | #define PAGE_MASK		(~(PAGESIZE-1)) | |
| 38 | #define NBPG			PAGESIZE | |
| 39 | #define UPAGES			1 | |
| 40 | #define HOST_TEXT_START_ADDR	(u.start_code) | |
| 41 | #define HOST_STACK_END_ADDR	(u.start_stack + u.u_ssize * NBPG) |
lib/libc/musl/arch/x32/crt_arch.h created+12| ... | ... | @@ -0,0 +1,12 @@ |
| 1 | __asm__( | |
| 2 | ".text \n" | |
| 3 | ".global " START " \n" | |
| 4 | START ": \n" | |
| 5 | "	xor %rbp,%rbp \n" | |
| 6 | "	mov %rsp,%rdi \n" | |
| 7 | ".weak _DYNAMIC \n" | |
| 8 | ".hidden _DYNAMIC \n" | |
| 9 | "	lea _DYNAMIC(%rip),%rsi \n" | |
| 10 | "	andq $-16,%rsp \n" | |
| 11 | "	call " START "_c \n" | |
| 12 | ); |
lib/libc/musl/arch/x32/ksigaction.h created+11| ... | ... | @@ -0,0 +1,11 @@ |
| 1 | #include <features.h> | |
| 2 | ||
| 3 | struct k_sigaction { | |
| 4 | 	void (*handler)(int); | |
| 5 | 	unsigned long flags; | |
| 6 | 	void (*restorer)(void); | |
| 7 | 	unsigned mask[2]; | |
| 8 | }; | |
| 9 | ||
| 10 | hidden void __restore_rt(); | |
| 11 | #define __restore __restore_rt |
lib/libc/musl/arch/x32/kstat.h created+22| ... | ... | @@ -0,0 +1,22 @@ |
| 1 | struct kstat { | |
| 2 | 	dev_t st_dev; | |
| 3 | 	ino_t st_ino; | |
| 4 | 	nlink_t st_nlink; | |
| 5 | ||
| 6 | 	mode_t st_mode; | |
| 7 | 	uid_t st_uid; | |
| 8 | 	gid_t st_gid; | |
| 9 | 	unsigned int __pad0; | |
| 10 | 	dev_t st_rdev; | |
| 11 | 	off_t st_size; | |
| 12 | 	blksize_t st_blksize; | |
| 13 | 	blkcnt_t st_blocks; | |
| 14 | ||
| 15 | 	long long st_atime_sec; | |
| 16 | 	long st_atime_nsec; | |
| 17 | 	long long st_mtime_sec; | |
| 18 | 	long st_mtime_nsec; | |
| 19 | 	long long st_ctime_sec; | |
| 20 | 	long st_ctime_nsec; | |
| 21 | 	long long __unused[3]; | |
| 22 | }; |
lib/libc/musl/arch/x32/pthread_arch.h created+12| ... | ... | @@ -0,0 +1,12 @@ |
| 1 | static inline uintptr_t __get_tp() | |
| 2 | { | |
| 3 | 	uintptr_t tp; | |
| 4 | 	__asm__ ("mov %%fs:0,%0" : "=r" (tp) ); | |
| 5 | 	return tp; | |
| 6 | } | |
| 7 | ||
| 8 | #define MC_PC gregs[REG_RIP] | |
| 9 | ||
| 10 | #define CANARY_PAD | |
| 11 | ||
| 12 | #define tls_mod_off_t unsigned long long |
lib/libc/musl/arch/x32/reloc.h created+31| ... | ... | @@ -0,0 +1,31 @@ |
| 1 | #define LDSO_ARCH "x32" | |
| 2 | ||
| 3 | /* FIXME: x32 is very strange in its use of 64-bit relocation types in | |
| 4 | * a 32-bit environment. As long as the memory at reloc_addr is | |
| 5 | * zero-filled prior to relocations, just treating 64-bit relocations | |
| 6 | * as operating on 32-bit slots should be fine, but this should be | |
| 7 | * checked. In particular, R_X86_64_64, R_X86_64_DTPOFF64, and | |
| 8 | * R_X86_64_TPOFF64 may need checking. */ | |
| 9 | ||
| 10 | /* The R_X86_64_64, R_X86_64_DTPOFF32, and R_X86_64_TPOFF32 reloc types | |
| 11 | * were previously mapped in the switch table form of this file; however, | |
| 12 | * they do not seem to be used/usable for anything. If needed, new | |
| 13 | * mappings will have to be added. */ | |
| 14 | ||
| 15 | #define REL_SYMBOLIC R_X86_64_32 | |
| 16 | #define REL_OFFSET R_X86_64_PC32 | |
| 17 | #define REL_GOT R_X86_64_GLOB_DAT | |
| 18 | #define REL_PLT R_X86_64_JUMP_SLOT | |
| 19 | #define REL_RELATIVE R_X86_64_RELATIVE | |
| 20 | #define REL_COPY R_X86_64_COPY | |
| 21 | #define REL_DTPMOD R_X86_64_DTPMOD64 | |
| 22 | #define REL_DTPOFF R_X86_64_DTPOFF64 | |
| 23 | #define REL_TPOFF R_X86_64_TPOFF64 | |
| 24 | ||
| 25 | #define CRTJMP(pc,sp) __asm__ __volatile__( \ | |
| 26 | 	"mov %1,%%esp ; jmp *%0" : : "r"((uint64_t)(uintptr_t)pc), "r"(sp) : "memory" ) | |
| 27 | ||
| 28 | #define GETFUNCSYM(fp, sym, got) __asm__ ( \ | |
| 29 | 	".hidden " #sym "\n" \ | |
| 30 | 	"	lea " #sym "(%%rip),%0\n" \ | |
| 31 | 	: "=r"(*fp) : : "memory" ) |
lib/libc/musl/arch/x32/syscall_arch.h created+93| ... | ... | @@ -0,0 +1,93 @@ |
| 1 | #define __SYSCALL_LL_E(x) (x) | |
| 2 | #define __SYSCALL_LL_O(x) (x) | |
| 3 | ||
| 4 | #define __scc(X) sizeof(1?(X):0ULL) < 8 ? (unsigned long) (X) : (long long) (X) | |
| 5 | typedef long long syscall_arg_t; | |
| 6 | ||
| 7 | static __inline long __syscall0(long long n) | |
| 8 | { | |
| 9 | 	unsigned long ret; | |
| 10 | 	__asm__ __volatile__ ("syscall" : "=a"(ret) : "a"(n) : "rcx", "r11", "memory"); | |
| 11 | 	return ret; | |
| 12 | } | |
| 13 | ||
| 14 | static __inline long __syscall1(long long n, long long a1) | |
| 15 | { | |
| 16 | 	unsigned long ret; | |
| 17 | 	__asm__ __volatile__ ("syscall" : "=a"(ret) : "a"(n), "D"(a1) : "rcx", "r11", "memory"); | |
| 18 | 	return ret; | |
| 19 | } | |
| 20 | ||
| 21 | static __inline long __syscall2(long long n, long long a1, long long a2) | |
| 22 | { | |
| 23 | 	unsigned long ret; | |
| 24 | 	__asm__ __volatile__ ("syscall" : "=a"(ret) : "a"(n), "D"(a1), "S"(a2) | |
| 25 | 					: "rcx", "r11", "memory"); | |
| 26 | 	return ret; | |
| 27 | } | |
| 28 | ||
| 29 | static __inline long __syscall3(long long n, long long a1, long long a2, long long a3) | |
| 30 | { | |
| 31 | 	unsigned long ret; | |
| 32 | 	__asm__ __volatile__ ("syscall" : "=a"(ret) : "a"(n), "D"(a1), "S"(a2), | |
| 33 | 						 "d"(a3) : "rcx", "r11", "memory"); | |
| 34 | 	return ret; | |
| 35 | } | |
| 36 | ||
| 37 | static __inline long __syscall4(long long n, long long a1, long long a2, long long a3, | |
| 38 | long long a4_) | |
| 39 | { | |
| 40 | 	unsigned long ret; | |
| 41 | 	register long long a4 __asm__("r10") = a4_; | |
| 42 | 	__asm__ __volatile__ ("syscall" : "=a"(ret) : "a"(n), "D"(a1), "S"(a2), | |
| 43 | 					 "d"(a3), "r"(a4): "rcx", "r11", "memory"); | |
| 44 | 	return ret; | |
| 45 | } | |
| 46 | ||
| 47 | static __inline long __syscall5(long long n, long long a1, long long a2, long long a3, | |
| 48 | long long a4_, long long a5_) | |
| 49 | { | |
| 50 | 	unsigned long ret; | |
| 51 | 	register long long a4 __asm__("r10") = a4_; | |
| 52 | 	register long long a5 __asm__("r8") = a5_; | |
| 53 | 	__asm__ __volatile__ ("syscall" : "=a"(ret) : "a"(n), "D"(a1), "S"(a2), | |
| 54 | 					 "d"(a3), "r"(a4), "r"(a5) : "rcx", "r11", "memory"); | |
| 55 | 	return ret; | |
| 56 | } | |
| 57 | ||
| 58 | static __inline long __syscall6(long long n, long long a1, long long a2, long long a3, | |
| 59 | long long a4_, long long a5_, long long a6_) | |
| 60 | { | |
| 61 | 	unsigned long ret; | |
| 62 | 	register long long a4 __asm__("r10") = a4_; | |
| 63 | 	register long long a5 __asm__("r8") = a5_; | |
| 64 | 	register long long a6 __asm__("r9") = a6_; | |
| 65 | 	__asm__ __volatile__ ("syscall" : "=a"(ret) : "a"(n), "D"(a1), "S"(a2), | |
| 66 | 					 "d"(a3), "r"(a4), "r"(a5), "r"(a6) : "rcx", "r11", "memory"); | |
| 67 | 	return ret; | |
| 68 | } | |
| 69 | ||
| 70 | #undef SYS_futimesat | |
| 71 | ||
| 72 | #define SYS_clock_gettime64 SYS_clock_gettime | |
| 73 | #define SYS_clock_settime64 SYS_clock_settime | |
| 74 | #define SYS_clock_adjtime64 SYS_clock_adjtime | |
| 75 | #define SYS_clock_nanosleep_time64 SYS_clock_nanosleep | |
| 76 | #define SYS_timer_gettime64 SYS_timer_gettime | |
| 77 | #define SYS_timer_settime64 SYS_timer_settime | |
| 78 | #define SYS_timerfd_gettime64 SYS_timerfd_gettime | |
| 79 | #define SYS_timerfd_settime64 SYS_timerfd_settime | |
| 80 | #define SYS_utimensat_time64 SYS_utimensat | |
| 81 | #define SYS_pselect6_time64 SYS_pselect6 | |
| 82 | #define SYS_ppoll_time64 SYS_ppoll | |
| 83 | #define SYS_recvmmsg_time64 SYS_recvmmsg | |
| 84 | #define SYS_mq_timedsend_time64 SYS_mq_timedsend | |
| 85 | #define SYS_mq_timedreceive_time64 SYS_mq_timedreceive | |
| 86 | #define SYS_semtimedop_time64 SYS_semtimedop | |
| 87 | #define SYS_rt_sigtimedwait_time64 SYS_rt_sigtimedwait | |
| 88 | #define SYS_futex_time64 SYS_futex | |
| 89 | #define SYS_sched_rr_get_interval_time64 SYS_sched_rr_get_interval | |
| 90 | #define SYS_getrusage_time64 SYS_getrusage | |
| 91 | #define SYS_wait4_time64 SYS_wait4 | |
| 92 | ||
| 93 | #define IPC_64 0 |
lib/libc/musl/arch/x86_64/bits/alltypes.h.in deleted-20| ... | ... | @@ -1,20 +0,0 @@ |
| 1 | #define _Addr long | |
| 2 | #define _Int64 long | |
| 3 | #define _Reg long | |
| 4 | ||
| 5 | #define __BYTE_ORDER 1234 | |
| 6 | #define __LONG_MAX 0x7fffffffffffffffL | |
| 7 | ||
| 8 | #ifndef __cplusplus | |
| 9 | TYPEDEF int wchar_t; | |
| 10 | #endif | |
| 11 | ||
| 12 | #if defined(__FLT_EVAL_METHOD__) && __FLT_EVAL_METHOD__ == 2 | |
| 13 | TYPEDEF long double float_t; | |
| 14 | TYPEDEF long double double_t; | |
| 15 | #else | |
| 16 | TYPEDEF float float_t; | |
| 17 | TYPEDEF double double_t; | |
| 18 | #endif | |
| 19 | ||
| 20 | TYPEDEF struct { long long __ll; long double __ld; } max_align_t; |
lib/libc/musl/arch/x86_64/bits/syscall.h.in deleted-364| ... | ... | @@ -1,364 +0,0 @@ |
| 1 | #define __NR_read				0 | |
| 2 | #define __NR_write				1 | |
| 3 | #define __NR_open				2 | |
| 4 | #define __NR_close				3 | |
| 5 | #define __NR_stat				4 | |
| 6 | #define __NR_fstat				5 | |
| 7 | #define __NR_lstat				6 | |
| 8 | #define __NR_poll				7 | |
| 9 | #define __NR_lseek				8 | |
| 10 | #define __NR_mmap				9 | |
| 11 | #define __NR_mprotect			10 | |
| 12 | #define __NR_munmap				11 | |
| 13 | #define __NR_brk				12 | |
| 14 | #define __NR_rt_sigaction		13 | |
| 15 | #define __NR_rt_sigprocmask		14 | |
| 16 | #define __NR_rt_sigreturn		15 | |
| 17 | #define __NR_ioctl				16 | |
| 18 | #define __NR_pread64			17 | |
| 19 | #define __NR_pwrite64			18 | |
| 20 | #define __NR_readv				19 | |
| 21 | #define __NR_writev				20 | |
| 22 | #define __NR_access				21 | |
| 23 | #define __NR_pipe				22 | |
| 24 | #define __NR_select				23 | |
| 25 | #define __NR_sched_yield		24 | |
| 26 | #define __NR_mremap				25 | |
| 27 | #define __NR_msync				26 | |
| 28 | #define __NR_mincore			27 | |
| 29 | #define __NR_madvise			28 | |
| 30 | #define __NR_shmget				29 | |
| 31 | #define __NR_shmat				30 | |
| 32 | #define __NR_shmctl				31 | |
| 33 | #define __NR_dup				32 | |
| 34 | #define __NR_dup2				33 | |
| 35 | #define __NR_pause				34 | |
| 36 | #define __NR_nanosleep			35 | |
| 37 | #define __NR_getitimer			36 | |
| 38 | #define __NR_alarm				37 | |
| 39 | #define __NR_setitimer			38 | |
| 40 | #define __NR_getpid				39 | |
| 41 | #define __NR_sendfile			40 | |
| 42 | #define __NR_socket				41 | |
| 43 | #define __NR_connect			42 | |
| 44 | #define __NR_accept				43 | |
| 45 | #define __NR_sendto				44 | |
| 46 | #define __NR_recvfrom			45 | |
| 47 | #define __NR_sendmsg			46 | |
| 48 | #define __NR_recvmsg			47 | |
| 49 | #define __NR_shutdown			48 | |
| 50 | #define __NR_bind				49 | |
| 51 | #define __NR_listen				50 | |
| 52 | #define __NR_getsockname		51 | |
| 53 | #define __NR_getpeername		52 | |
| 54 | #define __NR_socketpair			53 | |
| 55 | #define __NR_setsockopt			54 | |
| 56 | #define __NR_getsockopt			55 | |
| 57 | #define __NR_clone				56 | |
| 58 | #define __NR_fork				57 | |
| 59 | #define __NR_vfork				58 | |
| 60 | #define __NR_execve				59 | |
| 61 | #define __NR_exit				60 | |
| 62 | #define __NR_wait4				61 | |
| 63 | #define __NR_kill				62 | |
| 64 | #define __NR_uname				63 | |
| 65 | #define __NR_semget				64 | |
| 66 | #define __NR_semop				65 | |
| 67 | #define __NR_semctl				66 | |
| 68 | #define __NR_shmdt				67 | |
| 69 | #define __NR_msgget				68 | |
| 70 | #define __NR_msgsnd				69 | |
| 71 | #define __NR_msgrcv				70 | |
| 72 | #define __NR_msgctl				71 | |
| 73 | #define __NR_fcntl				72 | |
| 74 | #define __NR_flock				73 | |
| 75 | #define __NR_fsync				74 | |
| 76 | #define __NR_fdatasync			75 | |
| 77 | #define __NR_truncate			76 | |
| 78 | #define __NR_ftruncate			77 | |
| 79 | #define __NR_getdents			78 | |
| 80 | #define __NR_getcwd				79 | |
| 81 | #define __NR_chdir				80 | |
| 82 | #define __NR_fchdir				81 | |
| 83 | #define __NR_rename				82 | |
| 84 | #define __NR_mkdir				83 | |
| 85 | #define __NR_rmdir				84 | |
| 86 | #define __NR_creat				85 | |
| 87 | #define __NR_link				86 | |
| 88 | #define __NR_unlink				87 | |
| 89 | #define __NR_symlink			88 | |
| 90 | #define __NR_readlink			89 | |
| 91 | #define __NR_chmod				90 | |
| 92 | #define __NR_fchmod				91 | |
| 93 | #define __NR_chown				92 | |
| 94 | #define __NR_fchown				93 | |
| 95 | #define __NR_lchown				94 | |
| 96 | #define __NR_umask				95 | |
| 97 | #define __NR_gettimeofday		96 | |
| 98 | #define __NR_getrlimit			97 | |
| 99 | #define __NR_getrusage			98 | |
| 100 | #define __NR_sysinfo			99 | |
| 101 | #define __NR_times				100 | |
| 102 | #define __NR_ptrace				101 | |
| 103 | #define __NR_getuid				102 | |
| 104 | #define __NR_syslog				103 | |
| 105 | #define __NR_getgid				104 | |
| 106 | #define __NR_setuid				105 | |
| 107 | #define __NR_setgid				106 | |
| 108 | #define __NR_geteuid			107 | |
| 109 | #define __NR_getegid			108 | |
| 110 | #define __NR_setpgid			109 | |
| 111 | #define __NR_getppid			110 | |
| 112 | #define __NR_getpgrp			111 | |
| 113 | #define __NR_setsid				112 | |
| 114 | #define __NR_setreuid			113 | |
| 115 | #define __NR_setregid			114 | |
| 116 | #define __NR_getgroups			115 | |
| 117 | #define __NR_setgroups			116 | |
| 118 | #define __NR_setresuid			117 | |
| 119 | #define __NR_getresuid			118 | |
| 120 | #define __NR_setresgid			119 | |
| 121 | #define __NR_getresgid			120 | |
| 122 | #define __NR_getpgid			121 | |
| 123 | #define __NR_setfsuid			122 | |
| 124 | #define __NR_setfsgid			123 | |
| 125 | #define __NR_getsid				124 | |
| 126 | #define __NR_capget				125 | |
| 127 | #define __NR_capset				126 | |
| 128 | #define __NR_rt_sigpending		127 | |
| 129 | #define __NR_rt_sigtimedwait	128 | |
| 130 | #define __NR_rt_sigqueueinfo	129 | |
| 131 | #define __NR_rt_sigsuspend		130 | |
| 132 | #define __NR_sigaltstack		131 | |
| 133 | #define __NR_utime				132 | |
| 134 | #define __NR_mknod				133 | |
| 135 | #define __NR_uselib				134 | |
| 136 | #define __NR_personality		135 | |
| 137 | #define __NR_ustat				136 | |
| 138 | #define __NR_statfs				137 | |
| 139 | #define __NR_fstatfs			138 | |
| 140 | #define __NR_sysfs				139 | |
| 141 | #define __NR_getpriority			140 | |
| 142 | #define __NR_setpriority			141 | |
| 143 | #define __NR_sched_setparam			142 | |
| 144 | #define __NR_sched_getparam			143 | |
| 145 | #define __NR_sched_setscheduler		144 | |
| 146 | #define __NR_sched_getscheduler		145 | |
| 147 | #define __NR_sched_get_priority_max	146 | |
| 148 | #define __NR_sched_get_priority_min	147 | |
| 149 | #define __NR_sched_rr_get_interval	148 | |
| 150 | #define __NR_mlock					149 | |
| 151 | #define __NR_munlock				150 | |
| 152 | #define __NR_mlockall				151 | |
| 153 | #define __NR_munlockall				152 | |
| 154 | #define __NR_vhangup				153 | |
| 155 | #define __NR_modify_ldt				154 | |
| 156 | #define __NR_pivot_root				155 | |
| 157 | #define __NR__sysctl				156 | |
| 158 | #define __NR_prctl					157 | |
| 159 | #define __NR_arch_prctl				158 | |
| 160 | #define __NR_adjtimex				159 | |
| 161 | #define __NR_setrlimit				160 | |
| 162 | #define __NR_chroot					161 | |
| 163 | #define __NR_sync					162 | |
| 164 | #define __NR_acct					163 | |
| 165 | #define __NR_settimeofday			164 | |
| 166 | #define __NR_mount					165 | |
| 167 | #define __NR_umount2				166 | |
| 168 | #define __NR_swapon					167 | |
| 169 | #define __NR_swapoff				168 | |
| 170 | #define __NR_reboot					169 | |
| 171 | #define __NR_sethostname			170 | |
| 172 | #define __NR_setdomainname			171 | |
| 173 | #define __NR_iopl					172 | |
| 174 | #define __NR_ioperm					173 | |
| 175 | #define __NR_create_module			174 | |
| 176 | #define __NR_init_module			175 | |
| 177 | #define __NR_delete_module			176 | |
| 178 | #define __NR_get_kernel_syms		177 | |
| 179 | #define __NR_query_module			178 | |
| 180 | #define __NR_quotactl				179 | |
| 181 | #define __NR_nfsservctl				180 | |
| 182 | #define __NR_getpmsg				181 | |
| 183 | #define __NR_putpmsg				182 | |
| 184 | #define __NR_afs_syscall			183 | |
| 185 | #define __NR_tuxcall				184 | |
| 186 | #define __NR_security				185 | |
| 187 | #define __NR_gettid					186 | |
| 188 | #define __NR_readahead				187 | |
| 189 | #define __NR_setxattr				188 | |
| 190 | #define __NR_lsetxattr				189 | |
| 191 | #define __NR_fsetxattr				190 | |
| 192 | #define __NR_getxattr				191 | |
| 193 | #define __NR_lgetxattr				192 | |
| 194 | #define __NR_fgetxattr				193 | |
| 195 | #define __NR_listxattr				194 | |
| 196 | #define __NR_llistxattr				195 | |
| 197 | #define __NR_flistxattr				196 | |
| 198 | #define __NR_removexattr			197 | |
| 199 | #define __NR_lremovexattr			198 | |
| 200 | #define __NR_fremovexattr			199 | |
| 201 | #define __NR_tkill					200 | |
| 202 | #define __NR_time					201 | |
| 203 | #define __NR_futex					202 | |
| 204 | #define __NR_sched_setaffinity		203 | |
| 205 | #define __NR_sched_getaffinity		204 | |
| 206 | #define __NR_set_thread_area		205 | |
| 207 | #define __NR_io_setup				206 | |
| 208 | #define __NR_io_destroy				207 | |
| 209 | #define __NR_io_getevents			208 | |
| 210 | #define __NR_io_submit				209 | |
| 211 | #define __NR_io_cancel				210 | |
| 212 | #define __NR_get_thread_area		211 | |
| 213 | #define __NR_lookup_dcookie			212 | |
| 214 | #define __NR_epoll_create			213 | |
| 215 | #define __NR_epoll_ctl_old			214 | |
| 216 | #define __NR_epoll_wait_old			215 | |
| 217 | #define __NR_remap_file_pages		216 | |
| 218 | #define __NR_getdents64				217 | |
| 219 | #define __NR_set_tid_address		218 | |
| 220 | #define __NR_restart_syscall		219 | |
| 221 | #define __NR_semtimedop				220 | |
| 222 | #define __NR_fadvise64				221 | |
| 223 | #define __NR_timer_create			222 | |
| 224 | #define __NR_timer_settime			223 | |
| 225 | #define __NR_timer_gettime			224 | |
| 226 | #define __NR_timer_getoverrun		225 | |
| 227 | #define __NR_timer_delete			226 | |
| 228 | #define __NR_clock_settime			227 | |
| 229 | #define __NR_clock_gettime			228 | |
| 230 | #define __NR_clock_getres			229 | |
| 231 | #define __NR_clock_nanosleep		230 | |
| 232 | #define __NR_exit_group				231 | |
| 233 | #define __NR_epoll_wait				232 | |
| 234 | #define __NR_epoll_ctl				233 | |
| 235 | #define __NR_tgkill					234 | |
| 236 | #define __NR_utimes					235 | |
| 237 | #define __NR_vserver				236 | |
| 238 | #define __NR_mbind					237 | |
| 239 | #define __NR_set_mempolicy			238 | |
| 240 | #define __NR_get_mempolicy			239 | |
| 241 | #define __NR_mq_open				240 | |
| 242 | #define __NR_mq_unlink				241 | |
| 243 | #define __NR_mq_timedsend			242 | |
| 244 | #define __NR_mq_timedreceive		243 | |
| 245 | #define __NR_mq_notify				244 | |
| 246 | #define __NR_mq_getsetattr			245 | |
| 247 | #define __NR_kexec_load				246 | |
| 248 | #define __NR_waitid					247 | |
| 249 | #define __NR_add_key				248 | |
| 250 | #define __NR_request_key			249 | |
| 251 | #define __NR_keyctl					250 | |
| 252 | #define __NR_ioprio_set				251 | |
| 253 | #define __NR_ioprio_get				252 | |
| 254 | #define __NR_inotify_init			253 | |
| 255 | #define __NR_inotify_add_watch		254 | |
| 256 | #define __NR_inotify_rm_watch		255 | |
| 257 | #define __NR_migrate_pages			256 | |
| 258 | #define __NR_openat					257 | |
| 259 | #define __NR_mkdirat				258 | |
| 260 | #define __NR_mknodat				259 | |
| 261 | #define __NR_fchownat				260 | |
| 262 | #define __NR_futimesat				261 | |
| 263 | #define __NR_newfstatat				262 | |
| 264 | #define __NR_unlinkat				263 | |
| 265 | #define __NR_renameat				264 | |
| 266 | #define __NR_linkat					265 | |
| 267 | #define __NR_symlinkat				266 | |
| 268 | #define __NR_readlinkat				267 | |
| 269 | #define __NR_fchmodat				268 | |
| 270 | #define __NR_faccessat				269 | |
| 271 | #define __NR_pselect6				270 | |
| 272 | #define __NR_ppoll					271 | |
| 273 | #define __NR_unshare				272 | |
| 274 | #define __NR_set_robust_list		273 | |
| 275 | #define __NR_get_robust_list		274 | |
| 276 | #define __NR_splice					275 | |
| 277 | #define __NR_tee					276 | |
| 278 | #define __NR_sync_file_range		277 | |
| 279 | #define __NR_vmsplice				278 | |
| 280 | #define __NR_move_pages				279 | |
| 281 | #define __NR_utimensat				280 | |
| 282 | #define __NR_epoll_pwait			281 | |
| 283 | #define __NR_signalfd				282 | |
| 284 | #define __NR_timerfd_create			283 | |
| 285 | #define __NR_eventfd				284 | |
| 286 | #define __NR_fallocate				285 | |
| 287 | #define __NR_timerfd_settime		286 | |
| 288 | #define __NR_timerfd_gettime		287 | |
| 289 | #define __NR_accept4				288 | |
| 290 | #define __NR_signalfd4				289 | |
| 291 | #define __NR_eventfd2				290 | |
| 292 | #define __NR_epoll_create1			291 | |
| 293 | #define __NR_dup3					292 | |
| 294 | #define __NR_pipe2					293 | |
| 295 | #define __NR_inotify_init1			294 | |
| 296 | #define __NR_preadv					295 | |
| 297 | #define __NR_pwritev				296 | |
| 298 | #define __NR_rt_tgsigqueueinfo		297 | |
| 299 | #define __NR_perf_event_open		298 | |
| 300 | #define __NR_recvmmsg				299 | |
| 301 | #define __NR_fanotify_init			300 | |
| 302 | #define __NR_fanotify_mark			301 | |
| 303 | #define __NR_prlimit64				302 | |
| 304 | #define __NR_name_to_handle_at			303 | |
| 305 | #define __NR_open_by_handle_at			304 | |
| 306 | #define __NR_clock_adjtime			305 | |
| 307 | #define __NR_syncfs				306 | |
| 308 | #define __NR_sendmmsg				307 | |
| 309 | #define __NR_setns				308 | |
| 310 | #define __NR_getcpu				309 | |
| 311 | #define __NR_process_vm_readv			310 | |
| 312 | #define __NR_process_vm_writev			311 | |
| 313 | #define __NR_kcmp				312 | |
| 314 | #define __NR_finit_module			313 | |
| 315 | #define __NR_sched_setattr			314 | |
| 316 | #define __NR_sched_getattr			315 | |
| 317 | #define __NR_renameat2				316 | |
| 318 | #define __NR_seccomp				317 | |
| 319 | #define __NR_getrandom				318 | |
| 320 | #define __NR_memfd_create			319 | |
| 321 | #define __NR_kexec_file_load			320 | |
| 322 | #define __NR_bpf				321 | |
| 323 | #define __NR_execveat				322 | |
| 324 | #define __NR_userfaultfd			323 | |
| 325 | #define __NR_membarrier				324 | |
| 326 | #define __NR_mlock2				325 | |
| 327 | #define __NR_copy_file_range			326 | |
| 328 | #define __NR_preadv2				327 | |
| 329 | #define __NR_pwritev2				328 | |
| 330 | #define __NR_pkey_mprotect			329 | |
| 331 | #define __NR_pkey_alloc				330 | |
| 332 | #define __NR_pkey_free				331 | |
| 333 | #define __NR_statx				332 | |
| 334 | #define __NR_io_pgetevents			333 | |
| 335 | #define __NR_rseq				334 | |
| 336 | #define __NR_pidfd_send_signal			424 | |
| 337 | #define __NR_io_uring_setup			425 | |
| 338 | #define __NR_io_uring_enter			426 | |
| 339 | #define __NR_io_uring_register			427 | |
| 340 | #define __NR_open_tree		428 | |
| 341 | #define __NR_move_mount		429 | |
| 342 | #define __NR_fsopen		430 | |
| 343 | #define __NR_fsconfig		431 | |
| 344 | #define __NR_fsmount		432 | |
| 345 | #define __NR_fspick		433 | |
| 346 | #define __NR_pidfd_open		434 | |
| 347 | #define __NR_clone3		435 | |
| 348 | #define __NR_close_range	436 | |
| 349 | #define __NR_openat2		437 | |
| 350 | #define __NR_pidfd_getfd	438 | |
| 351 | #define __NR_faccessat2		439 | |
| 352 | #define __NR_process_madvise	440 | |
| 353 | #define __NR_epoll_pwait2	441 | |
| 354 | #define __NR_mount_setattr	442 | |
| 355 | #define __NR_landlock_create_ruleset	444 | |
| 356 | #define __NR_landlock_add_rule	445 | |
| 357 | #define __NR_landlock_restrict_self	446 | |
| 358 | #define __NR_memfd_secret	447 | |
| 359 | #define __NR_process_mrelease	448 | |
| 360 | #define __NR_futex_waitv	449 | |
| 361 | #define __NR_set_mempolicy_home_node	450 | |
| 362 | #define __NR_cachestat		451 | |
| 363 | #define __NR_fchmodat2		452 | |
| 364 |
lib/libc/musl/crt/mipsn32/crtn.s+4-2| ... | ... | @@ -2,11 +2,13 @@ |
| 2 | 2 | .section	.init |
| 3 | 3 | 	ld	$gp, 16($sp) |
| 4 | 4 | 	ld	$ra, 24($sp) |
| 5 | 	j	$ra | |
| 5 | 	# zig patch: j <reg> -> jr <reg> for https://github.com/ziglang/zig/issues/21315 | |
| 6 | 	jr $ra | |
| 6 | 7 | 	addu	$sp, $sp, 32 |
| 7 | 8 | |
| 8 | 9 | .section	.fini |
| 9 | 10 | 	ld	$gp, 16($sp) |
| 10 | 11 | 	ld	$ra, 24($sp) |
| 11 | 	j	$ra | |
| 12 | 	# zig patch: j <reg> -> jr <reg> for https://github.com/ziglang/zig/issues/21315 | |
| 13 | 	jr $ra | |
| 12 | 14 | 	addu	$sp, $sp, 32 |
lib/libc/musl/include/alltypes.h.in deleted-95| ... | ... | @@ -1,95 +0,0 @@ |
| 1 | #define __LITTLE_ENDIAN 1234 | |
| 2 | #define __BIG_ENDIAN 4321 | |
| 3 | #define __USE_TIME_BITS64 1 | |
| 4 | ||
| 5 | TYPEDEF unsigned _Addr size_t; | |
| 6 | TYPEDEF unsigned _Addr uintptr_t; | |
| 7 | TYPEDEF _Addr ptrdiff_t; | |
| 8 | TYPEDEF _Addr ssize_t; | |
| 9 | TYPEDEF _Addr intptr_t; | |
| 10 | TYPEDEF _Addr regoff_t; | |
| 11 | TYPEDEF _Reg register_t; | |
| 12 | TYPEDEF _Int64 time_t; | |
| 13 | TYPEDEF _Int64 suseconds_t; | |
| 14 | ||
| 15 | TYPEDEF signed char int8_t; | |
| 16 | TYPEDEF signed short int16_t; | |
| 17 | TYPEDEF signed int int32_t; | |
| 18 | TYPEDEF signed _Int64 int64_t; | |
| 19 | TYPEDEF signed _Int64 intmax_t; | |
| 20 | TYPEDEF unsigned char uint8_t; | |
| 21 | TYPEDEF unsigned short uint16_t; | |
| 22 | TYPEDEF unsigned int uint32_t; | |
| 23 | TYPEDEF unsigned _Int64 uint64_t; | |
| 24 | TYPEDEF unsigned _Int64 u_int64_t; | |
| 25 | TYPEDEF unsigned _Int64 uintmax_t; | |
| 26 | ||
| 27 | TYPEDEF unsigned mode_t; | |
| 28 | TYPEDEF unsigned _Reg nlink_t; | |
| 29 | TYPEDEF _Int64 off_t; | |
| 30 | TYPEDEF unsigned _Int64 ino_t; | |
| 31 | TYPEDEF unsigned _Int64 dev_t; | |
| 32 | TYPEDEF long blksize_t; | |
| 33 | TYPEDEF _Int64 blkcnt_t; | |
| 34 | TYPEDEF unsigned _Int64 fsblkcnt_t; | |
| 35 | TYPEDEF unsigned _Int64 fsfilcnt_t; | |
| 36 | ||
| 37 | TYPEDEF unsigned wint_t; | |
| 38 | TYPEDEF unsigned long wctype_t; | |
| 39 | ||
| 40 | TYPEDEF void * timer_t; | |
| 41 | TYPEDEF int clockid_t; | |
| 42 | TYPEDEF long clock_t; | |
| 43 | STRUCT timeval { time_t tv_sec; suseconds_t tv_usec; }; | |
| 44 | STRUCT timespec { time_t tv_sec; int :8*(sizeof(time_t)-sizeof(long))*(__BYTE_ORDER==4321); long tv_nsec; int :8*(sizeof(time_t)-sizeof(long))*(__BYTE_ORDER!=4321); }; | |
| 45 | ||
| 46 | TYPEDEF int pid_t; | |
| 47 | TYPEDEF unsigned id_t; | |
| 48 | TYPEDEF unsigned uid_t; | |
| 49 | TYPEDEF unsigned gid_t; | |
| 50 | TYPEDEF int key_t; | |
| 51 | TYPEDEF unsigned useconds_t; | |
| 52 | ||
| 53 | #ifdef __cplusplus | |
| 54 | TYPEDEF unsigned long pthread_t; | |
| 55 | #else | |
| 56 | TYPEDEF struct __pthread * pthread_t; | |
| 57 | #endif | |
| 58 | TYPEDEF int pthread_once_t; | |
| 59 | TYPEDEF unsigned pthread_key_t; | |
| 60 | TYPEDEF int pthread_spinlock_t; | |
| 61 | TYPEDEF struct { unsigned __attr; } pthread_mutexattr_t; | |
| 62 | TYPEDEF struct { unsigned __attr; } pthread_condattr_t; | |
| 63 | TYPEDEF struct { unsigned __attr; } pthread_barrierattr_t; | |
| 64 | TYPEDEF struct { unsigned __attr[2]; } pthread_rwlockattr_t; | |
| 65 | ||
| 66 | STRUCT _IO_FILE { char __x; }; | |
| 67 | TYPEDEF struct _IO_FILE FILE; | |
| 68 | ||
| 69 | TYPEDEF __builtin_va_list va_list; | |
| 70 | TYPEDEF __builtin_va_list __isoc_va_list; | |
| 71 | ||
| 72 | TYPEDEF struct __mbstate_t { unsigned __opaque1, __opaque2; } mbstate_t; | |
| 73 | ||
| 74 | TYPEDEF struct __locale_struct * locale_t; | |
| 75 | ||
| 76 | TYPEDEF struct __sigset_t { unsigned long __bits[128/sizeof(long)]; } sigset_t; | |
| 77 | ||
| 78 | STRUCT iovec { void *iov_base; size_t iov_len; }; | |
| 79 | ||
| 80 | STRUCT winsize { unsigned short ws_row, ws_col, ws_xpixel, ws_ypixel; }; | |
| 81 | ||
| 82 | TYPEDEF unsigned socklen_t; | |
| 83 | TYPEDEF unsigned short sa_family_t; | |
| 84 | ||
| 85 | TYPEDEF struct { union { int __i[sizeof(long)==8?14:9]; volatile int __vi[sizeof(long)==8?14:9]; unsigned long __s[sizeof(long)==8?7:9]; } __u; } pthread_attr_t; | |
| 86 | TYPEDEF struct { union { int __i[sizeof(long)==8?10:6]; volatile int __vi[sizeof(long)==8?10:6]; volatile void *volatile __p[sizeof(long)==8?5:6]; } __u; } pthread_mutex_t; | |
| 87 | TYPEDEF struct { union { int __i[sizeof(long)==8?10:6]; volatile int __vi[sizeof(long)==8?10:6]; volatile void *volatile __p[sizeof(long)==8?5:6]; } __u; } mtx_t; | |
| 88 | TYPEDEF struct { union { int __i[12]; volatile int __vi[12]; void *__p[12*sizeof(int)/sizeof(void*)]; } __u; } pthread_cond_t; | |
| 89 | TYPEDEF struct { union { int __i[12]; volatile int __vi[12]; void *__p[12*sizeof(int)/sizeof(void*)]; } __u; } cnd_t; | |
| 90 | TYPEDEF struct { union { int __i[sizeof(long)==8?14:8]; volatile int __vi[sizeof(long)==8?14:8]; void *__p[sizeof(long)==8?7:8]; } __u; } pthread_rwlock_t; | |
| 91 | TYPEDEF struct { union { int __i[sizeof(long)==8?8:5]; volatile int __vi[sizeof(long)==8?8:5]; void *__p[sizeof(long)==8?4:5]; } __u; } pthread_barrier_t; | |
| 92 | ||
| 93 | #undef _Addr | |
| 94 | #undef _Int64 | |
| 95 | #undef _Reg |
lib/libc/musl/ldso/dlstart.c+15| ... | ... | @@ -140,6 +140,21 @@ hidden void _dlstart_c(size_t *sp, size_t *dynv) |
| 140 | 140 | 		size_t *rel_addr = (void *)(base + rel[0]); |
| 141 | 141 | 		*rel_addr = base + rel[2]; |
| 142 | 142 | 	} |
| 143 | ||
| 144 | 	rel = (void *)(base+dyn[DT_RELR]); | |
| 145 | 	rel_size = dyn[DT_RELRSZ]; | |
| 146 | 	size_t *relr_addr = 0; | |
| 147 | 	for (; rel_size; rel++, rel_size-=sizeof(size_t)) { | |
| 148 | 		if ((rel[0]&1) == 0) { | |
| 149 | 			relr_addr = (void *)(base + rel[0]); | |
| 150 | 			*relr_addr++ += base; | |
| 151 | 		} else { | |
| 152 | 			for (size_t i=0, bitmap=rel[0]; bitmap>>=1; i++) | |
| 153 | 				if (bitmap&1) | |
| 154 | 					relr_addr[i] += base; | |
| 155 | 			relr_addr += 8*sizeof(size_t)-1; | |
| 156 | 		} | |
| 157 | 	} | |
| 143 | 158 | #endif |
| 144 | 159 | |
| 145 | 160 | 	stage2_func dls2; |
src/musl.zig+236-236| ... | ... | @@ -469,8 +469,6 @@ const src_files = [_][]const u8{ |
| 469 | 469 | "musl/src/aio/aio.c", |
| 470 | 470 | "musl/src/aio/aio_suspend.c", |
| 471 | 471 | "musl/src/aio/lio_listio.c", |
| 472 | "musl/src/complex/__cexp.c", | |
| 473 | "musl/src/complex/__cexpf.c", | |
| 474 | 472 | "musl/src/complex/cabs.c", |
| 475 | 473 | "musl/src/complex/cabsf.c", |
| 476 | 474 | "musl/src/complex/cabsl.c", |
| ... | ... | @@ -501,7 +499,9 @@ const src_files = [_][]const u8{ |
| 501 | 499 | "musl/src/complex/ccoshf.c", |
| 502 | 500 | "musl/src/complex/ccoshl.c", |
| 503 | 501 | "musl/src/complex/ccosl.c", |
| 502 | "musl/src/complex/__cexp.c", | |
| 504 | 503 | "musl/src/complex/cexp.c", |
| 504 | "musl/src/complex/__cexpf.c", | |
| 505 | 505 | "musl/src/complex/cexpf.c", |
| 506 | 506 | "musl/src/complex/cexpl.c", |
| 507 | 507 | "musl/src/complex/cimag.c", |
| ... | ... | @@ -542,8 +542,8 @@ const src_files = [_][]const u8{ |
| 542 | 542 | "musl/src/conf/legacy.c", |
| 543 | 543 | "musl/src/conf/pathconf.c", |
| 544 | 544 | "musl/src/conf/sysconf.c", |
| 545 | "musl/src/crypt/crypt.c", | |
| 546 | 545 | "musl/src/crypt/crypt_blowfish.c", |
| 546 | "musl/src/crypt/crypt.c", | |
| 547 | 547 | "musl/src/crypt/crypt_des.c", |
| 548 | 548 | "musl/src/crypt/crypt_md5.c", |
| 549 | 549 | "musl/src/crypt/crypt_r.c", |
| ... | ... | @@ -599,60 +599,60 @@ const src_files = [_][]const u8{ |
| 599 | 599 | "musl/src/dirent/seekdir.c", |
| 600 | 600 | "musl/src/dirent/telldir.c", |
| 601 | 601 | "musl/src/dirent/versionsort.c", |
| 602 | "musl/src/env/clearenv.c", | |
| 602 | 603 | "musl/src/env/__environ.c", |
| 604 | "musl/src/env/getenv.c", | |
| 603 | 605 | "musl/src/env/__init_tls.c", |
| 604 | 606 | "musl/src/env/__libc_start_main.c", |
| 605 | "musl/src/env/__reset_tls.c", | |
| 606 | "musl/src/env/__stack_chk_fail.c", | |
| 607 | "musl/src/env/clearenv.c", | |
| 608 | "musl/src/env/getenv.c", | |
| 609 | 607 | "musl/src/env/putenv.c", |
| 608 | "musl/src/env/__reset_tls.c", | |
| 610 | 609 | "musl/src/env/secure_getenv.c", |
| 611 | 610 | "musl/src/env/setenv.c", |
| 611 | "musl/src/env/__stack_chk_fail.c", | |
| 612 | 612 | "musl/src/env/unsetenv.c", |
| 613 | 613 | "musl/src/errno/__errno_location.c", |
| 614 | 614 | "musl/src/errno/strerror.c", |
| 615 | "musl/src/exit/_Exit.c", | |
| 616 | 615 | "musl/src/exit/abort.c", |
| 617 | 616 | "musl/src/exit/abort_lock.c", |
| 618 | 617 | "musl/src/exit/arm/__aeabi_atexit.c", |
| 619 | 618 | "musl/src/exit/assert.c", |
| 620 | "musl/src/exit/at_quick_exit.c", | |
| 621 | 619 | "musl/src/exit/atexit.c", |
| 620 | "musl/src/exit/at_quick_exit.c", | |
| 622 | 621 | "musl/src/exit/exit.c", |
| 622 | "musl/src/exit/_Exit.c", | |
| 623 | 623 | "musl/src/exit/quick_exit.c", |
| 624 | 624 | "musl/src/fcntl/creat.c", |
| 625 | 625 | "musl/src/fcntl/fcntl.c", |
| 626 | "musl/src/fcntl/open.c", | |
| 627 | 626 | "musl/src/fcntl/openat.c", |
| 627 | "musl/src/fcntl/open.c", | |
| 628 | 628 | "musl/src/fcntl/posix_fadvise.c", |
| 629 | 629 | "musl/src/fcntl/posix_fallocate.c", |
| 630 | "musl/src/fenv/__flt_rounds.c", | |
| 631 | 630 | "musl/src/fenv/aarch64/fenv.s", |
| 632 | "musl/src/fenv/arm/fenv-hf.S", | |
| 633 | 631 | "musl/src/fenv/arm/fenv.c", |
| 632 | "musl/src/fenv/arm/fenv-hf.S", | |
| 634 | 633 | "musl/src/fenv/fegetexceptflag.c", |
| 635 | 634 | "musl/src/fenv/feholdexcept.c", |
| 636 | 635 | "musl/src/fenv/fenv.c", |
| 637 | 636 | "musl/src/fenv/fesetexceptflag.c", |
| 638 | 637 | "musl/src/fenv/fesetround.c", |
| 639 | 638 | "musl/src/fenv/feupdateenv.c", |
| 639 | "musl/src/fenv/__flt_rounds.c", | |
| 640 | 640 | "musl/src/fenv/i386/fenv.s", |
| 641 | 641 | "musl/src/fenv/loongarch64/fenv.S", |
| 642 | 642 | "musl/src/fenv/m68k/fenv.c", |
| 643 | "musl/src/fenv/mips/fenv-sf.c", | |
| 644 | "musl/src/fenv/mips/fenv.S", | |
| 645 | "musl/src/fenv/mips64/fenv-sf.c", | |
| 646 | 643 | "musl/src/fenv/mips64/fenv.S", |
| 647 | "musl/src/fenv/mipsn32/fenv-sf.c", | |
| 644 | "musl/src/fenv/mips64/fenv-sf.c", | |
| 645 | "musl/src/fenv/mips/fenv.S", | |
| 646 | "musl/src/fenv/mips/fenv-sf.c", | |
| 648 | 647 | "musl/src/fenv/mipsn32/fenv.S", |
| 649 | "musl/src/fenv/powerpc/fenv-sf.c", | |
| 650 | "musl/src/fenv/powerpc/fenv.S", | |
| 648 | "musl/src/fenv/mipsn32/fenv-sf.c", | |
| 651 | 649 | "musl/src/fenv/powerpc64/fenv.c", |
| 652 | "musl/src/fenv/riscv32/fenv-sf.c", | |
| 650 | "musl/src/fenv/powerpc/fenv.S", | |
| 651 | "musl/src/fenv/powerpc/fenv-sf.c", | |
| 653 | 652 | "musl/src/fenv/riscv32/fenv.S", |
| 654 | "musl/src/fenv/riscv64/fenv-sf.c", | |
| 653 | "musl/src/fenv/riscv32/fenv-sf.c", | |
| 655 | 654 | "musl/src/fenv/riscv64/fenv.S", |
| 655 | "musl/src/fenv/riscv64/fenv-sf.c", | |
| 656 | 656 | "musl/src/fenv/s390x/fenv.c", |
| 657 | 657 | "musl/src/fenv/sh/fenv-nofpu.c", |
| 658 | 658 | "musl/src/fenv/sh/fenv.S", |
| ... | ... | @@ -665,8 +665,8 @@ const src_files = [_][]const u8{ |
| 665 | 665 | "musl/src/internal/intscan.c", |
| 666 | 666 | "musl/src/internal/libc.c", |
| 667 | 667 | "musl/src/internal/procfdname.c", |
| 668 | "musl/src/internal/sh/__shcall.c", | |
| 669 | 668 | "musl/src/internal/shgetc.c", |
| 669 | "musl/src/internal/sh/__shcall.c", | |
| 670 | 670 | "musl/src/internal/syscall_ret.c", |
| 671 | 671 | "musl/src/internal/vdso.c", |
| 672 | 672 | "musl/src/internal/version.c", |
| ... | ... | @@ -683,19 +683,19 @@ const src_files = [_][]const u8{ |
| 683 | 683 | "musl/src/ipc/shmctl.c", |
| 684 | 684 | "musl/src/ipc/shmdt.c", |
| 685 | 685 | "musl/src/ipc/shmget.c", |
| 686 | "musl/src/ldso/__dlsym.c", | |
| 687 | 686 | "musl/src/ldso/aarch64/dlsym.s", |
| 688 | 687 | "musl/src/ldso/aarch64/tlsdesc.s", |
| 689 | 688 | "musl/src/ldso/arm/dlsym.s", |
| 690 | 689 | "musl/src/ldso/arm/dlsym_time64.S", |
| 691 | 690 | "musl/src/ldso/arm/find_exidx.c", |
| 692 | 691 | "musl/src/ldso/arm/tlsdesc.S", |
| 693 | "musl/src/ldso/dl_iterate_phdr.c", | |
| 694 | 692 | "musl/src/ldso/dladdr.c", |
| 695 | 693 | "musl/src/ldso/dlclose.c", |
| 696 | 694 | "musl/src/ldso/dlerror.c", |
| 697 | 695 | "musl/src/ldso/dlinfo.c", |
| 696 | "musl/src/ldso/dl_iterate_phdr.c", | |
| 698 | 697 | "musl/src/ldso/dlopen.c", |
| 698 | "musl/src/ldso/__dlsym.c", | |
| 699 | 699 | "musl/src/ldso/dlsym.c", |
| 700 | 700 | "musl/src/ldso/i386/dlsym.s", |
| 701 | 701 | "musl/src/ldso/i386/dlsym_time64.S", |
| ... | ... | @@ -705,16 +705,16 @@ const src_files = [_][]const u8{ |
| 705 | 705 | "musl/src/ldso/m68k/dlsym_time64.S", |
| 706 | 706 | "musl/src/ldso/microblaze/dlsym.s", |
| 707 | 707 | "musl/src/ldso/microblaze/dlsym_time64.S", |
| 708 | "musl/src/ldso/mips64/dlsym.s", | |
| 708 | 709 | "musl/src/ldso/mips/dlsym.s", |
| 709 | 710 | "musl/src/ldso/mips/dlsym_time64.S", |
| 710 | "musl/src/ldso/mips64/dlsym.s", | |
| 711 | 711 | "musl/src/ldso/mipsn32/dlsym.s", |
| 712 | 712 | "musl/src/ldso/mipsn32/dlsym_time64.S", |
| 713 | 713 | "musl/src/ldso/or1k/dlsym.s", |
| 714 | 714 | "musl/src/ldso/or1k/dlsym_time64.S", |
| 715 | "musl/src/ldso/powerpc64/dlsym.s", | |
| 715 | 716 | "musl/src/ldso/powerpc/dlsym.s", |
| 716 | 717 | "musl/src/ldso/powerpc/dlsym_time64.S", |
| 717 | "musl/src/ldso/powerpc64/dlsym.s", | |
| 718 | 718 | "musl/src/ldso/riscv32/dlsym.s", |
| 719 | 719 | "musl/src/ldso/riscv64/dlsym.s", |
| 720 | 720 | "musl/src/ldso/riscv64/tlsdesc.s", |
| ... | ... | @@ -808,21 +808,21 @@ const src_files = [_][]const u8{ |
| 808 | 808 | "musl/src/linux/wait4.c", |
| 809 | 809 | "musl/src/linux/x32/sysinfo.c", |
| 810 | 810 | "musl/src/linux/xattr.c", |
| 811 | "musl/src/locale/__lctrans.c", | |
| 812 | "musl/src/locale/__mo_lookup.c", | |
| 813 | 811 | "musl/src/locale/bind_textdomain_codeset.c", |
| 814 | "musl/src/locale/c_locale.c", | |
| 815 | 812 | "musl/src/locale/catclose.c", |
| 816 | 813 | "musl/src/locale/catgets.c", |
| 817 | 814 | "musl/src/locale/catopen.c", |
| 815 | "musl/src/locale/c_locale.c", | |
| 818 | 816 | "musl/src/locale/dcngettext.c", |
| 819 | 817 | "musl/src/locale/duplocale.c", |
| 820 | 818 | "musl/src/locale/freelocale.c", |
| 821 | 819 | "musl/src/locale/iconv.c", |
| 822 | 820 | "musl/src/locale/iconv_close.c", |
| 823 | 821 | "musl/src/locale/langinfo.c", |
| 824 | "musl/src/locale/locale_map.c", | |
| 822 | "musl/src/locale/__lctrans.c", | |
| 825 | 823 | "musl/src/locale/localeconv.c", |
| 824 | "musl/src/locale/locale_map.c", | |
| 825 | "musl/src/locale/__mo_lookup.c", | |
| 826 | 826 | "musl/src/locale/newlocale.c", |
| 827 | 827 | "musl/src/locale/pleval.c", |
| 828 | 828 | "musl/src/locale/setlocale.c", |
| ... | ... | @@ -849,43 +849,9 @@ const src_files = [_][]const u8{ |
| 849 | 849 | "musl/src/malloc/oldmalloc/malloc.c", |
| 850 | 850 | "musl/src/malloc/oldmalloc/malloc_usable_size.c", |
| 851 | 851 | "musl/src/malloc/posix_memalign.c", |
| 852 | "musl/src/malloc/realloc.c", | |
| 853 | 852 | "musl/src/malloc/reallocarray.c", |
| 853 | "musl/src/malloc/realloc.c", | |
| 854 | 854 | "musl/src/malloc/replaced.c", |
| 855 | "musl/src/math/__cos.c", | |
| 856 | "musl/src/math/__cosdf.c", | |
| 857 | "musl/src/math/__cosl.c", | |
| 858 | "musl/src/math/__expo2.c", | |
| 859 | "musl/src/math/__expo2f.c", | |
| 860 | "musl/src/math/__fpclassify.c", | |
| 861 | "musl/src/math/__fpclassifyf.c", | |
| 862 | "musl/src/math/__fpclassifyl.c", | |
| 863 | "musl/src/math/__invtrigl.c", | |
| 864 | "musl/src/math/__math_divzero.c", | |
| 865 | "musl/src/math/__math_divzerof.c", | |
| 866 | "musl/src/math/__math_invalid.c", | |
| 867 | "musl/src/math/__math_invalidf.c", | |
| 868 | "musl/src/math/__math_invalidl.c", | |
| 869 | "musl/src/math/__math_oflow.c", | |
| 870 | "musl/src/math/__math_oflowf.c", | |
| 871 | "musl/src/math/__math_uflow.c", | |
| 872 | "musl/src/math/__math_uflowf.c", | |
| 873 | "musl/src/math/__math_xflow.c", | |
| 874 | "musl/src/math/__math_xflowf.c", | |
| 875 | "musl/src/math/__polevll.c", | |
| 876 | "musl/src/math/__rem_pio2.c", | |
| 877 | "musl/src/math/__rem_pio2_large.c", | |
| 878 | "musl/src/math/__rem_pio2f.c", | |
| 879 | "musl/src/math/__rem_pio2l.c", | |
| 880 | "musl/src/math/__signbit.c", | |
| 881 | "musl/src/math/__signbitf.c", | |
| 882 | "musl/src/math/__signbitl.c", | |
| 883 | "musl/src/math/__sin.c", | |
| 884 | "musl/src/math/__sindf.c", | |
| 885 | "musl/src/math/__sinl.c", | |
| 886 | "musl/src/math/__tan.c", | |
| 887 | "musl/src/math/__tandf.c", | |
| 888 | "musl/src/math/__tanl.c", | |
| 889 | 855 | "musl/src/math/aarch64/ceil.c", |
| 890 | 856 | "musl/src/math/aarch64/ceilf.c", |
| 891 | 857 | "musl/src/math/aarch64/fabs.c", |
| ... | ... | @@ -934,10 +900,10 @@ const src_files = [_][]const u8{ |
| 934 | 900 | "musl/src/math/asinhf.c", |
| 935 | 901 | "musl/src/math/asinhl.c", |
| 936 | 902 | "musl/src/math/asinl.c", |
| 937 | "musl/src/math/atan.c", | |
| 938 | 903 | "musl/src/math/atan2.c", |
| 939 | 904 | "musl/src/math/atan2f.c", |
| 940 | 905 | "musl/src/math/atan2l.c", |
| 906 | "musl/src/math/atan.c", | |
| 941 | 907 | "musl/src/math/atanf.c", |
| 942 | 908 | "musl/src/math/atanh.c", |
| 943 | 909 | "musl/src/math/atanhf.c", |
| ... | ... | @@ -952,16 +918,18 @@ const src_files = [_][]const u8{ |
| 952 | 918 | "musl/src/math/copysign.c", |
| 953 | 919 | "musl/src/math/copysignf.c", |
| 954 | 920 | "musl/src/math/copysignl.c", |
| 921 | "musl/src/math/__cos.c", | |
| 955 | 922 | "musl/src/math/cos.c", |
| 923 | "musl/src/math/__cosdf.c", | |
| 956 | 924 | "musl/src/math/cosf.c", |
| 957 | 925 | "musl/src/math/cosh.c", |
| 958 | 926 | "musl/src/math/coshf.c", |
| 959 | 927 | "musl/src/math/coshl.c", |
| 928 | "musl/src/math/__cosl.c", | |
| 960 | 929 | "musl/src/math/cosl.c", |
| 961 | 930 | "musl/src/math/erf.c", |
| 962 | 931 | "musl/src/math/erff.c", |
| 963 | 932 | "musl/src/math/erfl.c", |
| 964 | "musl/src/math/exp.c", | |
| 965 | 933 | "musl/src/math/exp10.c", |
| 966 | 934 | "musl/src/math/exp10f.c", |
| 967 | 935 | "musl/src/math/exp10l.c", |
| ... | ... | @@ -969,12 +937,15 @@ const src_files = [_][]const u8{ |
| 969 | 937 | "musl/src/math/exp2f.c", |
| 970 | 938 | "musl/src/math/exp2f_data.c", |
| 971 | 939 | "musl/src/math/exp2l.c", |
| 940 | "musl/src/math/exp.c", | |
| 972 | 941 | "musl/src/math/exp_data.c", |
| 973 | 942 | "musl/src/math/expf.c", |
| 974 | 943 | "musl/src/math/expl.c", |
| 975 | 944 | "musl/src/math/expm1.c", |
| 976 | 945 | "musl/src/math/expm1f.c", |
| 977 | 946 | "musl/src/math/expm1l.c", |
| 947 | "musl/src/math/__expo2.c", | |
| 948 | "musl/src/math/__expo2f.c", | |
| 978 | 949 | "musl/src/math/fabs.c", |
| 979 | 950 | "musl/src/math/fabsf.c", |
| 980 | 951 | "musl/src/math/fabsl.c", |
| ... | ... | @@ -998,28 +969,30 @@ const src_files = [_][]const u8{ |
| 998 | 969 | "musl/src/math/fmod.c", |
| 999 | 970 | "musl/src/math/fmodf.c", |
| 1000 | 971 | "musl/src/math/fmodl.c", |
| 972 | "musl/src/math/__fpclassify.c", | |
| 973 | "musl/src/math/__fpclassifyf.c", | |
| 974 | "musl/src/math/__fpclassifyl.c", | |
| 1001 | 975 | "musl/src/math/frexp.c", |
| 1002 | 976 | "musl/src/math/frexpf.c", |
| 1003 | 977 | "musl/src/math/frexpl.c", |
| 1004 | 978 | "musl/src/math/hypot.c", |
| 1005 | 979 | "musl/src/math/hypotf.c", |
| 1006 | 980 | "musl/src/math/hypotl.c", |
| 1007 | "musl/src/math/i386/__invtrigl.s", | |
| 1008 | "musl/src/math/i386/acos.s", | |
| 1009 | 981 | "musl/src/math/i386/acosf.s", |
| 1010 | 982 | "musl/src/math/i386/acosl.s", |
| 1011 | "musl/src/math/i386/asin.s", | |
| 983 | "musl/src/math/i386/acos.s", | |
| 1012 | 984 | "musl/src/math/i386/asinf.s", |
| 1013 | 985 | "musl/src/math/i386/asinl.s", |
| 1014 | "musl/src/math/i386/atan.s", | |
| 1015 | "musl/src/math/i386/atan2.s", | |
| 986 | "musl/src/math/i386/asin.s", | |
| 1016 | 987 | "musl/src/math/i386/atan2f.s", |
| 1017 | 988 | "musl/src/math/i386/atan2l.s", |
| 989 | "musl/src/math/i386/atan2.s", | |
| 1018 | 990 | "musl/src/math/i386/atanf.s", |
| 1019 | 991 | "musl/src/math/i386/atanl.s", |
| 1020 | "musl/src/math/i386/ceil.s", | |
| 992 | "musl/src/math/i386/atan.s", | |
| 1021 | 993 | "musl/src/math/i386/ceilf.s", |
| 1022 | 994 | "musl/src/math/i386/ceill.s", |
| 995 | "musl/src/math/i386/ceil.s", | |
| 1023 | 996 | "musl/src/math/i386/exp2l.s", |
| 1024 | 997 | "musl/src/math/i386/exp_ld.s", |
| 1025 | 998 | "musl/src/math/i386/expl.s", |
| ... | ... | @@ -1027,59 +1000,61 @@ const src_files = [_][]const u8{ |
| 1027 | 1000 | "musl/src/math/i386/fabs.c", |
| 1028 | 1001 | "musl/src/math/i386/fabsf.c", |
| 1029 | 1002 | "musl/src/math/i386/fabsl.c", |
| 1030 | "musl/src/math/i386/floor.s", | |
| 1031 | 1003 | "musl/src/math/i386/floorf.s", |
| 1032 | 1004 | "musl/src/math/i386/floorl.s", |
| 1005 | "musl/src/math/i386/floor.s", | |
| 1033 | 1006 | "musl/src/math/i386/fmod.c", |
| 1034 | 1007 | "musl/src/math/i386/fmodf.c", |
| 1035 | 1008 | "musl/src/math/i386/fmodl.c", |
| 1036 | "musl/src/math/i386/hypot.s", | |
| 1037 | 1009 | "musl/src/math/i386/hypotf.s", |
| 1038 | "musl/src/math/i386/ldexp.s", | |
| 1010 | "musl/src/math/i386/hypot.s", | |
| 1011 | "musl/src/math/i386/__invtrigl.s", | |
| 1039 | 1012 | "musl/src/math/i386/ldexpf.s", |
| 1040 | 1013 | "musl/src/math/i386/ldexpl.s", |
| 1014 | "musl/src/math/i386/ldexp.s", | |
| 1041 | 1015 | "musl/src/math/i386/llrint.c", |
| 1042 | 1016 | "musl/src/math/i386/llrintf.c", |
| 1043 | 1017 | "musl/src/math/i386/llrintl.c", |
| 1044 | "musl/src/math/i386/log.s", | |
| 1045 | "musl/src/math/i386/log10.s", | |
| 1046 | 1018 | "musl/src/math/i386/log10f.s", |
| 1047 | 1019 | "musl/src/math/i386/log10l.s", |
| 1048 | "musl/src/math/i386/log1p.s", | |
| 1020 | "musl/src/math/i386/log10.s", | |
| 1049 | 1021 | "musl/src/math/i386/log1pf.s", |
| 1050 | 1022 | "musl/src/math/i386/log1pl.s", |
| 1051 | "musl/src/math/i386/log2.s", | |
| 1023 | "musl/src/math/i386/log1p.s", | |
| 1052 | 1024 | "musl/src/math/i386/log2f.s", |
| 1053 | 1025 | "musl/src/math/i386/log2l.s", |
| 1026 | "musl/src/math/i386/log2.s", | |
| 1054 | 1027 | "musl/src/math/i386/logf.s", |
| 1055 | 1028 | "musl/src/math/i386/logl.s", |
| 1029 | "musl/src/math/i386/log.s", | |
| 1056 | 1030 | "musl/src/math/i386/lrint.c", |
| 1057 | 1031 | "musl/src/math/i386/lrintf.c", |
| 1058 | 1032 | "musl/src/math/i386/lrintl.c", |
| 1059 | 1033 | "musl/src/math/i386/remainder.c", |
| 1060 | 1034 | "musl/src/math/i386/remainderf.c", |
| 1061 | 1035 | "musl/src/math/i386/remainderl.c", |
| 1062 | "musl/src/math/i386/remquo.s", | |
| 1063 | 1036 | "musl/src/math/i386/remquof.s", |
| 1064 | 1037 | "musl/src/math/i386/remquol.s", |
| 1038 | "musl/src/math/i386/remquo.s", | |
| 1065 | 1039 | "musl/src/math/i386/rint.c", |
| 1066 | 1040 | "musl/src/math/i386/rintf.c", |
| 1067 | 1041 | "musl/src/math/i386/rintl.c", |
| 1068 | "musl/src/math/i386/scalbln.s", | |
| 1069 | 1042 | "musl/src/math/i386/scalblnf.s", |
| 1070 | 1043 | "musl/src/math/i386/scalblnl.s", |
| 1071 | "musl/src/math/i386/scalbn.s", | |
| 1044 | "musl/src/math/i386/scalbln.s", | |
| 1072 | 1045 | "musl/src/math/i386/scalbnf.s", |
| 1073 | 1046 | "musl/src/math/i386/scalbnl.s", |
| 1047 | "musl/src/math/i386/scalbn.s", | |
| 1074 | 1048 | "musl/src/math/i386/sqrt.c", |
| 1075 | 1049 | "musl/src/math/i386/sqrtf.c", |
| 1076 | 1050 | "musl/src/math/i386/sqrtl.c", |
| 1077 | "musl/src/math/i386/trunc.s", | |
| 1078 | 1051 | "musl/src/math/i386/truncf.s", |
| 1079 | 1052 | "musl/src/math/i386/truncl.s", |
| 1053 | "musl/src/math/i386/trunc.s", | |
| 1080 | 1054 | "musl/src/math/ilogb.c", |
| 1081 | 1055 | "musl/src/math/ilogbf.c", |
| 1082 | 1056 | "musl/src/math/ilogbl.c", |
| 1057 | "musl/src/math/__invtrigl.c", | |
| 1083 | 1058 | "musl/src/math/j0.c", |
| 1084 | 1059 | "musl/src/math/j0f.c", |
| 1085 | 1060 | "musl/src/math/j1.c", |
| ... | ... | @@ -1090,17 +1065,16 @@ const src_files = [_][]const u8{ |
| 1090 | 1065 | "musl/src/math/ldexpf.c", |
| 1091 | 1066 | "musl/src/math/ldexpl.c", |
| 1092 | 1067 | "musl/src/math/lgamma.c", |
| 1093 | "musl/src/math/lgamma_r.c", | |
| 1094 | 1068 | "musl/src/math/lgammaf.c", |
| 1095 | 1069 | "musl/src/math/lgammaf_r.c", |
| 1096 | 1070 | "musl/src/math/lgammal.c", |
| 1071 | "musl/src/math/lgamma_r.c", | |
| 1097 | 1072 | "musl/src/math/llrint.c", |
| 1098 | 1073 | "musl/src/math/llrintf.c", |
| 1099 | 1074 | "musl/src/math/llrintl.c", |
| 1100 | 1075 | "musl/src/math/llround.c", |
| 1101 | 1076 | "musl/src/math/llroundf.c", |
| 1102 | 1077 | "musl/src/math/llroundl.c", |
| 1103 | "musl/src/math/log.c", | |
| 1104 | 1078 | "musl/src/math/log10.c", |
| 1105 | 1079 | "musl/src/math/log10f.c", |
| 1106 | 1080 | "musl/src/math/log10l.c", |
| ... | ... | @@ -1112,10 +1086,11 @@ const src_files = [_][]const u8{ |
| 1112 | 1086 | "musl/src/math/log2f.c", |
| 1113 | 1087 | "musl/src/math/log2f_data.c", |
| 1114 | 1088 | "musl/src/math/log2l.c", |
| 1115 | "musl/src/math/log_data.c", | |
| 1116 | 1089 | "musl/src/math/logb.c", |
| 1117 | 1090 | "musl/src/math/logbf.c", |
| 1118 | 1091 | "musl/src/math/logbl.c", |
| 1092 | "musl/src/math/log.c", | |
| 1093 | "musl/src/math/log_data.c", | |
| 1119 | 1094 | "musl/src/math/logf.c", |
| 1120 | 1095 | "musl/src/math/logf_data.c", |
| 1121 | 1096 | "musl/src/math/logl.c", |
| ... | ... | @@ -1126,6 +1101,17 @@ const src_files = [_][]const u8{ |
| 1126 | 1101 | "musl/src/math/lroundf.c", |
| 1127 | 1102 | "musl/src/math/lroundl.c", |
| 1128 | 1103 | "musl/src/math/m68k/sqrtl.c", |
| 1104 | "musl/src/math/__math_divzero.c", | |
| 1105 | "musl/src/math/__math_divzerof.c", | |
| 1106 | "musl/src/math/__math_invalid.c", | |
| 1107 | "musl/src/math/__math_invalidf.c", | |
| 1108 | "musl/src/math/__math_invalidl.c", | |
| 1109 | "musl/src/math/__math_oflow.c", | |
| 1110 | "musl/src/math/__math_oflowf.c", | |
| 1111 | "musl/src/math/__math_uflow.c", | |
| 1112 | "musl/src/math/__math_uflowf.c", | |
| 1113 | "musl/src/math/__math_xflow.c", | |
| 1114 | "musl/src/math/__math_xflowf.c", | |
| 1129 | 1115 | "musl/src/math/mips/fabs.c", |
| 1130 | 1116 | "musl/src/math/mips/fabsf.c", |
| 1131 | 1117 | "musl/src/math/mips/sqrt.c", |
| ... | ... | @@ -1145,14 +1131,9 @@ const src_files = [_][]const u8{ |
| 1145 | 1131 | "musl/src/math/nexttoward.c", |
| 1146 | 1132 | "musl/src/math/nexttowardf.c", |
| 1147 | 1133 | "musl/src/math/nexttowardl.c", |
| 1134 | "musl/src/math/__polevll.c", | |
| 1148 | 1135 | "musl/src/math/pow.c", |
| 1149 | 1136 | "musl/src/math/pow_data.c", |
| 1150 | "musl/src/math/powerpc/fabs.c", | |
| 1151 | "musl/src/math/powerpc/fabsf.c", | |
| 1152 | "musl/src/math/powerpc/fma.c", | |
| 1153 | "musl/src/math/powerpc/fmaf.c", | |
| 1154 | "musl/src/math/powerpc/sqrt.c", | |
| 1155 | "musl/src/math/powerpc/sqrtf.c", | |
| 1156 | 1137 | "musl/src/math/powerpc64/ceil.c", |
| 1157 | 1138 | "musl/src/math/powerpc64/ceilf.c", |
| 1158 | 1139 | "musl/src/math/powerpc64/fabs.c", |
| ... | ... | @@ -1175,12 +1156,22 @@ const src_files = [_][]const u8{ |
| 1175 | 1156 | "musl/src/math/powerpc64/sqrtf.c", |
| 1176 | 1157 | "musl/src/math/powerpc64/trunc.c", |
| 1177 | 1158 | "musl/src/math/powerpc64/truncf.c", |
| 1159 | "musl/src/math/powerpc/fabs.c", | |
| 1160 | "musl/src/math/powerpc/fabsf.c", | |
| 1161 | "musl/src/math/powerpc/fma.c", | |
| 1162 | "musl/src/math/powerpc/fmaf.c", | |
| 1163 | "musl/src/math/powerpc/sqrt.c", | |
| 1164 | "musl/src/math/powerpc/sqrtf.c", | |
| 1178 | 1165 | "musl/src/math/powf.c", |
| 1179 | 1166 | "musl/src/math/powf_data.c", |
| 1180 | 1167 | "musl/src/math/powl.c", |
| 1181 | 1168 | "musl/src/math/remainder.c", |
| 1182 | 1169 | "musl/src/math/remainderf.c", |
| 1183 | 1170 | "musl/src/math/remainderl.c", |
| 1171 | "musl/src/math/__rem_pio2.c", | |
| 1172 | "musl/src/math/__rem_pio2f.c", | |
| 1173 | "musl/src/math/__rem_pio2_large.c", | |
| 1174 | "musl/src/math/__rem_pio2l.c", | |
| 1184 | 1175 | "musl/src/math/remquo.c", |
| 1185 | 1176 | "musl/src/math/remquof.c", |
| 1186 | 1177 | "musl/src/math/remquol.c", |
| ... | ... | @@ -1248,27 +1239,36 @@ const src_files = [_][]const u8{ |
| 1248 | 1239 | "musl/src/math/scalbn.c", |
| 1249 | 1240 | "musl/src/math/scalbnf.c", |
| 1250 | 1241 | "musl/src/math/scalbnl.c", |
| 1242 | "musl/src/math/__signbit.c", | |
| 1243 | "musl/src/math/__signbitf.c", | |
| 1244 | "musl/src/math/__signbitl.c", | |
| 1251 | 1245 | "musl/src/math/signgam.c", |
| 1252 | 1246 | "musl/src/math/significand.c", |
| 1253 | 1247 | "musl/src/math/significandf.c", |
| 1248 | "musl/src/math/__sin.c", | |
| 1254 | 1249 | "musl/src/math/sin.c", |
| 1255 | 1250 | "musl/src/math/sincos.c", |
| 1256 | 1251 | "musl/src/math/sincosf.c", |
| 1257 | 1252 | "musl/src/math/sincosl.c", |
| 1253 | "musl/src/math/__sindf.c", | |
| 1258 | 1254 | "musl/src/math/sinf.c", |
| 1259 | 1255 | "musl/src/math/sinh.c", |
| 1260 | 1256 | "musl/src/math/sinhf.c", |
| 1261 | 1257 | "musl/src/math/sinhl.c", |
| 1258 | "musl/src/math/__sinl.c", | |
| 1262 | 1259 | "musl/src/math/sinl.c", |
| 1263 | 1260 | "musl/src/math/sqrt.c", |
| 1264 | 1261 | "musl/src/math/sqrt_data.c", |
| 1265 | 1262 | "musl/src/math/sqrtf.c", |
| 1266 | 1263 | "musl/src/math/sqrtl.c", |
| 1264 | "musl/src/math/__tan.c", | |
| 1267 | 1265 | "musl/src/math/tan.c", |
| 1266 | "musl/src/math/__tandf.c", | |
| 1268 | 1267 | "musl/src/math/tanf.c", |
| 1269 | 1268 | "musl/src/math/tanh.c", |
| 1270 | 1269 | "musl/src/math/tanhf.c", |
| 1271 | 1270 | "musl/src/math/tanhl.c", |
| 1271 | "musl/src/math/__tanl.c", | |
| 1272 | 1272 | "musl/src/math/tanl.c", |
| 1273 | 1273 | "musl/src/math/tgamma.c", |
| 1274 | 1274 | "musl/src/math/tgammaf.c", |
| ... | ... | @@ -1276,7 +1276,6 @@ const src_files = [_][]const u8{ |
| 1276 | 1276 | "musl/src/math/trunc.c", |
| 1277 | 1277 | "musl/src/math/truncf.c", |
| 1278 | 1278 | "musl/src/math/truncl.c", |
| 1279 | "musl/src/math/x32/__invtrigl.s", | |
| 1280 | 1279 | "musl/src/math/x32/acosl.s", |
| 1281 | 1280 | "musl/src/math/x32/asinl.s", |
| 1282 | 1281 | "musl/src/math/x32/atan2l.s", |
| ... | ... | @@ -1285,30 +1284,30 @@ const src_files = [_][]const u8{ |
| 1285 | 1284 | "musl/src/math/x32/exp2l.s", |
| 1286 | 1285 | "musl/src/math/x32/expl.s", |
| 1287 | 1286 | "musl/src/math/x32/expm1l.s", |
| 1288 | "musl/src/math/x32/fabs.s", | |
| 1289 | 1287 | "musl/src/math/x32/fabsf.s", |
| 1290 | 1288 | "musl/src/math/x32/fabsl.s", |
| 1289 | "musl/src/math/x32/fabs.s", | |
| 1291 | 1290 | "musl/src/math/x32/floorl.s", |
| 1292 | 1291 | "musl/src/math/x32/fma.c", |
| 1293 | 1292 | "musl/src/math/x32/fmaf.c", |
| 1294 | 1293 | "musl/src/math/x32/fmodl.s", |
| 1295 | "musl/src/math/x32/llrint.s", | |
| 1294 | "musl/src/math/x32/__invtrigl.s", | |
| 1296 | 1295 | "musl/src/math/x32/llrintf.s", |
| 1297 | 1296 | "musl/src/math/x32/llrintl.s", |
| 1297 | "musl/src/math/x32/llrint.s", | |
| 1298 | 1298 | "musl/src/math/x32/log10l.s", |
| 1299 | 1299 | "musl/src/math/x32/log1pl.s", |
| 1300 | 1300 | "musl/src/math/x32/log2l.s", |
| 1301 | 1301 | "musl/src/math/x32/logl.s", |
| 1302 | "musl/src/math/x32/lrint.s", | |
| 1303 | 1302 | "musl/src/math/x32/lrintf.s", |
| 1304 | 1303 | "musl/src/math/x32/lrintl.s", |
| 1304 | "musl/src/math/x32/lrint.s", | |
| 1305 | 1305 | "musl/src/math/x32/remainderl.s", |
| 1306 | 1306 | "musl/src/math/x32/rintl.s", |
| 1307 | "musl/src/math/x32/sqrt.s", | |
| 1308 | 1307 | "musl/src/math/x32/sqrtf.s", |
| 1309 | 1308 | "musl/src/math/x32/sqrtl.s", |
| 1309 | "musl/src/math/x32/sqrt.s", | |
| 1310 | 1310 | "musl/src/math/x32/truncl.s", |
| 1311 | "musl/src/math/x86_64/__invtrigl.s", | |
| 1312 | 1311 | "musl/src/math/x86_64/acosl.s", |
| 1313 | 1312 | "musl/src/math/x86_64/asinl.s", |
| 1314 | 1313 | "musl/src/math/x86_64/atan2l.s", |
| ... | ... | @@ -1324,6 +1323,7 @@ const src_files = [_][]const u8{ |
| 1324 | 1323 | "musl/src/math/x86_64/fma.c", |
| 1325 | 1324 | "musl/src/math/x86_64/fmaf.c", |
| 1326 | 1325 | "musl/src/math/x86_64/fmodl.c", |
| 1326 | "musl/src/math/x86_64/__invtrigl.s", | |
| 1327 | 1327 | "musl/src/math/x86_64/llrint.c", |
| 1328 | 1328 | "musl/src/math/x86_64/llrintf.c", |
| 1329 | 1329 | "musl/src/math/x86_64/llrintl.c", |
| ... | ... | @@ -1349,8 +1349,8 @@ const src_files = [_][]const u8{ |
| 1349 | 1349 | "musl/src/misc/ffsll.c", |
| 1350 | 1350 | "musl/src/misc/fmtmsg.c", |
| 1351 | 1351 | "musl/src/misc/forkpty.c", |
| 1352 | "musl/src/misc/get_current_dir_name.c", | |
| 1353 | 1352 | "musl/src/misc/getauxval.c", |
| 1353 | "musl/src/misc/get_current_dir_name.c", | |
| 1354 | 1354 | "musl/src/misc/getdomainname.c", |
| 1355 | 1355 | "musl/src/misc/getentropy.c", |
| 1356 | 1356 | "musl/src/misc/gethostid.c", |
| ... | ... | @@ -1382,14 +1382,14 @@ const src_files = [_][]const u8{ |
| 1382 | 1382 | "musl/src/misc/wordexp.c", |
| 1383 | 1383 | "musl/src/mman/madvise.c", |
| 1384 | 1384 | "musl/src/mman/mincore.c", |
| 1385 | "musl/src/mman/mlock.c", | |
| 1386 | 1385 | "musl/src/mman/mlockall.c", |
| 1386 | "musl/src/mman/mlock.c", | |
| 1387 | 1387 | "musl/src/mman/mmap.c", |
| 1388 | 1388 | "musl/src/mman/mprotect.c", |
| 1389 | 1389 | "musl/src/mman/mremap.c", |
| 1390 | 1390 | "musl/src/mman/msync.c", |
| 1391 | "musl/src/mman/munlock.c", | |
| 1392 | 1391 | "musl/src/mman/munlockall.c", |
| 1392 | "musl/src/mman/munlock.c", | |
| 1393 | 1393 | "musl/src/mman/munmap.c", |
| 1394 | 1394 | "musl/src/mman/posix_madvise.c", |
| 1395 | 1395 | "musl/src/mman/shm_open.c", |
| ... | ... | @@ -1423,8 +1423,8 @@ const src_files = [_][]const u8{ |
| 1423 | 1423 | "musl/src/multibyte/wcstombs.c", |
| 1424 | 1424 | "musl/src/multibyte/wctob.c", |
| 1425 | 1425 | "musl/src/multibyte/wctomb.c", |
| 1426 | "musl/src/network/accept.c", | |
| 1427 | 1426 | "musl/src/network/accept4.c", |
| 1427 | "musl/src/network/accept.c", | |
| 1428 | 1428 | "musl/src/network/bind.c", |
| 1429 | 1429 | "musl/src/network/connect.c", |
| 1430 | 1430 | "musl/src/network/dn_comp.c", |
| ... | ... | @@ -1438,9 +1438,9 @@ const src_files = [_][]const u8{ |
| 1438 | 1438 | "musl/src/network/getaddrinfo.c", |
| 1439 | 1439 | "musl/src/network/gethostbyaddr.c", |
| 1440 | 1440 | "musl/src/network/gethostbyaddr_r.c", |
| 1441 | "musl/src/network/gethostbyname.c", | |
| 1442 | 1441 | "musl/src/network/gethostbyname2.c", |
| 1443 | 1442 | "musl/src/network/gethostbyname2_r.c", |
| 1443 | "musl/src/network/gethostbyname.c", | |
| 1444 | 1444 | "musl/src/network/gethostbyname_r.c", |
| 1445 | 1445 | "musl/src/network/getifaddrs.c", |
| 1446 | 1446 | "musl/src/network/getnameinfo.c", |
| ... | ... | @@ -1485,11 +1485,11 @@ const src_files = [_][]const u8{ |
| 1485 | 1485 | "musl/src/network/res_init.c", |
| 1486 | 1486 | "musl/src/network/res_mkquery.c", |
| 1487 | 1487 | "musl/src/network/res_msend.c", |
| 1488 | "musl/src/network/resolvconf.c", | |
| 1488 | 1489 | "musl/src/network/res_query.c", |
| 1489 | 1490 | "musl/src/network/res_querydomain.c", |
| 1490 | 1491 | "musl/src/network/res_send.c", |
| 1491 | 1492 | "musl/src/network/res_state.c", |
| 1492 | "musl/src/network/resolvconf.c", | |
| 1493 | 1493 | "musl/src/network/send.c", |
| 1494 | 1494 | "musl/src/network/sendmmsg.c", |
| 1495 | 1495 | "musl/src/network/sendmsg.c", |
| ... | ... | @@ -1504,14 +1504,14 @@ const src_files = [_][]const u8{ |
| 1504 | 1504 | "musl/src/passwd/fgetpwent.c", |
| 1505 | 1505 | "musl/src/passwd/fgetspent.c", |
| 1506 | 1506 | "musl/src/passwd/getgr_a.c", |
| 1507 | "musl/src/passwd/getgr_r.c", | |
| 1508 | "musl/src/passwd/getgrent.c", | |
| 1509 | 1507 | "musl/src/passwd/getgrent_a.c", |
| 1508 | "musl/src/passwd/getgrent.c", | |
| 1510 | 1509 | "musl/src/passwd/getgrouplist.c", |
| 1510 | "musl/src/passwd/getgr_r.c", | |
| 1511 | 1511 | "musl/src/passwd/getpw_a.c", |
| 1512 | "musl/src/passwd/getpw_r.c", | |
| 1513 | "musl/src/passwd/getpwent.c", | |
| 1514 | 1512 | "musl/src/passwd/getpwent_a.c", |
| 1513 | "musl/src/passwd/getpwent.c", | |
| 1514 | "musl/src/passwd/getpw_r.c", | |
| 1515 | 1515 | "musl/src/passwd/getspent.c", |
| 1516 | 1516 | "musl/src/passwd/getspnam.c", |
| 1517 | 1517 | "musl/src/passwd/getspnam_r.c", |
| ... | ... | @@ -1520,18 +1520,17 @@ const src_files = [_][]const u8{ |
| 1520 | 1520 | "musl/src/passwd/putgrent.c", |
| 1521 | 1521 | "musl/src/passwd/putpwent.c", |
| 1522 | 1522 | "musl/src/passwd/putspent.c", |
| 1523 | "musl/src/prng/__rand48_step.c", | |
| 1524 | "musl/src/prng/__seed48.c", | |
| 1525 | 1523 | "musl/src/prng/drand48.c", |
| 1526 | 1524 | "musl/src/prng/lcong48.c", |
| 1527 | 1525 | "musl/src/prng/lrand48.c", |
| 1528 | 1526 | "musl/src/prng/mrand48.c", |
| 1527 | "musl/src/prng/__rand48_step.c", | |
| 1529 | 1528 | "musl/src/prng/rand.c", |
| 1530 | "musl/src/prng/rand_r.c", | |
| 1531 | 1529 | "musl/src/prng/random.c", |
| 1530 | "musl/src/prng/rand_r.c", | |
| 1531 | "musl/src/prng/__seed48.c", | |
| 1532 | 1532 | "musl/src/prng/seed48.c", |
| 1533 | 1533 | "musl/src/prng/srand48.c", |
| 1534 | "musl/src/process/_Fork.c", | |
| 1535 | 1534 | "musl/src/process/aarch64/vfork.s", |
| 1536 | 1535 | "musl/src/process/arm/vfork.s", |
| 1537 | 1536 | "musl/src/process/execl.c", |
| ... | ... | @@ -1542,15 +1541,8 @@ const src_files = [_][]const u8{ |
| 1542 | 1541 | "musl/src/process/execvp.c", |
| 1543 | 1542 | "musl/src/process/fexecve.c", |
| 1544 | 1543 | "musl/src/process/fork.c", |
| 1544 | "musl/src/process/_Fork.c", | |
| 1545 | 1545 | "musl/src/process/i386/vfork.s", |
| 1546 | "musl/src/process/posix_spawn.c", | |
| 1547 | "musl/src/process/posix_spawn_file_actions_addchdir.c", | |
| 1548 | "musl/src/process/posix_spawn_file_actions_addclose.c", | |
| 1549 | "musl/src/process/posix_spawn_file_actions_adddup2.c", | |
| 1550 | "musl/src/process/posix_spawn_file_actions_addfchdir.c", | |
| 1551 | "musl/src/process/posix_spawn_file_actions_addopen.c", | |
| 1552 | "musl/src/process/posix_spawn_file_actions_destroy.c", | |
| 1553 | "musl/src/process/posix_spawn_file_actions_init.c", | |
| 1554 | 1546 | "musl/src/process/posix_spawnattr_destroy.c", |
| 1555 | 1547 | "musl/src/process/posix_spawnattr_getflags.c", |
| 1556 | 1548 | "musl/src/process/posix_spawnattr_getpgroup.c", |
| ... | ... | @@ -1562,6 +1554,14 @@ const src_files = [_][]const u8{ |
| 1562 | 1554 | "musl/src/process/posix_spawnattr_setpgroup.c", |
| 1563 | 1555 | "musl/src/process/posix_spawnattr_setsigdefault.c", |
| 1564 | 1556 | "musl/src/process/posix_spawnattr_setsigmask.c", |
| 1557 | "musl/src/process/posix_spawn.c", | |
| 1558 | "musl/src/process/posix_spawn_file_actions_addchdir.c", | |
| 1559 | "musl/src/process/posix_spawn_file_actions_addclose.c", | |
| 1560 | "musl/src/process/posix_spawn_file_actions_adddup2.c", | |
| 1561 | "musl/src/process/posix_spawn_file_actions_addfchdir.c", | |
| 1562 | "musl/src/process/posix_spawn_file_actions_addopen.c", | |
| 1563 | "musl/src/process/posix_spawn_file_actions_destroy.c", | |
| 1564 | "musl/src/process/posix_spawn_file_actions_init.c", | |
| 1565 | 1565 | "musl/src/process/posix_spawnp.c", |
| 1566 | 1566 | "musl/src/process/riscv64/vfork.s", |
| 1567 | 1567 | "musl/src/process/s390x/vfork.s", |
| ... | ... | @@ -1581,9 +1581,9 @@ const src_files = [_][]const u8{ |
| 1581 | 1581 | "musl/src/regex/tre-mem.c", |
| 1582 | 1582 | "musl/src/sched/affinity.c", |
| 1583 | 1583 | "musl/src/sched/sched_cpucount.c", |
| 1584 | "musl/src/sched/sched_get_priority_max.c", | |
| 1585 | 1584 | "musl/src/sched/sched_getcpu.c", |
| 1586 | 1585 | "musl/src/sched/sched_getparam.c", |
| 1586 | "musl/src/sched/sched_get_priority_max.c", | |
| 1587 | 1587 | "musl/src/sched/sched_getscheduler.c", |
| 1588 | 1588 | "musl/src/sched/sched_rr_get_interval.c", |
| 1589 | 1589 | "musl/src/sched/sched_setparam.c", |
| ... | ... | @@ -1614,18 +1614,18 @@ const src_files = [_][]const u8{ |
| 1614 | 1614 | "musl/src/setjmp/m68k/setjmp.s", |
| 1615 | 1615 | "musl/src/setjmp/microblaze/longjmp.s", |
| 1616 | 1616 | "musl/src/setjmp/microblaze/setjmp.s", |
| 1617 | "musl/src/setjmp/mips/longjmp.S", | |
| 1618 | "musl/src/setjmp/mips/setjmp.S", | |
| 1619 | 1617 | "musl/src/setjmp/mips64/longjmp.S", |
| 1620 | 1618 | "musl/src/setjmp/mips64/setjmp.S", |
| 1619 | "musl/src/setjmp/mips/longjmp.S", | |
| 1621 | 1620 | "musl/src/setjmp/mipsn32/longjmp.S", |
| 1622 | 1621 | "musl/src/setjmp/mipsn32/setjmp.S", |
| 1622 | "musl/src/setjmp/mips/setjmp.S", | |
| 1623 | 1623 | "musl/src/setjmp/or1k/longjmp.s", |
| 1624 | 1624 | "musl/src/setjmp/or1k/setjmp.s", |
| 1625 | "musl/src/setjmp/powerpc/longjmp.S", | |
| 1626 | "musl/src/setjmp/powerpc/setjmp.S", | |
| 1627 | 1625 | "musl/src/setjmp/powerpc64/longjmp.s", |
| 1628 | 1626 | "musl/src/setjmp/powerpc64/setjmp.s", |
| 1627 | "musl/src/setjmp/powerpc/longjmp.S", | |
| 1628 | "musl/src/setjmp/powerpc/setjmp.S", | |
| 1629 | 1629 | "musl/src/setjmp/riscv32/longjmp.S", |
| 1630 | 1630 | "musl/src/setjmp/riscv32/setjmp.S", |
| 1631 | 1631 | "musl/src/setjmp/riscv64/longjmp.S", |
| ... | ... | @@ -1654,14 +1654,14 @@ const src_files = [_][]const u8{ |
| 1654 | 1654 | "musl/src/signal/m68k/sigsetjmp.s", |
| 1655 | 1655 | "musl/src/signal/microblaze/restore.s", |
| 1656 | 1656 | "musl/src/signal/microblaze/sigsetjmp.s", |
| 1657 | "musl/src/signal/mips/sigsetjmp.s", | |
| 1658 | 1657 | "musl/src/signal/mips64/sigsetjmp.s", |
| 1659 | 1658 | "musl/src/signal/mipsn32/sigsetjmp.s", |
| 1659 | "musl/src/signal/mips/sigsetjmp.s", | |
| 1660 | 1660 | "musl/src/signal/or1k/sigsetjmp.s", |
| 1661 | "musl/src/signal/powerpc/restore.s", | |
| 1662 | "musl/src/signal/powerpc/sigsetjmp.s", | |
| 1663 | 1661 | "musl/src/signal/powerpc64/restore.s", |
| 1664 | 1662 | "musl/src/signal/powerpc64/sigsetjmp.s", |
| 1663 | "musl/src/signal/powerpc/restore.s", | |
| 1664 | "musl/src/signal/powerpc/sigsetjmp.s", | |
| 1665 | 1665 | "musl/src/signal/psiginfo.c", |
| 1666 | 1666 | "musl/src/signal/psignal.c", |
| 1667 | 1667 | "musl/src/signal/raise.c", |
| ... | ... | @@ -1710,47 +1710,34 @@ const src_files = [_][]const u8{ |
| 1710 | 1710 | "musl/src/signal/x32/sigsetjmp.s", |
| 1711 | 1711 | "musl/src/signal/x86_64/restore.s", |
| 1712 | 1712 | "musl/src/signal/x86_64/sigsetjmp.s", |
| 1713 | "musl/src/stat/__xstat.c", | |
| 1714 | 1713 | "musl/src/stat/chmod.c", |
| 1715 | "musl/src/stat/fchmod.c", | |
| 1716 | 1714 | "musl/src/stat/fchmodat.c", |
| 1717 | "musl/src/stat/fstat.c", | |
| 1715 | "musl/src/stat/fchmod.c", | |
| 1718 | 1716 | "musl/src/stat/fstatat.c", |
| 1717 | "musl/src/stat/fstat.c", | |
| 1719 | 1718 | "musl/src/stat/futimens.c", |
| 1720 | 1719 | "musl/src/stat/futimesat.c", |
| 1721 | 1720 | "musl/src/stat/lchmod.c", |
| 1722 | 1721 | "musl/src/stat/lstat.c", |
| 1723 | "musl/src/stat/mkdir.c", | |
| 1724 | 1722 | "musl/src/stat/mkdirat.c", |
| 1725 | "musl/src/stat/mkfifo.c", | |
| 1723 | "musl/src/stat/mkdir.c", | |
| 1726 | 1724 | "musl/src/stat/mkfifoat.c", |
| 1727 | "musl/src/stat/mknod.c", | |
| 1725 | "musl/src/stat/mkfifo.c", | |
| 1728 | 1726 | "musl/src/stat/mknodat.c", |
| 1727 | "musl/src/stat/mknod.c", | |
| 1729 | 1728 | "musl/src/stat/stat.c", |
| 1730 | 1729 | "musl/src/stat/statvfs.c", |
| 1731 | 1730 | "musl/src/stat/umask.c", |
| 1732 | 1731 | "musl/src/stat/utimensat.c", |
| 1733 | "musl/src/stdio/__fclose_ca.c", | |
| 1734 | "musl/src/stdio/__fdopen.c", | |
| 1735 | "musl/src/stdio/__fmodeflags.c", | |
| 1736 | "musl/src/stdio/__fopen_rb_ca.c", | |
| 1737 | "musl/src/stdio/__lockfile.c", | |
| 1738 | "musl/src/stdio/__overflow.c", | |
| 1739 | "musl/src/stdio/__stdio_close.c", | |
| 1740 | "musl/src/stdio/__stdio_exit.c", | |
| 1741 | "musl/src/stdio/__stdio_read.c", | |
| 1742 | "musl/src/stdio/__stdio_seek.c", | |
| 1743 | "musl/src/stdio/__stdio_write.c", | |
| 1744 | "musl/src/stdio/__stdout_write.c", | |
| 1745 | "musl/src/stdio/__toread.c", | |
| 1746 | "musl/src/stdio/__towrite.c", | |
| 1747 | "musl/src/stdio/__uflow.c", | |
| 1732 | "musl/src/stat/__xstat.c", | |
| 1748 | 1733 | "musl/src/stdio/asprintf.c", |
| 1749 | 1734 | "musl/src/stdio/clearerr.c", |
| 1750 | 1735 | "musl/src/stdio/dprintf.c", |
| 1751 | "musl/src/stdio/ext.c", | |
| 1752 | 1736 | "musl/src/stdio/ext2.c", |
| 1737 | "musl/src/stdio/ext.c", | |
| 1753 | 1738 | "musl/src/stdio/fclose.c", |
| 1739 | "musl/src/stdio/__fclose_ca.c", | |
| 1740 | "musl/src/stdio/__fdopen.c", | |
| 1754 | 1741 | "musl/src/stdio/feof.c", |
| 1755 | 1742 | "musl/src/stdio/ferror.c", |
| 1756 | 1743 | "musl/src/stdio/fflush.c", |
| ... | ... | @@ -1763,8 +1750,10 @@ const src_files = [_][]const u8{ |
| 1763 | 1750 | "musl/src/stdio/fileno.c", |
| 1764 | 1751 | "musl/src/stdio/flockfile.c", |
| 1765 | 1752 | "musl/src/stdio/fmemopen.c", |
| 1753 | "musl/src/stdio/__fmodeflags.c", | |
| 1766 | 1754 | "musl/src/stdio/fopen.c", |
| 1767 | 1755 | "musl/src/stdio/fopencookie.c", |
| 1756 | "musl/src/stdio/__fopen_rb_ca.c", | |
| 1768 | 1757 | "musl/src/stdio/fprintf.c", |
| 1769 | 1758 | "musl/src/stdio/fputc.c", |
| 1770 | 1759 | "musl/src/stdio/fputs.c", |
| ... | ... | @@ -1783,27 +1772,29 @@ const src_files = [_][]const u8{ |
| 1783 | 1772 | "musl/src/stdio/fwrite.c", |
| 1784 | 1773 | "musl/src/stdio/fwscanf.c", |
| 1785 | 1774 | "musl/src/stdio/getc.c", |
| 1786 | "musl/src/stdio/getc_unlocked.c", | |
| 1787 | 1775 | "musl/src/stdio/getchar.c", |
| 1788 | 1776 | "musl/src/stdio/getchar_unlocked.c", |
| 1777 | "musl/src/stdio/getc_unlocked.c", | |
| 1789 | 1778 | "musl/src/stdio/getdelim.c", |
| 1790 | 1779 | "musl/src/stdio/getline.c", |
| 1791 | 1780 | "musl/src/stdio/gets.c", |
| 1792 | 1781 | "musl/src/stdio/getw.c", |
| 1793 | 1782 | "musl/src/stdio/getwc.c", |
| 1794 | 1783 | "musl/src/stdio/getwchar.c", |
| 1795 | "musl/src/stdio/ofl.c", | |
| 1784 | "musl/src/stdio/__lockfile.c", | |
| 1796 | 1785 | "musl/src/stdio/ofl_add.c", |
| 1786 | "musl/src/stdio/ofl.c", | |
| 1797 | 1787 | "musl/src/stdio/open_memstream.c", |
| 1798 | 1788 | "musl/src/stdio/open_wmemstream.c", |
| 1789 | "musl/src/stdio/__overflow.c", | |
| 1799 | 1790 | "musl/src/stdio/pclose.c", |
| 1800 | 1791 | "musl/src/stdio/perror.c", |
| 1801 | 1792 | "musl/src/stdio/popen.c", |
| 1802 | 1793 | "musl/src/stdio/printf.c", |
| 1803 | 1794 | "musl/src/stdio/putc.c", |
| 1804 | "musl/src/stdio/putc_unlocked.c", | |
| 1805 | 1795 | "musl/src/stdio/putchar.c", |
| 1806 | 1796 | "musl/src/stdio/putchar_unlocked.c", |
| 1797 | "musl/src/stdio/putc_unlocked.c", | |
| 1807 | 1798 | "musl/src/stdio/puts.c", |
| 1808 | 1799 | "musl/src/stdio/putw.c", |
| 1809 | 1800 | "musl/src/stdio/putwc.c", |
| ... | ... | @@ -1821,12 +1812,21 @@ const src_files = [_][]const u8{ |
| 1821 | 1812 | "musl/src/stdio/sscanf.c", |
| 1822 | 1813 | "musl/src/stdio/stderr.c", |
| 1823 | 1814 | "musl/src/stdio/stdin.c", |
| 1815 | "musl/src/stdio/__stdio_close.c", | |
| 1816 | "musl/src/stdio/__stdio_exit.c", | |
| 1817 | "musl/src/stdio/__stdio_read.c", | |
| 1818 | "musl/src/stdio/__stdio_seek.c", | |
| 1819 | "musl/src/stdio/__stdio_write.c", | |
| 1824 | 1820 | "musl/src/stdio/stdout.c", |
| 1821 | "musl/src/stdio/__stdout_write.c", | |
| 1825 | 1822 | "musl/src/stdio/swprintf.c", |
| 1826 | 1823 | "musl/src/stdio/swscanf.c", |
| 1827 | 1824 | "musl/src/stdio/tempnam.c", |
| 1828 | 1825 | "musl/src/stdio/tmpfile.c", |
| 1829 | 1826 | "musl/src/stdio/tmpnam.c", |
| 1827 | "musl/src/stdio/__toread.c", | |
| 1828 | "musl/src/stdio/__towrite.c", | |
| 1829 | "musl/src/stdio/__uflow.c", | |
| 1830 | 1830 | "musl/src/stdio/ungetc.c", |
| 1831 | 1831 | "musl/src/stdio/ungetwc.c", |
| 1832 | 1832 | "musl/src/stdio/vasprintf.c", |
| ... | ... | @@ -1953,13 +1953,13 @@ const src_files = [_][]const u8{ |
| 1953 | 1953 | "musl/src/string/x86_64/memcpy.s", |
| 1954 | 1954 | "musl/src/string/x86_64/memmove.s", |
| 1955 | 1955 | "musl/src/string/x86_64/memset.s", |
| 1956 | "musl/src/temp/__randname.c", | |
| 1957 | 1956 | "musl/src/temp/mkdtemp.c", |
| 1958 | 1957 | "musl/src/temp/mkostemp.c", |
| 1959 | 1958 | "musl/src/temp/mkostemps.c", |
| 1960 | 1959 | "musl/src/temp/mkstemp.c", |
| 1961 | 1960 | "musl/src/temp/mkstemps.c", |
| 1962 | 1961 | "musl/src/temp/mktemp.c", |
| 1962 | "musl/src/temp/__randname.c", | |
| 1963 | 1963 | "musl/src/termios/cfgetospeed.c", |
| 1964 | 1964 | "musl/src/termios/cfmakeraw.c", |
| 1965 | 1965 | "musl/src/termios/cfsetospeed.c", |
| ... | ... | @@ -1972,23 +1972,16 @@ const src_files = [_][]const u8{ |
| 1972 | 1972 | "musl/src/termios/tcsendbreak.c", |
| 1973 | 1973 | "musl/src/termios/tcsetattr.c", |
| 1974 | 1974 | "musl/src/termios/tcsetwinsize.c", |
| 1975 | "musl/src/thread/__lock.c", | |
| 1976 | "musl/src/thread/__set_thread_area.c", | |
| 1977 | "musl/src/thread/__syscall_cp.c", | |
| 1978 | "musl/src/thread/__timedwait.c", | |
| 1979 | "musl/src/thread/__tls_get_addr.c", | |
| 1980 | "musl/src/thread/__unmapself.c", | |
| 1981 | "musl/src/thread/__wait.c", | |
| 1982 | "musl/src/thread/aarch64/__set_thread_area.s", | |
| 1983 | "musl/src/thread/aarch64/__unmapself.s", | |
| 1984 | 1975 | "musl/src/thread/aarch64/clone.s", |
| 1976 | "musl/src/thread/aarch64/__set_thread_area.s", | |
| 1985 | 1977 | "musl/src/thread/aarch64/syscall_cp.s", |
| 1978 | "musl/src/thread/aarch64/__unmapself.s", | |
| 1986 | 1979 | "musl/src/thread/arm/__aeabi_read_tp.s", |
| 1987 | "musl/src/thread/arm/__set_thread_area.c", | |
| 1988 | "musl/src/thread/arm/__unmapself.s", | |
| 1989 | 1980 | "musl/src/thread/arm/atomics.s", |
| 1990 | 1981 | "musl/src/thread/arm/clone.s", |
| 1982 | "musl/src/thread/arm/__set_thread_area.c", | |
| 1991 | 1983 | "musl/src/thread/arm/syscall_cp.s", |
| 1984 | "musl/src/thread/arm/__unmapself.s", | |
| 1992 | 1985 | "musl/src/thread/call_once.c", |
| 1993 | 1986 | "musl/src/thread/clone.c", |
| 1994 | 1987 | "musl/src/thread/cnd_broadcast.c", |
| ... | ... | @@ -1998,50 +1991,51 @@ const src_files = [_][]const u8{ |
| 1998 | 1991 | "musl/src/thread/cnd_timedwait.c", |
| 1999 | 1992 | "musl/src/thread/cnd_wait.c", |
| 2000 | 1993 | "musl/src/thread/default_attr.c", |
| 2001 | "musl/src/thread/i386/__set_thread_area.s", | |
| 2002 | "musl/src/thread/i386/__unmapself.s", | |
| 2003 | 1994 | "musl/src/thread/i386/clone.s", |
| 1995 | "musl/src/thread/i386/__set_thread_area.s", | |
| 2004 | 1996 | "musl/src/thread/i386/syscall_cp.s", |
| 2005 | 1997 | "musl/src/thread/i386/tls.s", |
| 1998 | "musl/src/thread/i386/__unmapself.s", | |
| 1999 | "musl/src/thread/__lock.c", | |
| 2006 | 2000 | "musl/src/thread/lock_ptc.c", |
| 2007 | "musl/src/thread/loongarch64/__set_thread_area.s", | |
| 2008 | "musl/src/thread/loongarch64/__unmapself.s", | |
| 2009 | 2001 | "musl/src/thread/loongarch64/clone.s", |
| 2002 | "musl/src/thread/loongarch64/__set_thread_area.s", | |
| 2010 | 2003 | "musl/src/thread/loongarch64/syscall_cp.s", |
| 2011 | "musl/src/thread/m68k/__m68k_read_tp.s", | |
| 2004 | "musl/src/thread/loongarch64/__unmapself.s", | |
| 2012 | 2005 | "musl/src/thread/m68k/clone.s", |
| 2006 | "musl/src/thread/m68k/__m68k_read_tp.s", | |
| 2013 | 2007 | "musl/src/thread/m68k/syscall_cp.s", |
| 2014 | "musl/src/thread/microblaze/__set_thread_area.s", | |
| 2015 | "musl/src/thread/microblaze/__unmapself.s", | |
| 2016 | 2008 | "musl/src/thread/microblaze/clone.s", |
| 2009 | "musl/src/thread/microblaze/__set_thread_area.s", | |
| 2017 | 2010 | "musl/src/thread/microblaze/syscall_cp.s", |
| 2018 | "musl/src/thread/mips/__unmapself.s", | |
| 2019 | "musl/src/thread/mips/clone.s", | |
| 2020 | "musl/src/thread/mips/syscall_cp.s", | |
| 2021 | "musl/src/thread/mips64/__unmapself.s", | |
| 2011 | "musl/src/thread/microblaze/__unmapself.s", | |
| 2022 | 2012 | "musl/src/thread/mips64/clone.s", |
| 2023 | 2013 | "musl/src/thread/mips64/syscall_cp.s", |
| 2024 | "musl/src/thread/mipsn32/__unmapself.s", | |
| 2014 | "musl/src/thread/mips64/__unmapself.s", | |
| 2015 | "musl/src/thread/mips/clone.s", | |
| 2025 | 2016 | "musl/src/thread/mipsn32/clone.s", |
| 2026 | 2017 | "musl/src/thread/mipsn32/syscall_cp.s", |
| 2018 | "musl/src/thread/mipsn32/__unmapself.s", | |
| 2019 | "musl/src/thread/mips/syscall_cp.s", | |
| 2020 | "musl/src/thread/mips/__unmapself.s", | |
| 2027 | 2021 | "musl/src/thread/mtx_destroy.c", |
| 2028 | 2022 | "musl/src/thread/mtx_init.c", |
| 2029 | 2023 | "musl/src/thread/mtx_lock.c", |
| 2030 | 2024 | "musl/src/thread/mtx_timedlock.c", |
| 2031 | 2025 | "musl/src/thread/mtx_trylock.c", |
| 2032 | 2026 | "musl/src/thread/mtx_unlock.c", |
| 2033 | "musl/src/thread/or1k/__set_thread_area.s", | |
| 2034 | "musl/src/thread/or1k/__unmapself.s", | |
| 2035 | 2027 | "musl/src/thread/or1k/clone.s", |
| 2028 | "musl/src/thread/or1k/__set_thread_area.s", | |
| 2036 | 2029 | "musl/src/thread/or1k/syscall_cp.s", |
| 2037 | "musl/src/thread/powerpc/__set_thread_area.s", | |
| 2038 | "musl/src/thread/powerpc/__unmapself.s", | |
| 2039 | "musl/src/thread/powerpc/clone.s", | |
| 2040 | "musl/src/thread/powerpc/syscall_cp.s", | |
| 2041 | "musl/src/thread/powerpc64/__set_thread_area.s", | |
| 2042 | "musl/src/thread/powerpc64/__unmapself.s", | |
| 2030 | "musl/src/thread/or1k/__unmapself.s", | |
| 2043 | 2031 | "musl/src/thread/powerpc64/clone.s", |
| 2032 | "musl/src/thread/powerpc64/__set_thread_area.s", | |
| 2044 | 2033 | "musl/src/thread/powerpc64/syscall_cp.s", |
| 2034 | "musl/src/thread/powerpc64/__unmapself.s", | |
| 2035 | "musl/src/thread/powerpc/clone.s", | |
| 2036 | "musl/src/thread/powerpc/__set_thread_area.s", | |
| 2037 | "musl/src/thread/powerpc/syscall_cp.s", | |
| 2038 | "musl/src/thread/powerpc/__unmapself.s", | |
| 2045 | 2039 | "musl/src/thread/pthread_atfork.c", |
| 2046 | 2040 | "musl/src/thread/pthread_attr_destroy.c", |
| 2047 | 2041 | "musl/src/thread/pthread_attr_get.c", |
| ... | ... | @@ -2054,24 +2048,24 @@ const src_files = [_][]const u8{ |
| 2054 | 2048 | "musl/src/thread/pthread_attr_setscope.c", |
| 2055 | 2049 | "musl/src/thread/pthread_attr_setstack.c", |
| 2056 | 2050 | "musl/src/thread/pthread_attr_setstacksize.c", |
| 2057 | "musl/src/thread/pthread_barrier_destroy.c", | |
| 2058 | "musl/src/thread/pthread_barrier_init.c", | |
| 2059 | "musl/src/thread/pthread_barrier_wait.c", | |
| 2060 | 2051 | "musl/src/thread/pthread_barrierattr_destroy.c", |
| 2061 | 2052 | "musl/src/thread/pthread_barrierattr_init.c", |
| 2062 | 2053 | "musl/src/thread/pthread_barrierattr_setpshared.c", |
| 2054 | "musl/src/thread/pthread_barrier_destroy.c", | |
| 2055 | "musl/src/thread/pthread_barrier_init.c", | |
| 2056 | "musl/src/thread/pthread_barrier_wait.c", | |
| 2063 | 2057 | "musl/src/thread/pthread_cancel.c", |
| 2064 | 2058 | "musl/src/thread/pthread_cleanup_push.c", |
| 2059 | "musl/src/thread/pthread_condattr_destroy.c", | |
| 2060 | "musl/src/thread/pthread_condattr_init.c", | |
| 2061 | "musl/src/thread/pthread_condattr_setclock.c", | |
| 2062 | "musl/src/thread/pthread_condattr_setpshared.c", | |
| 2065 | 2063 | "musl/src/thread/pthread_cond_broadcast.c", |
| 2066 | 2064 | "musl/src/thread/pthread_cond_destroy.c", |
| 2067 | 2065 | "musl/src/thread/pthread_cond_init.c", |
| 2068 | 2066 | "musl/src/thread/pthread_cond_signal.c", |
| 2069 | 2067 | "musl/src/thread/pthread_cond_timedwait.c", |
| 2070 | 2068 | "musl/src/thread/pthread_cond_wait.c", |
| 2071 | "musl/src/thread/pthread_condattr_destroy.c", | |
| 2072 | "musl/src/thread/pthread_condattr_init.c", | |
| 2073 | "musl/src/thread/pthread_condattr_setclock.c", | |
| 2074 | "musl/src/thread/pthread_condattr_setpshared.c", | |
| 2075 | 2069 | "musl/src/thread/pthread_create.c", |
| 2076 | 2070 | "musl/src/thread/pthread_detach.c", |
| 2077 | 2071 | "musl/src/thread/pthread_equal.c", |
| ... | ... | @@ -2084,6 +2078,12 @@ const src_files = [_][]const u8{ |
| 2084 | 2078 | "musl/src/thread/pthread_join.c", |
| 2085 | 2079 | "musl/src/thread/pthread_key_create.c", |
| 2086 | 2080 | "musl/src/thread/pthread_kill.c", |
| 2081 | "musl/src/thread/pthread_mutexattr_destroy.c", | |
| 2082 | "musl/src/thread/pthread_mutexattr_init.c", | |
| 2083 | "musl/src/thread/pthread_mutexattr_setprotocol.c", | |
| 2084 | "musl/src/thread/pthread_mutexattr_setpshared.c", | |
| 2085 | "musl/src/thread/pthread_mutexattr_setrobust.c", | |
| 2086 | "musl/src/thread/pthread_mutexattr_settype.c", | |
| 2087 | 2087 | "musl/src/thread/pthread_mutex_consistent.c", |
| 2088 | 2088 | "musl/src/thread/pthread_mutex_destroy.c", |
| 2089 | 2089 | "musl/src/thread/pthread_mutex_getprioceiling.c", |
| ... | ... | @@ -2093,13 +2093,10 @@ const src_files = [_][]const u8{ |
| 2093 | 2093 | "musl/src/thread/pthread_mutex_timedlock.c", |
| 2094 | 2094 | "musl/src/thread/pthread_mutex_trylock.c", |
| 2095 | 2095 | "musl/src/thread/pthread_mutex_unlock.c", |
| 2096 | "musl/src/thread/pthread_mutexattr_destroy.c", | |
| 2097 | "musl/src/thread/pthread_mutexattr_init.c", | |
| 2098 | "musl/src/thread/pthread_mutexattr_setprotocol.c", | |
| 2099 | "musl/src/thread/pthread_mutexattr_setpshared.c", | |
| 2100 | "musl/src/thread/pthread_mutexattr_setrobust.c", | |
| 2101 | "musl/src/thread/pthread_mutexattr_settype.c", | |
| 2102 | 2096 | "musl/src/thread/pthread_once.c", |
| 2097 | "musl/src/thread/pthread_rwlockattr_destroy.c", | |
| 2098 | "musl/src/thread/pthread_rwlockattr_init.c", | |
| 2099 | "musl/src/thread/pthread_rwlockattr_setpshared.c", | |
| 2103 | 2100 | "musl/src/thread/pthread_rwlock_destroy.c", |
| 2104 | 2101 | "musl/src/thread/pthread_rwlock_init.c", |
| 2105 | 2102 | "musl/src/thread/pthread_rwlock_rdlock.c", |
| ... | ... | @@ -2109,9 +2106,6 @@ const src_files = [_][]const u8{ |
| 2109 | 2106 | "musl/src/thread/pthread_rwlock_trywrlock.c", |
| 2110 | 2107 | "musl/src/thread/pthread_rwlock_unlock.c", |
| 2111 | 2108 | "musl/src/thread/pthread_rwlock_wrlock.c", |
| 2112 | "musl/src/thread/pthread_rwlockattr_destroy.c", | |
| 2113 | "musl/src/thread/pthread_rwlockattr_init.c", | |
| 2114 | "musl/src/thread/pthread_rwlockattr_setpshared.c", | |
| 2115 | 2109 | "musl/src/thread/pthread_self.c", |
| 2116 | 2110 | "musl/src/thread/pthread_setattr_default_np.c", |
| 2117 | 2111 | "musl/src/thread/pthread_setcancelstate.c", |
| ... | ... | @@ -2128,19 +2122,19 @@ const src_files = [_][]const u8{ |
| 2128 | 2122 | "musl/src/thread/pthread_spin_trylock.c", |
| 2129 | 2123 | "musl/src/thread/pthread_spin_unlock.c", |
| 2130 | 2124 | "musl/src/thread/pthread_testcancel.c", |
| 2131 | "musl/src/thread/riscv32/__set_thread_area.s", | |
| 2132 | "musl/src/thread/riscv32/__unmapself.s", | |
| 2133 | 2125 | "musl/src/thread/riscv32/clone.s", |
| 2126 | "musl/src/thread/riscv32/__set_thread_area.s", | |
| 2134 | 2127 | "musl/src/thread/riscv32/syscall_cp.s", |
| 2135 | "musl/src/thread/riscv64/__set_thread_area.s", | |
| 2136 | "musl/src/thread/riscv64/__unmapself.s", | |
| 2128 | "musl/src/thread/riscv32/__unmapself.s", | |
| 2137 | 2129 | "musl/src/thread/riscv64/clone.s", |
| 2130 | "musl/src/thread/riscv64/__set_thread_area.s", | |
| 2138 | 2131 | "musl/src/thread/riscv64/syscall_cp.s", |
| 2132 | "musl/src/thread/riscv64/__unmapself.s", | |
| 2133 | "musl/src/thread/s390x/clone.s", | |
| 2139 | 2134 | "musl/src/thread/s390x/__set_thread_area.s", |
| 2135 | "musl/src/thread/s390x/syscall_cp.s", | |
| 2140 | 2136 | "musl/src/thread/s390x/__tls_get_offset.s", |
| 2141 | 2137 | "musl/src/thread/s390x/__unmapself.s", |
| 2142 | "musl/src/thread/s390x/clone.s", | |
| 2143 | "musl/src/thread/s390x/syscall_cp.s", | |
| 2144 | 2138 | "musl/src/thread/sem_destroy.c", |
| 2145 | 2139 | "musl/src/thread/sem_getvalue.c", |
| 2146 | 2140 | "musl/src/thread/sem_init.c", |
| ... | ... | @@ -2150,38 +2144,38 @@ const src_files = [_][]const u8{ |
| 2150 | 2144 | "musl/src/thread/sem_trywait.c", |
| 2151 | 2145 | "musl/src/thread/sem_unlink.c", |
| 2152 | 2146 | "musl/src/thread/sem_wait.c", |
| 2153 | "musl/src/thread/sh/__set_thread_area.c", | |
| 2154 | "musl/src/thread/sh/__unmapself.c", | |
| 2155 | "musl/src/thread/sh/__unmapself_mmu.s", | |
| 2147 | "musl/src/thread/__set_thread_area.c", | |
| 2156 | 2148 | "musl/src/thread/sh/atomics.s", |
| 2157 | 2149 | "musl/src/thread/sh/clone.s", |
| 2150 | "musl/src/thread/sh/__set_thread_area.c", | |
| 2158 | 2151 | "musl/src/thread/sh/syscall_cp.s", |
| 2152 | "musl/src/thread/sh/__unmapself.c", | |
| 2153 | "musl/src/thread/sh/__unmapself_mmu.s", | |
| 2159 | 2154 | "musl/src/thread/synccall.c", |
| 2155 | "musl/src/thread/__syscall_cp.c", | |
| 2160 | 2156 | "musl/src/thread/syscall_cp.c", |
| 2161 | 2157 | "musl/src/thread/thrd_create.c", |
| 2162 | 2158 | "musl/src/thread/thrd_exit.c", |
| 2163 | 2159 | "musl/src/thread/thrd_join.c", |
| 2164 | 2160 | "musl/src/thread/thrd_sleep.c", |
| 2165 | 2161 | "musl/src/thread/thrd_yield.c", |
| 2162 | "musl/src/thread/__timedwait.c", | |
| 2166 | 2163 | "musl/src/thread/tls.c", |
| 2164 | "musl/src/thread/__tls_get_addr.c", | |
| 2167 | 2165 | "musl/src/thread/tss_create.c", |
| 2168 | 2166 | "musl/src/thread/tss_delete.c", |
| 2169 | 2167 | "musl/src/thread/tss_set.c", |
| 2168 | "musl/src/thread/__unmapself.c", | |
| 2170 | 2169 | "musl/src/thread/vmlock.c", |
| 2171 | "musl/src/thread/x32/__set_thread_area.s", | |
| 2172 | "musl/src/thread/x32/__unmapself.s", | |
| 2170 | "musl/src/thread/__wait.c", | |
| 2173 | 2171 | "musl/src/thread/x32/clone.s", |
| 2172 | "musl/src/thread/x32/__set_thread_area.s", | |
| 2174 | 2173 | "musl/src/thread/x32/syscall_cp.s", |
| 2175 | "musl/src/thread/x86_64/__set_thread_area.s", | |
| 2176 | "musl/src/thread/x86_64/__unmapself.s", | |
| 2174 | "musl/src/thread/x32/__unmapself.s", | |
| 2177 | 2175 | "musl/src/thread/x86_64/clone.s", |
| 2176 | "musl/src/thread/x86_64/__set_thread_area.s", | |
| 2178 | 2177 | "musl/src/thread/x86_64/syscall_cp.s", |
| 2179 | "musl/src/time/__map_file.c", | |
| 2180 | "musl/src/time/__month_to_secs.c", | |
| 2181 | "musl/src/time/__secs_to_tm.c", | |
| 2182 | "musl/src/time/__tm_to_secs.c", | |
| 2183 | "musl/src/time/__tz.c", | |
| 2184 | "musl/src/time/__year_to_secs.c", | |
| 2178 | "musl/src/thread/x86_64/__unmapself.s", | |
| 2185 | 2179 | "musl/src/time/asctime.c", |
| 2186 | 2180 | "musl/src/time/asctime_r.c", |
| 2187 | 2181 | "musl/src/time/clock.c", |
| ... | ... | @@ -2200,8 +2194,11 @@ const src_files = [_][]const u8{ |
| 2200 | 2194 | "musl/src/time/gmtime_r.c", |
| 2201 | 2195 | "musl/src/time/localtime.c", |
| 2202 | 2196 | "musl/src/time/localtime_r.c", |
| 2197 | "musl/src/time/__map_file.c", | |
| 2203 | 2198 | "musl/src/time/mktime.c", |
| 2199 | "musl/src/time/__month_to_secs.c", | |
| 2204 | 2200 | "musl/src/time/nanosleep.c", |
| 2201 | "musl/src/time/__secs_to_tm.c", | |
| 2205 | 2202 | "musl/src/time/strftime.c", |
| 2206 | 2203 | "musl/src/time/strptime.c", |
| 2207 | 2204 | "musl/src/time/time.c", |
| ... | ... | @@ -2213,9 +2210,11 @@ const src_files = [_][]const u8{ |
| 2213 | 2210 | "musl/src/time/timer_settime.c", |
| 2214 | 2211 | "musl/src/time/times.c", |
| 2215 | 2212 | "musl/src/time/timespec_get.c", |
| 2213 | "musl/src/time/__tm_to_secs.c", | |
| 2214 | "musl/src/time/__tz.c", | |
| 2216 | 2215 | "musl/src/time/utime.c", |
| 2217 | 2216 | "musl/src/time/wcsftime.c", |
| 2218 | "musl/src/unistd/_exit.c", | |
| 2217 | "musl/src/time/__year_to_secs.c", | |
| 2219 | 2218 | "musl/src/unistd/access.c", |
| 2220 | 2219 | "musl/src/unistd/acct.c", |
| 2221 | 2220 | "musl/src/unistd/alarm.c", |
| ... | ... | @@ -2223,13 +2222,14 @@ const src_files = [_][]const u8{ |
| 2223 | 2222 | "musl/src/unistd/chown.c", |
| 2224 | 2223 | "musl/src/unistd/close.c", |
| 2225 | 2224 | "musl/src/unistd/ctermid.c", |
| 2226 | "musl/src/unistd/dup.c", | |
| 2227 | 2225 | "musl/src/unistd/dup2.c", |
| 2228 | 2226 | "musl/src/unistd/dup3.c", |
| 2227 | "musl/src/unistd/dup.c", | |
| 2228 | "musl/src/unistd/_exit.c", | |
| 2229 | 2229 | "musl/src/unistd/faccessat.c", |
| 2230 | 2230 | "musl/src/unistd/fchdir.c", |
| 2231 | "musl/src/unistd/fchown.c", | |
| 2232 | 2231 | "musl/src/unistd/fchownat.c", |
| 2232 | "musl/src/unistd/fchown.c", | |
| 2233 | 2233 | "musl/src/unistd/fdatasync.c", |
| 2234 | 2234 | "musl/src/unistd/fsync.c", |
| 2235 | 2235 | "musl/src/unistd/ftruncate.c", |
| ... | ... | @@ -2249,25 +2249,25 @@ const src_files = [_][]const u8{ |
| 2249 | 2249 | "musl/src/unistd/getuid.c", |
| 2250 | 2250 | "musl/src/unistd/isatty.c", |
| 2251 | 2251 | "musl/src/unistd/lchown.c", |
| 2252 | "musl/src/unistd/link.c", | |
| 2253 | 2252 | "musl/src/unistd/linkat.c", |
| 2253 | "musl/src/unistd/link.c", | |
| 2254 | 2254 | "musl/src/unistd/lseek.c", |
| 2255 | "musl/src/unistd/mips/pipe.s", | |
| 2256 | 2255 | "musl/src/unistd/mips64/pipe.s", |
| 2257 | 2256 | "musl/src/unistd/mipsn32/lseek.c", |
| 2258 | 2257 | "musl/src/unistd/mipsn32/pipe.s", |
| 2258 | "musl/src/unistd/mips/pipe.s", | |
| 2259 | 2259 | "musl/src/unistd/nice.c", |
| 2260 | 2260 | "musl/src/unistd/pause.c", |
| 2261 | "musl/src/unistd/pipe.c", | |
| 2262 | 2261 | "musl/src/unistd/pipe2.c", |
| 2262 | "musl/src/unistd/pipe.c", | |
| 2263 | 2263 | "musl/src/unistd/posix_close.c", |
| 2264 | 2264 | "musl/src/unistd/pread.c", |
| 2265 | 2265 | "musl/src/unistd/preadv.c", |
| 2266 | 2266 | "musl/src/unistd/pwrite.c", |
| 2267 | 2267 | "musl/src/unistd/pwritev.c", |
| 2268 | 2268 | "musl/src/unistd/read.c", |
| 2269 | "musl/src/unistd/readlink.c", | |
| 2270 | 2269 | "musl/src/unistd/readlinkat.c", |
| 2270 | "musl/src/unistd/readlink.c", | |
| 2271 | 2271 | "musl/src/unistd/readv.c", |
| 2272 | 2272 | "musl/src/unistd/renameat.c", |
| 2273 | 2273 | "musl/src/unistd/rmdir.c", |
| ... | ... | @@ -2285,8 +2285,8 @@ const src_files = [_][]const u8{ |
| 2285 | 2285 | "musl/src/unistd/setxid.c", |
| 2286 | 2286 | "musl/src/unistd/sh/pipe.s", |
| 2287 | 2287 | "musl/src/unistd/sleep.c", |
| 2288 | "musl/src/unistd/symlink.c", | |
| 2289 | 2288 | "musl/src/unistd/symlinkat.c", |
| 2289 | "musl/src/unistd/symlink.c", | |
| 2290 | 2290 | "musl/src/unistd/sync.c", |
| 2291 | 2291 | "musl/src/unistd/tcgetpgrp.c", |
| 2292 | 2292 | "musl/src/unistd/tcsetpgrp.c", |
| ... | ... | @@ -2294,8 +2294,8 @@ const src_files = [_][]const u8{ |
| 2294 | 2294 | "musl/src/unistd/ttyname.c", |
| 2295 | 2295 | "musl/src/unistd/ttyname_r.c", |
| 2296 | 2296 | "musl/src/unistd/ualarm.c", |
| 2297 | "musl/src/unistd/unlink.c", | |
| 2298 | 2297 | "musl/src/unistd/unlinkat.c", |
| 2298 | "musl/src/unistd/unlink.c", | |
| 2299 | 2299 | "musl/src/unistd/usleep.c", |
| 2300 | 2300 | "musl/src/unistd/write.c", |
| 2301 | 2301 | "musl/src/unistd/writev.c", |
| ... | ... | @@ -2303,7 +2303,6 @@ const src_files = [_][]const u8{ |
| 2303 | 2303 | }; |
| 2304 | 2304 | |
| 2305 | 2305 | const compat_time32_files = [_][]const u8{ |
| 2306 | "musl/compat/time32/__xstat.c", | |
| 2307 | 2306 | "musl/compat/time32/adjtime32.c", |
| 2308 | 2307 | "musl/compat/time32/adjtimex_time32.c", |
| 2309 | 2308 | "musl/compat/time32/aio_suspend_time32.c", |
| ... | ... | @@ -2316,12 +2315,12 @@ const compat_time32_files = [_][]const u8{ |
| 2316 | 2315 | "musl/compat/time32/ctime32.c", |
| 2317 | 2316 | "musl/compat/time32/ctime32_r.c", |
| 2318 | 2317 | "musl/compat/time32/difftime32.c", |
| 2319 | "musl/compat/time32/fstat_time32.c", | |
| 2320 | 2318 | "musl/compat/time32/fstatat_time32.c", |
| 2319 | "musl/compat/time32/fstat_time32.c", | |
| 2321 | 2320 | "musl/compat/time32/ftime32.c", |
| 2322 | 2321 | "musl/compat/time32/futimens_time32.c", |
| 2323 | "musl/compat/time32/futimes_time32.c", | |
| 2324 | 2322 | "musl/compat/time32/futimesat_time32.c", |
| 2323 | "musl/compat/time32/futimes_time32.c", | |
| 2325 | 2324 | "musl/compat/time32/getitimer_time32.c", |
| 2326 | 2325 | "musl/compat/time32/getrusage_time32.c", |
| 2327 | 2326 | "musl/compat/time32/gettimeofday_time32.c", |
| ... | ... | @@ -2346,8 +2345,8 @@ const compat_time32_files = [_][]const u8{ |
| 2346 | 2345 | "musl/compat/time32/recvmmsg_time32.c", |
| 2347 | 2346 | "musl/compat/time32/sched_rr_get_interval_time32.c", |
| 2348 | 2347 | "musl/compat/time32/select_time32.c", |
| 2349 | "musl/compat/time32/sem_timedwait_time32.c", | |
| 2350 | 2348 | "musl/compat/time32/semtimedop_time32.c", |
| 2349 | "musl/compat/time32/sem_timedwait_time32.c", | |
| 2351 | 2350 | "musl/compat/time32/setitimer_time32.c", |
| 2352 | 2351 | "musl/compat/time32/settimeofday_time32.c", |
| 2353 | 2352 | "musl/compat/time32/sigtimedwait_time32.c", |
| ... | ... | @@ -2356,14 +2355,15 @@ const compat_time32_files = [_][]const u8{ |
| 2356 | 2355 | "musl/compat/time32/thrd_sleep_time32.c", |
| 2357 | 2356 | "musl/compat/time32/time32.c", |
| 2358 | 2357 | "musl/compat/time32/time32gm.c", |
| 2359 | "musl/compat/time32/timer_gettime32.c", | |
| 2360 | "musl/compat/time32/timer_settime32.c", | |
| 2361 | 2358 | "musl/compat/time32/timerfd_gettime32.c", |
| 2362 | 2359 | "musl/compat/time32/timerfd_settime32.c", |
| 2360 | "musl/compat/time32/timer_gettime32.c", | |
| 2361 | "musl/compat/time32/timer_settime32.c", | |
| 2363 | 2362 | "musl/compat/time32/timespec_get_time32.c", |
| 2364 | "musl/compat/time32/utime_time32.c", | |
| 2365 | 2363 | "musl/compat/time32/utimensat_time32.c", |
| 2366 | 2364 | "musl/compat/time32/utimes_time32.c", |
| 2365 | "musl/compat/time32/utime_time32.c", | |
| 2367 | 2366 | "musl/compat/time32/wait3_time32.c", |
| 2368 | 2367 | "musl/compat/time32/wait4_time32.c", |
| 2368 | "musl/compat/time32/__xstat.c", | |
| 2369 | 2369 | }; |