diff options
| author | serpilliere <devnull@localhost> | 2013-06-11 16:13:29 +0200 |
|---|---|---|
| committer | serpilliere <devnull@localhost> | 2013-06-11 16:13:29 +0200 |
| commit | cecdf0da2ed0221c203af9157add30e2bff7dd8c (patch) | |
| tree | 68bc8ebb64357dadcdb5115b15a073de90684620 /miasm/tools/emul_lib/libcodenat_tcc.c | |
| parent | a34808b261359d0a90bc4f624dc6ffee2a4ba03f (diff) | |
| download | focaccia-miasm-cecdf0da2ed0221c203af9157add30e2bff7dd8c.tar.gz focaccia-miasm-cecdf0da2ed0221c203af9157add30e2bff7dd8c.zip | |
ubuntu python dev doesnt define __LP64__ ??
Diffstat (limited to 'miasm/tools/emul_lib/libcodenat_tcc.c')
| -rw-r--r-- | miasm/tools/emul_lib/libcodenat_tcc.c | 2 |
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 36bd5d17..c9bc1187 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, NULL) < 0) + if (tcc_relocate(tcc_state,TCC_RELOCATE_AUTO) < 0) exit(0); entry = tcc_get_symbol(tcc_state, func_name); if (!entry){ |