1 _LIBC_ARCH_COMMON_SRC_FILES := \ 2 arch-x86/bionic/clone.S \ 3 arch-x86/bionic/_exit_with_stack_teardown.S \ 4 arch-x86/bionic/futex_x86.S \ 5 arch-x86/bionic/__get_sp.S \ 6 arch-x86/bionic/__get_tls.c \ 7 arch-x86/bionic/_setjmp.S \ 8 arch-x86/bionic/setjmp.S \ 9 arch-x86/bionic/__set_tls.c \ 10 arch-x86/bionic/sigsetjmp.S \ 11 arch-x86/bionic/syscall.S \ 12 arch-x86/bionic/vfork.S \ 13 arch-x86/string/ffs.S 14 15 ifeq ($(ARCH_X86_HAVE_SSSE3),true) 16 _LIBC_ARCH_COMMON_SRC_FILES += \ 17 arch-x86/string/ssse3-memcpy-atom.S \ 18 arch-x86/string/ssse3-memmove-atom.S \ 19 arch-x86/string/ssse3-bcopy-atom.S \ 20 arch-x86/string/ssse3-strncat-atom.S \ 21 arch-x86/string/ssse3-strncpy-atom.S \ 22 arch-x86/string/ssse3-strlcat-atom.S \ 23 arch-x86/string/ssse3-strlcpy-atom.S \ 24 arch-x86/string/ssse3-strcmp-atom.S \ 25 arch-x86/string/ssse3-strncmp-atom.S \ 26 arch-x86/string/ssse3-strcat-atom.S \ 27 arch-x86/string/ssse3-strcpy-atom.S \ 28 arch-x86/string/ssse3-memcmp-atom.S \ 29 arch-x86/string/ssse3-wmemcmp-atom.S \ 30 arch-x86/string/ssse3-memcmp16-atom.S \ 31 arch-x86/string/ssse3-wcscat-atom.S \ 32 arch-x86/string/ssse3-wcscpy-atom.S 33 else 34 _LIBC_ARCH_COMMON_SRC_FILES += \ 35 arch-x86/string/memcpy.S \ 36 arch-x86/string/memmove.S \ 37 arch-x86/string/bcopy.S \ 38 arch-x86/string/strcmp.S \ 39 arch-x86/string/strncmp.S \ 40 arch-x86/string/strcat.S \ 41 arch-x86/string/memcmp.S \ 42 string/memcmp16.c \ 43 string/strcpy.c \ 44 string/strncat.c \ 45 string/strncpy.c \ 46 string/strlcat.c \ 47 string/strlcpy.c \ 48 upstream-freebsd/lib/libc/string/wcscpy.c \ 49 upstream-freebsd/lib/libc/string/wcscat.c \ 50 upstream-freebsd/lib/libc/string/wmemcmp.c 51 endif 52 53 ifeq ($(ARCH_X86_HAVE_SSE2),true) 54 _LIBC_ARCH_COMMON_SRC_FILES += \ 55 arch-x86/string/sse2-memset-atom.S \ 56 arch-x86/string/sse2-bzero-atom.S \ 57 arch-x86/string/sse2-memchr-atom.S \ 58 arch-x86/string/sse2-memrchr-atom.S \ 59 arch-x86/string/sse2-strchr-atom.S \ 60 arch-x86/string/sse2-strrchr-atom.S \ 61 arch-x86/string/sse2-index-atom.S \ 62 arch-x86/string/sse2-strlen-atom.S \ 63 arch-x86/string/sse2-strnlen-atom.S \ 64 arch-x86/string/sse2-wcschr-atom.S \ 65 arch-x86/string/sse2-wcsrchr-atom.S \ 66 arch-x86/string/sse2-wcslen-atom.S \ 67 arch-x86/string/sse2-wcscmp-atom.S 68 else 69 _LIBC_ARCH_COMMON_SRC_FILES += \ 70 arch-x86/string/memset.S \ 71 arch-x86/string/strlen.S \ 72 arch-x86/string/bzero.S \ 73 bionic/memrchr.c \ 74 bionic/memchr.c \ 75 string/strchr.cpp \ 76 string/strrchr.c \ 77 string/index.c \ 78 bionic/strnlen.c \ 79 upstream-freebsd/lib/libc/string/wcschr.c \ 80 upstream-freebsd/lib/libc/string/wcsrchr.c \ 81 upstream-freebsd/lib/libc/string/wcslen.c \ 82 upstream-freebsd/lib/libc/string/wcscmp.c 83 endif 84 85 _LIBC_ARCH_STATIC_SRC_FILES := \ 86 bionic/dl_iterate_phdr_static.c \ 87 88 _LIBC_ARCH_DYNAMIC_SRC_FILES := 89