From ad723a419fd956d984a0956713566453ba8f6a12 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Mon, 3 Oct 2016 05:20:21 +0200 Subject: x86_64: Add -mno-sse option This disables generation of any SSE instructions (in particular in stdarg function prologues). Necessary for kernel compiles. --- tcc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index a2e3d0d..2434b94 100644 --- a/tcc.h +++ b/tcc.h @@ -643,6 +643,9 @@ struct TCCState { #ifdef TCC_TARGET_I386 int seg_size; /* 32. Can be 16 with i386 assembler (.code16) */ #endif +#ifdef TCC_TARGET_X86_64 + int nosse; /* For -mno-sse support. */ +#endif /* array of all loaded dlls (including those referenced by loaded dlls) */ DLLReference **loaded_dlls; -- cgit v1.3.1