Christopher Ferris | 04954a4 | 2013-02-26 01:30:00 -0800 | [diff] [blame] | 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 \ |
Liubov Dmitrieva | 0a49066 | 2012-01-17 12:55:46 +0400 | [diff] [blame^] | 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-wcscat-atom.S \ |
| 31 | arch-x86/string/ssse3-wcscpy-atom.S |
| 32 | else |
| 33 | _LIBC_ARCH_COMMON_SRC_FILES += \ |
| 34 | arch-x86/string/memcpy.S \ |
| 35 | arch-x86/string/memmove.S \ |
| 36 | arch-x86/string/bcopy.S \ |
| 37 | arch-x86/string/strcmp.S \ |
| 38 | arch-x86/string/strncmp.S \ |
| 39 | arch-x86/string/strcat.S \ |
| 40 | arch-x86/string/memcmp.S \ |
| 41 | string/strcpy.c \ |
| 42 | string/strncat.c \ |
| 43 | string/strncpy.c \ |
| 44 | string/strlcat.c \ |
| 45 | string/strlcpy.c \ |
| 46 | upstream-freebsd/lib/libc/string/wcscpy.c \ |
| 47 | upstream-freebsd/lib/libc/string/wcscat.c \ |
| 48 | upstream-freebsd/lib/libc/string/wmemcmp.c |
| 49 | endif |
| 50 | |
| 51 | ifeq ($(ARCH_X86_HAVE_SSE2),true) |
| 52 | _LIBC_ARCH_COMMON_SRC_FILES += \ |
| 53 | arch-x86/string/sse2-memset-atom.S \ |
| 54 | arch-x86/string/sse2-bzero-atom.S \ |
| 55 | arch-x86/string/sse2-memchr-atom.S \ |
| 56 | arch-x86/string/sse2-memrchr-atom.S \ |
| 57 | arch-x86/string/sse2-strchr-atom.S \ |
| 58 | arch-x86/string/sse2-strrchr-atom.S \ |
| 59 | arch-x86/string/sse2-index-atom.S \ |
| 60 | arch-x86/string/sse2-strlen-atom.S \ |
| 61 | arch-x86/string/sse2-strnlen-atom.S \ |
| 62 | arch-x86/string/sse2-wcschr-atom.S \ |
| 63 | arch-x86/string/sse2-wcsrchr-atom.S \ |
| 64 | arch-x86/string/sse2-wcslen-atom.S \ |
| 65 | arch-x86/string/sse2-wcscmp-atom.S |
| 66 | else |
| 67 | _LIBC_ARCH_COMMON_SRC_FILES += \ |
| 68 | arch-x86/string/memset.S \ |
| 69 | arch-x86/string/strlen.S \ |
| 70 | arch-x86/string/bzero.S \ |
| 71 | bionic/memrchr.c \ |
| 72 | bionic/memchr.c \ |
| 73 | string/strchr.cpp \ |
| 74 | string/strrchr.c \ |
| 75 | string/index.c \ |
| 76 | bionic/strnlen.c \ |
| 77 | upstream-freebsd/lib/libc/string/wcschr.c \ |
| 78 | upstream-freebsd/lib/libc/string/wcsrchr.c \ |
| 79 | upstream-freebsd/lib/libc/string/wcslen.c \ |
| 80 | upstream-freebsd/lib/libc/string/wcscmp.c |
| 81 | endif |
Christopher Ferris | 04954a4 | 2013-02-26 01:30:00 -0800 | [diff] [blame] | 82 | |
| 83 | _LIBC_ARCH_STATIC_SRC_FILES := \ |
| 84 | bionic/dl_iterate_phdr_static.c \ |
| 85 | |
| 86 | _LIBC_ARCH_DYNAMIC_SRC_FILES := |