diff --git a/programs/develop/ktcc/trunk/libc.obj/source/libc.c b/programs/develop/ktcc/trunk/libc.obj/source/libc.c index 80e010e259..80e154c874 100644 --- a/programs/develop/ktcc/trunk/libc.obj/source/libc.c +++ b/programs/develop/ktcc/trunk/libc.obj/source/libc.c @@ -137,6 +137,8 @@ __asm__( ".include \"math/pow2.s\"\n\t" ".include \"math/pow10.s\"\n\t" ".include \"math/sqrt.s\"\n\t" + ".include \"math/sin.s\"\n\t" + ".include \"math/tan.s\"\n\t" ); __asm__( diff --git a/programs/develop/ktcc/trunk/libc.obj/source/math/sin.s b/programs/develop/ktcc/trunk/libc.obj/source/math/sin.s index 75cc57d05f..10e5c22973 100644 --- a/programs/develop/ktcc/trunk/libc.obj/source/math/sin.s +++ b/programs/develop/ktcc/trunk/libc.obj/source/math/sin.s @@ -12,7 +12,7 @@ sin: sahf jnp sin.L1 fstp %st(0) - fldl L0 + fldl sin.L0 sin.L1: ret diff --git a/programs/develop/ktcc/trunk/libc.obj/source/symbols.txt b/programs/develop/ktcc/trunk/libc.obj/source/symbols.txt index 23da64f3a5..0960f43c8b 100644 --- a/programs/develop/ktcc/trunk/libc.obj/source/symbols.txt +++ b/programs/develop/ktcc/trunk/libc.obj/source/symbols.txt @@ -128,6 +128,8 @@ atan atan2 ceil cos +sin +tan exp fabs floor