summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2019-01-11 15:42:20 +0100
committerLeah Neukirchen <leah@vuxu.org>2019-01-11 15:42:20 +0100
commit7f7d49564d86851ef74e48fce23bb5f54f22b392 (patch)
treee036423c1bcd3e33e17b565f03509182701562b2
parent24e3b975a54e8512b17090ff833810765f6cb941 (diff)
downloadfail-7f7d49564d86851ef74e48fce23bb5f54f22b392.tar.gz
fail-7f7d49564d86851ef74e48fce23bb5f54f22b392.tar.xz
fail-7f7d49564d86851ef74e48fce23bb5f54f22b392.zip
illegalins: encode ud1 as .byte
-rw-r--r--fail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fail.c b/fail.c
index 3364763..b95b1b6 100644
--- a/fail.c
+++ b/fail.c
@@ -94,7 +94,7 @@ killme()
 void illegalins()
 {
 #if defined(__x86_64__) || defined(__i386__)
-	__asm__ __volatile__ ("ud1" : : : "memory");
+	__asm__ __volatile__ (".byte 0x0f, 0xb9" : : : "memory");
 #elif defined(__arm__)
 	__asm__ __volatile__ (
 	#ifndef __thumb__