aboutsummaryrefslogtreecommitdiffstats
path: root/executor/gen_linux_ppc64le.go
diff options
context:
space:
mode:
Diffstat (limited to 'executor/gen_linux_ppc64le.go')
-rw-r--r--executor/gen_linux_ppc64le.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/executor/gen_linux_ppc64le.go b/executor/gen_linux_ppc64le.go
new file mode 100644
index 000000000..1c66d5caa
--- /dev/null
+++ b/executor/gen_linux_ppc64le.go
@@ -0,0 +1,7 @@
+// Copyright 2021 syzkaller project authors. All rights reserved.
+// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+// nolint: lll
+//go:generate bash -c "gcc -DGOARCH_$GOARCH=1 kvm_gen.cc kvm_ppc64le.S -o kvm_gen && ./kvm_gen > kvm_ppc64le.S.h && rm ./kvm_gen"
+
+package executor