purgatory: fix disabling debug info
stable inclusion from stable-v5.10.179 commit e220438d1e33170313a295cd797919228c638953 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8C809 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e220438d1e33170313a295cd797919228c638953 -------------------------------- commit d83806c4 upstream. Since 32ef9e50, -Wa,-gdwarf-2 is no longer used in KBUILD_AFLAGS. Instead, it includes -g, the appropriate -gdwarf-* flag, and also the -Wa versions of both of those if building with Clang and GNU as. As a result, debug info was being generated for the purgatory objects, even though the intention was that it not be. Fixes: 32ef9e50 ("Makefile.debug: re-enable debug info for .S files") Signed-off-by:Alyssa Ross <hi@alyssa.is> Cc: stable@vger.kernel.org Acked-by:
Nick Desaulniers <ndesaulniers@google.com> Signed-off-by:
Masahiro Yamada <masahiroy@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment