aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorgrischka <grischka>2014-04-17 17:01:28 +0200
committergrischka <grischka>2014-04-17 17:01:28 +0200
commit2ac238fc507b64a8dd2d5d3d5c00210c1ffabea5 (patch)
tree935dafb1204a3682ce9bfd74258cf52301b06a4e /tcc.h
parent6b7a6fcbc8b9ed623a436dc2218cfe31b991037c (diff)
downloadtinycc-2ac238fc507b64a8dd2d5d3d5c00210c1ffabea5.tar.gz
tinycc-2ac238fc507b64a8dd2d5d3d5c00210c1ffabea5.tar.bz2
tccpe: adjust for new 'hidden' symbols feature
in order to avoid conflicts with windows specific (ab)usage of the Elf32_Sym -> st_other field.
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tcc.h b/tcc.h
index ab14b38..c93cedf 100644
--- a/tcc.h
+++ b/tcc.h
@@ -1392,6 +1392,10 @@ ST_FUNC SValue *pe_getimport(SValue *sv, SValue *v2);
#ifdef TCC_TARGET_X86_64
ST_FUNC void pe_add_unwind_data(unsigned start, unsigned end, unsigned stack);
#endif
+/* symbol properties stored in Elf32_Sym->st_other */
+# define ST_PE_EXPORT 0x10
+# define ST_PE_IMPORT 0x20
+# define ST_PE_STDCALL 0x40
#endif
/* ------------ tccrun.c ----------------- */