Re: [PATCH] arm64: vdso32: force vdso32 to be compiled as -marm

From: Stephen Boyd
Date: Tue May 26 2020 - 14:55:55 EST


Quoting Nick Desaulniers (2020-05-26 10:31:14)
> Custom toolchains that modify the default target to -mthumb cannot
> compile the arm64 compat vdso32, as
> arch/arm64/include/asm/vdso/compat_gettimeofday.h
> contains assembly that's invalid in -mthumb. Force the use of -marm,
> always.
>
> Link: https://bugs.chromium.org/p/chromium/issues/detail?id=1084372
> Cc: Stephen Boyd <swboyd@xxxxxxxxxx>
> Reported-by: Luis Lozano <llozano@xxxxxxxxxx>
> Tested-by: Manoj Gupta <manojgupta@xxxxxxxxxx>
> Signed-off-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
> ---

Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>