Eliminate the .eh_frame sections from the aarch64 vmlinux and kernel modules
[cascardo/linux.git] / arch / arm64 / Makefile
index cd822d8..094a137 100644 (file)
@@ -27,6 +27,7 @@ $(warning LSE atomics not supported by binutils)
 endif
 
 KBUILD_CFLAGS  += -mgeneral-regs-only $(lseinstr)
+KBUILD_CFLAGS  += -fno-asynchronous-unwind-tables
 KBUILD_AFLAGS  += $(lseinstr)
 
 ifeq ($(CONFIG_CPU_BIG_ENDIAN), y)