aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-10-03 05:20:21 +0200
committerMichael Matz <matz@suse.de>2016-12-15 17:47:12 +0100
commitad723a419fd956d984a0956713566453ba8f6a12 (patch)
tree545e85608c951f3416c79146a6c378435dfb0af1 /tcc.h
parentb5669a952babf486f0f8beb1e0a52d9031b3ae84 (diff)
downloadtinycc-ad723a419fd956d984a0956713566453ba8f6a12.tar.gz
tinycc-ad723a419fd956d984a0956713566453ba8f6a12.tar.bz2
x86_64: Add -mno-sse option
This disables generation of any SSE instructions (in particular in stdarg function prologues). Necessary for kernel compiles.
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h3
1 files changed, 3 insertions, 0 deletions
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;