Commit cfd75c2d authored by Robert Schiele's avatar Robert Schiele Committed by James Hogan

MIPS: VDSO: Explicitly use -fno-asynchronous-unwind-tables

Not every toolchain has -fno-asynchronous-unwind-tables per default on
MIPS. This patch specifies the necessary option explicitly for VDSO
library build.

This prevents the following build failure:
GENVDSO arch/mips/vdso/vdso-image.c
arch/mips/vdso/genvdso: 'arch/mips/vdso/' contains relocation sections
.../arch/mips/vdso/Makefile:84: recipe for target 'arch/mips/vdso/vdso-image.c' failed
Signed-off-by: default avatarRobert Schiele <>
Signed-off-by: default avatarAlexander Sverdlin <>
Cc: Ralf Baechle <>
Cc: "Maciej W. Rozycki" <>
Cc: Alexander Sverdlin <>
Patchwork: default avatarJames Hogan <>
parent bdfdaf1a
......@@ -11,6 +11,7 @@ cflags-vdso := $(ccflags-vdso) \
$(filter -W%,$(filter-out -Wa$(comma)%,$(KBUILD_CFLAGS))) \
-O2 -g -fPIC -fno-strict-aliasing -fno-common -fno-builtin -G 0 \
$(call cc-option, -fno-asynchronous-unwind-tables) \
$(call cc-option, -fno-stack-protector)
aflags-vdso := $(ccflags-vdso) \
-D__ASSEMBLY__ -Wa,-gdwarf-2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment