aboutsummaryrefslogtreecommitdiff
path: root/code32seg.c
diff options
context:
space:
mode:
Diffstat (limited to 'code32seg.c')
-rw-r--r--code32seg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/code32seg.c b/code32seg.c
index 213bf44..e829c03 100644
--- a/code32seg.c
+++ b/code32seg.c
@@ -21,6 +21,8 @@ static inline void *from_flat_ptr(void *p)
#define FLAT_VAR(x) (*(typeof(&(x))) from_flat_ptr(&(x)))
+#pragma GCC optimize("no-jump-tables")
+
bioscall void pcibios_handler(struct bios32regs *args)
{
switch (args->eax) {