1
2define SRC_libc/sysdeps/linux
3  setjmp
4  bsd-setjmp
5  bsd-_setjmp
6  creat
7  longjmp
8  __longjmp
9  getdents
10  getsid
11  common/gethostname
12  common/getdirname
13  common/getpagesize
14endef
15
16define SRC_libc/sysdeps/linux_large_file
17  creat64
18endef
19
20SRC_libc/sysdeps/linux_arm += aeabi_atexit
21SRC_libc/sysdeps/linux_arm += find_exidx
22
23SRC_libc/sysdeps/linux_mips += setjmp_aux
24SRC_libc/sysdeps/linux_mips += _test_and_set
25
26define SRC_libc/sysdeps/linux_sparc__with_soft_fp
27  soft-fp/q_add
28  soft-fp/q_cmp
29  soft-fp/q_cmpe
30  soft-fp/q_div
31  soft-fp/q_dtoq
32  soft-fp/q_feq
33  soft-fp/q_fge
34  soft-fp/q_fgt
35  soft-fp/q_fle
36  soft-fp/q_flt
37  soft-fp/q_fne
38  soft-fp/q_itoq
39  soft-fp/q_lltoq
40  soft-fp/q_mul
41  soft-fp/q_neg
42  soft-fp/q_qtod
43  soft-fp/q_qtoi
44  soft-fp/q_qtoll
45  soft-fp/q_qtos
46  soft-fp/q_qtou
47  soft-fp/q_qtoull
48  soft-fp/q_sqrt
49  soft-fp/q_stoq
50  soft-fp/q_sub
51  soft-fp/q_ulltoq
52  soft-fp/q_util
53  soft-fp/q_utoq
54endef
55
56ifeq ($(GCCIS_sparc_leon),)
57  define SRC_libc/sysdeps/linux_sparc
58    udiv
59    umul
60    urem
61  endef
62  SRC_libc/sysdeps/linux_sparc += $(SRC_libc/sysdeps/linux_sparc__with_soft_fp)
63endif
64
65define SRC_libc/termios
66  isatty
67  speed
68  tcflush
69  tcgetattr
70  tcgetpgrp
71  tcgetsid
72  tcsetattr
73  tcsetpgrp
74  ttyname
75endef
76
77define SRC_libc/stdlib
78  __cxa_atexit
79  __exit_handler
80  __strtofpmax
81  __uc_malloc
82  _stdlib_strto_l
83  _stdlib_strto_ll
84  abort
85  abs
86  atoi
87  atol
88  atoll
89  bsearch
90  div
91  exit
92  gcvt
93  getenv
94  jrand48
95  jrand48_r
96  labs
97  ldiv
98  llabs
99  lldiv
100  lrand48
101  lrand48_r
102  mkostemp
103  mkstemp
104  mkstemp64
105  nrand48
106  nrand48_r
107  on_exit
108  posix_memalign
109  qsort
110  qsort_r
111  rand
112  rand_r
113  random
114  random_r
115  realpath
116  setenv
117  srand48
118  srand48_r
119  stdlib
120  strtol
121  strtoll
122  strtoul
123  strtoull
124endef
125
126define SRC_libc/stdlib_large_file
127  mkostemp64
128endef
129
130define SRC_libc/stdlib_fp
131  __fp_range_check
132  _strtod
133  atof
134  drand48-iter
135  drand48
136  drand48_r
137  erand48
138  erand48_r
139  strtod
140  strtof
141  strtold
142endef
143
144define SRC_libc/stdlib/malloc-standard
145  calloc
146  free
147  mallinfo
148  malloc
149  mallopt
150  memalign
151  realloc
152endef
153
154define SRC_libc/stdlib/malloc-simple
155  alloc
156  calloc
157  free
158  malloc
159  memalign
160  realloc
161endef
162
163define SRC_libc/stdlib_wchar
164  _stdlib_mb_cur_max
165  wcstombs
166  mblen
167  mbstowcs
168endef
169
170define SRC_libc/string
171  basename
172  dirname
173  ffs
174  memccpy
175  stpcpy
176  stpncpy
177  strcasecmp
178  strcasestr
179  strdup
180  strerror
181  __xpg_strerror_r
182  _string_syserrmsgs
183  __glibc_strerror_r
184  _string_syssigmsgs
185  sys_siglist
186  strsignal
187  psignal
188  __xpg_basename
189  strlcat
190  strlcpy
191  sys_errlist
192  strndup
193  strncasecmp
194  strtok
195  bcopy
196  bzero
197  memchr
198  memcpy
199  memmove
200  memset
201  strcat
202  strchr
203  strcmp
204  strcpy
205  strlen
206  strncat
207  strncmp
208  strncpy
209  strnlen
210  strrchr
211  memcmp
212  memmem
213  mempcpy
214  memrchr
215  rawmemchr
216  strchrnul
217  strcspn
218  strsep
219  strspn
220  strstr
221  strtok_r
222  strpbrk
223endef
224
225define SRC_libc/string_wchar
226  wcscmp
227  wcsnlen
228  wcslen
229  wcsncpy
230  wmemcpy
231  wcsstr
232  wcscasecmp
233  wcscpy
234  wcsncasecmp
235  wcstok
236  wcscat
237  wcscspn
238  wcspbrk
239  wcschr
240  wcsdup
241  wcsncat
242  wcsrchr
243  wcsxfrm
244  wcschrnul
245  wcslcpy
246  wcsncmp
247  wcsspn
248  wmemchr
249  wmemcmp
250  wmemmove
251  wmemset
252endef
253
254SRC_libc/string_arm := _memcpy
255
256define SRC_libc/misc
257  assert/__assert
258  ctype/ctype
259  ctype/isalnum
260  ctype/isalpha
261  ctype/isascii
262  ctype/isblank
263  ctype/iscntrl
264  ctype/isdigit
265  ctype/isgraph
266  ctype/islower
267  ctype/isprint
268  ctype/ispunct
269  ctype/isspace
270  ctype/isupper
271  ctype/isxdigit
272  ctype/tolower
273  ctype/toupper
274  ctype/__C_ctype_b
275  ctype/__C_ctype_tolower
276  ctype/__C_ctype_toupper
277  ctype/__ctype_b_loc
278  ctype/__ctype_tolower_loc
279  ctype/__ctype_toupper_loc
280  ctype/__ctype_assert
281  ctype/isctype
282  dirent/alphasort
283  dirent/closedir
284  dirent/dirfd
285  dirent/opendir
286  dirent/readdir
287  dirent/readdir_r
288  dirent/rewinddir
289  dirent/scandir
290  dirent/seekdir
291  dirent/telldir
292  error/err
293  fnmatch/fnmatch
294  getauxval
295  glob/glob
296  internals/errno
297  internals/h_errno
298  internals/__errno_location
299  internals/__h_errno_location
300  internals/__uClibc_main
301  internals/parse_config
302  internals/tempname
303  locale/locale
304  locale/localeconv
305  locale/nl_langinfo
306  locale/setlocale
307  regex/regex_old
308  search/hcreate_r
309  search/hdestroy_r
310  search/hsearch
311  search/hsearch_r
312  search/insque
313  search/insremque
314  search/lfind
315  search/lsearch
316  search/remque
317  search/tdelete
318  search/tdestroy
319  search/tfind
320  search/tsearch
321  search/twalk
322  time/time
323  time/asctime
324  time/asctime_r
325  time/ctime
326  time/ctime_r
327  time/ftime
328  time/gmtime
329  time/gmtime_r
330  time/localtime
331  time/localtime_r
332  time/mktime
333  time/strftime
334  time/strptime
335  time/tzset
336  time/_time_t2tm
337  time/__time_tm
338  time/_time_mktime
339  time/dysize
340  time/timegm
341  time/_time_mktime_tzi
342  time/_time_localtime_tzi
343  wordexp/wordexp
344  elf/dl-iterate-phdr
345endef
346
347define SRC_libc/misc_fp
348  time/difftime
349endef
350
351define SRC_libc/misc_large_file
352  dirent/alphasort64
353  dirent/readdir64
354  dirent/readdir64_r
355  dirent/scandir64
356  glob/glob64
357endef
358
359define SRC_libc/misc_libuc_c.a
360  elf/dl-support
361  elf/dl-core
362endef
363
364SRC_libc/misc_libuc_c_minimal.a = $(SRC_libc/misc_libuc_c.a)
365
366define SRC_libc/misc_wchar
367  time/wcsftime
368  wchar/btowc
369  wchar/mbrlen
370  wchar/mbrtowc
371  wchar/mbsnrtowcs
372  wchar/mbsrtowcs
373  wchar/wchar
374  wchar/wctob
375  wchar/wcrtomb
376  wchar/wcsnrtombs
377  wchar/wcsrtombs
378  wctype/iswctype
379  wctype/wctype
380  wctype/_wctype
381  wctype/towlower
382  wctype/towupper
383  wctype/towctrans
384  wctype/wctrans
385  wctype/iswxdigit
386  wctype/iswupper
387  wctype/iswlower
388  wctype/iswspace
389  wctype/iswpunct
390  wctype/iswprint
391  wctype/iswgraph
392  wctype/iswdigit
393  wctype/iswcntrl
394  wctype/iswblank
395  wctype/iswalpha
396  wctype/iswalnum
397endef
398
399define SRC_libc/stdio
400  __fsetlocking
401  _adjust_pos
402  _cs_funcs
403  _fopen
404  _fpmaxtostr
405  _fwrite
406  _READ
407  _WRITE
408  _load_inttype
409  _rfill
410  _stdio
411  _store_inttype
412  _trans2r
413  _trans2w
414  _uintmaxtostr
415  _wcommit
416  asprintf
417  clearerr
418  clearerr.__DO_UNLOCKED
419  dprintf
420  fclose
421  fcloseall
422  fdopen
423  feof
424  feof.__DO_UNLOCKED
425  ferror
426  ferror.__DO_UNLOCKED
427  fflush
428  fflush.__DO_UNLOCKED
429  fgetc
430  fgetc.__DO_UNLOCKED
431  fgetpos
432  fgets
433  fgets.__DO_UNLOCKED
434  fileno
435  fileno.__DO_UNLOCKED
436  flockfile
437  fopen
438  freopen
439  fputs
440  fputs.__DO_UNLOCKED
441  fputc
442  fputc.__DO_UNLOCKED
443  fprintf
444  fread
445  fread.__DO_UNLOCKED
446  fseeko
447  fsetpos
448  ftello
449  funlockfile
450  fwrite
451  fwrite.__DO_UNLOCKED
452  getchar
453  getdelim
454  getline
455  perror
456  printf
457  putchar
458  putchar.__DO_UNLOCKED
459  puts
460  remove
461  rewind
462  _scanf
463  vfscanf
464  __scan_cookie
465  __psfs_parse_spec
466  __psfs_do_numeric
467  scanf
468  sscanf
469  fscanf
470  vscanf
471  vsscanf
472  setvbuf
473  setbuf
474  setbuffer
475  setlinebuf
476  snprintf
477  sprintf
478  tmpfile
479  ungetc
480  vasprintf
481  vdprintf
482  _vfprintf
483  _vfprintf_internal
484  vfprintf
485  _ppfs_init
486  _ppfs_prepargs
487  _ppfs_setargs
488  _ppfs_parsespec
489  vsnprintf
490  vsprintf
491  vprintf
492endef
493
494define SRC_libc/stdio_large_file
495  fgetpos64
496  fopen64
497  freopen64
498  fseeko64
499  fsetpos64
500  ftello64
501endef
502
503define SRC_libc/stdio_wchar
504  _wfwrite
505  fputwc
506  fputwc.__DO_UNLOCKED
507  fgetwc
508  fgetwc.__DO_UNLOCKED
509  fputws
510  fputws.__DO_UNLOCKED
511  fwprintf
512  ungetwc
513  swprintf
514  _vfwprintf_internal
515  vfwprintf
516  vswprintf
517  vwprintf
518  wprintf
519endef
520
521define SRC_libc/inet
522  _res_state
523  addr
524  closenameservers
525  decodea
526  decoded
527  decodeh
528  decodep
529  decodeq
530  dnslookup
531  encodea
532  encoded
533  encodeh
534  encodep
535  encodeq
536  ether_addr
537  formquery
538  gai_strerror
539  get_hosts_byaddr_r
540  get_hosts_byname_r
541  getaddrinfo
542  gethostbyaddr
543  gethostbyaddr_r
544  gethostbyname
545  gethostbyname2
546  gethostbyname2_r
547  gethostbyname_r
548  gethostent
549  gethostent_r
550  getnet
551  getproto
552  getservice
553  herror
554  if_index
555  inet_addr
556  inet_aton
557  inet_lnaof
558  inet_makeaddr
559  inet_net
560  inet_netof
561  inet_ntoa
562  in6_addr
563  lengthd
564  lengthq
565  ns_name
566  ntohl
567  ntop
568  opennameservers
569  opensock
570  read_etc_hosts_r
571  res_comp
572  res_init
573  res_query
574  resolv
575endef
576
577define SRC_libc/pwd_grp
578  pwd_grp
579  getgrgid
580  getgrgid_r
581  getgrnam
582  getgrnam_r
583  getpwuid
584  getpwuid_r
585  getpwnam
586  getpwnam_r
587  getpwent
588  getpwent_r
589  __parsepwent
590  __parsegrent
591  __pgsreader
592endef
593
594define SRC_libc/unistd
595  getlogin
596  getopt
597  sleep
598endef
599
600define SRC_libc/signal
601  allocrtsig
602  raise
603  sigaddset
604  sigandset
605  sigdelset
606  sigempty
607  sigfillset
608  sigismem
609  sigsetops
610  sigjmp
611endef
612
613define SRC_libcrypt
614  crypt
615  des
616  md5
617  sha256
618  sha256-crypt
619  sha512
620  sha512-crypt
621endef
622
623define SRC_libm
624  carg
625  cexp
626  e_acos
627  e_acosh
628  e_asin
629  e_atan2
630  e_atanh
631  e_cosh
632  e_exp
633  e_fmod
634  e_hypot
635  e_j0
636  e_j1
637  e_jn
638  e_lgamma_r
639  e_log
640  e_log10
641  e_log2
642  e_pow
643  e_remainder
644  e_rem_pio2
645  e_scalb
646  e_sinh
647  e_sqrt
648  k_cos
649  k_rem_pio2
650  k_sin
651  k_standard
652  k_tan
653  s_asinh
654  s_atan
655  s_cbrt
656  s_ceil
657  s_copysign
658  s_cos
659  s_erf
660  s_expm1
661  s_fabs
662  s_fpclassify
663  s_fdim
664  s_finite
665  s_finitef
666  s_floor
667  s_fma
668  s_fmax
669  s_fmin
670  s_frexp
671  s_ilogb
672  s_isnan
673  s_isnanf
674  s_isinf
675  s_isinff
676  s_ldexp
677  s_lib_version
678  s_llrint
679  s_llround
680  s_log1p
681  s_logb
682  s_lrint
683  s_lround
684  s_matherr
685  s_modf
686  s_nextafter
687  s_nextafterf
688  s_remquo
689  s_rint
690  s_round
691  s_scalbn
692  s_signbit
693  s_signbitf
694  s_signgam
695  s_significand
696  s_sin
697  s_tan
698  s_tanh
699  s_trunc
700  w_cabs
701  w_exp2
702  nan
703endef
704
705SRC_libm_float_src = float_wrappers.c
706define SRC_libm_float
707  acos
708  acosf
709  acoshf
710  asinf
711  asinhf
712  atan2f
713  atanf
714  atanhf
715  cbrtf
716  ceilf
717  copysignf
718  cosf
719  coshf
720  erfcf
721  erff
722  exp2f
723  expf
724  expm1f
725  fabsf
726  fdimf
727  floorf
728  fmaf
729  fmaxf
730  fminf
731  fmodf
732  frexpf
733  hypotf
734  ilogbf
735  ldexpf
736  lgammaf
737  llrintf
738  log10f
739  log1pf
740  log2f
741  logbf
742  logf
743  lrintf
744  lroundf
745  modff
746  nearbyintf
747  nextafterf
748  powf
749  remainderf
750  remquof
751  rintf
752  roundf
753  scalblnf
754  scalbnf
755  sinf
756  sinhf
757  sqrtf
758  tanf
759  tanhf
760  tgammaf
761  truncf
762endef
763
764SRC_libm_double_src = ldouble_wrappers.c
765define SRC_libm_double
766  acoshl
767  acosl
768  asinhl
769  asinl
770  atan2l
771  atanhl
772  atanl
773  cargl
774  cbrtl
775  ceill
776  copysignl
777  coshl
778  cosl
779  erfcl
780  erfl
781  expl
782  expm1l
783  fabsl
784  fdiml
785  floorl
786  fmal
787  fmaxl
788  fminl
789  fmodl
790  frexpl
791  gammal
792  hypotl
793  ilogbl
794  ldexpl
795  lgammal
796  llrintl
797  llroundl
798  log10l
799  log1pl
800  log2l
801  logbl
802  logl
803  lrintl
804  lroundl
805  modfl
806  nearbyintl
807  nextafterl
808  powl
809  remainderl
810  remquol
811  rintl
812  roundl
813  scalblnl
814  scalbnl
815  sinhl
816  sinl
817  sqrtl
818  tanhl
819  tanl
820  tgammal
821  truncl
822  significandl
823endef
824