diff options
author | Michael Davidson <md@google.com> | 2017-04-26 01:47:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-27 18:07:57 +0300 |
commit | 3ebd7941d0bdc85ebfc6eaa58fbf53e0f26e00e3 (patch) | |
tree | 6ac05e7355df750569631b20730e5b5ef7d24948 /scripts/xz_wrap.sh | |
parent | cbb5fc70e499b794741f431443874be6977ac539 (diff) | |
download | linux-3ebd7941d0bdc85ebfc6eaa58fbf53e0f26e00e3.tar.xz |
kbuild: clang: add -no-integrated-as to KBUILD_[AC]FLAGS
commit a37c45cd82e62a361706b9688a984a3a63957321 upstream.
The Linux Kernel relies on GCC's acceptance of inline assembly as an
opaque object which will not have any validation performed on the content.
The current behaviour in LLVM is to perform validation of the contents by
means of parsing the input if the MC layer can handle it.
Disable clangs integrated assembler and use the GNU assembler instead.
Wording-mostly-from: Saleem Abdulrasool <compnerd@compnerd.org>
Signed-off-by: Michael Davidson <md@google.com>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/xz_wrap.sh')
0 files changed, 0 insertions, 0 deletions