aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-25 12:58:25 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-03-25 12:58:25 -0700
commitad285f60d0be807e7e49e7c86ca8f9bedec4714f (patch)
tree67768bb7707d6672659597abc295345109b3fbce /emcc
parent09221ebd18ec0074b25d593400f040ee460526aa (diff)
remove symbol removing hack; export all malloc symbols as weak; add test for a case where symbol removing made us not merge llvm constructors properly1.3.5
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc8
1 files changed, 0 insertions, 8 deletions
diff --git a/emcc b/emcc
index cd906c7b..bc76b01d 100755
--- a/emcc
+++ b/emcc
@@ -1232,14 +1232,6 @@ try:
# We need to build and link the library in
if DEBUG: print >> sys.stderr, 'emcc: including %s' % name
libfile = shared.Cache.get(name, create)
- if has and len(has) > 0:
- # remove the symbols we do not need
- fixed = in_temp(uniquename(libfile)) + '.bc'
- shutil.copyfile(libfile, fixed)
- for haz in has:
- if DEBUG: print >> sys.stderr, 'emcc: including: removing symbol "%s" that we have' % haz
- shared.Building.remove_symbol(fixed, haz)
- libfile = fixed
extra_files_to_link.append(libfile)
force = True
if fix and need: