diff options
author | Nicholas Piggin <[email protected]> | 2023-04-26 15:58:39 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-04-26 16:21:33 +1000 |
commit | 169f8997968ab620d750d9a45e15c5288d498356 (patch) | |
tree | 8d1bb8c8c1bca78de830a0004d64be93bd9da227 /arch/riscv/kernel/trace_irq.c | |
parent | 0c993300d52bf5ce9b951c3b6b25d0d14acc49a9 (diff) |
powerpc/64s: Disable pcrel code model on Clang
Clang has a bug that casues the pcrel code model not to be used when any of
-msoft-float, -mno-altivec, or -mno-vsx are set. Leaving these off causes
FP/vector instructions to be generated, causing crashes. So disable pcrel
for clang for now.
Fixes: 7e3a68be42e10 ("powerpc/64: vmlinux support building with PCREL addresing")
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'arch/riscv/kernel/trace_irq.c')
0 files changed, 0 insertions, 0 deletions