mirror of
https://github.com/opnsense/src.git
synced 2026-04-12 21:06:41 -04:00
The code in this file runs before the sanitizer can initialize its
shadow map.
Fixes: ad2fac552c ("lib/libc/amd64: add archlevel-based simd dispatch framework")
(cherry picked from commit 4dedcb1bb54cbbe8043c79ad733f966b6ffc6972)
36 lines
598 B
Makefile
36 lines
598 B
Makefile
MDSRCS+= \
|
|
amd64_archlevel.c \
|
|
bcmp.S \
|
|
memchr.S \
|
|
memcmp.S \
|
|
memccpy.S \
|
|
memcpy.S \
|
|
memmove.S \
|
|
memrchr.S \
|
|
memset.S \
|
|
stpcpy.S \
|
|
stpncpy.S \
|
|
strcat.S \
|
|
strchrnul.S \
|
|
strcmp.S \
|
|
strcpy.c \
|
|
strcspn.S \
|
|
strlcat.c \
|
|
strlcpy.S \
|
|
strlen.S \
|
|
strncat.c \
|
|
strncmp.S \
|
|
strncpy.c \
|
|
strnlen.c \
|
|
strpbrk.c \
|
|
strrchr.S \
|
|
strsep.c \
|
|
strspn.S \
|
|
timingsafe_bcmp.S \
|
|
timingsafe_memcmp.S
|
|
|
|
.if ${MK_ASAN} != "no"
|
|
# Disable ASAN for amd64_archlevel.c since its code is executed before the
|
|
# sanitizer runtime can initialize itself.
|
|
CFLAGS.amd64_archlevel.c+= -fno-sanitize=address
|
|
.endif
|