In order to build the Linux kernel, the back chain must be supported with packed-stack. The back chain is then stored topmost in the register save area. Review: Ulrich Weigand Differential Revision: https://reviews.llvm.org/D74506
8 lines
392 B
C
8 lines
392 B
C
// RUN: %clang -target s390x -c -### %s -mpacked-stack -mbackchain 2>&1 | FileCheck %s
|
|
// RUN: %clang -target s390x -c -### %s -mpacked-stack -mbackchain -msoft-float \
|
|
// RUN: 2>&1 | FileCheck %s --check-prefix=KERNEL-BUILD
|
|
// REQUIRES: systemz-registered-target
|
|
|
|
// CHECK: error: unsupported option '-mpacked-stack -mbackchain -mhard-float'
|
|
// KERNEL-BUILD-NOT: error: unsupported option
|