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