Jukka Jylänki
|
a30bd539fe
|
Make emlink.py import-safe. Fixes an issue where python multiprocessing.py enters an infinite loop throwing errors 'Attempt to start a new process before the current process has finished its bootstrapping phase.' when running other.test_static_link. See http://stackoverflow.com/questions/18204782/runtimeerror-on-windows-trying-python-multiprocessing .
|
2013-11-15 13:33:35 +02:00 |
Alon Zakai
|
543131f3dd
|
add tools to split and merge asm modules from the surrounding code
|
2013-08-01 20:32:10 -07:00 |
Alon Zakai
|
ad11d72f50
|
refactor asm module parsing code into separate file
|
2013-08-01 17:46:53 -07:00 |
Alon Zakai
|
e6820abcba
|
fix and test for multiple static linking
|
2013-07-30 14:21:15 -07:00 |
Alon Zakai
|
49f6c7e7c2
|
add asm sending for missing symbols
|
2013-07-30 14:19:16 -07:00 |
Alon Zakai
|
c9027f5ae5
|
improve warning text
|
2013-07-03 21:54:06 -07:00 |
Alon Zakai
|
753cf7f4a6
|
move emlink docs to wiki; add link to them
|
2013-07-03 17:43:39 -07:00 |
Alon Zakai
|
c8065da220
|
remove old comment
|
2013-07-03 15:31:05 -07:00 |
Alon Zakai
|
b9f5f84190
|
fix f_bases handling in static linker
|
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
|
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
|
0a77a104d3
|
simplify heap initializer merging
|
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
|
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
|
dda4942ef8
|
assert on no nesting in function table updates during linking
|
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
|
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
|
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
|
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
|
74e60024e3
|
cleanups
|
2013-07-03 15:31:03 -07:00 |
Alon Zakai
|
5e2839ddb6
|
remove duplicate function marker
|
2013-07-03 15:31:03 -07:00 |
Alon Zakai
|
54aecffa44
|
allow extra info in js optimizer, and send relocate pass info that way
|
2013-07-03 15:31:03 -07:00 |
Alon Zakai
|
5cee70c892
|
invoke relocation pass in js optimizer
|
2013-07-03 15:31:03 -07:00 |
Alon Zakai
|
b65d9c36bf
|
start writing out a combined module
|
2013-07-03 15:31:03 -07:00 |
Alon Zakai
|
754ba99108
|
refactor and calculate new imports
|
2013-07-03 15:31:03 -07:00 |
Alon Zakai
|
0af083b4a0
|
start to parse imports
|
2013-07-03 15:31:03 -07:00 |
Alon Zakai
|
f2178dcdd5
|
start to parse asm modules
|
2013-07-03 15:31:03 -07:00 |
Alon Zakai
|
c8ba74664f
|
comment
|
2013-07-03 15:31:03 -07:00 |
Alon Zakai
|
fac77c3ff0
|
initial setup
|
2013-07-03 15:31:02 -07:00 |