emscripten/system/lib/compiler-rt
Dan Gohman c600155b1f Begin using the Emscripten toolchain in clang.
With the Emscripten toolchain, we can make clang do more of what we need
directly rather than in the wrapper scripts.
2014-02-25 11:58:53 -08:00
..
LICENSE.TXT
divdi3.c
int_endianness.h
int_lib.h
int_math.h
int_types.h
int_util.h
muldi3.c
readme.txt
udivdi3.c
udivmoddi4.c

readme.txt

These files are from compiler-rt,

Last Changed Rev: 179380
Last Changed Date: 2013-04-12 07:57:03 -0700 (Fri, 12 Apr 2013)

===========================================================================

Changes:

  * add emscripten endianness to int_endianness.h
  * add rem functions

===========================================================================

Compile with something like

./emcc system/lib/compiler-rt/*.c -Isystem/lib/compiler-rt/ -o rt.bc
./emcc -O2 -s ASM_JS=1 -g rt.bc -s LINKABLE=1
manually replace Math_imul with Math.imul