[libc-commits] [PATCH] D127571: Initiating a RISC-V port of llvm-libc
Ivan Serdyuk via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue Jun 14 06:25:18 PDT 2022
oceanfish81 added a comment.
In D127571#3579485 <https://reviews.llvm.org/D127571#3579485>, @sivachandra wrote:
> Can you share the elf header for one of the object files in libllvmlibc.a. Also, can you share the list of files in libllvmlibc.a? The way to do it would be do:
>
> readelf -asW <path/to/libllvmlibc.a> | grep "File: "
I see this:
> advancedwebdeveloper at ubuntu:~/libc_install/lib$ readelf -asW libllvmlibc.a | grep "File: "
> File: libllvmlibc.a(isalnum.cpp.o)
> File: libllvmlibc.a(isalpha.cpp.o)
> File: libllvmlibc.a(isascii.cpp.o)
> File: libllvmlibc.a(isblank.cpp.o)
> File: libllvmlibc.a(iscntrl.cpp.o)
> File: libllvmlibc.a(isdigit.cpp.o)
> File: libllvmlibc.a(isgraph.cpp.o)
> File: libllvmlibc.a(islower.cpp.o)
> File: libllvmlibc.a(isprint.cpp.o)
> File: libllvmlibc.a(ispunct.cpp.o)
> File: libllvmlibc.a(isspace.cpp.o)
> File: libllvmlibc.a(isupper.cpp.o)
> File: libllvmlibc.a(isxdigit.cpp.o)
> File: libllvmlibc.a(toascii.cpp.o)
> File: libllvmlibc.a(tolower.cpp.o)
> File: libllvmlibc.a(toupper.cpp.o)
> File: libllvmlibc.a(creat.cpp.o)
> File: libllvmlibc.a(dummy_errno.cpp.o)
> File: libllvmlibc.a(open.cpp.o)
> File: libllvmlibc.a(openat.cpp.o)
> File: libllvmlibc.a(bcmp.cpp.o)
> File: libllvmlibc.a(bzero.cpp.o)
> File: libllvmlibc.a(memccpy.cpp.o)
> File: libllvmlibc.a(memchr.cpp.o)
> File: libllvmlibc.a(memcmp.cpp.o)
> File: libllvmlibc.a(memcpy.cpp.o)
> File: libllvmlibc.a(memmove.cpp.o)
> File: libllvmlibc.a(mempcpy.cpp.o)
> File: libllvmlibc.a(memrchr.cpp.o)
> File: libllvmlibc.a(memset.cpp.o)
> File: libllvmlibc.a(stpcpy.cpp.o)
> File: libllvmlibc.a(stpncpy.cpp.o)
> File: libllvmlibc.a(strcat.cpp.o)
> File: libllvmlibc.a(strcpy.cpp.o)
> File: libllvmlibc.a(strchr.cpp.o)
> File: libllvmlibc.a(strcmp.cpp.o)
> File: libllvmlibc.a(strcspn.cpp.o)
> File: libllvmlibc.a(strlcat.cpp.o)
> File: libllvmlibc.a(strlcpy.cpp.o)
> File: libllvmlibc.a(strlen.cpp.o)
> File: libllvmlibc.a(strncat.cpp.o)
> File: libllvmlibc.a(strncpy.cpp.o)
> File: libllvmlibc.a(strncmp.cpp.o)
> File: libllvmlibc.a(strnlen.cpp.o)
> File: libllvmlibc.a(strpbrk.cpp.o)
> File: libllvmlibc.a(strrchr.cpp.o)
> File: libllvmlibc.a(strspn.cpp.o)
> File: libllvmlibc.a(strstr.cpp.o)
> File: libllvmlibc.a(strtok.cpp.o)
> File: libllvmlibc.a(strtok_r.cpp.o)
> File: libllvmlibc.a(strdup.cpp.o)
> File: libllvmlibc.a(strndup.cpp.o)
> File: libllvmlibc.a(imaxdiv.cpp.o)
> File: libllvmlibc.a(strtoimax.cpp.o)
> File: libllvmlibc.a(strtoumax.cpp.o)
> File: libllvmlibc.a(abs.cpp.o)
> File: libllvmlibc.a(atoi.cpp.o)
> File: libllvmlibc.a(atof.cpp.o)
> File: libllvmlibc.a(atol.cpp.o)
> File: libllvmlibc.a(atoll.cpp.o)
> File: libllvmlibc.a(bsearch.cpp.o)
> File: libllvmlibc.a(div.cpp.o)
> File: libllvmlibc.a(labs.cpp.o)
> File: libllvmlibc.a(ldiv.cpp.o)
> File: libllvmlibc.a(llabs.cpp.o)
> File: libllvmlibc.a(lldiv.cpp.o)
> File: libllvmlibc.a(qsort.cpp.o)
> File: libllvmlibc.a(strtod.cpp.o)
> File: libllvmlibc.a(strtof.cpp.o)
> File: libllvmlibc.a(strtol.cpp.o)
> File: libllvmlibc.a(strtold.cpp.o)
> File: libllvmlibc.a(strtoll.cpp.o)
> File: libllvmlibc.a(strtoul.cpp.o)
> File: libllvmlibc.a(strtoull.cpp.o)
> File: libllvmlibc.a(mkdir.cpp.o)
> File: libllvmlibc.a(mkdirat.cpp.o)
> File: libllvmlibc.a(close.cpp.o)
> File: libllvmlibc.a(fsync.cpp.o)
> File: libllvmlibc.a(lseek.cpp.o)
> File: libllvmlibc.a(read.cpp.o)
> File: libllvmlibc.a(rmdir.cpp.o)
> File: libllvmlibc.a(unlink.cpp.o)
> File: libllvmlibc.a(unlinkat.cpp.o)
> File: libllvmlibc.a(write.cpp.o)
> File: libllvmlibc.a(feclearexcept.cpp.o)
> File: libllvmlibc.a(fegetenv.cpp.o)
> File: libllvmlibc.a(fegetexceptflag.cpp.o)
> File: libllvmlibc.a(fegetround.cpp.o)
> File: libllvmlibc.a(fesetenv.cpp.o)
> File: libllvmlibc.a(fesetexceptflag.cpp.o)
> File: libllvmlibc.a(fesetround.cpp.o)
> File: libllvmlibc.a(feraiseexcept.cpp.o)
> File: libllvmlibc.a(fetestexcept.cpp.o)
> File: libllvmlibc.a(feupdateenv.cpp.o)
> File: libllvmlibc.a(copysign.cpp.o)
> File: libllvmlibc.a(copysignf.cpp.o)
> File: libllvmlibc.a(copysignl.cpp.o)
> File: libllvmlibc.a(ceil.cpp.o)
> File: libllvmlibc.a(ceilf.cpp.o)
> File: libllvmlibc.a(ceill.cpp.o)
> File: libllvmlibc.a(cosf.cpp.o)
> File: libllvmlibc.a(sincosf_data.cpp.o)
> File: libllvmlibc.a(math_utils.cpp.o)
> File: libllvmlibc.a(expf.cpp.o)
> File: libllvmlibc.a(common_constants.cpp.o)
> File: libllvmlibc.a(exp2f.cpp.o)
> File: libllvmlibc.a(expm1f.cpp.o)
> File: libllvmlibc.a(fabs.cpp.o)
> File: libllvmlibc.a(fabsf.cpp.o)
> File: libllvmlibc.a(fabsl.cpp.o)
> File: libllvmlibc.a(fdim.cpp.o)
> File: libllvmlibc.a(fdimf.cpp.o)
> File: libllvmlibc.a(fdiml.cpp.o)
> File: libllvmlibc.a(floor.cpp.o)
> File: libllvmlibc.a(floorf.cpp.o)
> File: libllvmlibc.a(floorl.cpp.o)
> File: libllvmlibc.a(fmaf.cpp.o)
> File: libllvmlibc.a(fmax.cpp.o)
> File: libllvmlibc.a(fmaxf.cpp.o)
> File: libllvmlibc.a(fmaxl.cpp.o)
> File: libllvmlibc.a(fmin.cpp.o)
> File: libllvmlibc.a(fminf.cpp.o)
> File: libllvmlibc.a(fminl.cpp.o)
> File: libllvmlibc.a(frexp.cpp.o)
> File: libllvmlibc.a(frexpf.cpp.o)
> File: libllvmlibc.a(frexpl.cpp.o)
> File: libllvmlibc.a(hypot.cpp.o)
> File: libllvmlibc.a(hypotf.cpp.o)
> File: libllvmlibc.a(ilogb.cpp.o)
> File: libllvmlibc.a(ilogbf.cpp.o)
> File: libllvmlibc.a(ilogbl.cpp.o)
> File: libllvmlibc.a(llrint.cpp.o)
> File: libllvmlibc.a(llrintf.cpp.o)
> File: libllvmlibc.a(llrintl.cpp.o)
> File: libllvmlibc.a(llround.cpp.o)
> File: libllvmlibc.a(llroundf.cpp.o)
> File: libllvmlibc.a(llroundl.cpp.o)
> File: libllvmlibc.a(lrint.cpp.o)
> File: libllvmlibc.a(lrintf.cpp.o)
> File: libllvmlibc.a(lrintl.cpp.o)
> File: libllvmlibc.a(lround.cpp.o)
> File: libllvmlibc.a(lroundf.cpp.o)
> File: libllvmlibc.a(lroundl.cpp.o)
> File: libllvmlibc.a(ldexp.cpp.o)
> File: libllvmlibc.a(ldexpf.cpp.o)
> File: libllvmlibc.a(ldexpl.cpp.o)
> File: libllvmlibc.a(log10f.cpp.o)
> File: libllvmlibc.a(log1pf.cpp.o)
> File: libllvmlibc.a(log2f.cpp.o)
> File: libllvmlibc.a(logf.cpp.o)
> File: libllvmlibc.a(logb.cpp.o)
> File: libllvmlibc.a(logbf.cpp.o)
> File: libllvmlibc.a(logbl.cpp.o)
> File: libllvmlibc.a(modf.cpp.o)
> File: libllvmlibc.a(modff.cpp.o)
> File: libllvmlibc.a(modfl.cpp.o)
> File: libllvmlibc.a(nearbyint.cpp.o)
> File: libllvmlibc.a(nearbyintf.cpp.o)
> File: libllvmlibc.a(nearbyintl.cpp.o)
> File: libllvmlibc.a(nextafter.cpp.o)
> File: libllvmlibc.a(nextafterf.cpp.o)
> File: libllvmlibc.a(nextafterl.cpp.o)
> File: libllvmlibc.a(remainderf.cpp.o)
> File: libllvmlibc.a(remainder.cpp.o)
> File: libllvmlibc.a(remainderl.cpp.o)
> File: libllvmlibc.a(remquof.cpp.o)
> File: libllvmlibc.a(remquo.cpp.o)
> File: libllvmlibc.a(remquol.cpp.o)
> File: libllvmlibc.a(rint.cpp.o)
> File: libllvmlibc.a(rintf.cpp.o)
> File: libllvmlibc.a(rintl.cpp.o)
> File: libllvmlibc.a(round.cpp.o)
> File: libllvmlibc.a(roundf.cpp.o)
> File: libllvmlibc.a(roundl.cpp.o)
> File: libllvmlibc.a(sincosf.cpp.o)
> File: libllvmlibc.a(sinf.cpp.o)
> File: libllvmlibc.a(sqrt.cpp.o)
> File: libllvmlibc.a(sqrtf.cpp.o)
> File: libllvmlibc.a(sqrtl.cpp.o)
> File: libllvmlibc.a(trunc.cpp.o)
> File: libllvmlibc.a(truncf.cpp.o)
> File: libllvmlibc.a(truncl.cpp.o)
> File: libllvmlibc.a(mmap.cpp.o)
> File: libllvmlibc.a(munmap.cpp.o)
================
Comment at: libc/config/linux/riscv/entrypoints.txt:110
+ # fenv.h entrypoints
+ ibc.src.fenv.feclearexcept
+ #libc.src.fenv.fedisableexcept
----------------
Mistake: a typo
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127571/new/
https://reviews.llvm.org/D127571
More information about the libc-commits
mailing list