aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-26 16:43:27 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-09-03 14:41:29 -0700
commitbfecccd0b34d065c6779186f21584abfb1dbf306 (patch)
treed08172fe5747979821bbb8908166a6361a8e18c6 /emcc
parent4ec26690083c3ded80d10f15fce3ced1bdca0b9f (diff)
use addFunction in dlsym, and define F_BASE in side modules so they can run as shared libs
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/emcc b/emcc
index 9d087341..a68f0fc9 100755
--- a/emcc
+++ b/emcc
@@ -1109,6 +1109,7 @@ try:
if shared.Settings.ALIASING_FUNCTION_POINTERS:
logging.warning('disabling ALIASING_FUNCTION_POINTERS for dlopen support')
shared.Settings.ALIASING_FUNCTION_POINTERS = 0
+ shared.Settings.RESERVED_FUNCTION_POINTERS = max(shared.Settings.RESERVED_FUNCTION_POINTERS, 10)
if shared.Settings.ASSERTIONS and shared.Settings.ALIASING_FUNCTION_POINTERS:
logging.warning('ALIASING_FUNCTION_POINTERS is on, function pointer comparisons may be invalid across types')