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