Skip to content
Commit e220438d authored by Alyssa Ross's avatar Alyssa Ross Committed by Greg Kroah-Hartman
Browse files

purgatory: fix disabling debug info

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: default avatarAlyssa Ross <hi@alyssa.is>
Cc: stable@vger.kernel.org
Acked-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 37df7097
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