![Heiko Carstens](/assets/img/avatar_default.png)
Our memcpy and memcmp variants were implemented by calling the corresponding gcc builtin variants. However gcc is free to replace a call to __builtin_memcmp with a call to memcmp which, when called, will result in an endless recursion within memcmp. So let's provide asm variants and also fix the variants that are used for uncompressing the kernel image. In addition remove all other occurences of builtin function calls. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
11 lines
282 B
Makefile
11 lines
282 B
Makefile
#
|
|
# Makefile for s390-specific library files..
|
|
#
|
|
|
|
lib-y += delay.o string.o uaccess_std.o uaccess_pt.o
|
|
obj-y += usercopy.o
|
|
obj-$(CONFIG_32BIT) += div64.o qrnnd.o ucmpdi2.o mem32.o
|
|
obj-$(CONFIG_64BIT) += mem64.o
|
|
lib-$(CONFIG_64BIT) += uaccess_mvcos.o
|
|
lib-$(CONFIG_SMP) += spinlock.o
|