Граф коммитов

7104 Коммитов

Автор SHA1 Сообщение Дата
Alon Zakai 4a907afae0 always do globaldce (and potentially strip-debug), even when we are building something linkable 2013-07-03 15:31:05 -07:00
Alon Zakai fa5cc31c39 mark internal globals as private as well 2013-07-03 15:31:05 -07:00
Alon Zakai 8b68c8ada6 fix relocation of global linkable variables, enable iostream module linking test 2013-07-03 15:31:05 -07:00
Alon Zakai 218696cdd2 add a naming to globals that can be linked and used across modules 2013-07-03 15:31:05 -07:00
Alon Zakai cde6b80d99 warn on undefined global variables after linking 2013-07-03 15:31:05 -07:00
Alon Zakai f4adccef1a refactor sendings linking 2013-07-03 15:31:05 -07:00
Alon Zakai 4f9dfa2025 refactor linking of imports 2013-07-03 15:31:04 -07:00
Alon Zakai a98a8a9c8f add missing newline 2013-07-03 15:31:04 -07:00
Alon Zakai 461478fbb7 testing for using libc in a side module, and forcing inclusion of libc making it work 2013-07-03 15:31:04 -07:00
Alon Zakai 5b27fcf208 allow picking a library to force inclusion of in EMCC_FORCE_STDLIBS 2013-07-03 15:31:04 -07:00
Alon Zakai 650a1d7857 finalize floats during relocation in side modules 2013-07-03 15:31:04 -07:00
Alon Zakai 2c44a12bc7 docs 2013-07-03 15:31:04 -07:00
Alon Zakai 1d043dddf1 testing for linking with malloc 2013-07-03 15:31:04 -07:00
Alon Zakai 0a77a104d3 simplify heap initializer merging 2013-07-03 15:31:04 -07:00
Alon Zakai 803b1bcc09 prepare for libc++ linking test 2013-07-03 15:31:04 -07:00
Alon Zakai ef34fd4ba0 add various aborting stubs for libc stuff used in libc++ 2013-07-03 15:31:04 -07:00
Alon Zakai ef9e867607 coerce in cmpxchg 2013-07-03 15:31:04 -07:00
Alon Zakai 549f104a5c include fastLong in FULL_LIBRARY 2013-07-03 15:31:04 -07:00
Alon Zakai 48edb13044 emit proper filler functions in merged function tables 2013-07-03 15:31:04 -07:00
Alon Zakai 8544ce1cc7 do not add imports that are implemented by the main module 2013-07-03 15:31:04 -07:00
Alon Zakai 8c44f912d8 handle function table updates with nested braces 2013-07-03 15:31:04 -07:00
Alon Zakai 41645b7415 fix enlarging of merged function tables 2013-07-03 15:31:04 -07:00
Alon Zakai 5e360b75ff fix non-linking of C libs in side modules 2013-07-03 15:31:04 -07:00
Alon Zakai fd7ca56909 finish function table merging and enable testing 2013-07-03 15:31:04 -07:00
Alon Zakai 7596d284a0 refactor invoke generation and add missing invokes when linking 2013-07-03 15:31:04 -07:00
Alon Zakai 7be8c34546 do not link in C libraries in side modules 2013-07-03 15:31:04 -07:00
Alon Zakai dda4942ef8 assert on no nesting in function table updates during linking 2013-07-03 15:31:04 -07:00
Alon Zakai 56d117e286 wip test for merging function tables 2013-07-03 15:31:04 -07:00
Alon Zakai ca79765924 update function table masks 2013-07-03 15:31:04 -07:00
Alon Zakai ca59b247ae merge function tables 2013-07-03 15:31:04 -07:00
Alon Zakai 91e27ccada link docs 2013-07-03 15:31:04 -07:00
Alon Zakai f5c71a90e7 clone aliased functions in shared modules 2013-07-03 15:31:04 -07:00
Alon Zakai 11db72239d apply replacements to module defs, and add testing for merging of overlapping global initializers 2013-07-03 15:31:03 -07:00
Alon Zakai 0de466d64e apply replacements to exports 2013-07-03 15:31:03 -07:00
Alon Zakai 077b37c1f6 apply replacements in global initializer merging 2013-07-03 15:31:03 -07:00
Alon Zakai 585b3d76ee merge global initializers 2013-07-03 15:31:03 -07:00
Alon Zakai fd36ac8a80 standardize global initializers syntax 2013-07-03 15:31:03 -07:00
Alon Zakai b231d9fa1b add optional header to test_static_link 2013-07-03 15:31:03 -07:00
Alon Zakai 0561274642 fix memory initializer counting and add test for merging of two of them 2013-07-03 15:31:03 -07:00
Alon Zakai 5e01920010 fix heap merging, add padding and offset adjustment, basic test passes in reverse as well 2013-07-03 15:31:03 -07:00
Alon Zakai b0e85bc8de merge module defs 2013-07-03 15:31:03 -07:00
Alon Zakai 405928b697 merge exports 2013-07-03 15:31:03 -07:00
Alon Zakai 20e81c4073 begin work on memory relocation 2013-07-03 15:31:03 -07:00
Alon Zakai 8bd809c849 refactor test 2013-07-03 15:31:03 -07:00
Alon Zakai 3e031879b5 first working static linking test 2013-07-03 15:31:03 -07:00
Alon Zakai 8c72d67953 move memory initializer pattern to shared 2013-07-03 15:31:03 -07:00
Alon Zakai 9663d80beb cleanup 2013-07-03 15:31:03 -07:00
Alon Zakai cdea2d3385 test improvements 2013-07-03 15:31:03 -07:00
Alon Zakai 74e60024e3 cleanups 2013-07-03 15:31:03 -07:00
Alon Zakai af60ede0bc ifdef out gl emulation when disabled 2013-07-03 15:31:03 -07:00