mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
sysdeps/s390: Exclude fortified routines from being built with _FORTIFY_SOURCE
Depending on build configuration, the [routine]-c.c files may be chosen to provide fortified routines implementation. While [routines].c implementation were automatically excluded, the [routines]-c.c ones were not. This patch fixes that by adding these file to the list to be filtered.
This commit is contained in:
parent
7ff33eca68
commit
e30048fdc1
1 changed files with 20 additions and 0 deletions
|
@ -94,6 +94,15 @@ sysdep_routines += memset memset-z900 \
|
||||||
rawmemchr rawmemchr-vx rawmemchr-c \
|
rawmemchr rawmemchr-vx rawmemchr-c \
|
||||||
memccpy memccpy-vx memccpy-c \
|
memccpy memccpy-vx memccpy-c \
|
||||||
memrchr memrchr-vx memrchr-c
|
memrchr memrchr-vx memrchr-c
|
||||||
|
|
||||||
|
# Exclude fortified routines from being built with _FORTIFY_SOURCE
|
||||||
|
routines_no_fortify += \
|
||||||
|
memmove-c \
|
||||||
|
stpcpy-c \
|
||||||
|
stpncpy-c \
|
||||||
|
strcat-c \
|
||||||
|
strncat-c \
|
||||||
|
# routines_no_fortify
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(subdir),wcsmbs)
|
ifeq ($(subdir),wcsmbs)
|
||||||
|
@ -116,4 +125,15 @@ sysdep_routines += wcslen wcslen-vx wcslen-c \
|
||||||
wmemchr wmemchr-vx wmemchr-c \
|
wmemchr wmemchr-vx wmemchr-c \
|
||||||
wmemset wmemset-vx wmemset-c \
|
wmemset wmemset-vx wmemset-c \
|
||||||
wmemcmp wmemcmp-vx wmemcmp-c
|
wmemcmp wmemcmp-vx wmemcmp-c
|
||||||
|
|
||||||
|
# Exclude fortified routines from being built with _FORTIFY_SOURCE
|
||||||
|
routines_no_fortify += \
|
||||||
|
wcpcpy-c \
|
||||||
|
wcpncpy-c \
|
||||||
|
wcscat-c \
|
||||||
|
wcscpy-c \
|
||||||
|
wcsncat-c \
|
||||||
|
wcsncpy-c \
|
||||||
|
wmemset-c \
|
||||||
|
# routines_no_fortify
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue