2009-03-14 07:53:18 +08:00
|
|
|
ifeq ($(subdir),csu)
|
|
|
|
aux += init-arch
|
2012-05-17 11:14:24 +08:00
|
|
|
tests += test-multiarch
|
2009-06-06 02:32:00 +08:00
|
|
|
gen-as-const-headers += ifunc-defines.sym
|
2009-03-14 07:53:18 +08:00
|
|
|
endif
|
2009-06-23 11:38:41 +08:00
|
|
|
|
|
|
|
ifeq ($(subdir),string)
|
2011-06-25 03:14:22 +08:00
|
|
|
|
2011-07-20 05:11:54 +08:00
|
|
|
sysdep_routines += strncat-c stpncpy-c strncpy-c strcmp-ssse3 strncmp-ssse3 \
|
2013-05-20 14:20:00 +08:00
|
|
|
strend-sse4 memcmp-sse4 memcpy-ssse3 memcpy-sse2-unaligned mempcpy-ssse3 \
|
2010-06-30 23:26:11 +08:00
|
|
|
memmove-ssse3 memcpy-ssse3-back mempcpy-ssse3-back \
|
2010-08-15 13:04:01 +08:00
|
|
|
memmove-ssse3-back strcasestr-nonascii strcasecmp_l-ssse3 \
|
2013-03-18 14:39:12 +08:00
|
|
|
strncase_l-ssse3 strcat-ssse3 strncat-ssse3\
|
2011-06-25 03:14:22 +08:00
|
|
|
strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3 \
|
|
|
|
strcpy-sse2-unaligned strncpy-sse2-unaligned \
|
2011-07-20 05:11:54 +08:00
|
|
|
stpcpy-sse2-unaligned stpncpy-sse2-unaligned \
|
|
|
|
strcat-sse2-unaligned strncat-sse2-unaligned \
|
2013-03-18 14:39:12 +08:00
|
|
|
strrchr-sse2-no-bsf strchr-sse2-no-bsf memcmp-ssse3
|
2009-07-03 17:48:56 +08:00
|
|
|
ifeq (yes,$(config-cflags-sse4))
|
2010-08-25 02:35:01 +08:00
|
|
|
sysdep_routines += strcspn-c strpbrk-c strspn-c strstr-c strcasestr-c varshift
|
2010-08-26 03:13:08 +08:00
|
|
|
CFLAGS-varshift.c += -msse4
|
2009-07-03 17:48:56 +08:00
|
|
|
CFLAGS-strcspn-c.c += -msse4
|
|
|
|
CFLAGS-strpbrk-c.c += -msse4
|
|
|
|
CFLAGS-strspn-c.c += -msse4
|
2009-07-21 12:06:50 +08:00
|
|
|
CFLAGS-strstr.c += -msse4
|
|
|
|
CFLAGS-strcasestr.c += -msse4
|
2010-07-17 06:37:38 +08:00
|
|
|
CFLAGS-strcasestr-nonascii.c += -msse4
|
2009-07-03 17:48:56 +08:00
|
|
|
endif
|
2009-06-23 11:38:41 +08:00
|
|
|
endif
|
2011-12-18 03:39:23 +08:00
|
|
|
|
|
|
|
ifeq ($(subdir),wcsmbs)
|
|
|
|
sysdep_routines += wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c wcscpy-ssse3 wcscpy-c
|
|
|
|
endif
|