2014-01-24 00:17:50 +01:00
|
|
|
# mips64 specific configs
|
|
|
|
|
|
|
|
libc_common_src_files_mips64 := \
|
2014-02-25 03:00:43 +01:00
|
|
|
bionic/memchr.c \
|
|
|
|
bionic/memcmp.c \
|
|
|
|
bionic/memmove.c \
|
|
|
|
bionic/memrchr.c \
|
|
|
|
bionic/strchr.cpp \
|
|
|
|
bionic/strnlen.c \
|
|
|
|
bionic/strrchr.cpp \
|
|
|
|
upstream-freebsd/lib/libc/string/wcscat.c \
|
|
|
|
upstream-freebsd/lib/libc/string/wcschr.c \
|
|
|
|
upstream-freebsd/lib/libc/string/wcscmp.c \
|
|
|
|
upstream-freebsd/lib/libc/string/wcscpy.c \
|
|
|
|
upstream-freebsd/lib/libc/string/wcslen.c \
|
|
|
|
upstream-freebsd/lib/libc/string/wcsrchr.c \
|
|
|
|
upstream-freebsd/lib/libc/string/wmemcmp.c \
|
2014-05-23 17:44:18 +02:00
|
|
|
upstream-freebsd/lib/libc/string/wmemmove.c \
|
Add 32-bit Silvermont-optimized string/memory functions.
Add following functions:
bcopy, memcpy, memmove, memset, bzero, memcmp, wmemcmp, strlen,
strcpy, strncpy, stpcpy, stpncpy.
Create new directories inside arch-x86 to specify architecture: atom,
silvermont and generic (non atom or silvermont architectures are treated like generic).
Due to introducing optimized versions of stpcpy and stpncpy,
c-implementations of these functions are moved from
common for architectures makefile to arm and mips specific makefiles.
Change-Id: I990f8061c3e9bca1f154119303da9e781c5d086e
Signed-off-by: Varvara Rainchik <varvara.rainchik@intel.com>
2014-04-24 13:41:20 +02:00
|
|
|
upstream-openbsd/lib/libc/string/stpcpy.c \
|
|
|
|
upstream-openbsd/lib/libc/string/stpncpy.c \
|
2014-02-25 03:00:43 +01:00
|
|
|
upstream-openbsd/lib/libc/string/strcat.c \
|
|
|
|
upstream-openbsd/lib/libc/string/strcmp.c \
|
|
|
|
upstream-openbsd/lib/libc/string/strcpy.c \
|
|
|
|
upstream-openbsd/lib/libc/string/strlcat.c \
|
|
|
|
upstream-openbsd/lib/libc/string/strlcpy.c \
|
|
|
|
upstream-openbsd/lib/libc/string/strlen.c \
|
|
|
|
upstream-openbsd/lib/libc/string/strncat.c \
|
|
|
|
upstream-openbsd/lib/libc/string/strncmp.c \
|
|
|
|
upstream-openbsd/lib/libc/string/strncpy.c \
|
2014-01-24 00:17:50 +01:00
|
|
|
|
|
|
|
# Fortify implementations of libc functions.
|
|
|
|
libc_common_src_files_mips64 += \
|
|
|
|
bionic/__memcpy_chk.cpp \
|
|
|
|
bionic/__memset_chk.cpp \
|
|
|
|
bionic/__strcpy_chk.cpp \
|
|
|
|
bionic/__strcat_chk.cpp \
|
|
|
|
|
|
|
|
|
|
|
|
##########################################
|
|
|
|
### CPU specific source files
|
|
|
|
libc_bionic_src_files_mips64 := \
|
2014-02-06 03:51:43 +01:00
|
|
|
arch-mips64/bionic/__bionic_clone.S \
|
|
|
|
arch-mips64/bionic/_exit_with_stack_teardown.S \
|
|
|
|
arch-mips64/bionic/__get_sp.S \
|
|
|
|
arch-mips64/bionic/memcmp16.S \
|
|
|
|
arch-mips64/bionic/_setjmp.S \
|
|
|
|
arch-mips64/bionic/setjmp.S \
|
|
|
|
arch-mips64/bionic/sigsetjmp.S \
|
|
|
|
arch-mips64/bionic/syscall.S \
|
|
|
|
arch-mips64/bionic/vfork.S \
|
|
|
|
|
|
|
|
# FIXME TODO
|
2014-01-24 00:17:50 +01:00
|
|
|
## libc_bionic_src_files_mips64 += arch-mips64/string/memcpy.S
|
|
|
|
## libc_bionic_src_files_mips64 += arch-mips64/string/memset.S
|
2014-04-08 20:16:03 +02:00
|
|
|
libc_bionic_src_files_mips64 += bionic/memcpy.cpp
|
2014-01-24 00:17:50 +01:00
|
|
|
libc_bionic_src_files_mips64 += bionic/memset.c
|
|
|
|
|
|
|
|
|
|
|
|
libc_crt_target_cflags_mips64 := \
|
|
|
|
$($(my_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS) \
|
2014-02-20 20:57:25 +01:00
|
|
|
-I$(LOCAL_PATH)/arch-mips64/include
|
2014-01-24 00:17:50 +01:00
|
|
|
|
|
|
|
libc_crt_target_crtbegin_file_mips64 := \
|
2014-02-20 20:57:25 +01:00
|
|
|
$(LOCAL_PATH)/arch-mips64/bionic/crtbegin.c
|
2014-01-24 00:17:50 +01:00
|
|
|
|
|
|
|
libc_crt_target_crtbegin_so_file_mips64 := \
|
|
|
|
$(LOCAL_PATH)/arch-common/bionic/crtbegin_so.c
|
|
|
|
|
|
|
|
libc_crt_target_so_cflags_mips64 := \
|
|
|
|
-fPIC
|
|
|
|
|
|
|
|
libc_crt_target_ldflags_mips64 := \
|
|
|
|
-melf64ltsmip
|