X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=arch%2Ftile%2FMakefile;h=3d15364c60714bf661da140c8f6e67cde20001b3;hb=57769541b4bb696bf69c3350ca09187e04ebe7d4;hp=55640cf92597b11f943173928b4d7d7437d4be14;hpb=6167f81fd1054881d7476f57a8897ae4a477fa8b;p=cascardo%2Flinux.git diff --git a/arch/tile/Makefile b/arch/tile/Makefile index 55640cf92597..3d15364c6071 100644 --- a/arch/tile/Makefile +++ b/arch/tile/Makefile @@ -26,6 +26,10 @@ $(error Set TILERA_ROOT or CROSS_COMPILE when building $(ARCH) on $(HOST_ARCH)) endif endif +# The tile compiler may emit .eh_frame information for backtracing. +# In kernel modules, this causes load failures due to unsupported relocations. +KBUILD_CFLAGS += -fno-asynchronous-unwind-tables + ifneq ($(CONFIG_DEBUG_EXTRA_FLAGS),"") KBUILD_CFLAGS += $(CONFIG_DEBUG_EXTRA_FLAGS) endif