2014-09-17 04:06:31 +02:00
|
|
|
# 64-bit mips.
|
2014-01-24 00:17:50 +01:00
|
|
|
|
2014-09-17 04:06:31 +02:00
|
|
|
#
|
|
|
|
# Default implementations of functions that are commonly optimized.
|
|
|
|
#
|
|
|
|
|
|
|
|
libc_bionic_src_files_mips64 += \
|
|
|
|
bionic/__memcpy_chk.cpp \
|
|
|
|
bionic/__memset_chk.cpp \
|
|
|
|
bionic/__strcpy_chk.cpp \
|
|
|
|
bionic/__strcat_chk.cpp \
|
2014-02-25 03:00:43 +01:00
|
|
|
bionic/strchr.cpp \
|
|
|
|
bionic/strnlen.c \
|
|
|
|
bionic/strrchr.cpp \
|
2015-01-27 20:09:27 +01:00
|
|
|
arch-mips/string/memcmp.c \
|
|
|
|
arch-mips/string/memcpy.c \
|
|
|
|
arch-mips/string/memset.c \
|
|
|
|
arch-mips/string/strlen.c \
|
2014-09-17 04:06:31 +02:00
|
|
|
|
|
|
|
libc_freebsd_src_files_mips64 += \
|
2014-02-25 03:00:43 +01:00
|
|
|
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 \
|
2014-09-17 04:06:31 +02:00
|
|
|
|
|
|
|
libc_openbsd_src_files_mips64 += \
|
2015-02-14 22:21:22 +01:00
|
|
|
upstream-openbsd/lib/libc/string/memchr.c \
|
2015-01-26 22:34:58 +01:00
|
|
|
upstream-openbsd/lib/libc/string/memmove.c \
|
2015-02-14 22:21:22 +01:00
|
|
|
upstream-openbsd/lib/libc/string/memrchr.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/strncat.c \
|
|
|
|
upstream-openbsd/lib/libc/string/strncmp.c \
|
|
|
|
upstream-openbsd/lib/libc/string/strncpy.c \
|
2014-01-24 00:17:50 +01:00
|
|
|
|
2014-09-17 04:06:31 +02:00
|
|
|
#
|
|
|
|
# Inherently architecture-specific code.
|
|
|
|
#
|
2014-01-24 00:17:50 +01:00
|
|
|
|
2014-09-17 04:06:31 +02:00
|
|
|
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/setjmp.S \
|
|
|
|
arch-mips64/bionic/syscall.S \
|
2014-08-05 22:53:31 +02:00
|
|
|
arch-mips64/bionic/vfork.S \
|
2015-01-15 20:12:22 +01:00
|
|
|
arch-mips64/bionic/stat.cpp \
|
2014-02-06 03:51:43 +01:00
|
|
|
|
2014-01-24 00:17:50 +01:00
|
|
|
libc_crt_target_cflags_mips64 := \
|
|
|
|
$($(my_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS) \
|
2014-09-17 04:06:31 +02:00
|
|
|
-I$(LOCAL_PATH)/arch-mips64/include \
|
2014-01-24 00:17:50 +01:00
|
|
|
|
|
|
|
libc_crt_target_crtbegin_file_mips64 := \
|
2014-09-17 04:06:31 +02:00
|
|
|
$(LOCAL_PATH)/arch-mips64/bionic/crtbegin.c \
|
2014-01-24 00:17:50 +01:00
|
|
|
|
|
|
|
libc_crt_target_crtbegin_so_file_mips64 := \
|
2014-09-17 04:06:31 +02:00
|
|
|
$(LOCAL_PATH)/arch-common/bionic/crtbegin_so.c \
|
2014-01-24 00:17:50 +01:00
|
|
|
|
|
|
|
libc_crt_target_so_cflags_mips64 := \
|
2014-09-17 04:06:31 +02:00
|
|
|
-fPIC \
|
2014-01-24 00:17:50 +01:00
|
|
|
|
|
|
|
libc_crt_target_ldflags_mips64 := \
|
2014-09-17 04:06:31 +02:00
|
|
|
-melf64ltsmip \
|