Makefile (2ac5e38ea4203852d6e99edd3cf11f044b0a409f) | Makefile (cc9f8349cb33965120a96c12e05d00676162eb7f) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2lib-y := clear_user.o delay.o copy_from_user.o \ 3 copy_to_user.o copy_in_user.o copy_page.o \ 4 clear_page.o memchr.o memcpy.o memmove.o memset.o \ 5 memcmp.o strcmp.o strncmp.o strlen.o strnlen.o \ 6 strchr.o strrchr.o tishift.o 7 | 1# SPDX-License-Identifier: GPL-2.0 2lib-y := clear_user.o delay.o copy_from_user.o \ 3 copy_to_user.o copy_in_user.o copy_page.o \ 4 clear_page.o memchr.o memcpy.o memmove.o memset.o \ 5 memcmp.o strcmp.o strncmp.o strlen.o strnlen.o \ 6 strchr.o strrchr.o tishift.o 7 |
8ifeq ($(CONFIG_KERNEL_MODE_NEON), y) 9obj-$(CONFIG_XOR_BLOCKS) += xor-neon.o 10CFLAGS_REMOVE_xor-neon.o += -mgeneral-regs-only 11CFLAGS_xor-neon.o += -ffreestanding 12endif 13 |
|
8# Tell the compiler to treat all general purpose registers (with the 9# exception of the IP registers, which are already handled by the caller 10# in case of a PLT) as callee-saved, which allows for efficient runtime 11# patching of the bl instruction in the caller with an atomic instruction 12# when supported by the CPU. Result and argument registers are handled 13# correctly, based on the function prototype. 14lib-$(CONFIG_ARM64_LSE_ATOMICS) += atomic_ll_sc.o 15CFLAGS_atomic_ll_sc.o := -ffixed-x1 -ffixed-x2 \ --- 14 unchanged lines hidden --- | 14# Tell the compiler to treat all general purpose registers (with the 15# exception of the IP registers, which are already handled by the caller 16# in case of a PLT) as callee-saved, which allows for efficient runtime 17# patching of the bl instruction in the caller with an atomic instruction 18# when supported by the CPU. Result and argument registers are handled 19# correctly, based on the function prototype. 20lib-$(CONFIG_ARM64_LSE_ATOMICS) += atomic_ll_sc.o 21CFLAGS_atomic_ll_sc.o := -ffixed-x1 -ffixed-x2 \ --- 14 unchanged lines hidden --- |