diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2023-01-11 20:04:58 -0700 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-01-26 12:40:47 +0900 |
commit | 994f5f7816ff963f49269cfc97f63cb2e4edb84f (patch) | |
tree | 5a817cdd40d340b24be0f22bf8736522b8e4b36e /arch/mips/include/asm/asmmacro-32.h | |
parent | 837962ca237cf00100fb9c041a18ebc7a4df4e65 (diff) |
x86/boot/compressed: prefer cc-option for CFLAGS additions
as-option tests new options using KBUILD_CFLAGS, which causes problems
when using as-option to update KBUILD_AFLAGS because many compiler
options are not valid assembler options.
This will be fixed in a follow up patch. Before doing so, move the
assembler test for -Wa,-mrelax-relocations=no from using as-option to
cc-option.
Link: https://lore.kernel.org/llvm/CAK7LNATcHt7GcXZ=jMszyH=+M_LC9Qr6yeAGRCBbE6xriLxtUQ@mail.gmail.com/
Suggested-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>
Tested-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'arch/mips/include/asm/asmmacro-32.h')
0 files changed, 0 insertions, 0 deletions