x86/entry: Add compatibility with IAS
authorJian Cai <caij2003@gmail.com>
Tue, 14 Jul 2020 23:30:21 +0000 (16:30 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Jul 2020 15:25:09 +0000 (17:25 +0200)
commit6ee93f8df09c470da1a4af11e394c52d7b62418c
treeabb7da7932664cac251ad817628884ea1363d55d
parentbd87e6f6610aa96fde01ee6653e162213f7ec836
x86/entry: Add compatibility with IAS

Clang's integrated assembler does not allow symbols with non-absolute
values to be reassigned. Modify the interrupt entry loop macro to be
compatible with IAS by using a label and an offset.

Reported-by: Nick Desaulniers <ndesaulniers@google.com>
Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Suggested-by: Nick Desaulniers <ndesaulniers@google.com>
Suggested-by: Brian Gerst <brgerst@gmail.com>
Suggested-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Jian Cai <caij2003@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com> #
Link: https://github.com/ClangBuiltLinux/linux/issues/1043
Link: https://lkml.kernel.org/r/20200714233024.1789985-1-caij2003@gmail.com
arch/x86/include/asm/idtentry.h