Return to tan.S CVS log | Up to [DVB] / dietlibc / i386 |
support libm.so (John K. Hohm) hack rpc/xdr.h to work with gcc 4 (Andreas Jochens via Gerrit Pape)
#include "PIC.h" .text .global tanf,tan,tanl .type tanf,@function .type tan,@function .type tanl,@function tanf: flds 4(%esp) jmp __tan tan: fldl 4(%esp) __tan: #ifdef __DYN_LIB PIC_SAVE PIC_INIT call __fmod2pi@PLT PIC_RESTORE #else call __fmod2pi #endif fsincos fdivrp ret tanl: fldt 4(%esp) jmp __tan .ende: .size tan,.ende-tan .size tanf,.ende-tanf .size tanl,.ende-tanl