aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-22 12:05:14 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-22 12:05:14 -0800
commit245a29dedd9015861386ea4fafc3697c4bfcd761 (patch)
treef6dc2d183b6435fd1f5ab44fc3d771e57deb1c2f
parent0b1df261d344ad53d82b8e86a17d619bc43eb3cb (diff)
avoid unresolved symbol warnings on misc funcs in fastcomp
-rw-r--r--src/library.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index f9af8a96..fdb0764d 100644
--- a/src/library.js
+++ b/src/library.js
@@ -9168,6 +9168,28 @@ LibraryManager.library = {
// misc shims for musl
__lockfile: function() { return 1 },
__unlockfile: function(){},
+
+ // misc definitions to avoid unnecessary unresolved symbols from fastcomp
+ emscripten_prep_setjmp: true,
+ emscripten_check_longjmp: true,
+ emscripten_get_longjmp_result: true,
+ emscripten_setjmp: true,
+ emscripten_preinvoke: true,
+ emscripten_postinvoke: true,
+ emscripten_resume: true,
+ emscripten_landingpad: true,
+ getHigh32: true,
+ setHigh32: true,
+ FPtoILow: true,
+ FPtoIHigh: true,
+ BDtoILow: true,
+ BDtoIHigh: true,
+ SItoF: true,
+ UItoF: true,
+ SItoD: true,
+ UItoD: true,
+ BItoD: true,
+ llvm_dbg_value: true,
};
function autoAddDeps(object, name) {