• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2023 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14import("//third_party/FreeBSD/FreeBSD.gni")
15import("$build_root/third_party_gn/musl/musl_config.gni")
16
17if (musl_arch == "arm") {
18  musl_src_arch_file = [
19    "src/exit/arm/__aeabi_atexit.c",
20    "src/fenv/arm/fenv-hf.S",
21    "src/fenv/arm/fenv.c",
22    "src/ldso/arm/dlsym.s",
23    "src/ldso/arm/dlsym_time64.S",
24    "src/ldso/arm/dlvsym.s",
25    "src/ldso/arm/find_exidx.c",
26    "src/ldso/arm/tlsdesc.S",
27    "src/math/arm/fabs.c",
28    "src/math/arm/fabsf.c",
29    "src/math/arm/fma.c",
30    "src/math/arm/fmaf.c",
31    "src/math/arm/sqrt.c",
32    "src/math/arm/sqrtf.c",
33    "src/process/arm/vfork.s",
34    "src/setjmp/arm/longjmp.S",
35    "src/setjmp/arm/setjmp.S",
36    "src/signal/arm/restore.s",
37    "src/signal/arm/sigsetjmp.s",
38    "src/string/arm/__aeabi_memcpy.s",
39    "src/string/arm/__aeabi_memset.s",
40    "src/string/arm/memcpy.S",
41    "src/thread/arm/__aeabi_read_tp.s",
42    "src/thread/arm/__set_thread_area.c",
43    "src/thread/arm/__unmapself.s",
44    "src/thread/arm/atomics.s",
45    "src/thread/arm/clone.s",
46    "src/thread/arm/syscall_cp.s",
47    "compat/time32/adjtime32.c",
48    "compat/time32/adjtimex_time32.c",
49    "compat/time32/aio_suspend_time32.c",
50    "compat/time32/clock_adjtime32.c",
51    "compat/time32/clock_getres_time32.c",
52    "compat/time32/clock_gettime32.c",
53    "compat/time32/clock_nanosleep_time32.c",
54    "compat/time32/clock_settime32.c",
55    "compat/time32/cnd_timedwait_time32.c",
56    "compat/time32/ctime32.c",
57    "compat/time32/ctime32_r.c",
58    "compat/time32/difftime32.c",
59    "compat/time32/fstatat_time32.c",
60    "compat/time32/fstat_time32.c",
61    "compat/time32/ftime32.c",
62    "compat/time32/futimens_time32.c",
63    "compat/time32/futimesat_time32.c",
64    "compat/time32/futimes_time32.c",
65    "compat/time32/getitimer_time32.c",
66    "compat/time32/getrusage_time32.c",
67    "compat/time32/gettimeofday_time32.c",
68    "compat/time32/gmtime32.c",
69    "compat/time32/gmtime32_r.c",
70    "compat/time32/localtime32.c",
71    "compat/time32/localtime32_r.c",
72    "compat/time32/lstat_time32.c",
73    "compat/time32/lutimes_time32.c",
74    "compat/time32/mktime32.c",
75    "compat/time32/mq_timedreceive_time32.c",
76    "compat/time32/mq_timedsend_time32.c",
77    "compat/time32/mtx_timedlock_time32.c",
78    "compat/time32/nanosleep_time32.c",
79    "compat/time32/ppoll_time32.c",
80    "compat/time32/pselect_time32.c",
81    "compat/time32/pthread_cond_timedwait_time32.c",
82    "compat/time32/pthread_mutex_timedlock_time32.c",
83    "compat/time32/pthread_rwlock_timedrdlock_time32.c",
84    "compat/time32/pthread_rwlock_timedwrlock_time32.c",
85    "compat/time32/pthread_timedjoin_np_time32.c",
86    "compat/time32/recvmmsg_time32.c",
87    "compat/time32/sched_rr_get_interval_time32.c",
88    "compat/time32/select_time32.c",
89    "compat/time32/semtimedop_time32.c",
90    "compat/time32/sem_timedwait_time32.c",
91    "compat/time32/setitimer_time32.c",
92    "compat/time32/settimeofday_time32.c",
93    "compat/time32/sigtimedwait_time32.c",
94    "compat/time32/stat_time32.c",
95    "compat/time32/stime32.c",
96    "compat/time32/thrd_sleep_time32.c",
97    "compat/time32/time32.c",
98    "compat/time32/time32gm.c",
99    "compat/time32/time32.h",
100    "compat/time32/timerfd_gettime32.c",
101    "compat/time32/timerfd_settime32.c",
102    "compat/time32/timer_gettime32.c",
103    "compat/time32/timer_settime32.c",
104    "compat/time32/timespec_get_time32.c",
105    "compat/time32/utimensat_time32.c",
106    "compat/time32/utimes_time32.c",
107    "compat/time32/utime_time32.c",
108    "compat/time32/wait3_time32.c",
109    "compat/time32/wait4_time32.c",
110    "compat/time32/__xstat.c",
111  ]
112} else if (musl_arch == "aarch64") {
113  musl_src_arch_file = [
114    "src/fenv/aarch64/fenv.s",
115    "src/ldso/aarch64/dlsym.s",
116    "src/ldso/aarch64/dlvsym.s",
117    "src/ldso/aarch64/tlsdesc.s",
118    "src/math/aarch64/ceil.c",
119    "src/math/aarch64/ceilf.c",
120    "src/math/aarch64/fabs.c",
121    "src/math/aarch64/fabsf.c",
122    "src/math/aarch64/floor.c",
123    "src/math/aarch64/floorf.c",
124    "src/math/aarch64/fma.c",
125    "src/math/aarch64/fmaf.c",
126    "src/math/aarch64/fmax.c",
127    "src/math/aarch64/fmaxf.c",
128    "src/math/aarch64/fmin.c",
129    "src/math/aarch64/fminf.c",
130    "src/math/aarch64/llrint.c",
131    "src/math/aarch64/llrintf.c",
132    "src/math/aarch64/llround.c",
133    "src/math/aarch64/llroundf.c",
134    "src/math/aarch64/lrint.c",
135    "src/math/aarch64/lrintf.c",
136    "src/math/aarch64/lround.c",
137    "src/math/aarch64/lroundf.c",
138    "src/math/aarch64/nearbyint.c",
139    "src/math/aarch64/nearbyintf.c",
140    "src/math/aarch64/rint.c",
141    "src/math/aarch64/rintf.c",
142    "src/math/aarch64/round.c",
143    "src/math/aarch64/roundf.c",
144    "src/math/aarch64/sqrt.c",
145    "src/math/aarch64/sqrtf.c",
146    "src/math/aarch64/trunc.c",
147    "src/math/aarch64/truncf.c",
148    "src/setjmp/aarch64/longjmp.s",
149    "src/setjmp/aarch64/setjmp.s",
150    "src/signal/aarch64/restore.s",
151    "src/signal/aarch64/sigsetjmp.s",
152    "src/thread/aarch64/__set_thread_area.s",
153    "src/thread/aarch64/__unmapself.s",
154    "src/thread/aarch64/clone.s",
155    "src/thread/aarch64/syscall_cp.s",
156    "src/misc/aarch64/syscall.s",
157  ]
158} else if (musl_arch == "x86_64") {
159  musl_src_arch_file = [
160    "src/fenv/x86_64/fenv.s",
161    "src/ldso/x86_64/dlsym.s",
162    "src/ldso/x86_64/dlvsym.s",
163    "src/ldso/x86_64/tlsdesc.s",
164    "src/math/x86_64/__invtrigl.s",
165    "src/math/x86_64/acosl.s",
166    "src/math/x86_64/asinl.s",
167    "src/math/x86_64/atan2l.s",
168    "src/math/x86_64/atanl.s",
169    "src/math/x86_64/ceill.s",
170    "src/math/x86_64/exp2l.s",
171    "src/math/x86_64/expl.s",
172    "src/math/x86_64/expm1l.s",
173    "src/math/x86_64/fabs.c",
174    "src/math/x86_64/fabsf.c",
175    "src/math/x86_64/fabsl.s",
176    "src/math/x86_64/floorl.s",
177    "src/math/x86_64/fma.c",
178    "src/math/x86_64/fmaf.c",
179    "src/math/x86_64/fmodl.s",
180    "src/math/x86_64/llrint.c",
181    "src/math/x86_64/llrintf.c",
182    "src/math/x86_64/llrintl.s",
183    "src/math/x86_64/log1pl.s",
184    "src/math/x86_64/log2l.s",
185    "src/math/x86_64/log10l.s",
186    "src/math/x86_64/logl.s",
187    "src/math/x86_64/lrint.c",
188    "src/math/x86_64/lrintf.c",
189    "src/math/x86_64/lrintl.s",
190    "src/math/x86_64/remainderl.s",
191    "src/math/x86_64/rintl.s",
192    "src/math/x86_64/sqrt.c",
193    "src/math/x86_64/sqrtf.c",
194    "src/math/x86_64/sqrtl.s",
195    "src/math/x86_64/truncl.s",
196    "src/process/x86_64/vfork.s",
197    "src/setjmp/x86_64/longjmp.s",
198    "src/setjmp/x86_64/setjmp.s",
199    "src/signal/x86_64/restore.s",
200    "src/signal/x86_64/sigsetjmp.s",
201    "src/string/x86_64/memcpy.s",
202    "src/string/x86_64/memmove.s",
203    "src/thread/x86_64/__set_thread_area.s",
204    "src/thread/x86_64/__unmapself.s",
205    "src/thread/x86_64/clone.s",
206    "src/thread/x86_64/syscall_cp.s",
207  ]
208} else if (musl_arch == "mips") {
209  musl_src_arch_file = [
210    "src/fenv/mips/fenv.S",
211    "src/fenv/mips/fenv-sf.c",
212    "src/ldso/mips/dlsym.s",
213    "src/ldso/mips/dlsym_time64.S",
214    "src/math/mips/fabs.c",
215    "src/math/mips/fabsf.c",
216    "src/math/mips/sqrt.c",
217    "src/math/mips/sqrtf.c",
218    "src/setjmp/mips/longjmp.S",
219    "src/setjmp/mips/setjmp.S",
220    "src/signal/mips/restore.s",
221    "src/signal/mips/sigsetjmp.s",
222    "src/thread/mips/__unmapself.s",
223    "src/thread/mips/clone.s",
224    "src/thread/mips/syscall_cp.s",
225  ]
226}
227
228musl_src_file = [
229  "src/thread/pthread_cond_clockwait.c",
230  "src/thread/pthread_cond_timedwait_monotonic_np.c",
231  "src/thread/pthread_cond_timeout_np.c",
232  "src/internal/pthread_impl.h",
233  "src/internal/locale_impl.h",
234  "src/thread/pthread_rwlock_clockrdlock.c",
235  "src/thread/pthread_rwlock_timedrdlock.c",
236  "src/thread/pthread_rwlock_timedrdlock_monotonic_np.c",
237  "src/thread/pthread_rwlock_clockwrlock.c",
238  "src/thread/pthread_rwlock_timedwrlock_monotonic_np.c",
239  "src/thread/pthread_rwlock_timedwrlock.c",
240  "src/aio/aio.c",
241  "src/aio/aio_suspend.c",
242  "src/aio/lio_listio.c",
243  "src/complex/__cexp.c",
244  "src/complex/__cexpf.c",
245  "src/complex/cabs.c",
246  "src/complex/cabsf.c",
247  "src/complex/cabsl.c",
248  "src/complex/cacos.c",
249  "src/complex/cacosf.c",
250  "src/complex/cacosh.c",
251  "src/complex/cacoshf.c",
252  "src/complex/cacoshl.c",
253  "src/complex/cacosl.c",
254  "src/complex/carg.c",
255  "src/complex/cargf.c",
256  "src/complex/cargl.c",
257  "src/complex/casin.c",
258  "src/complex/casinf.c",
259  "src/complex/casinh.c",
260  "src/complex/casinhf.c",
261  "src/complex/casinhl.c",
262  "src/complex/casinl.c",
263  "src/complex/catan.c",
264  "src/complex/catanf.c",
265  "src/complex/catanh.c",
266  "src/complex/catanhf.c",
267  "src/complex/catanhl.c",
268  "src/complex/catanl.c",
269  "src/complex/ccos.c",
270  "src/complex/ccosf.c",
271  "src/complex/ccosh.c",
272  "src/complex/ccoshf.c",
273  "src/complex/ccoshl.c",
274  "src/complex/ccosl.c",
275  "src/complex/cexp.c",
276  "src/complex/cexpf.c",
277  "src/complex/cexpl.c",
278  "src/complex/cimag.c",
279  "src/complex/cimagf.c",
280  "src/complex/cimagl.c",
281  "src/complex/clog.c",
282  "src/complex/clogf.c",
283  "src/complex/clogl.c",
284  "src/complex/conj.c",
285  "src/complex/conjf.c",
286  "src/complex/conjl.c",
287  "src/complex/cpow.c",
288  "src/complex/cpowf.c",
289  "src/complex/cpowl.c",
290  "src/complex/cproj.c",
291  "src/complex/cprojf.c",
292  "src/complex/cprojl.c",
293  "src/complex/creal.c",
294  "src/complex/crealf.c",
295  "src/complex/creall.c",
296  "src/complex/csin.c",
297  "src/complex/csinf.c",
298  "src/complex/csinh.c",
299  "src/complex/csinhf.c",
300  "src/complex/csinhl.c",
301  "src/complex/csinl.c",
302  "src/complex/csqrt.c",
303  "src/complex/csqrtf.c",
304  "src/complex/csqrtl.c",
305  "src/complex/ctan.c",
306  "src/complex/ctanf.c",
307  "src/complex/ctanh.c",
308  "src/complex/ctanhf.c",
309  "src/complex/ctanhl.c",
310  "src/complex/ctanl.c",
311  "src/conf/confstr.c",
312  "src/conf/fpathconf.c",
313  "src/conf/legacy.c",
314  "src/conf/pathconf.c",
315  "src/conf/sysconf.c",
316  "src/crypt/crypt.c",
317  "src/crypt/crypt_blowfish.c",
318  "src/crypt/crypt_des.c",
319  "src/crypt/crypt_md5.c",
320  "src/crypt/crypt_r.c",
321  "src/crypt/crypt_sha256.c",
322  "src/crypt/crypt_sha512.c",
323  "src/crypt/encrypt.c",
324  "src/ctype/__ctype_b_loc.c",
325  "src/ctype/__ctype_get_mb_cur_max.c",
326  "src/ctype/__ctype_tolower_loc.c",
327  "src/ctype/__ctype_toupper_loc.c",
328  "src/ctype/isalnum.c",
329  "src/ctype/isalpha.c",
330  "src/ctype/isascii.c",
331  "src/ctype/isblank.c",
332  "src/ctype/iscntrl.c",
333  "src/ctype/isdigit.c",
334  "src/ctype/isgraph.c",
335  "src/ctype/islower.c",
336  "src/ctype/isprint.c",
337  "src/ctype/ispunct.c",
338  "src/ctype/isspace.c",
339  "src/ctype/isupper.c",
340  "src/ctype/iswalnum.c",
341  "src/ctype/iswalpha.c",
342  "src/ctype/iswblank.c",
343  "src/ctype/iswcntrl.c",
344  "src/ctype/iswctype.c",
345  "src/ctype/iswdigit.c",
346  "src/ctype/iswgraph.c",
347  "src/ctype/iswlower.c",
348  "src/ctype/iswprint.c",
349  "src/ctype/iswpunct.c",
350  "src/ctype/iswspace.c",
351  "src/ctype/iswupper.c",
352  "src/ctype/iswxdigit.c",
353  "src/ctype/isxdigit.c",
354  "src/ctype/toascii.c",
355  "src/ctype/tolower.c",
356  "src/ctype/toupper.c",
357  "src/ctype/towctrans.c",
358  "src/ctype/wcswidth.c",
359  "src/ctype/wctrans.c",
360  "src/ctype/wcwidth.c",
361  "src/dirent/alphasort.c",
362  "src/dirent/closedir.c",
363  "src/dirent/dirfd.c",
364  "src/dirent/fdopendir.c",
365  "src/dirent/opendir.c",
366  "src/dirent/readdir.c",
367  "src/dirent/readdir_r.c",
368  "src/dirent/rewinddir.c",
369  "src/dirent/scandir.c",
370  "src/dirent/seekdir.c",
371  "src/dirent/telldir.c",
372  "src/dirent/versionsort.c",
373  "src/env/__environ.c",
374  "src/env/__init_tls.c",
375  "src/env/__libc_start_main.c",
376  "src/env/__reset_tls.c",
377  "src/env/__stack_chk_fail.c",
378  "src/env/clearenv.c",
379  "src/env/getenv.c",
380  "src/env/putenv.c",
381  "src/env/secure_getenv.c",
382  "src/env/setenv.c",
383  "src/env/unsetenv.c",
384  "src/errno/__errno_location.c",
385  "src/errno/strerror.c",
386  "src/exit/_Exit.c",
387  "src/exit/abort_lock.c",
388  "src/exit/abort.c",
389  "src/exit/assert.c",
390  "src/exit/at_quick_exit.c",
391  "src/exit/atexit.c",
392  "src/exit/exit.c",
393  "src/exit/quick_exit.c",
394  "src/fcntl/creat.c",
395  "src/fcntl/fcntl.c",
396  "src/fcntl/open.c",
397  "src/fcntl/openat.c",
398  "src/fcntl/posix_fadvise.c",
399  "src/fcntl/posix_fallocate.c",
400  "src/fenv/__flt_rounds.c",
401  "src/fenv/fegetexceptflag.c",
402  "src/fenv/feholdexcept.c",
403  "src/fenv/fenv.c",
404  "src/fenv/fesetexceptflag.c",
405  "src/fenv/fesetround.c",
406  "src/fenv/feupdateenv.c",
407  "src/fortify/fortify.c",
408  "src/internal/defsysinfo.c",
409  "src/internal/floatscan.c",
410  "src/internal/intscan.c",
411  "src/internal/libc.c",
412  "src/internal/procfdname.c",
413  "src/internal/shgetc.c",
414  "src/internal/syscall_ret.c",
415  "src/internal/vdso.c",
416  "src/internal/version.c",
417  "src/hilog/hilog_adapter.c",
418  "src/hilog/vsnprintf_s_p.c",
419  "src/ipc/ftok.c",
420  "src/ipc/msgctl.c",
421  "src/ipc/msgget.c",
422  "src/ipc/msgrcv.c",
423  "src/ipc/msgsnd.c",
424  "src/ipc/semctl.c",
425  "src/ipc/semget.c",
426  "src/ipc/semop.c",
427  "src/ipc/semtimedop.c",
428  "src/ipc/shmat.c",
429  "src/ipc/shmctl.c",
430  "src/ipc/shmdt.c",
431  "src/ipc/shmget.c",
432  "src/ldso/__dlsym.c",
433  "src/ldso/dl_iterate_phdr.c",
434  "src/ldso/dladdr.c",
435  "src/ldso/dlclose.c",
436  "src/ldso/dlerror.c",
437  "src/ldso/dlinfo.c",
438  "src/ldso/dlopen.c",
439  "src/ldso/dlsym.c",
440  "src/ldso/tlsdesc.c",
441  "src/legacy/cuserid.c",
442  "src/legacy/daemon.c",
443  "src/legacy/err.c",
444  "src/legacy/euidaccess.c",
445  "src/legacy/ftw.c",
446  "src/legacy/futimes.c",
447  "src/legacy/getdtablesize.c",
448  "src/legacy/getloadavg.c",
449  "src/legacy/getpagesize.c",
450  "src/legacy/getpass.c",
451  "src/legacy/getusershell.c",
452  "src/legacy/isastream.c",
453  "src/legacy/lutimes.c",
454  "src/legacy/ulimit.c",
455  "src/legacy/utmpx.c",
456  "src/legacy/valloc.c",
457  "src/linux/adjtime.c",
458  "src/linux/adjtimex.c",
459  "src/linux/arch_prctl.c",
460  "src/linux/brk.c",
461  "src/linux/cache.c",
462  "src/linux/cap.c",
463  "src/linux/chroot.c",
464  "src/linux/clock_adjtime.c",
465  "src/linux/clone.c",
466  "src/linux/copy_file_range.c",
467  "src/linux/epoll.c",
468  "src/linux/eventfd.c",
469  "src/linux/fallocate.c",
470  "src/linux/fanotify.c",
471  "src/linux/flock.c",
472  "src/linux/getdents.c",
473  "src/linux/getrandom.c",
474  "src/linux/gettid.c",
475  "src/linux/inotify.c",
476  "src/linux/ioperm.c",
477  "src/linux/iopl.c",
478  "src/linux/klogctl.c",
479  "src/linux/membarrier.c",
480  "src/linux/memfd_create.c",
481  "src/linux/mlock2.c",
482  "src/linux/module.c",
483  "src/linux/mount.c",
484  "src/linux/name_to_handle_at.c",
485  "src/linux/open_by_handle_at.c",
486  "src/linux/personality.c",
487  "src/linux/pivot_root.c",
488  "src/linux/ppoll.c",
489  "src/linux/prctl.c",
490  "src/linux/prlimit.c",
491  "src/linux/process_vm.c",
492  "src/linux/ptrace.c",
493  "src/linux/quotactl.c",
494  "src/linux/readahead.c",
495  "src/linux/reboot.c",
496  "src/linux/tgkill.c",
497  "src/linux/remap_file_pages.c",
498  "src/linux/sbrk.c",
499  "src/linux/sendfile.c",
500  "src/linux/setfsgid.c",
501  "src/linux/setfsuid.c",
502  "src/linux/setgroups.c",
503  "src/linux/sethostname.c",
504  "src/linux/setns.c",
505  "src/linux/settimeofday.c",
506  "src/linux/signalfd.c",
507  "src/linux/splice.c",
508  "src/linux/stime.c",
509  "src/linux/swap.c",
510  "src/linux/sync_file_range.c",
511  "src/linux/syncfs.c",
512  "src/linux/sysinfo.c",
513  "src/linux/tee.c",
514  "src/linux/timerfd.c",
515  "src/linux/unshare.c",
516  "src/linux/utimes.c",
517  "src/linux/vhangup.c",
518  "src/linux/vmsplice.c",
519  "src/linux/wait3.c",
520  "src/linux/wait4.c",
521  "src/linux/xattr.c",
522  "src/locale/__lctrans.c",
523  "src/locale/__mo_lookup.c",
524  "src/locale/bind_textdomain_codeset.c",
525  "src/locale/c_locale.c",
526  "src/locale/catclose.c",
527  "src/locale/catgets.c",
528  "src/locale/catopen.c",
529  "src/locale/dcngettext.c",
530  "src/locale/duplocale.c",
531  "src/locale/freelocale.c",
532  "src/locale/iconv.c",
533  "src/locale/iconv_close.c",
534  "src/locale/langinfo.c",
535  "src/locale/locale_map.c",
536  "src/locale/localeconv.c",
537  "src/locale/newlocale.c",
538  "src/locale/pleval.c",
539  "src/locale/setlocale.c",
540  "src/locale/strcoll.c",
541  "src/locale/strtod_l.c",
542  "src/locale/strfmon.c",
543  "src/locale/strxfrm.c",
544  "src/locale/textdomain.c",
545  "src/locale/uselocale.c",
546  "src/locale/wcscoll.c",
547  "src/locale/wcsxfrm.c",
548  "src/malloc/mallocng/aligned_alloc.c",
549  "src/malloc/mallocng/donate.c",
550  "src/malloc/mallocng/free.c",
551  "src/malloc/mallocng/glue.h",
552  "src/malloc/mallocng/malloc_usable_size.c",
553  "src/malloc/mallocng/malloc.c",
554  "src/malloc/mallocng/meta.h",
555  "src/malloc/mallocng/realloc.c",
556  "src/malloc/stats.c",
557  "src/malloc/calloc.c",
558  "src/malloc/free.c",
559  "src/malloc/libc_calloc.c",
560  "src/malloc/lite_malloc.c",
561  "src/malloc/memalign.c",
562  "src/malloc/posix_memalign.c",
563  "src/malloc/realloc.c",
564  "src/malloc/reallocarray.c",
565  "src/malloc/replaced.c",
566  "src/math/__cos.c",
567  "src/math/__cosdf.c",
568  "src/math/__cosl.c",
569  "src/math/__expo2.c",
570  "src/math/__expo2f.c",
571  "src/math/__fpclassify.c",
572  "src/math/__fpclassifyf.c",
573  "src/math/__fpclassifyl.c",
574  "src/math/__invtrigl.c",
575  "src/math/__math_divzero.c",
576  "src/math/__math_divzerof.c",
577  "src/math/__math_invalid.c",
578  "src/math/__math_invalidl.c",
579  "src/math/__math_invalidf.c",
580  "src/math/__math_oflow.c",
581  "src/math/__math_oflowf.c",
582  "src/math/__math_uflow.c",
583  "src/math/__math_uflowf.c",
584  "src/math/__math_xflow.c",
585  "src/math/__math_xflowf.c",
586  "src/math/__polevll.c",
587  "src/math/__rem_pio2.c",
588  "src/math/__rem_pio2_large.c",
589  "src/math/__rem_pio2f.c",
590  "src/math/__rem_pio2l.c",
591  "src/math/__signbit.c",
592  "src/math/__signbitf.c",
593  "src/math/__signbitl.c",
594  "src/math/__sin.c",
595  "src/math/__sindf.c",
596  "src/math/__sinl.c",
597  "src/math/__tan.c",
598  "src/math/__tandf.c",
599  "src/math/__tanl.c",
600  "src/math/acos.c",
601  "src/math/acosf.c",
602  "src/math/acosh.c",
603  "src/math/acoshf.c",
604  "src/math/acoshl.c",
605  "src/math/acosl.c",
606  "src/math/asin.c",
607  "src/math/asinf.c",
608  "src/math/asinh.c",
609  "src/math/asinhf.c",
610  "src/math/asinhl.c",
611  "src/math/asinl.c",
612  "src/math/atan.c",
613  "src/math/atan2.c",
614  "src/math/atan2f.c",
615  "src/math/atan2l.c",
616  "src/math/atanf.c",
617  "src/math/atanh.c",
618  "src/math/atanhf.c",
619  "src/math/atanhl.c",
620  "src/math/atanl.c",
621  "src/math/cbrt.c",
622  "src/math/cbrtf.c",
623  "src/math/cbrtl.c",
624  "src/math/ceil.c",
625  "src/math/ceilf.c",
626  "src/math/ceill.c",
627  "src/math/copysign.c",
628  "src/math/copysignf.c",
629  "src/math/copysignl.c",
630  "src/math/cos.c",
631  "src/math/cosf.c",
632  "src/math/cosh.c",
633  "src/math/coshf.c",
634  "src/math/coshl.c",
635  "src/math/cosl.c",
636  "src/math/erf.c",
637  "src/math/erff.c",
638  "src/math/erfl.c",
639  "src/math/exp.c",
640  "src/math/exp10.c",
641  "src/math/exp10f.c",
642  "src/math/exp10l.c",
643  "src/math/exp2.c",
644  "src/math/exp2f.c",
645  "src/math/exp2f_data.c",
646  "src/math/exp2l.c",
647  "src/math/exp_data.c",
648  "src/math/expf.c",
649  "src/math/expl.c",
650  "src/math/expm1.c",
651  "src/math/expm1f.c",
652  "src/math/expm1l.c",
653  "src/math/fabs.c",
654  "src/math/fabsf.c",
655  "src/math/fabsl.c",
656  "src/math/fdim.c",
657  "src/math/fdimf.c",
658  "src/math/fdiml.c",
659  "src/math/finite.c",
660  "src/math/finitef.c",
661  "src/math/floor.c",
662  "src/math/floorf.c",
663  "src/math/floorl.c",
664  "src/math/fma.c",
665  "src/math/fmaf.c",
666  "src/math/fmal.c",
667  "src/math/fmax.c",
668  "src/math/fmaxf.c",
669  "src/math/fmaxl.c",
670  "src/math/fmin.c",
671  "src/math/fminf.c",
672  "src/math/fminl.c",
673  "src/math/fmod.c",
674  "src/math/fmodf.c",
675  "src/math/fmodl.c",
676  "src/math/frexp.c",
677  "src/math/frexpf.c",
678  "src/math/frexpl.c",
679  "src/math/hypot.c",
680  "src/math/hypotf.c",
681  "src/math/hypotl.c",
682  "src/math/ilogb.c",
683  "src/math/ilogbf.c",
684  "src/math/ilogbl.c",
685  "src/math/j0.c",
686  "src/math/j0f.c",
687  "src/math/j1.c",
688  "src/math/j1f.c",
689  "src/math/jn.c",
690  "src/math/jnf.c",
691  "src/math/ldexp.c",
692  "src/math/ldexpf.c",
693  "src/math/ldexpl.c",
694  "src/math/lgamma.c",
695  "src/math/lgamma_r.c",
696  "src/math/lgammaf.c",
697  "src/math/lgammaf_r.c",
698  "src/math/lgammal.c",
699  "src/math/llrint.c",
700  "src/math/llrintf.c",
701  "src/math/llrintl.c",
702  "src/math/llround.c",
703  "src/math/llroundf.c",
704  "src/math/llroundl.c",
705  "src/math/log.c",
706  "src/math/log10.c",
707  "src/math/log10f.c",
708  "src/math/log10l.c",
709  "src/math/log1p.c",
710  "src/math/log1pf.c",
711  "src/math/log1pl.c",
712  "src/math/log2.c",
713  "src/math/log2_data.c",
714  "src/math/log2f.c",
715  "src/math/log2f_data.c",
716  "src/math/log2l.c",
717  "src/math/log_data.c",
718  "src/math/logb.c",
719  "src/math/logbf.c",
720  "src/math/logbl.c",
721  "src/math/logf.c",
722  "src/math/logf_data.c",
723  "src/math/logl.c",
724  "src/math/lrint.c",
725  "src/math/lrintf.c",
726  "src/math/lrintl.c",
727  "src/math/lround.c",
728  "src/math/lroundf.c",
729  "src/math/lroundl.c",
730  "src/math/modf.c",
731  "src/math/modff.c",
732  "src/math/modfl.c",
733  "src/math/nan.c",
734  "src/math/nanf.c",
735  "src/math/nanl.c",
736  "src/math/nearbyint.c",
737  "src/math/nearbyintf.c",
738  "src/math/nearbyintl.c",
739  "src/math/nextafter.c",
740  "src/math/nextafterf.c",
741  "src/math/nextafterl.c",
742  "src/math/nexttoward.c",
743  "src/math/nexttowardf.c",
744  "src/math/nexttowardl.c",
745  "src/math/pow.c",
746  "src/math/pow_data.c",
747  "src/math/powf.c",
748  "src/math/powf_data.c",
749  "src/math/powl.c",
750  "src/math/remainder.c",
751  "src/math/remainderf.c",
752  "src/math/remainderl.c",
753  "src/math/remquo.c",
754  "src/math/remquof.c",
755  "src/math/remquol.c",
756  "src/math/rint.c",
757  "src/math/rintf.c",
758  "src/math/rintl.c",
759  "src/math/round.c",
760  "src/math/roundf.c",
761  "src/math/roundl.c",
762  "src/math/scalb.c",
763  "src/math/scalbf.c",
764  "src/math/scalbln.c",
765  "src/math/scalblnf.c",
766  "src/math/scalblnl.c",
767  "src/math/scalbn.c",
768  "src/math/scalbnf.c",
769  "src/math/scalbnl.c",
770  "src/math/signgam.c",
771  "src/math/significand.c",
772  "src/math/significandf.c",
773  "src/math/sin.c",
774  "src/math/sincos.c",
775  "src/math/sincosf.c",
776  "src/math/sincosl.c",
777  "src/math/sinf.c",
778  "src/math/sinh.c",
779  "src/math/sinhf.c",
780  "src/math/sinhl.c",
781  "src/math/sinl.c",
782  "src/math/sqrt_data.c",
783  "src/math/sqrt.c",
784  "src/math/sqrtf.c",
785  "src/math/sqrtl.c",
786  "src/math/tan.c",
787  "src/math/tanf.c",
788  "src/math/tanh.c",
789  "src/math/tanhf.c",
790  "src/math/tanhl.c",
791  "src/math/tanl.c",
792  "src/math/tgamma.c",
793  "src/math/tgammaf.c",
794  "src/math/tgammal.c",
795  "src/math/trunc.c",
796  "src/math/truncf.c",
797  "src/math/truncl.c",
798  "src/misc/a64l.c",
799  "src/misc/basename.c",
800  "src/misc/dirname.c",
801  "src/misc/ffs.c",
802  "src/misc/ffsl.c",
803  "src/misc/ffsll.c",
804  "src/misc/fmtmsg.c",
805  "src/misc/forkpty.c",
806  "src/misc/get_current_dir_name.c",
807  "src/misc/getauxval.c",
808  "src/misc/getdomainname.c",
809  "src/misc/getentropy.c",
810  "src/misc/gethostid.c",
811  "src/misc/getopt.c",
812  "src/misc/getopt_long.c",
813  "src/misc/getpriority.c",
814  "src/misc/getresgid.c",
815  "src/misc/getresuid.c",
816  "src/misc/getrlimit.c",
817  "src/misc/getrusage.c",
818  "src/misc/getsubopt.c",
819  "src/misc/initgroups.c",
820  "src/misc/ioctl.c",
821  "src/misc/issetugid.c",
822  "src/misc/lockf.c",
823  "src/misc/login_tty.c",
824  "src/misc/mntent.c",
825  "src/misc/nftw.c",
826  "src/misc/openpty.c",
827  "src/misc/ptsname.c",
828  "src/misc/pty.c",
829  "src/misc/realpath.c",
830  "src/misc/setdomainname.c",
831  "src/misc/setpriority.c",
832  "src/misc/setrlimit.c",
833  "src/misc/syscall.c",
834  "src/misc/syslog.c",
835  "src/misc/uname.c",
836  "src/misc/wordexp.c",
837  "src/mman/madvise.c",
838  "src/mman/mincore.c",
839  "src/mman/mlock.c",
840  "src/mman/mlockall.c",
841  "src/mman/mmap.c",
842  "src/mman/mprotect.c",
843  "src/mman/mremap.c",
844  "src/mman/msync.c",
845  "src/mman/munlock.c",
846  "src/mman/munlockall.c",
847  "src/mman/munmap.c",
848  "src/mman/posix_madvise.c",
849  "src/mman/shm_open.c",
850  "src/mq/mq_close.c",
851  "src/mq/mq_getattr.c",
852  "src/mq/mq_notify.c",
853  "src/mq/mq_open.c",
854  "src/mq/mq_receive.c",
855  "src/mq/mq_send.c",
856  "src/mq/mq_setattr.c",
857  "src/mq/mq_timedreceive.c",
858  "src/mq/mq_timedsend.c",
859  "src/mq/mq_unlink.c",
860  "src/multibyte/btowc.c",
861  "src/multibyte/c16rtomb.c",
862  "src/multibyte/c32rtomb.c",
863  "src/multibyte/internal.c",
864  "src/multibyte/mblen.c",
865  "src/multibyte/mbrlen.c",
866  "src/multibyte/mbrtoc16.c",
867  "src/multibyte/mbrtoc32.c",
868  "src/multibyte/mbrtowc.c",
869  "src/multibyte/mbsinit.c",
870  "src/multibyte/mbsnrtowcs.c",
871  "src/multibyte/mbsrtowcs.c",
872  "src/multibyte/mbstowcs.c",
873  "src/multibyte/mbtowc.c",
874  "src/multibyte/wcrtomb.c",
875  "src/multibyte/wcsnrtombs.c",
876  "src/multibyte/wcsrtombs.c",
877  "src/multibyte/wcstombs.c",
878  "src/multibyte/wctob.c",
879  "src/multibyte/wctomb.c",
880  "src/network/accept.c",
881  "src/network/accept4.c",
882  "src/network/bind.c",
883  "src/network/connect.c",
884  "src/network/dn_comp.c",
885  "src/network/dn_expand.c",
886  "src/network/dn_skipname.c",
887  "src/network/dns_parse.c",
888  "src/network/ent.c",
889  "src/network/ether.c",
890  "src/network/freeaddrinfo.c",
891  "src/network/gai_strerror.c",
892  "src/network/getaddrinfo.c",
893  "src/network/gethostbyaddr.c",
894  "src/network/gethostbyaddr_r.c",
895  "src/network/gethostbyname.c",
896  "src/network/gethostbyname2.c",
897  "src/network/gethostbyname2_r.c",
898  "src/network/gethostbyname_r.c",
899  "src/network/getifaddrs.c",
900  "src/network/getnameinfo.c",
901  "src/network/getpeername.c",
902  "src/network/getservbyname.c",
903  "src/network/getservbyname_r.c",
904  "src/network/getservbyport.c",
905  "src/network/getservbyport_r.c",
906  "src/network/getsockname.c",
907  "src/network/getsockopt.c",
908  "src/network/h_errno.c",
909  "src/network/herror.c",
910  "src/network/hstrerror.c",
911  "src/network/htonl.c",
912  "src/network/htons.c",
913  "src/network/if_freenameindex.c",
914  "src/network/if_indextoname.c",
915  "src/network/if_nameindex.c",
916  "src/network/if_nametoindex.c",
917  "src/network/in6addr_any.c",
918  "src/network/in6addr_loopback.c",
919  "src/network/inet_addr.c",
920  "src/network/inet_aton.c",
921  "src/network/inet_legacy.c",
922  "src/network/inet_ntoa.c",
923  "src/network/inet_ntop.c",
924  "src/network/inet_pton.c",
925  "src/network/listen.c",
926  "src/network/lookup_ipliteral.c",
927  "src/network/lookup_name.c",
928  "src/network/lookup_serv.c",
929  "src/network/netlink.c",
930  "src/network/netname.c",
931  "src/network/ns_parse.c",
932  "src/network/ntohl.c",
933  "src/network/ntohs.c",
934  "src/network/proto.c",
935  "src/network/recv.c",
936  "src/network/recvfrom.c",
937  "src/network/recvmmsg.c",
938  "src/network/recvmsg.c",
939  "src/network/res_cache.c",
940  "src/network/res_init.c",
941  "src/network/res_mkquery.c",
942  "src/network/res_msend.c",
943  "src/network/res_query.c",
944  "src/network/res_querydomain.c",
945  "src/network/res_send.c",
946  "src/network/res_state.c",
947  "src/network/resolvconf.c",
948  "src/network/send.c",
949  "src/network/sendmmsg.c",
950  "src/network/sendmsg.c",
951  "src/network/sendto.c",
952  "src/network/serv.c",
953  "src/network/setsockopt.c",
954  "src/network/shutdown.c",
955  "src/network/sockatmark.c",
956  "src/network/socket.c",
957  "src/network/socketpair.c",
958  "src/passwd/fgetgrent.c",
959  "src/passwd/fgetpwent.c",
960  "src/passwd/fgetspent.c",
961  "src/passwd/getgr_a.c",
962  "src/passwd/getgr_r.c",
963  "src/passwd/getgrent.c",
964  "src/passwd/getgrent_a.c",
965  "src/passwd/getgrouplist.c",
966  "src/passwd/getpw_a.c",
967  "src/passwd/getpw_r.c",
968  "src/passwd/getpwent.c",
969  "src/passwd/getpwent_a.c",
970  "src/passwd/getspent.c",
971  "src/passwd/getspnam.c",
972  "src/passwd/getspnam_r.c",
973  "src/passwd/lckpwdf.c",
974  "src/passwd/nscd_query.c",
975  "src/passwd/putgrent.c",
976  "src/passwd/putpwent.c",
977  "src/passwd/putspent.c",
978  "src/prng/__rand48_step.c",
979  "src/prng/__seed48.c",
980  "src/prng/drand48.c",
981  "src/prng/lcong48.c",
982  "src/prng/lrand48.c",
983  "src/prng/mrand48.c",
984  "src/prng/rand.c",
985  "src/prng/rand_r.c",
986  "src/prng/random.c",
987  "src/prng/seed48.c",
988  "src/prng/srand48.c",
989  "src/process/execl.c",
990  "src/process/execle.c",
991  "src/process/execlp.c",
992  "src/process/execv.c",
993  "src/process/execve.c",
994  "src/process/execvp.c",
995  "src/process/fexecve.c",
996  "src/process/fork.c",
997  "src/process/_Fork.c",
998  "src/process/posix_spawn.c",
999  "src/process/posix_spawn_file_actions_addchdir.c",
1000  "src/process/posix_spawn_file_actions_addclose.c",
1001  "src/process/posix_spawn_file_actions_adddup2.c",
1002  "src/process/posix_spawn_file_actions_addfchdir.c",
1003  "src/process/posix_spawn_file_actions_addopen.c",
1004  "src/process/posix_spawn_file_actions_destroy.c",
1005  "src/process/posix_spawn_file_actions_init.c",
1006  "src/process/posix_spawnattr_destroy.c",
1007  "src/process/posix_spawnattr_getflags.c",
1008  "src/process/posix_spawnattr_getpgroup.c",
1009  "src/process/posix_spawnattr_getsigdefault.c",
1010  "src/process/posix_spawnattr_getsigmask.c",
1011  "src/process/posix_spawnattr_init.c",
1012  "src/process/posix_spawnattr_sched.c",
1013  "src/process/posix_spawnattr_setflags.c",
1014  "src/process/posix_spawnattr_setpgroup.c",
1015  "src/process/posix_spawnattr_setsigdefault.c",
1016  "src/process/posix_spawnattr_setsigmask.c",
1017  "src/process/posix_spawnp.c",
1018  "src/process/system.c",
1019  "src/process/vfork.c",
1020  "src/process/wait.c",
1021  "src/process/waitid.c",
1022  "src/process/waitpid.c",
1023  "src/regex/fnmatch.c",
1024  "src/regex/glob.c",
1025  "src/regex/regcomp.c",
1026  "src/regex/regerror.c",
1027  "src/regex/regexec.c",
1028  "src/regex/tre-mem.c",
1029  "src/sched/sched_cpualloc.c",
1030  "src/sched/affinity.c",
1031  "src/sched/sched_cpucount.c",
1032  "src/sched/sched_get_priority_max.c",
1033  "src/sched/sched_getcpu.c",
1034  "src/sched/sched_getparam.c",
1035  "src/sched/sched_getscheduler.c",
1036  "src/sched/sched_rr_get_interval.c",
1037  "src/sched/sched_setparam.c",
1038  "src/sched/sched_setscheduler.c",
1039  "src/sched/sched_yield.c",
1040  "src/search/hsearch.c",
1041  "src/search/insque.c",
1042  "src/search/lsearch.c",
1043  "src/search/tdelete.c",
1044  "src/search/tdestroy.c",
1045  "src/search/tfind.c",
1046  "src/search/tsearch.c",
1047  "src/search/twalk.c",
1048  "src/select/poll.c",
1049  "src/select/pselect.c",
1050  "src/select/select.c",
1051  "src/setjmp/longjmp.c",
1052  "src/setjmp/setjmp.c",
1053  "src/signal/block.c",
1054  "src/signal/getitimer.c",
1055  "src/signal/kill.c",
1056  "src/signal/killpg.c",
1057  "src/signal/psiginfo.c",
1058  "src/signal/psignal.c",
1059  "src/signal/raise.c",
1060  "src/signal/restore.c",
1061  "src/signal/setitimer.c",
1062  "src/signal/sigaction.c",
1063  "src/signal/sigaddset.c",
1064  "src/signal/sigaltstack.c",
1065  "src/signal/sigandset.c",
1066  "src/signal/sigdelset.c",
1067  "src/signal/sigemptyset.c",
1068  "src/signal/sigfillset.c",
1069  "src/signal/sighold.c",
1070  "src/signal/sigignore.c",
1071  "src/signal/siginterrupt.c",
1072  "src/signal/sigisemptyset.c",
1073  "src/signal/sigismember.c",
1074  "src/signal/siglongjmp.c",
1075  "src/signal/signal.c",
1076  "src/signal/sigorset.c",
1077  "src/signal/sigpause.c",
1078  "src/signal/sigpending.c",
1079  "src/signal/sigprocmask.c",
1080  "src/signal/sigqueue.c",
1081  "src/signal/sigrelse.c",
1082  "src/signal/sigrtmax.c",
1083  "src/signal/sigrtmin.c",
1084  "src/signal/sigset.c",
1085  "src/signal/sigsetjmp.c",
1086  "src/signal/sigsetjmp_tail.c",
1087  "src/signal/sigsuspend.c",
1088  "src/signal/sigtimedwait.c",
1089  "src/signal/sigwait.c",
1090  "src/signal/sigwaitinfo.c",
1091  "src/sigchain/sigchain.c",
1092  "src/stat/__xstat.c",
1093  "src/stat/chmod.c",
1094  "src/stat/fchmod.c",
1095  "src/stat/fchmodat.c",
1096  "src/stat/fstat.c",
1097  "src/stat/fstatat.c",
1098  "src/stat/futimens.c",
1099  "src/stat/futimesat.c",
1100  "src/stat/lchmod.c",
1101  "src/stat/lstat.c",
1102  "src/stat/mkdir.c",
1103  "src/stat/mkdirat.c",
1104  "src/stat/mkfifo.c",
1105  "src/stat/mkfifoat.c",
1106  "src/stat/mknod.c",
1107  "src/stat/mknodat.c",
1108  "src/stat/stat.c",
1109  "src/stat/statvfs.c",
1110  "src/stat/umask.c",
1111  "src/stat/utimensat.c",
1112  "src/stdio/__fclose_ca.c",
1113  "src/stdio/__fdopen.c",
1114  "src/stdio/__fmodeflags.c",
1115  "src/stdio/__fopen_rb_ca.c",
1116  "src/stdio/__lockfile.c",
1117  "src/stdio/__overflow.c",
1118  "src/stdio/__stdio_close.c",
1119  "src/stdio/__stdio_exit.c",
1120  "src/stdio/__stdio_read.c",
1121  "src/stdio/__stdio_seek.c",
1122  "src/stdio/__stdio_write.c",
1123  "src/stdio/__stdout_write.c",
1124  "src/stdio/__toread.c",
1125  "src/stdio/__towrite.c",
1126  "src/stdio/__uflow.c",
1127  "src/stdio/asprintf.c",
1128  "src/stdio/clearerr.c",
1129  "src/stdio/dprintf.c",
1130  "src/stdio/ext.c",
1131  "src/stdio/ext2.c",
1132  "src/stdio/fclose.c",
1133  "src/stdio/feof.c",
1134  "src/stdio/ferror.c",
1135  "src/stdio/fflush.c",
1136  "src/stdio/fgetc.c",
1137  "src/stdio/fgetln.c",
1138  "src/stdio/fgetpos.c",
1139  "src/stdio/fgets.c",
1140  "src/stdio/fgetwc.c",
1141  "src/stdio/fgetws.c",
1142  "src/stdio/fileno.c",
1143  "src/stdio/flockfile.c",
1144  "src/stdio/fmemopen.c",
1145  "src/stdio/fopen.c",
1146  "src/stdio/fopencookie.c",
1147  "src/stdio/fprintf.c",
1148  "src/stdio/fputc.c",
1149  "src/stdio/fputs.c",
1150  "src/stdio/fputwc.c",
1151  "src/stdio/fputws.c",
1152  "src/stdio/fread.c",
1153  "src/stdio/freopen.c",
1154  "src/stdio/fscanf.c",
1155  "src/stdio/fseek.c",
1156  "src/stdio/fsetpos.c",
1157  "src/stdio/ftell.c",
1158  "src/stdio/ftrylockfile.c",
1159  "src/stdio/funlockfile.c",
1160  "src/stdio/fwide.c",
1161  "src/stdio/fwprintf.c",
1162  "src/stdio/fwrite.c",
1163  "src/stdio/fwscanf.c",
1164  "src/stdio/getc.c",
1165  "src/stdio/getc_unlocked.c",
1166  "src/stdio/getchar.c",
1167  "src/stdio/getchar_unlocked.c",
1168  "src/stdio/getdelim.c",
1169  "src/stdio/getline.c",
1170  "src/stdio/gets.c",
1171  "src/stdio/getw.c",
1172  "src/stdio/getwc.c",
1173  "src/stdio/getwchar.c",
1174  "src/stdio/ofl.c",
1175  "src/stdio/ofl_add.c",
1176  "src/stdio/open_memstream.c",
1177  "src/stdio/open_wmemstream.c",
1178  "src/stdio/pclose.c",
1179  "src/stdio/perror.c",
1180  "src/stdio/popen.c",
1181  "src/stdio/printf.c",
1182  "src/stdio/putc.c",
1183  "src/stdio/putc_unlocked.c",
1184  "src/stdio/putchar.c",
1185  "src/stdio/putchar_unlocked.c",
1186  "src/stdio/puts.c",
1187  "src/stdio/putw.c",
1188  "src/stdio/putwc.c",
1189  "src/stdio/putwchar.c",
1190  "src/stdio/remove.c",
1191  "src/stdio/rename.c",
1192  "src/stdio/rewind.c",
1193  "src/stdio/scanf.c",
1194  "src/stdio/setbuf.c",
1195  "src/stdio/setbuffer.c",
1196  "src/stdio/setlinebuf.c",
1197  "src/stdio/setvbuf.c",
1198  "src/stdio/snprintf.c",
1199  "src/stdio/sprintf.c",
1200  "src/stdio/sscanf.c",
1201  "src/stdio/stderr.c",
1202  "src/stdio/stdin.c",
1203  "src/stdio/stdout.c",
1204  "src/stdio/swprintf.c",
1205  "src/stdio/swscanf.c",
1206  "src/stdio/tempnam.c",
1207  "src/stdio/tmpfile.c",
1208  "src/stdio/tmpnam.c",
1209  "src/stdio/ungetc.c",
1210  "src/stdio/ungetwc.c",
1211  "src/stdio/vasprintf.c",
1212  "src/stdio/vdprintf.c",
1213  "src/stdio/vfprintf.c",
1214  "src/stdio/vfscanf.c",
1215  "src/stdio/vfwprintf.c",
1216  "src/stdio/vfwscanf.c",
1217  "src/stdio/vprintf.c",
1218  "src/stdio/vscanf.c",
1219  "src/stdio/vsnprintf.c",
1220  "src/stdio/vsprintf.c",
1221  "src/stdio/vsscanf.c",
1222  "src/stdio/vswprintf.c",
1223  "src/stdio/vswscanf.c",
1224  "src/stdio/vwprintf.c",
1225  "src/stdio/vwscanf.c",
1226  "src/stdio/wprintf.c",
1227  "src/stdio/wscanf.c",
1228  "src/stdlib/abs.c",
1229  "src/stdlib/atof.c",
1230  "src/stdlib/atoi.c",
1231  "src/stdlib/atol.c",
1232  "src/stdlib/atoll.c",
1233  "src/stdlib/bsearch.c",
1234  "src/stdlib/div.c",
1235  "src/stdlib/ecvt.c",
1236  "src/stdlib/fcvt.c",
1237  "src/stdlib/gcvt.c",
1238  "src/stdlib/imaxabs.c",
1239  "src/stdlib/imaxdiv.c",
1240  "src/stdlib/labs.c",
1241  "src/stdlib/ldiv.c",
1242  "src/stdlib/llabs.c",
1243  "src/stdlib/lldiv.c",
1244  "src/stdlib/qsort.c",
1245  "src/stdlib/qsort_nr.c",
1246  "src/stdlib/strtod.c",
1247  "src/stdlib/strtol.c",
1248  "src/stdlib/wcstod.c",
1249  "src/stdlib/wcstol.c",
1250  "src/string/bcmp.c",
1251  "src/string/bcopy.c",
1252  "src/string/bzero.c",
1253  "src/string/explicit_bzero.c",
1254  "src/string/index.c",
1255  "src/string/memccpy.c",
1256  "src/string/memchr.c",
1257  "src/string/memcmp.c",
1258  "src/string/memcpy.c",
1259  "src/string/memmem.c",
1260  "src/string/memmove.c",
1261  "src/string/mempcpy.c",
1262  "src/string/memrchr.c",
1263  "src/string/memset.c",
1264  "src/string/rindex.c",
1265  "src/string/stpcpy.c",
1266  "src/string/stpncpy.c",
1267  "src/string/strcasecmp.c",
1268  "src/string/strcasestr.c",
1269  "src/string/strcat.c",
1270  "src/string/strchr.c",
1271  "src/string/strchrnul.c",
1272  "src/string/strcmp.c",
1273  "src/string/strcpy.c",
1274  "src/string/strcspn.c",
1275  "src/string/strdup.c",
1276  "src/string/strerror_r.c",
1277  "src/string/strlcat.c",
1278  "src/string/strlcpy.c",
1279  "src/string/strlen.c",
1280  "src/string/strncasecmp.c",
1281  "src/string/strncat.c",
1282  "src/string/strncmp.c",
1283  "src/string/strncpy.c",
1284  "src/string/strndup.c",
1285  "src/string/strnlen.c",
1286  "src/string/strpbrk.c",
1287  "src/string/strrchr.c",
1288  "src/string/strsep.c",
1289  "src/string/strsignal.c",
1290  "src/string/strspn.c",
1291  "src/string/strstr.c",
1292  "src/string/strtok.c",
1293  "src/string/strtok_r.c",
1294  "src/string/strverscmp.c",
1295  "src/string/swab.c",
1296  "src/string/wcpcpy.c",
1297  "src/string/wcpncpy.c",
1298  "src/string/wcscasecmp.c",
1299  "src/string/wcscasecmp_l.c",
1300  "src/string/wcscat.c",
1301  "src/string/wcschr.c",
1302  "src/string/wcscmp.c",
1303  "src/string/wcscpy.c",
1304  "src/string/wcscspn.c",
1305  "src/string/wcsdup.c",
1306  "src/string/wcslen.c",
1307  "src/string/wcsncasecmp.c",
1308  "src/string/wcsncasecmp_l.c",
1309  "src/string/wcsncat.c",
1310  "src/string/wcsncmp.c",
1311  "src/string/wcsncpy.c",
1312  "src/string/wcsnlen.c",
1313  "src/string/wcspbrk.c",
1314  "src/string/wcsrchr.c",
1315  "src/string/wcsspn.c",
1316  "src/string/wcsstr.c",
1317  "src/string/wcstok.c",
1318  "src/string/wcswcs.c",
1319  "src/string/wmemchr.c",
1320  "src/string/wmemcmp.c",
1321  "src/string/wmemcpy.c",
1322  "src/string/wmemmove.c",
1323  "src/string/wmemset.c",
1324  "src/temp/__randname.c",
1325  "src/temp/mkdtemp.c",
1326  "src/temp/mkostemp.c",
1327  "src/temp/mkostemps.c",
1328  "src/temp/mkstemp.c",
1329  "src/temp/mkstemps.c",
1330  "src/temp/mktemp.c",
1331  "src/termios/cfgetospeed.c",
1332  "src/termios/cfmakeraw.c",
1333  "src/termios/cfsetospeed.c",
1334  "src/termios/tcdrain.c",
1335  "src/termios/tcflow.c",
1336  "src/termios/tcflush.c",
1337  "src/termios/tcgetattr.c",
1338  "src/termios/tcgetsid.c",
1339  "src/termios/tcgetwinsize.c",
1340  "src/termios/tcsendbreak.c",
1341  "src/termios/tcsetattr.c",
1342  "src/termios/tcsetwinsize.c",
1343  "src/thread/__lock.c",
1344  "src/thread/__set_thread_area.c",
1345  "src/thread/__syscall_cp.c",
1346  "src/thread/__timedwait.c",
1347  "src/thread/__tls_get_addr.c",
1348  "src/thread/__unmapself.c",
1349  "src/thread/__wait.c",
1350  "src/thread/call_once.c",
1351  "src/thread/clone.c",
1352  "src/thread/cnd_broadcast.c",
1353  "src/thread/cnd_destroy.c",
1354  "src/thread/cnd_init.c",
1355  "src/thread/cnd_signal.c",
1356  "src/thread/cnd_timedwait.c",
1357  "src/thread/cnd_wait.c",
1358  "src/thread/default_attr.c",
1359  "src/thread/lock_ptc.c",
1360  "src/thread/mtx_destroy.c",
1361  "src/thread/mtx_init.c",
1362  "src/thread/mtx_lock.c",
1363  "src/thread/mtx_timedlock.c",
1364  "src/thread/mtx_trylock.c",
1365  "src/thread/mtx_unlock.c",
1366  "src/thread/pthread_atfork.c",
1367  "src/thread/pthread_attr_destroy.c",
1368  "src/thread/pthread_attr_get.c",
1369  "src/thread/pthread_attr_init.c",
1370  "src/thread/pthread_attr_setdetachstate.c",
1371  "src/thread/pthread_attr_setguardsize.c",
1372  "src/thread/pthread_attr_setinheritsched.c",
1373  "src/thread/pthread_attr_setschedparam.c",
1374  "src/thread/pthread_attr_setschedpolicy.c",
1375  "src/thread/pthread_attr_setscope.c",
1376  "src/thread/pthread_attr_setstack.c",
1377  "src/thread/pthread_attr_setstacksize.c",
1378  "src/thread/pthread_barrier_destroy.c",
1379  "src/thread/pthread_barrier_init.c",
1380  "src/thread/pthread_barrier_wait.c",
1381  "src/thread/pthread_barrierattr_destroy.c",
1382  "src/thread/pthread_barrierattr_init.c",
1383  "src/thread/pthread_barrierattr_setpshared.c",
1384  "src/thread/pthread_cancel.c",
1385  "src/thread/pthread_cleanup_push.c",
1386  "src/thread/pthread_cond_broadcast.c",
1387  "src/thread/pthread_cond_destroy.c",
1388  "src/thread/pthread_cond_init.c",
1389  "src/thread/pthread_cond_signal.c",
1390  "src/thread/pthread_cond_timedwait.c",
1391  "src/thread/pthread_cond_wait.c",
1392  "src/thread/pthread_condattr_destroy.c",
1393  "src/thread/pthread_condattr_init.c",
1394  "src/thread/pthread_condattr_setclock.c",
1395  "src/thread/pthread_condattr_setpshared.c",
1396  "src/thread/pthread_create.c",
1397  "src/thread/pthread_detach.c",
1398  "src/thread/pthread_equal.c",
1399  "src/thread/pthread_getattr_np.c",
1400  "src/thread/pthread_getconcurrency.c",
1401  "src/thread/pthread_getcpuclockid.c",
1402  "src/thread/pthread_getname_np.c",
1403  "src/thread/pthread_getschedparam.c",
1404  "src/thread/pthread_getspecific.c",
1405  "src/thread/pthread_join.c",
1406  "src/thread/pthread_key_create.c",
1407  "src/thread/pthread_kill.c",
1408  "src/thread/pthread_mutex_consistent.c",
1409  "src/thread/pthread_mutex_destroy.c",
1410  "src/thread/pthread_mutex_getprioceiling.c",
1411  "src/thread/pthread_mutex_init.c",
1412  "src/thread/pthread_mutex_lock.c",
1413  "src/thread/pthread_mutex_setprioceiling.c",
1414  "src/thread/pthread_mutex_timedlock.c",
1415  "src/thread/pthread_mutex_clocklock.c",
1416  "src/thread/pthread_mutex_timedlock_monotonic_np.c",
1417  "src/thread/pthread_mutex_lock_timeout_np.c",
1418  "src/thread/pthread_mutex_trylock.c",
1419  "src/thread/pthread_mutex_unlock.c",
1420  "src/thread/pthread_mutexattr_destroy.c",
1421  "src/thread/pthread_mutexattr_init.c",
1422  "src/thread/pthread_mutexattr_setprotocol.c",
1423  "src/thread/pthread_mutexattr_setpshared.c",
1424  "src/thread/pthread_mutexattr_setrobust.c",
1425  "src/thread/pthread_mutexattr_settype.c",
1426  "src/thread/pthread_once.c",
1427  "src/thread/pthread_rwlock_destroy.c",
1428  "src/thread/pthread_rwlock_init.c",
1429  "src/thread/pthread_rwlock_rdlock.c",
1430  "src/thread/pthread_rwlock_tryrdlock.c",
1431  "src/thread/pthread_rwlock_trywrlock.c",
1432  "src/thread/pthread_rwlock_unlock.c",
1433  "src/thread/pthread_rwlock_wrlock.c",
1434  "src/thread/pthread_rwlockattr_destroy.c",
1435  "src/thread/pthread_rwlockattr_init.c",
1436  "src/thread/pthread_rwlockattr_setpshared.c",
1437  "src/thread/pthread_self.c",
1438  "src/thread/pthread_setattr_default_np.c",
1439  "src/thread/pthread_setcancelstate.c",
1440  "src/thread/pthread_setcanceltype.c",
1441  "src/thread/pthread_setconcurrency.c",
1442  "src/thread/pthread_setname_np.c",
1443  "src/thread/pthread_setschedparam.c",
1444  "src/thread/pthread_setschedprio.c",
1445  "src/thread/pthread_setspecific.c",
1446  "src/thread/pthread_sigmask.c",
1447  "src/thread/pthread_spin_destroy.c",
1448  "src/thread/pthread_spin_init.c",
1449  "src/thread/pthread_spin_lock.c",
1450  "src/thread/pthread_spin_trylock.c",
1451  "src/thread/pthread_spin_unlock.c",
1452  "src/thread/pthread_testcancel.c",
1453  "src/thread/sem_destroy.c",
1454  "src/thread/sem_getvalue.c",
1455  "src/thread/sem_init.c",
1456  "src/thread/sem_open.c",
1457  "src/thread/sem_post.c",
1458  "src/thread/sem_timedwait.c",
1459  "src/thread/sem_trywait.c",
1460  "src/thread/sem_unlink.c",
1461  "src/thread/sem_wait.c",
1462  "src/thread/synccall.c",
1463  "src/thread/syscall_cp.c",
1464  "src/thread/thrd_create.c",
1465  "src/thread/thrd_exit.c",
1466  "src/thread/thrd_join.c",
1467  "src/thread/thrd_sleep.c",
1468  "src/thread/thrd_yield.c",
1469  "src/thread/tls.c",
1470  "src/thread/tss_create.c",
1471  "src/thread/tss_delete.c",
1472  "src/thread/tss_set.c",
1473  "src/thread/vmlock.c",
1474  "src/time/__map_file.c",
1475  "src/time/__month_to_secs.c",
1476  "src/time/__secs_to_tm.c",
1477  "src/time/__tm_to_secs.c",
1478  "src/time/__tz.c",
1479  "src/time/__year_to_secs.c",
1480  "src/time/asctime.c",
1481  "src/time/asctime_r.c",
1482  "src/time/clock.c",
1483  "src/time/clock_getcpuclockid.c",
1484  "src/time/clock_getres.c",
1485  "src/time/clock_gettime.c",
1486  "src/time/clock_nanosleep.c",
1487  "src/time/clock_settime.c",
1488  "src/time/ctime.c",
1489  "src/time/ctime_r.c",
1490  "src/time/difftime.c",
1491  "src/time/ftime.c",
1492  "src/time/getdate.c",
1493  "src/time/gettimeofday.c",
1494  "src/time/gmtime.c",
1495  "src/time/gmtime_r.c",
1496  "src/time/localtime.c",
1497  "src/time/localtime_r.c",
1498  "src/time/mktime.c",
1499  "src/time/nanosleep.c",
1500  "src/time/strftime.c",
1501  "src/time/strptime.c",
1502  "src/time/time.c",
1503  "src/time/timegm.c",
1504  "src/time/timer_create.c",
1505  "src/time/timer_delete.c",
1506  "src/time/timer_getoverrun.c",
1507  "src/time/timer_gettime.c",
1508  "src/time/timer_settime.c",
1509  "src/time/times.c",
1510  "src/time/timespec_get.c",
1511  "src/time/utime.c",
1512  "src/time/wcsftime.c",
1513  "src/unistd/_exit.c",
1514  "src/unistd/access.c",
1515  "src/unistd/acct.c",
1516  "src/unistd/alarm.c",
1517  "src/unistd/chdir.c",
1518  "src/unistd/chown.c",
1519  "src/unistd/close.c",
1520  "src/unistd/ctermid.c",
1521  "src/unistd/dup.c",
1522  "src/unistd/dup2.c",
1523  "src/unistd/dup3.c",
1524  "src/unistd/faccessat.c",
1525  "src/unistd/fchdir.c",
1526  "src/unistd/fchown.c",
1527  "src/unistd/fchownat.c",
1528  "src/unistd/fdatasync.c",
1529  "src/unistd/fsync.c",
1530  "src/unistd/ftruncate.c",
1531  "src/unistd/getcwd.c",
1532  "src/unistd/getegid.c",
1533  "src/unistd/geteuid.c",
1534  "src/unistd/getgid.c",
1535  "src/unistd/getgroups.c",
1536  "src/unistd/gethostname.c",
1537  "src/unistd/getlogin.c",
1538  "src/unistd/getlogin_r.c",
1539  "src/unistd/getpgid.c",
1540  "src/unistd/getpgrp.c",
1541  "src/unistd/getpid.c",
1542  "src/unistd/getppid.c",
1543  "src/unistd/getsid.c",
1544  "src/unistd/getuid.c",
1545  "src/unistd/isatty.c",
1546  "src/unistd/lchown.c",
1547  "src/unistd/link.c",
1548  "src/unistd/linkat.c",
1549  "src/unistd/lseek.c",
1550  "src/unistd/nice.c",
1551  "src/unistd/pause.c",
1552  "src/unistd/pipe.c",
1553  "src/unistd/pipe2.c",
1554  "src/unistd/posix_close.c",
1555  "src/unistd/pread.c",
1556  "src/unistd/preadv.c",
1557  "src/unistd/pwrite.c",
1558  "src/unistd/pwritev.c",
1559  "src/unistd/read.c",
1560  "src/unistd/readlink.c",
1561  "src/unistd/readlinkat.c",
1562  "src/unistd/readv.c",
1563  "src/unistd/renameat.c",
1564  "src/unistd/rmdir.c",
1565  "src/unistd/setegid.c",
1566  "src/unistd/seteuid.c",
1567  "src/unistd/setgid.c",
1568  "src/unistd/setpgid.c",
1569  "src/unistd/setpgrp.c",
1570  "src/unistd/setregid.c",
1571  "src/unistd/setresgid.c",
1572  "src/unistd/setresuid.c",
1573  "src/unistd/setreuid.c",
1574  "src/unistd/setsid.c",
1575  "src/unistd/setuid.c",
1576  "src/unistd/setxid.c",
1577  "src/unistd/sleep.c",
1578  "src/unistd/symlink.c",
1579  "src/unistd/symlinkat.c",
1580  "src/unistd/sync.c",
1581  "src/unistd/tcgetpgrp.c",
1582  "src/unistd/tcsetpgrp.c",
1583  "src/unistd/truncate.c",
1584  "src/unistd/ttyname.c",
1585  "src/unistd/ttyname_r.c",
1586  "src/unistd/ualarm.c",
1587  "src/unistd/unlink.c",
1588  "src/unistd/unlinkat.c",
1589  "src/unistd/usleep.c",
1590  "src/unistd/write.c",
1591  "src/unistd/writev.c",
1592  "src/trace/trace_marker.c",
1593  "src/info/application_target_sdk_version.c",
1594  "src/info/device_api_version.c",
1595  "src/info/fatal_message.c",
1596]
1597
1598if (musl_arch == "arm") {
1599  musl_src_filterout = [
1600    "src/fenv/fenv.c",
1601    "src/ldso/dlsym.c",
1602    "src/ldso/tlsdesc.c",
1603    "src/math/fabs.c",
1604    "src/math/fabsf.c",
1605    "src/math/fma.c",
1606    "src/math/fmaf.c",
1607    "src/math/sqrt.c",
1608    "src/math/sqrtf.c",
1609    "src/process/arm/vfork.s",
1610    "src/setjmp/longjmp.c",
1611    "src/setjmp/setjmp.c",
1612    "src/signal/restore.c",
1613    "src/signal/sigsetjmp.c",
1614    "src/string/memcpy.c",
1615    "src/thread/__set_thread_area.c",
1616    "src/thread/__unmapself.c",
1617    "src/thread/clone.c",
1618    "src/thread/syscall_cp.c",
1619  ]
1620} else if (musl_arch == "aarch64") {
1621  musl_src_filterout = [
1622    "src/fenv/fenv.c",
1623    "src/ldso/dlsym.c",
1624    "src/ldso/tlsdesc.c",
1625    "src/math/ceil.c",
1626    "src/math/ceilf.c",
1627    "src/math/fabs.c",
1628    "src/math/fabsf.c",
1629    "src/math/floor.c",
1630    "src/math/floorf.c",
1631    "src/math/fma.c",
1632    "src/math/fmaf.c",
1633    "src/math/fmax.c",
1634    "src/math/fmaxf.c",
1635    "src/math/fmin.c",
1636    "src/math/fminf.c",
1637    "src/math/llrint.c",
1638    "src/math/llrintf.c",
1639    "src/math/llround.c",
1640    "src/math/llroundf.c",
1641    "src/math/lrint.c",
1642    "src/math/lrintf.c",
1643    "src/math/lround.c",
1644    "src/math/lroundf.c",
1645    "src/math/nearbyint.c",
1646    "src/math/nearbyintf.c",
1647    "src/math/rint.c",
1648    "src/math/rintf.c",
1649    "src/math/round.c",
1650    "src/math/roundf.c",
1651    "src/math/sqrt.c",
1652    "src/math/sqrtf.c",
1653    "src/math/trunc.c",
1654    "src/math/truncf.c",
1655    "src/setjmp/longjmp.c",
1656    "src/setjmp/setjmp.c",
1657    "src/signal/restore.c",
1658    "src/signal/sigsetjmp.c",
1659    "src/thread/__set_thread_area.c",
1660    "src/thread/__unmapself.c",
1661    "src/thread/clone.c",
1662    "src/thread/syscall_cp.c",
1663    "src/misc/syscall.c",
1664  ]
1665} else if (musl_arch == "x86_64") {
1666  musl_src_filterout = [
1667    "src/fenv/fenv.c",
1668    "src/ldso/dlsym.c",
1669    "src/ldso/tlsdesc.c",
1670    "src/math/__invtrigl.c",
1671    "src/math/acosl.c",
1672    "src/math/asinl.c",
1673    "src/math/atan2l.c",
1674    "src/math/atanl.c",
1675    "src/math/ceill.c",
1676    "src/math/exp2l.c",
1677    "src/math/expl.c",
1678    "src/math/expm1l.c",
1679    "src/math/fabs.c",
1680    "src/math/fabsf.c",
1681    "src/math/fabsl.c",
1682    "src/math/floorl.c",
1683    "src/math/fma.c",
1684    "src/math/fmaf.c",
1685    "src/math/fmodl.c",
1686    "src/math/llrint.c",
1687    "src/math/llrintf.c",
1688    "src/math/llrintl.c",
1689    "src/math/log1pl.c",
1690    "src/math/log2l.c",
1691    "src/math/log10l.c",
1692    "src/math/logl.c",
1693    "src/math/lrint.c",
1694    "src/math/lrintf.c",
1695    "src/math/lrintl.c",
1696    "src/math/remainderl.c",
1697    "src/math/rintl.c",
1698    "src/math/sqrt.c",
1699    "src/math/sqrtf.c",
1700    "src/math/sqrtl.c",
1701    "src/math/truncl.c",
1702    "src/process/x86_64/vfork.s",
1703    "src/setjmp/longjmp.c",
1704    "src/setjmp/setjmp.c",
1705    "src/signal/restore.c",
1706    "src/signal/sigsetjmp.c",
1707    "src/string/memcpy.c",
1708    "src/string/memmove.c",
1709    "src/thread/__set_thread_area.c",
1710    "src/thread/__unmapself.c",
1711    "src/thread/clone.c",
1712    "src/thread/syscall_cp.c",
1713  ]
1714} else if (musl_arch == "mips") {
1715  musl_src_filterout = [
1716    "src/fenv/fenv.c",
1717    "src/ldso/dlsym.c",
1718    "src/math/fabs.c",
1719    "src/math/fabsf.c",
1720    "src/math/fmaf.c",
1721    "src/math/sqrt.c",
1722    "src/math/sqrtf.c",
1723    "src/setjmp/setjmp.c",
1724    "src/signal/restore.c",
1725    "src/thread/__unmapself.c",
1726    "src/thread/clone.c",
1727    "src/thread/syscall_cp.c",
1728  ]
1729}
1730
1731musl_src_ldso = [
1732  "ldso/dlstart.c",
1733  "ldso/dynlink.c",
1734  "ldso/namespace.c",
1735  "ldso/ns_config.c",
1736  "ldso/strops.c",
1737  "ldso/dynlink_rand.c",
1738  "ldso/cfi.c",
1739  "ldso/ld_log.c",
1740]
1741
1742if (musl_arch == "arm") {
1743  musl_inc_bits_files = [
1744    "arch/arm/bits/fcntl.h",
1745    "arch/arm/bits/fenv.h",
1746    "arch/arm/bits/float.h",
1747    "arch/arm/bits/hwcap.h",
1748    "arch/arm/bits/ioctl_fix.h",
1749    "arch/arm/bits/ipcstat.h",
1750    "arch/arm/bits/msg.h",
1751    "arch/arm/bits/posix.h",
1752    "arch/arm/bits/ptrace.h",
1753    "arch/arm/bits/reg.h",
1754    "arch/arm/bits/sem.h",
1755    "arch/arm/bits/setjmp.h",
1756    "arch/arm/bits/shm.h",
1757    "arch/arm/bits/signal.h",
1758    "arch/arm/bits/stat.h",
1759    "arch/arm/bits/stdint.h",
1760    "arch/arm/bits/user.h",
1761
1762    "arch/generic/bits/dirent.h",
1763    "arch/generic/bits/errno.h",
1764    "arch/generic/bits/ioctl.h",
1765    "arch/generic/bits/io.h",
1766    "arch/generic/bits/ipc.h",
1767    "arch/generic/bits/kd.h",
1768    "arch/generic/bits/limits.h",
1769    "arch/generic/bits/link.h",
1770    "arch/generic/bits/mman.h",
1771    "arch/generic/bits/poll.h",
1772    "arch/generic/bits/resource.h",
1773    "arch/generic/bits/socket.h",
1774    "arch/generic/bits/soundcard.h",
1775    "arch/generic/bits/statfs.h",
1776    "arch/generic/bits/termios.h",
1777    "arch/generic/bits/vt.h",
1778  ]
1779} else if (musl_arch == "aarch64") {
1780  musl_inc_bits_files = [
1781    "arch/aarch64/bits/fcntl.h",
1782    "arch/aarch64/bits/fenv.h",
1783    "arch/aarch64/bits/float.h",
1784    "arch/aarch64/bits/hwcap.h",
1785    "arch/aarch64/bits/posix.h",
1786    "arch/aarch64/bits/reg.h",
1787    "arch/aarch64/bits/setjmp.h",
1788    "arch/aarch64/bits/signal.h",
1789    "arch/aarch64/bits/stat.h",
1790    "arch/aarch64/bits/stdint.h",
1791    "arch/aarch64/bits/user.h",
1792
1793    "arch/generic/bits/dirent.h",
1794    "arch/generic/bits/errno.h",
1795    "arch/generic/bits/ioctl_fix.h",
1796    "arch/generic/bits/ioctl.h",
1797    "arch/generic/bits/io.h",
1798    "arch/generic/bits/ipc.h",
1799    "arch/generic/bits/ipcstat.h",
1800    "arch/generic/bits/kd.h",
1801    "arch/generic/bits/limits.h",
1802    "arch/generic/bits/link.h",
1803    "arch/generic/bits/mman.h",
1804    "arch/generic/bits/msg.h",
1805    "arch/generic/bits/poll.h",
1806    "arch/generic/bits/ptrace.h",
1807    "arch/generic/bits/resource.h",
1808    "arch/generic/bits/sem.h",
1809    "arch/generic/bits/shm.h",
1810    "arch/generic/bits/socket.h",
1811    "arch/generic/bits/soundcard.h",
1812    "arch/generic/bits/statfs.h",
1813    "arch/generic/bits/termios.h",
1814    "arch/generic/bits/vt.h",
1815  ]
1816} else if (musl_arch == "x86_64") {
1817  musl_inc_bits_files = [
1818    "arch/generic/bits/fcntl.h",
1819    "arch/x86_64/bits/fenv.h",
1820    "arch/x86_64/bits/float.h",
1821    "arch/x86_64/bits/posix.h",
1822    "arch/x86_64/bits/reg.h",
1823    "arch/x86_64/bits/setjmp.h",
1824    "arch/x86_64/bits/signal.h",
1825    "arch/x86_64/bits/stat.h",
1826    "arch/x86_64/bits/stdint.h",
1827    "arch/x86_64/bits/user.h",
1828
1829    "arch/generic/bits/dirent.h",
1830    "arch/generic/bits/errno.h",
1831    "arch/generic/bits/hwcap.h",
1832    "arch/generic/bits/ioctl_fix.h",
1833    "arch/generic/bits/ioctl.h",
1834    "arch/generic/bits/io.h",
1835    "arch/generic/bits/ipc.h",
1836    "arch/generic/bits/ipcstat.h",
1837    "arch/generic/bits/kd.h",
1838    "arch/generic/bits/limits.h",
1839    "arch/generic/bits/link.h",
1840    "arch/generic/bits/mman.h",
1841    "arch/generic/bits/msg.h",
1842    "arch/generic/bits/poll.h",
1843    "arch/generic/bits/ptrace.h",
1844    "arch/generic/bits/resource.h",
1845    "arch/generic/bits/sem.h",
1846    "arch/generic/bits/shm.h",
1847    "arch/generic/bits/socket.h",
1848    "arch/generic/bits/soundcard.h",
1849    "arch/generic/bits/statfs.h",
1850    "arch/generic/bits/termios.h",
1851    "arch/generic/bits/vt.h",
1852  ]
1853} else if (musl_arch == "mips") {
1854  musl_inc_bits_files = [
1855    "arch/mips/bits/errno.h",
1856    "arch/mips/bits/fcntl.h",
1857    "arch/mips/bits/fenv.h",
1858    "arch/mips/bits/float.h",
1859    "arch/mips/bits/hwcap.h",
1860    "arch/mips/bits/ioctl.h",
1861    "arch/mips/bits/ipcstat.h",
1862    "arch/mips/bits/mman.h",
1863    "arch/mips/bits/msg.h",
1864    "arch/mips/bits/poll.h",
1865    "arch/mips/bits/posix.h",
1866    "arch/mips/bits/ptrace.h",
1867    "arch/mips/bits/reg.h",
1868    "arch/mips/bits/resource.h",
1869    "arch/mips/bits/sem.h",
1870    "arch/mips/bits/setjmp.h",
1871    "arch/mips/bits/shm.h",
1872    "arch/mips/bits/signal.h",
1873    "arch/mips/bits/socket.h",
1874    "arch/mips/bits/stat.h",
1875    "arch/mips/bits/statfs.h",
1876    "arch/mips/bits/stdint.h",
1877    "arch/mips/bits/termios.h",
1878    "arch/mips/bits/user.h",
1879    "arch/generic/bits/dirent.h",
1880    "arch/generic/bits/ioctl_fix.h",
1881    "arch/generic/bits/io.h",
1882    "arch/generic/bits/ipc.h",
1883    "arch/generic/bits/kd.h",
1884    "arch/generic/bits/limits.h",
1885    "arch/generic/bits/link.h",
1886    "arch/generic/bits/soundcard.h",
1887    "arch/generic/bits/vt.h",
1888  ]
1889}
1890
1891musl_inc_arpa_files = [
1892  "include/arpa/ftp.h",
1893  "include/arpa/inet.h",
1894  "include/arpa/nameser_compat.h",
1895  "include/arpa/nameser.h",
1896  "include/arpa/telnet.h",
1897  "include/arpa/tftp.h",
1898]
1899
1900musl_inc_net_files = [
1901  "include/net/ethernet.h",
1902  "include/net/if_arp.h",
1903  "include/net/if.h",
1904  "include/net/route.h",
1905]
1906
1907musl_inc_netinet_files = [
1908  "include/netinet/ether.h",
1909  "include/netinet/icmp6.h",
1910  "include/netinet/if_ether.h",
1911  "include/netinet/igmp.h",
1912  "include/netinet/in.h",
1913  "include/netinet/in_systm.h",
1914  "include/netinet/ip6.h",
1915  "include/netinet/ip.h",
1916  "include/netinet/ip_icmp.h",
1917  "include/netinet/tcp.h",
1918  "include/netinet/udp.h",
1919]
1920
1921musl_inc_netpacket_files = [ "include/netpacket/packet.h" ]
1922
1923musl_inc_scsi_files = [
1924  "include/scsi/scsi.h",
1925  "include/scsi/scsi_ioctl.h",
1926  "include/scsi/sg.h",
1927]
1928
1929musl_inc_sys_files = [
1930  "include/sys/acct.h",
1931  "include/sys/auxv.h",
1932  "include/sys/cachectl.h",
1933  "include/sys/capability.h",
1934  "include/sys/dir.h",
1935  "include/sys/epoll.h",
1936  "include/sys/errno.h",
1937  "include/sys/eventfd.h",
1938  "include/sys/fanotify.h",
1939  "include/sys/fcntl.h",
1940  "include/sys/file.h",
1941  "include/sys/fsuid.h",
1942  "include/sys/inotify.h",
1943  "include/sys/ioctl.h",
1944  "include/sys/io.h",
1945  "include/sys/ipc.h",
1946  "include/sys/kd.h",
1947  "include/sys/klog.h",
1948  "include/sys/membarrier.h",
1949  "include/sys/mman.h",
1950  "include/sys/mount.h",
1951  "include/sys/msg.h",
1952  "include/sys/mtio.h",
1953  "include/sys/param.h",
1954  "include/sys/personality.h",
1955  "include/sys/poll.h",
1956  "include/sys/prctl.h",
1957  "include/sys/procfs.h",
1958  "include/sys/ptrace.h",
1959  "include/sys/quota.h",
1960  "include/sys/random.h",
1961  "include/sys/reboot.h",
1962  "include/sys/tgkill.h",
1963  "include/sys/reg.h",
1964  "include/sys/resource.h",
1965  "include/sys/select.h",
1966  "include/sys/sem.h",
1967  "include/sys/sendfile.h",
1968  "include/sys/shm.h",
1969  "include/sys/signalfd.h",
1970  "include/sys/signal.h",
1971  "include/sys/socket.h",
1972  "include/sys/soundcard.h",
1973  "include/sys/sspret.h",
1974  "include/sys/statfs.h",
1975  "include/sys/stat.h",
1976  "include/sys/statvfs.h",
1977  "include/sys/stropts.h",
1978  "include/sys/swap.h",
1979  "include/sys/syscall.h",
1980  "include/sys/sysinfo.h",
1981  "include/sys/syslog.h",
1982  "include/sys/sysmacros.h",
1983  "include/sys/termios.h",
1984  "include/sys/timeb.h",
1985  "include/sys/time.h",
1986  "include/sys/timerfd.h",
1987  "include/sys/times.h",
1988  "include/sys/timex.h",
1989  "include/sys/ttydefaults.h",
1990  "include/sys/types.h",
1991  "include/sys/ucontext.h",
1992  "include/sys/uio.h",
1993  "include/sys/un.h",
1994  "include/sys/user.h",
1995  "include/sys/utsname.h",
1996  "include/sys/vfs.h",
1997  "include/sys/vt.h",
1998  "include/sys/wait.h",
1999  "include/sys/xattr.h",
2000]
2001
2002musl_inc_trace_files = [ "include/trace/trace_marker.h" ]
2003
2004musl_inc_info_files = [
2005  "include/info/application_target_sdk_version.h",
2006  "include/info/device_api_version.h",
2007  "include/info/fatal_message.h",
2008]
2009
2010musl_inc_fortify_files = [
2011  "include/fortify/fcntl.h",
2012  "include/fortify/fortify.h",
2013  "include/fortify/poll.h",
2014  "include/fortify/socket.h",
2015  "include/fortify/stat.h",
2016  "include/fortify/stdlib.h",
2017  "include/fortify/string.h",
2018  "include/fortify/unistd.h",
2019  "include/fortify/stdio.h",
2020]
2021
2022musl_inc_root_files = [
2023  "include/aio.h",
2024  "include/alloca.h",
2025  "include/ar.h",
2026  "include/assert.h",
2027  "include/byteswap.h",
2028  "include/complex.h",
2029  "include/cpio.h",
2030  "include/crypt.h",
2031  "include/ctype.h",
2032  "include/dirent.h",
2033  "include/dlfcn.h",
2034  "include/dlfcn_ext.h",
2035  "include/elf.h",
2036  "include/endian.h",
2037  "include/err.h",
2038  "include/errno.h",
2039  "include/fcntl.h",
2040  "include/features.h",
2041  "include/fenv.h",
2042  "include/float.h",
2043  "include/fmtmsg.h",
2044  "include/fnmatch.h",
2045  "include/ftw.h",
2046  "include/getopt.h",
2047  "include/glob.h",
2048  "include/grp.h",
2049  "include/iconv.h",
2050  "include/ifaddrs.h",
2051  "include/inttypes.h",
2052  "include/iso646.h",
2053  "include/langinfo.h",
2054  "include/lastlog.h",
2055  "include/libgen.h",
2056  "include/libintl.h",
2057  "include/limits.h",
2058  "include/link.h",
2059  "include/locale.h",
2060  "include/malloc.h",
2061  "include/math.h",
2062  "include/memory.h",
2063  "include/mntent.h",
2064  "include/monetary.h",
2065  "include/mqueue.h",
2066  "include/netdb.h",
2067  "include/nl_types.h",
2068  "include/paths.h",
2069  "include/poll.h",
2070  "include/pthread.h",
2071  "include/pty.h",
2072  "include/pwd.h",
2073  "include/regex.h",
2074  "include/resolv.h",
2075  "include/sched.h",
2076  "include/search.h",
2077  "include/semaphore.h",
2078  "include/setjmp.h",
2079  "include/shadow.h",
2080  "include/signal.h",
2081  "include/sigchain.h",
2082  "include/spawn.h",
2083  "include/stdalign.h",
2084  "include/stdarg.h",
2085  "include/stdbool.h",
2086  "include/stdc-predef.h",
2087  "include/stddef.h",
2088  "include/stdint.h",
2089  "include/stdio_ext.h",
2090  "include/stdio.h",
2091  "include/stdlib.h",
2092  "include/stdnoreturn.h",
2093  "include/string.h",
2094  "include/strings.h",
2095  "include/stropts.h",
2096  "include/syscall.h",
2097  "include/sysexits.h",
2098  "include/syslog.h",
2099  "include/tar.h",
2100  "include/termios.h",
2101  "include/tgmath.h",
2102  "include/threads.h",
2103  "include/time.h",
2104  "include/uchar.h",
2105  "include/ucontext.h",
2106  "include/ulimit.h",
2107  "include/unistd.h",
2108  "include/utime.h",
2109  "include/utmp.h",
2110  "include/utmpx.h",
2111  "include/values.h",
2112  "include/wait.h",
2113  "include/wchar.h",
2114  "include/wctype.h",
2115  "include/wordexp.h",
2116]
2117
2118musl_src_porting_file = [
2119  "arch/aarch64/syscall_arch.h",
2120  "arch/arm/bits/fenv.h",
2121  "arch/generic/bits/shm.h",
2122  "arch/generic/crtbrand.s",
2123  "arch/x86_64/bits/float.h",
2124  "include/ctype.h",
2125  "include/info/application_target_sdk_version.h",
2126  "include/info/device_api_version.h",
2127  "include/info/fatal_message.h",
2128  "include/malloc.h",
2129  "include/pthread.h",
2130  "include/fcntl.h",
2131  "include/poll.h",
2132  "include/stdio.h",
2133  "include/stdlib.h",
2134  "include/string.h",
2135  "include/sys/stat.h",
2136  "include/sys/sspret.h",
2137  "include/fortify/fcntl.h",
2138  "include/fortify/fortify.h",
2139  "include/fortify/poll.h",
2140  "include/fortify/socket.h",
2141  "include/fortify/stat.h",
2142  "include/fortify/stdlib.h",
2143  "include/fortify/string.h",
2144  "include/fortify/unistd.h",
2145  "include/fortify/stdio.h",
2146  "src/fortify/fortify.c",
2147  "include/sys/capability.h",
2148  "include/sys/reboot.h",
2149  "include/sys/socket.h",
2150  "include/sys/sysinfo.h",
2151  "include/signal.h",
2152  "include/sigchain.h",
2153  "include/sched.h",
2154  "src/internal/dynlink.h",
2155  "include/sys/tgkill.h",
2156  "include/trace/trace_marker.h",
2157  "include/unistd.h",
2158  "include/dlfcn.h",
2159  "include/dlfcn_ext.h",
2160  "src/hilog/hilog_common.h",
2161  "src/hilog/vsnprintf_s_p.h",
2162  "src/internal/hilog_adapter.h",
2163  "src/internal/musl_log.h",
2164  "src/info/application_target_sdk_version.c",
2165  "src/info/device_api_version.c",
2166  "src/info/fatal_message.c",
2167  "src/env/__init_tls.c",
2168  "src/env/__libc_start_main.c",
2169  "src/internal/pthread_impl.h",
2170  "src/internal/locale_impl.h",
2171  "src/internal/syscall.h",
2172  "ldso/namespace.h",
2173  "ldso/ns_config.h",
2174  "ldso/strops.h",
2175  "src/legacy/ulimit.c",
2176  "src/linux/clone.c",
2177  "src/linux/reboot.c",
2178  "src/linux/tgkill.c",
2179  "src/malloc/mallocng/malloc_usable_size.c",
2180  "src/malloc/mallocng/malloc.c",
2181  "src/malloc/mallocng/meta.h",
2182  "src/malloc/mallocng/donate.c",
2183  "src/malloc/mallocng/aligned_alloc.c",
2184  "src/malloc/lite_malloc.c",
2185  "src/malloc/stats.c",
2186  "src/malloc/calloc.c",
2187  "src/malloc/free.c",
2188  "src/network/getnameinfo.c",
2189  "src/malloc/libc_calloc.c",
2190  "src/malloc/realloc.c",
2191  "src/network/inet_legacy.c",
2192  "src/network/lookup_name.c",
2193  "src/network/resolvconf.c",
2194  "src/network/socket.c",
2195  "src/passwd/getspnam_r.c",
2196  "src/sched/sched_setparam.c",
2197  "src/sched/sched_getparam.c",
2198  "src/sched/sched_setscheduler.c",
2199  "src/sched/sched_getscheduler.c",
2200  "src/thread/arm/clone.s",
2201  "src/thread/arm/syscall_cp.s",
2202  "src/thread/pthread_mutex_clocklock.c",
2203  "src/thread/pthread_mutex_timedlock.c",
2204  "src/thread/pthread_mutex_lock.c",
2205  "src/thread/pthread_mutex_timedlock_monotonic_np.c",
2206  "src/thread/pthread_mutex_lock_timeout_np.c",
2207  "src/thread/pthread_mutex_init.c",
2208  "src/thread/pthread_rwlock_clockrdlock.c",
2209  "src/thread/pthread_rwlock_timedrdlock.c",
2210  "src/thread/pthread_rwlock_timedrdlock_monotonic_np.c",
2211  "src/thread/pthread_rwlock_init.c",
2212  "src/thread/pthread_cond_timedwait_monotonic_np.c",
2213  "src/thread/pthread_cond_timeout_np.c",
2214  "src/thread/pthread_cond_clockwait.c",
2215  "src/thread/pthread_cond_init.c",
2216  "src/thread/pthread_create.c",
2217  "src/thread/pthread_rwlock_clockwrlock.c",
2218  "src/thread/pthread_rwlock_timedwrlock_monotonic_np.c",
2219  "src/thread/pthread_rwlock_timedwrlock.c",
2220  "src/thread/pthread_sigmask.c",
2221  "src/trace/trace_marker.c",
2222  "src/ldso/dlclose.c",
2223  "src/ldso/dlerror.c",
2224  "ldso/dynlink.c",
2225  "src/exit/atexit.c",
2226  "crt/arm/crti.s",
2227  "crt/aarch64/crti.s",
2228  "crt/crtplus.c",
2229  "ldso/cfi.h",
2230  "ldso/ld_log.h",
2231  "ldso/ld_log.c",
2232  "ldso/namespace.c",
2233  "ldso/ns_config.c",
2234  "ldso/strops.c",
2235  "ldso/cfi.c",
2236  "ldso/dynlink_rand.c",
2237  "ldso/dynlink_rand.h",
2238  "src/sched/sched_cpualloc.c",
2239  "src/signal/signal.c",
2240  "src/signal/sigaction.c",
2241  "src/signal/siginterrupt.c",
2242  "include/langinfo.h",
2243  "include/locale.h",
2244  "src/hilog/hilog_adapter.c",
2245  "src/hilog/vsnprintf_s_p.c",
2246  "src/internal/libc.h",
2247  "src/locale/dcngettext.c",
2248  "src/locale/locale_map.c",
2249  "src/locale/langinfo.c",
2250  "src/locale/newlocale.c",
2251  "src/time/__tz.c",
2252  "src/time/gmtime_r.c",
2253  "src/time/strftime.c",
2254  "src/time/strptime.c",
2255  "src/time/time_impl.h",
2256  "src/ldso/aarch64/dlvsym.s",
2257  "src/ldso/arm/dlvsym.s",
2258  "src/ldso/riscv64/dlvsym.s",
2259  "src/ldso/x86_64/dlvsym.s",
2260  "src/stdio/__fdopen.c",
2261  "src/stdio/vfprintf.c",
2262  "src/stdio/__stdio_read.c",
2263  "src/stdio/__stdio_write.c",
2264  "src/stdio/__stdout_write.c",
2265  "src/stdio/fread.c",
2266  "src/stdio/fmemopen.c",
2267  "src/stdio/freopen.c",
2268  "src/stdio/stdin.c",
2269  "src/stdio/__fmodeflags.c",
2270  "src/stdio/fopen.c",
2271  "src/stdio/ofl.c",
2272  "src/stdio/fclose.c",
2273  "src/stdio/__toread.c",
2274  "src/stdio/__towrite.c",
2275  "src/stdio/stderr.c",
2276  "src/stdio/fgets.c",
2277  "src/stdio/vsnprintf.c",
2278  "src/stdio/vsscanf.c",
2279  "src/internal/stdio_impl.h",
2280  "src/internal/vdso.c",
2281  "src/time/clock_gettime.c",
2282  "src/time/clock_getres.c",
2283  "src/time/gettimeofday.c",
2284  "src/time/time.c",
2285  "src/unistd/getpid.c",
2286  "src/process/_Fork.c",
2287  "src/process/vfork.c",
2288  "src/process/arm/__vfork.s",
2289  "src/process/x86_64/__vfork.s",
2290  "src/linux/cache.c",
2291  "src/sched/sched_getcpu.c",
2292  "src/sigchain/sigchain.c",
2293  "src/conf/legacy.c",
2294  "src/conf/sysconf.c",
2295  "src/env/getenv.c",
2296  "src/string/strcasecmp.c",
2297  "src/string/strncasecmp.c",
2298  "src/string/strncat.c",
2299  "src/string/stpncpy.c",
2300  "src/string/strncpy.c",
2301  "src/string/strcspn.c",
2302  "src/thread/pthread_once.c",
2303  "src/thread/pthread_cancel.c",
2304  "src/mq/mq_notify.c",
2305  "src/aio/aio.c",
2306  "src/misc/aarch64/syscall.s",
2307  "src/stdlib/strtod.c",
2308  "src/thread/sem_timedwait.c",
2309  "src/stdio/vfscanf.c",
2310  "src/stdio/fileno.c",
2311]
2312
2313musl_inc_hook_files = [
2314  "//third_party/musl/porting/linux/user/src/internal/hilog_adapter.h",
2315  "//third_party/musl/porting/linux/user/src/internal/musl_log.h",
2316  "//third_party/musl/porting/linux/user/src/hook/memory_trace.h",
2317  "//third_party/musl/porting/linux/user/src/hook/musl_malloc_dispatch_table.h",
2318  "//third_party/musl/porting/linux/user/src/hook/musl_malloc_dispatch.h",
2319  "//third_party/musl/porting/linux/user/src/hook/musl_preinit_common.h",
2320]
2321
2322added_freebsd_files = [
2323  "$FREEBSD_DIR/contrib/gdtoa/strtod.c",
2324  "$FREEBSD_DIR/contrib/gdtoa/gethex.c",
2325  "$FREEBSD_DIR/contrib/gdtoa/smisc.c",
2326  "$FREEBSD_DIR/contrib/gdtoa/misc.c",
2327  "$FREEBSD_DIR/contrib/gdtoa/strtord.c",
2328  "$FREEBSD_DIR/contrib/gdtoa/hexnan.c",
2329  "$FREEBSD_DIR/contrib/gdtoa/gmisc.c",
2330  "$FREEBSD_DIR/contrib/gdtoa/hd_init.c",
2331  "$FREEBSD_DIR/contrib/gdtoa/strtodg.c",
2332  "$FREEBSD_DIR/contrib/gdtoa/ulp.c",
2333  "$FREEBSD_DIR/contrib/gdtoa/strtof.c",
2334  "$FREEBSD_DIR/contrib/gdtoa/sum.c",
2335  "$FREEBSD_DIR/lib/libc/gdtoa/glue.c",
2336  "$FREEBSD_DIR/lib/libc/stdio/parsefloat.c",
2337]
2338