kernel_optimize_test/arch/s390
Vasily Gorbik c4e5c229b6 s390/jump_label: use "i" constraint for clang
Currently kernel build fails under clang if jump labels are enabled.
The problem is "X" constraint usage "Any operand whatsoever is allowed",
for which clang produces the following:
.pushsection __jump_table,"aw"
.balign 8
.long   0b-.,.Ltmp577-.
.quad   %r0+0-. # %r0 is not allowed here
.popsection

Under gcc constraints "X" or "jdd" (gcc > 9) are used for static keys.
Ideally, we'd have used "i" for gcc, but it doesn't work in all cases
with -fPIC code. This is gcc-specific problem that doesn't exist in llvm.
Since clang does not have "jdd" simply always use "i" constraint for it.

Suggested-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2020-01-22 13:05:35 +01:00
..
appldata
boot s390/kaslr: store KASLR offset for early dumps 2019-11-30 10:52:45 +01:00
configs
crypto Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2019-11-25 19:49:58 -08:00
hypfs
include s390/jump_label: use "i" constraint for clang 2020-01-22 13:05:35 +01:00
kernel s390/cpum_sf: Use DIV_ROUND_UP 2020-01-22 13:05:35 +01:00
kvm
lib s390/test_unwind: fix spelling mistake "reqister" -> "register" 2019-12-11 19:53:23 +01:00
mm s390/kasan: add KASAN_VMALLOC support 2019-12-11 19:56:59 +01:00
net
numa
oprofile
pci s390/pci: Fix possible deadlock in recover_store() 2020-01-22 13:05:34 +01:00
purgatory
scripts
tools
Kbuild
Kconfig s390/kasan: add KASAN_VMALLOC support 2019-12-11 19:56:59 +01:00
Kconfig.debug
Makefile s390: remove compat vdso code 2019-12-01 12:48:49 +01:00