mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08:00
49cf78ef7b
Allow enabling frame pointer support; this makes it easier to hook into the various kernel features that claim they require it without having to add Kconfig conditionals everywhere (a la mips, ppc, s390, and microblaze). When enabled, it basically eliminates leaf functions as such, and stops optimizing tail and sibling calls. It adds around 3% to the size of the kernel when enabled. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
19 lines
638 B
Makefile
19 lines
638 B
Makefile
#
|
|
# Makefile for TILE-specific library files..
|
|
#
|
|
|
|
lib-y = cacheflush.o checksum.o cpumask.o delay.o uaccess.o \
|
|
memmove.o memcpy_$(BITS).o memchr_$(BITS).o memset_$(BITS).o \
|
|
strchr_$(BITS).o strlen_$(BITS).o strnlen_$(BITS).o
|
|
|
|
lib-$(CONFIG_TILEGX) += memcpy_user_64.o
|
|
lib-$(CONFIG_TILEPRO) += atomic_32.o atomic_asm_32.o memcpy_tile64.o
|
|
lib-$(CONFIG_SMP) += spinlock_$(BITS).o usercopy_$(BITS).o
|
|
|
|
obj-$(CONFIG_MODULES) += exports.o
|
|
|
|
# The finv_buffer_remote() and copy_{to,from}_user() routines can't
|
|
# have -pg added, since they both rely on being leaf functions.
|
|
CFLAGS_REMOVE_cacheflush.o = -pg
|
|
CFLAGS_REMOVE_memcpy_user_64.o = -pg
|