1# 64-bit mips. 2 3# 4# Default implementations of functions that are commonly optimized. 5# 6 7libc_bionic_src_files_mips64 += \ 8 arch-mips/string/memcmp.c \ 9 arch-mips/string/memcpy.S \ 10 arch-mips/string/memset.S \ 11 arch-mips/string/strcmp.S \ 12 arch-mips/string/strlen.c \ 13 bionic/__memcpy_chk.cpp \ 14 bionic/__memset_chk.cpp \ 15 bionic/__strcpy_chk.cpp \ 16 bionic/__strcat_chk.cpp \ 17 bionic/strchr.cpp \ 18 bionic/strnlen.c \ 19 bionic/strrchr.cpp \ 20 21libc_freebsd_src_files_mips64 += \ 22 upstream-freebsd/lib/libc/string/wcscat.c \ 23 upstream-freebsd/lib/libc/string/wcschr.c \ 24 upstream-freebsd/lib/libc/string/wcscmp.c \ 25 upstream-freebsd/lib/libc/string/wcscpy.c \ 26 upstream-freebsd/lib/libc/string/wcslen.c \ 27 upstream-freebsd/lib/libc/string/wcsrchr.c \ 28 upstream-freebsd/lib/libc/string/wmemcmp.c \ 29 upstream-freebsd/lib/libc/string/wmemmove.c \ 30 31libc_openbsd_src_files_mips64 += \ 32 upstream-openbsd/lib/libc/string/memchr.c \ 33 upstream-openbsd/lib/libc/string/memmove.c \ 34 upstream-openbsd/lib/libc/string/memrchr.c \ 35 upstream-openbsd/lib/libc/string/stpcpy.c \ 36 upstream-openbsd/lib/libc/string/stpncpy.c \ 37 upstream-openbsd/lib/libc/string/strcat.c \ 38 upstream-openbsd/lib/libc/string/strcpy.c \ 39 upstream-openbsd/lib/libc/string/strlcat.c \ 40 upstream-openbsd/lib/libc/string/strlcpy.c \ 41 upstream-openbsd/lib/libc/string/strncat.c \ 42 upstream-openbsd/lib/libc/string/strncmp.c \ 43 upstream-openbsd/lib/libc/string/strncpy.c \ 44 45# 46# Inherently architecture-specific code. 47# 48 49libc_bionic_src_files_mips64 += \ 50 arch-mips64/bionic/__bionic_clone.S \ 51 arch-mips64/bionic/_exit_with_stack_teardown.S \ 52 arch-mips64/bionic/setjmp.S \ 53 arch-mips64/bionic/syscall.S \ 54 arch-mips64/bionic/vfork.S \ 55 arch-mips64/bionic/stat.cpp \ 56 57libc_crt_target_cflags_mips64 := \ 58 $($(my_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS) \ 59 -I$(LOCAL_PATH)/arch-mips64/include \ 60 61libc_crt_target_crtbegin_file_mips64 := \ 62 $(LOCAL_PATH)/arch-mips64/bionic/crtbegin.c \ 63 64libc_crt_target_crtbegin_so_file_mips64 := \ 65 $(LOCAL_PATH)/arch-common/bionic/crtbegin_so.c \ 66 67libc_crt_target_so_cflags_mips64 := \ 68 -fPIC \ 69 70libc_crt_target_ldflags_mips64 := \ 71 -melf64ltsmip \ 72