diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-25 12:58:25 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-25 12:58:25 -0700 |
commit | ad285f60d0be807e7e49e7c86ca8f9bedec4714f (patch) | |
tree | 67768bb7707d6672659597abc295345109b3fbce /emcc | |
parent | 09221ebd18ec0074b25d593400f040ee460526aa (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-x | emcc | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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: |