| 1 |
set(TARGET_LIBC_ENTRYPOINTS |
| 2 |
# assert.h entrypoints |
| 3 |
libc.src.assert.__assert_fail |
| 4 |
|
| 5 |
# ctype.h entrypoints |
| 6 |
libc.src.ctype.isalnum |
| 7 |
libc.src.ctype.isalpha |
| 8 |
libc.src.ctype.isascii |
| 9 |
libc.src.ctype.isblank |
| 10 |
libc.src.ctype.iscntrl |
| 11 |
libc.src.ctype.isdigit |
| 12 |
libc.src.ctype.isgraph |
| 13 |
libc.src.ctype.islower |
| 14 |
libc.src.ctype.isprint |
| 15 |
libc.src.ctype.ispunct |
| 16 |
libc.src.ctype.isspace |
| 17 |
libc.src.ctype.isupper |
| 18 |
libc.src.ctype.isxdigit |
| 19 |
libc.src.ctype.toascii |
| 20 |
libc.src.ctype.tolower |
| 21 |
libc.src.ctype.toupper |
| 22 |
|
| 23 |
# compiler entrypoints (no corresponding header) |
| 24 |
libc.src.compiler.__stack_chk_fail |
| 25 |
|
| 26 |
# errno.h entrypoints |
| 27 |
libc.src.errno.errno |
| 28 |
|
| 29 |
# string.h entrypoints |
| 30 |
libc.src.string.bcmp |
| 31 |
libc.src.string.bcopy |
| 32 |
libc.src.string.bzero |
| 33 |
libc.src.string.index |
| 34 |
libc.src.string.memccpy |
| 35 |
libc.src.string.memchr |
| 36 |
libc.src.string.memcmp |
| 37 |
libc.src.string.memcpy |
| 38 |
libc.src.string.memmem |
| 39 |
libc.src.string.memmove |
| 40 |
libc.src.string.mempcpy |
| 41 |
libc.src.string.memrchr |
| 42 |
libc.src.string.memset |
| 43 |
libc.src.string.memset_explicit |
| 44 |
libc.src.string.rindex |
| 45 |
libc.src.string.stpcpy |
| 46 |
libc.src.string.stpncpy |
| 47 |
libc.src.string.strcasecmp |
| 48 |
libc.src.string.strcasestr |
| 49 |
libc.src.string.strcat |
| 50 |
libc.src.string.strchr |
| 51 |
libc.src.string.strchrnul |
| 52 |
libc.src.string.strcmp |
| 53 |
libc.src.string.strcoll |
| 54 |
libc.src.string.strcpy |
| 55 |
libc.src.string.strcspn |
| 56 |
libc.src.string.strerror |
| 57 |
libc.src.string.strerror_r |
| 58 |
libc.src.string.strlcat |
| 59 |
libc.src.string.strlcpy |
| 60 |
libc.src.string.strlen |
| 61 |
libc.src.string.strncasecmp |
| 62 |
libc.src.string.strncat |
| 63 |
libc.src.string.strncmp |
| 64 |
libc.src.string.strncpy |
| 65 |
libc.src.string.strnlen |
| 66 |
libc.src.string.strpbrk |
| 67 |
libc.src.string.strrchr |
| 68 |
libc.src.string.strsep |
| 69 |
libc.src.string.strspn |
| 70 |
libc.src.string.strstr |
| 71 |
libc.src.string.strtok |
| 72 |
libc.src.string.strtok_r |
| 73 |
libc.src.string.strxfrm |
| 74 |
|
| 75 |
# inttypes.h entrypoints |
| 76 |
libc.src.inttypes.imaxabs |
| 77 |
libc.src.inttypes.imaxdiv |
| 78 |
libc.src.inttypes.strtoimax |
| 79 |
libc.src.inttypes.strtoumax |
| 80 |
|
| 81 |
# stdio.h entrypoints |
| 82 |
libc.src.stdio.getchar |
| 83 |
libc.src.stdio.printf |
| 84 |
libc.src.stdio.putchar |
| 85 |
libc.src.stdio.puts |
| 86 |
libc.src.stdio.remove |
| 87 |
libc.src.stdio.snprintf |
| 88 |
libc.src.stdio.sprintf |
| 89 |
libc.src.stdio.vprintf |
| 90 |
libc.src.stdio.vsnprintf |
| 91 |
libc.src.stdio.vsprintf |
| 92 |
|
| 93 |
# stdbit.h entrypoints |
| 94 |
libc.src.stdbit.stdc_bit_ceil_uc |
| 95 |
libc.src.stdbit.stdc_bit_ceil_ui |
| 96 |
libc.src.stdbit.stdc_bit_ceil_ul |
| 97 |
libc.src.stdbit.stdc_bit_ceil_ull |
| 98 |
libc.src.stdbit.stdc_bit_ceil_us |
| 99 |
libc.src.stdbit.stdc_bit_floor_uc |
| 100 |
libc.src.stdbit.stdc_bit_floor_ui |
| 101 |
libc.src.stdbit.stdc_bit_floor_ul |
| 102 |
libc.src.stdbit.stdc_bit_floor_ull |
| 103 |
libc.src.stdbit.stdc_bit_floor_us |
| 104 |
libc.src.stdbit.stdc_bit_width_uc |
| 105 |
libc.src.stdbit.stdc_bit_width_ui |
| 106 |
libc.src.stdbit.stdc_bit_width_ul |
| 107 |
libc.src.stdbit.stdc_bit_width_ull |
| 108 |
libc.src.stdbit.stdc_bit_width_us |
| 109 |
libc.src.stdbit.stdc_count_ones_uc |
| 110 |
libc.src.stdbit.stdc_count_ones_ui |
| 111 |
libc.src.stdbit.stdc_count_ones_ul |
| 112 |
libc.src.stdbit.stdc_count_ones_ull |
| 113 |
libc.src.stdbit.stdc_count_ones_us |
| 114 |
libc.src.stdbit.stdc_count_zeros_uc |
| 115 |
libc.src.stdbit.stdc_count_zeros_ui |
| 116 |
libc.src.stdbit.stdc_count_zeros_ul |
| 117 |
libc.src.stdbit.stdc_count_zeros_ull |
| 118 |
libc.src.stdbit.stdc_count_zeros_us |
| 119 |
libc.src.stdbit.stdc_first_leading_one_uc |
| 120 |
libc.src.stdbit.stdc_first_leading_one_ui |
| 121 |
libc.src.stdbit.stdc_first_leading_one_ul |
| 122 |
libc.src.stdbit.stdc_first_leading_one_ull |
| 123 |
libc.src.stdbit.stdc_first_leading_one_us |
| 124 |
libc.src.stdbit.stdc_first_leading_zero_uc |
| 125 |
libc.src.stdbit.stdc_first_leading_zero_ui |
| 126 |
libc.src.stdbit.stdc_first_leading_zero_ul |
| 127 |
libc.src.stdbit.stdc_first_leading_zero_ull |
| 128 |
libc.src.stdbit.stdc_first_leading_zero_us |
| 129 |
libc.src.stdbit.stdc_first_trailing_one_uc |
| 130 |
libc.src.stdbit.stdc_first_trailing_one_ui |
| 131 |
libc.src.stdbit.stdc_first_trailing_one_ul |
| 132 |
libc.src.stdbit.stdc_first_trailing_one_ull |
| 133 |
libc.src.stdbit.stdc_first_trailing_one_us |
| 134 |
libc.src.stdbit.stdc_first_trailing_zero_uc |
| 135 |
libc.src.stdbit.stdc_first_trailing_zero_ui |
| 136 |
libc.src.stdbit.stdc_first_trailing_zero_ul |
| 137 |
libc.src.stdbit.stdc_first_trailing_zero_ull |
| 138 |
libc.src.stdbit.stdc_first_trailing_zero_us |
| 139 |
libc.src.stdbit.stdc_has_single_bit_uc |
| 140 |
libc.src.stdbit.stdc_has_single_bit_ui |
| 141 |
libc.src.stdbit.stdc_has_single_bit_ul |
| 142 |
libc.src.stdbit.stdc_has_single_bit_ull |
| 143 |
libc.src.stdbit.stdc_has_single_bit_us |
| 144 |
libc.src.stdbit.stdc_leading_ones_uc |
| 145 |
libc.src.stdbit.stdc_leading_ones_ui |
| 146 |
libc.src.stdbit.stdc_leading_ones_ul |
| 147 |
libc.src.stdbit.stdc_leading_ones_ull |
| 148 |
libc.src.stdbit.stdc_leading_ones_us |
| 149 |
libc.src.stdbit.stdc_leading_zeros_uc |
| 150 |
libc.src.stdbit.stdc_leading_zeros_ui |
| 151 |
libc.src.stdbit.stdc_leading_zeros_ul |
| 152 |
libc.src.stdbit.stdc_leading_zeros_ull |
| 153 |
libc.src.stdbit.stdc_leading_zeros_us |
| 154 |
libc.src.stdbit.stdc_trailing_ones_uc |
| 155 |
libc.src.stdbit.stdc_trailing_ones_ui |
| 156 |
libc.src.stdbit.stdc_trailing_ones_ul |
| 157 |
libc.src.stdbit.stdc_trailing_ones_ull |
| 158 |
libc.src.stdbit.stdc_trailing_ones_us |
| 159 |
libc.src.stdbit.stdc_trailing_zeros_uc |
| 160 |
libc.src.stdbit.stdc_trailing_zeros_ui |
| 161 |
libc.src.stdbit.stdc_trailing_zeros_ul |
| 162 |
libc.src.stdbit.stdc_trailing_zeros_ull |
| 163 |
libc.src.stdbit.stdc_trailing_zeros_us |
| 164 |
|
| 165 |
# stdlib.h entrypoints |
| 166 |
libc.src.stdlib._Exit |
| 167 |
libc.src.stdlib.abort |
| 168 |
libc.src.stdlib.abs |
| 169 |
libc.src.stdlib.aligned_alloc |
| 170 |
libc.src.stdlib.atof |
| 171 |
libc.src.stdlib.atoi |
| 172 |
libc.src.stdlib.atol |
| 173 |
libc.src.stdlib.atoll |
| 174 |
libc.src.stdlib.bsearch |
| 175 |
libc.src.stdlib.calloc |
| 176 |
libc.src.stdlib.div |
| 177 |
libc.src.stdlib.exit |
| 178 |
libc.src.stdlib.free |
| 179 |
libc.src.stdlib.freelist_malloc |
| 180 |
libc.src.stdlib.labs |
| 181 |
libc.src.stdlib.ldiv |
| 182 |
libc.src.stdlib.llabs |
| 183 |
libc.src.stdlib.lldiv |
| 184 |
libc.src.stdlib.malloc |
| 185 |
libc.src.stdlib.qsort |
| 186 |
libc.src.stdlib.rand |
| 187 |
libc.src.stdlib.realloc |
| 188 |
libc.src.stdlib.srand |
| 189 |
libc.src.stdlib.strtod |
| 190 |
libc.src.stdlib.strtof |
| 191 |
libc.src.stdlib.strtol |
| 192 |
libc.src.stdlib.strtold |
| 193 |
libc.src.stdlib.strtoll |
| 194 |
libc.src.stdlib.strtoul |
| 195 |
libc.src.stdlib.strtoull |
| 196 |
|
| 197 |
# time.h entrypoints |
| 198 |
libc.src.time.difftime |
| 199 |
|
| 200 |
# internal entrypoints |
| 201 |
libc.startup.baremetal.init |
| 202 |
libc.startup.baremetal.fini |
| 203 |
) |
| 204 |
|
| 205 |
set(TARGET_LIBM_ENTRYPOINTS |
| 206 |
# fenv.h entrypoints |
| 207 |
libc.src.fenv.feclearexcept |
| 208 |
libc.src.fenv.fedisableexcept |
| 209 |
libc.src.fenv.feenableexcept |
| 210 |
libc.src.fenv.fegetenv |
| 211 |
libc.src.fenv.fegetexcept |
| 212 |
libc.src.fenv.fegetexceptflag |
| 213 |
libc.src.fenv.fegetround |
| 214 |
libc.src.fenv.feholdexcept |
| 215 |
libc.src.fenv.feraiseexcept |
| 216 |
libc.src.fenv.fesetenv |
| 217 |
libc.src.fenv.fesetexcept |
| 218 |
libc.src.fenv.fesetexceptflag |
| 219 |
libc.src.fenv.fesetround |
| 220 |
libc.src.fenv.fetestexcept |
| 221 |
libc.src.fenv.fetestexceptflag |
| 222 |
libc.src.fenv.feupdateenv |
| 223 |
|
| 224 |
# math.h entrypoints |
| 225 |
libc.src.math.acosf |
| 226 |
libc.src.math.acoshf |
| 227 |
libc.src.math.asinf |
| 228 |
libc.src.math.asinhf |
| 229 |
libc.src.math.atan2f |
| 230 |
libc.src.math.atanf |
| 231 |
libc.src.math.atanhf |
| 232 |
libc.src.math.canonicalize |
| 233 |
libc.src.math.canonicalizef |
| 234 |
libc.src.math.canonicalizel |
| 235 |
libc.src.math.cbrt |
| 236 |
libc.src.math.cbrtf |
| 237 |
libc.src.math.ceil |
| 238 |
libc.src.math.ceilf |
| 239 |
libc.src.math.ceill |
| 240 |
libc.src.math.copysign |
| 241 |
libc.src.math.copysignf |
| 242 |
libc.src.math.copysignl |
| 243 |
libc.src.math.cos |
| 244 |
libc.src.math.cosf |
| 245 |
libc.src.math.coshf |
| 246 |
libc.src.math.erff |
| 247 |
libc.src.math.exp |
| 248 |
libc.src.math.exp10 |
| 249 |
libc.src.math.exp10f |
| 250 |
libc.src.math.exp2 |
| 251 |
libc.src.math.exp2f |
| 252 |
libc.src.math.exp2m1f |
| 253 |
libc.src.math.expf |
| 254 |
libc.src.math.expm1 |
| 255 |
libc.src.math.expm1f |
| 256 |
libc.src.math.fabs |
| 257 |
libc.src.math.fabsf |
| 258 |
libc.src.math.fabsl |
| 259 |
libc.src.math.fdim |
| 260 |
libc.src.math.fdimf |
| 261 |
libc.src.math.fdiml |
| 262 |
libc.src.math.floor |
| 263 |
libc.src.math.floorf |
| 264 |
libc.src.math.floorl |
| 265 |
libc.src.math.fma |
| 266 |
libc.src.math.fmaf |
| 267 |
libc.src.math.fmax |
| 268 |
libc.src.math.fmaxf |
| 269 |
libc.src.math.fmaximum |
| 270 |
libc.src.math.fmaximum_mag |
| 271 |
libc.src.math.fmaximum_mag_num |
| 272 |
libc.src.math.fmaximum_mag_numf |
| 273 |
libc.src.math.fmaximum_mag_numl |
| 274 |
libc.src.math.fmaximum_magf |
| 275 |
libc.src.math.fmaximum_magl |
| 276 |
libc.src.math.fmaximum_num |
| 277 |
libc.src.math.fmaximum_numf |
| 278 |
libc.src.math.fmaximum_numl |
| 279 |
libc.src.math.fmaximumf |
| 280 |
libc.src.math.fmaximuml |
| 281 |
libc.src.math.fmaxl |
| 282 |
libc.src.math.fmin |
| 283 |
libc.src.math.fminf |
| 284 |
libc.src.math.fminimum |
| 285 |
libc.src.math.fminimum_mag |
| 286 |
libc.src.math.fminimum_mag_num |
| 287 |
libc.src.math.fminimum_mag_numf |
| 288 |
libc.src.math.fminimum_mag_numl |
| 289 |
libc.src.math.fminimum_magf |
| 290 |
libc.src.math.fminimum_magl |
| 291 |
libc.src.math.fminimum_num |
| 292 |
libc.src.math.fminimum_numf |
| 293 |
libc.src.math.fminimum_numl |
| 294 |
libc.src.math.fminimumf |
| 295 |
libc.src.math.fminimuml |
| 296 |
libc.src.math.fminl |
| 297 |
libc.src.math.fmod |
| 298 |
libc.src.math.fmodf |
| 299 |
libc.src.math.fmul |
| 300 |
libc.src.math.frexp |
| 301 |
libc.src.math.frexpf |
| 302 |
libc.src.math.frexpl |
| 303 |
libc.src.math.fromfp |
| 304 |
libc.src.math.fromfpf |
| 305 |
libc.src.math.fromfpl |
| 306 |
libc.src.math.fromfpx |
| 307 |
libc.src.math.fromfpxf |
| 308 |
libc.src.math.fromfpxl |
| 309 |
libc.src.math.hypot |
| 310 |
libc.src.math.hypotf |
| 311 |
libc.src.math.ilogb |
| 312 |
libc.src.math.ilogbf |
| 313 |
libc.src.math.ilogbl |
| 314 |
libc.src.math.isnan |
| 315 |
libc.src.math.isnanf |
| 316 |
libc.src.math.isnanl |
| 317 |
libc.src.math.ldexp |
| 318 |
libc.src.math.ldexpf |
| 319 |
libc.src.math.ldexpl |
| 320 |
libc.src.math.llogb |
| 321 |
libc.src.math.llogbf |
| 322 |
libc.src.math.llogbl |
| 323 |
libc.src.math.llrint |
| 324 |
libc.src.math.llrintf |
| 325 |
libc.src.math.llrintl |
| 326 |
libc.src.math.llround |
| 327 |
libc.src.math.llroundf |
| 328 |
libc.src.math.llroundl |
| 329 |
libc.src.math.log |
| 330 |
libc.src.math.log10 |
| 331 |
libc.src.math.log10f |
| 332 |
libc.src.math.log1p |
| 333 |
libc.src.math.log1pf |
| 334 |
libc.src.math.log2 |
| 335 |
libc.src.math.log2f |
| 336 |
libc.src.math.logb |
| 337 |
libc.src.math.logbf |
| 338 |
libc.src.math.logbl |
| 339 |
libc.src.math.logf |
| 340 |
libc.src.math.lrint |
| 341 |
libc.src.math.lrintf |
| 342 |
libc.src.math.lrintl |
| 343 |
libc.src.math.lround |
| 344 |
libc.src.math.lroundf |
| 345 |
libc.src.math.lroundl |
| 346 |
libc.src.math.modf |
| 347 |
libc.src.math.modff |
| 348 |
libc.src.math.modfl |
| 349 |
libc.src.math.nan |
| 350 |
libc.src.math.nanf |
| 351 |
libc.src.math.nanl |
| 352 |
libc.src.math.nearbyint |
| 353 |
libc.src.math.nearbyintf |
| 354 |
libc.src.math.nearbyintl |
| 355 |
libc.src.math.nextafter |
| 356 |
libc.src.math.nextafterf |
| 357 |
libc.src.math.nextafterl |
| 358 |
libc.src.math.nextdown |
| 359 |
libc.src.math.nextdownf |
| 360 |
libc.src.math.nextdownl |
| 361 |
libc.src.math.nexttoward |
| 362 |
libc.src.math.nexttowardf |
| 363 |
libc.src.math.nexttowardl |
| 364 |
libc.src.math.nextup |
| 365 |
libc.src.math.nextupf |
| 366 |
libc.src.math.nextupl |
| 367 |
libc.src.math.powf |
| 368 |
libc.src.math.remainder |
| 369 |
libc.src.math.remainderf |
| 370 |
libc.src.math.remainderl |
| 371 |
libc.src.math.remquo |
| 372 |
libc.src.math.remquof |
| 373 |
libc.src.math.remquol |
| 374 |
libc.src.math.rint |
| 375 |
libc.src.math.rintf |
| 376 |
libc.src.math.rintl |
| 377 |
libc.src.math.round |
| 378 |
libc.src.math.roundeven |
| 379 |
libc.src.math.roundevenf |
| 380 |
libc.src.math.roundevenl |
| 381 |
libc.src.math.roundf |
| 382 |
libc.src.math.roundl |
| 383 |
libc.src.math.scalbn |
| 384 |
libc.src.math.scalbnf |
| 385 |
libc.src.math.scalbnl |
| 386 |
libc.src.math.sin |
| 387 |
libc.src.math.sincos |
| 388 |
libc.src.math.sincosf |
| 389 |
libc.src.math.sinf |
| 390 |
libc.src.math.sinhf |
| 391 |
libc.src.math.sqrt |
| 392 |
libc.src.math.sqrtf |
| 393 |
libc.src.math.sqrtl |
| 394 |
libc.src.math.tan |
| 395 |
libc.src.math.tanf |
| 396 |
libc.src.math.tanhf |
| 397 |
libc.src.math.trunc |
| 398 |
libc.src.math.truncf |
| 399 |
libc.src.math.truncl |
| 400 |
libc.src.math.ufromfp |
| 401 |
libc.src.math.ufromfpf |
| 402 |
libc.src.math.ufromfpl |
| 403 |
libc.src.math.ufromfpx |
| 404 |
libc.src.math.ufromfpxf |
| 405 |
libc.src.math.ufromfpxl |
| 406 |
) |
| 407 |
|
| 408 |
if(LIBC_COMPILER_HAS_FIXED_POINT) |
| 409 |
list(APPEND TARGET_LIBM_ENTRYPOINTS |
| 410 |
# stdfix.h _Fract and _Accum entrypoints |
| 411 |
libc.src.stdfix.abshk |
| 412 |
libc.src.stdfix.abshr |
| 413 |
libc.src.stdfix.absk |
| 414 |
libc.src.stdfix.abslk |
| 415 |
libc.src.stdfix.abslr |
| 416 |
libc.src.stdfix.absr |
| 417 |
libc.src.stdfix.exphk |
| 418 |
libc.src.stdfix.expk |
| 419 |
libc.src.stdfix.roundhk |
| 420 |
libc.src.stdfix.roundhr |
| 421 |
libc.src.stdfix.roundk |
| 422 |
libc.src.stdfix.roundlk |
| 423 |
libc.src.stdfix.roundlr |
| 424 |
libc.src.stdfix.roundr |
| 425 |
libc.src.stdfix.rounduhk |
| 426 |
libc.src.stdfix.rounduhr |
| 427 |
libc.src.stdfix.rounduk |
| 428 |
libc.src.stdfix.roundulk |
| 429 |
libc.src.stdfix.roundulr |
| 430 |
libc.src.stdfix.roundur |
| 431 |
libc.src.stdfix.sqrtuhk |
| 432 |
libc.src.stdfix.sqrtuhr |
| 433 |
libc.src.stdfix.sqrtuk |
| 434 |
libc.src.stdfix.sqrtur |
| 435 |
# libc.src.stdfix.sqrtulk |
| 436 |
libc.src.stdfix.sqrtulr |
| 437 |
libc.src.stdfix.uhksqrtus |
| 438 |
libc.src.stdfix.uksqrtui |
| 439 |
) |
| 440 |
endif() |
| 441 |
|
| 442 |
set(TARGET_LLVMLIBC_ENTRYPOINTS |
| 443 |
${TARGET_LIBC_ENTRYPOINTS} |
| 444 |
${TARGET_LIBM_ENTRYPOINTS} |
| 445 |
) |