about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <devnull@localhost>2013-06-11 10:19:48 +0200
committerserpilliere <devnull@localhost>2013-06-11 10:19:48 +0200
commita34808b261359d0a90bc4f624dc6ffee2a4ba03f (patch)
tree4e0dd3d44378a4136135d0fc931d0911de96ef12
parent9042b692393b41b2c0d4498415610b5ab1e581f7 (diff)
downloadmiasm-a34808b261359d0a90bc4f624dc6ffee2a4ba03f.tar.gz
miasm-a34808b261359d0a90bc4f624dc6ffee2a4ba03f.zip
fix tcc api modification
-rw-r--r--miasm/tools/emul_lib/libcodenat_tcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/tools/emul_lib/libcodenat_tcc.c b/miasm/tools/emul_lib/libcodenat_tcc.c
index 2712dea3..36bd5d17 100644
--- a/miasm/tools/emul_lib/libcodenat_tcc.c
+++ b/miasm/tools/emul_lib/libcodenat_tcc.c
@@ -109,7 +109,7 @@ PyObject* tcc_compil(PyObject* self, PyObject* args)
 		exit(0);
 	}
 	/* XXX use tinycc devel with -fPIC patch in makefile */
-	if (tcc_relocate(tcc_state) < 0)
+	if (tcc_relocate(tcc_state, NULL) < 0)
 		exit(0);
 	entry = tcc_get_symbol(tcc_state, func_name);
 	if (!entry){