Home | History | Annotate | Download | only in etc
      1 # XXX ltrace misses long double and long long support
      2 typedef ldouble = double;
      3 typedef llong = long;
      4 
      5 # This should generally work, I'm not aware of any arch, where the
      6 # parameter passing of complex arguments differs from that for
      7 # structure of two floats.
      8 typedef double_complex = struct(double, double);
      9 typedef float_complex = struct(float, float);
     10 typedef ldouble_complex = struct(ldouble, ldouble);
     11 
     12 double sin(double);
     13 float sinf(float);
     14 ldouble sinl(ldouble);
     15 
     16 double cos(double);
     17 float cosf(float);
     18 ldouble cosl(ldouble);
     19 
     20 void sincos(double, +double*, double*);
     21 void sincosf(float, +float*, float*);
     22 void sincosl(ldouble, +ldouble*, ldouble*);
     23 
     24 double tan(double);
     25 float tanf(float);
     26 ldouble tanl(ldouble);
     27 
     28 double asin(double);
     29 float asinf(float);
     30 ldouble asinl(ldouble);
     31 
     32 double acos(double);
     33 float acosf(float);
     34 ldouble acosl(ldouble);
     35 
     36 double atan(double);
     37 float atanf(float);
     38 ldouble atanl(ldouble);
     39 
     40 double atan2(double, double);
     41 float atan2f(float, float);
     42 ldouble atan2l(ldouble, ldouble);
     43 
     44 double sinh(double);
     45 float sinhf(float);
     46 ldouble sinhl(ldouble);
     47 
     48 double cosh(double);
     49 float coshf(float);
     50 ldouble coshl(ldouble);
     51 
     52 double tanh(double);
     53 float tanhf(float);
     54 ldouble tanhl(ldouble);
     55 
     56 double asinh(double);
     57 float asinhf(float);
     58 ldouble asinhl(ldouble);
     59 
     60 double acosh(double);
     61 float acoshf(float);
     62 ldouble acoshl(ldouble);
     63 
     64 double atanh(double);
     65 float atanhf(float);
     66 ldouble atanhl(ldouble);
     67 
     68 double_complex csin(double_complex);
     69 float_complex csinf(float_complex);
     70 ldouble_complex csinl(ldouble_complex);
     71 
     72 double_complex ccos(double_complex);
     73 float_complex ccosf(float_complex);
     74 ldouble_complex ccosl(ldouble_complex);
     75 
     76 double_complex ctan(double_complex);
     77 float_complex ctanf(float_complex);
     78 ldouble_complex ctanl(ldouble_complex);
     79 
     80 double_complex casin(double_complex);
     81 float_complex casinf(float_complex);
     82 ldouble_complex casinl(ldouble_complex);
     83 
     84 double_complex cacos(double_complex);
     85 float_complex cacosf(float_complex);
     86 ldouble_complex cacosl(ldouble_complex);
     87 
     88 double_complex catan(double_complex);
     89 float_complex catanf(float_complex);
     90 ldouble_complex catanl(ldouble_complex);
     91 
     92 double_complex csinh(double_complex);
     93 float_complex csinhf(float_complex);
     94 ldouble_complex csinhl(ldouble_complex);
     95 
     96 double_complex ccosh(double_complex);
     97 float_complex ccoshf(float_complex);
     98 ldouble_complex ccoshl(ldouble_complex);
     99 
    100 double_complex ctanh(double_complex);
    101 float_complex ctanhf(float_complex);
    102 ldouble_complex ctanhl(ldouble_complex);
    103 
    104 double_complex casinh(double_complex);
    105 float_complex casinhf(float_complex);
    106 ldouble_complex casinhl(ldouble_complex);
    107 
    108 double_complex cacosh(double_complex);
    109 float_complex cacoshf(float_complex);
    110 ldouble_complex cacoshl(ldouble_complex);
    111 
    112 double_complex catanh(double_complex);
    113 float_complex catanhf(float_complex);
    114 ldouble_complex catanhl(ldouble_complex);
    115 
    116 double creal(double_complex);
    117 float crealf(float_complex);
    118 ldouble creall(ldouble_complex);
    119 
    120 double cimag(double_complex);
    121 float cimagf(float_complex);
    122 ldouble cimagl(ldouble_complex);
    123 
    124 double round(double);
    125 float roundf(float);
    126 ldouble roundl(ldouble);
    127 
    128 long lround(double);
    129 long lroundf(float);
    130 long lroundl(ldouble);
    131 
    132 llong llround(double);
    133 llong llroundf(float);
    134 llong llroundl(ldouble);
    135 
    136 double trunc(double);
    137 float truncf(float);
    138 ldouble truncl(ldouble);
    139 
    140 double floor(double);
    141 float floorf(float);
    142 ldouble floorl(ldouble);
    143 
    144 double ceil(double);
    145 float ceilf(float);
    146 ldouble ceill(ldouble);
    147 
    148 double pow(double, double);
    149 float powf(float, float);
    150 ldouble powl(ldouble, ldouble);
    151 
    152 double_complex cpow(double_complex, double_complex);
    153 float_complex cpowf(float_complex, float_complex);
    154 ldouble_complex cpowl(ldouble_complex, ldouble_complex);
    155 
    156 double pow10(double);
    157 float pow10f(float);
    158 ldouble pow10l(ldouble);
    159 
    160 double sqrt(double);
    161 float sqrtf(float);
    162 ldouble sqrtl(ldouble);
    163 
    164 double_complex csqrt(double_complex);
    165 float_complex csqrtf(float_complex);
    166 ldouble_complex csqrtl(ldouble_complex);
    167 
    168 double cbrt(double);
    169 float cbrtf(float);
    170 ldouble cbrtl(ldouble);
    171 
    172 double log(double);
    173 float logf(float);
    174 ldouble logl(ldouble);
    175 
    176 double log10(double);
    177 float log10f(float);
    178 ldouble log10l(ldouble);
    179 
    180 double log2(double);
    181 float log2f(float);
    182 ldouble log2l(ldouble);
    183 
    184 double logb(double);
    185 float logbf(float);
    186 ldouble logbl(ldouble);
    187 
    188 int ilogb(double);
    189 int ilogbf(float);
    190 int ilogbl(ldouble);
    191 
    192 double log1p(double);
    193 float log1pf(float);
    194 ldouble log1pl(ldouble);
    195 
    196 double_complex clog(double_complex);
    197 float_complex clogf(float_complex);
    198 ldouble_complex clogl(ldouble_complex);
    199 
    200 double_complex clog10(double_complex);
    201 float_complex clog10f(float_complex);
    202 ldouble_complex clog10l(ldouble_complex);
    203 
    204 double gamma(double);
    205 float gammaf(float);
    206 ldouble gammal(ldouble);
    207 
    208 double lgamma(double);
    209 float lgammaf(float);
    210 ldouble lgammal(ldouble);
    211 
    212 double lgamma_r(double, +int*);
    213 float lgammaf_r(float, +int*);
    214 ldouble lgammal_r(ldouble, +int*);
    215 
    216 double tgamma(double);
    217 float tgammaf(float);
    218 ldouble tgammal(ldouble);
    219 
    220 double j0(double);
    221 float j0f(float);
    222 ldouble j0l(ldouble);
    223 
    224 double j1(double);
    225 float j1f(float);
    226 ldouble j1l(ldouble);
    227 
    228 double jn(int, double);
    229 float jnf(int, float);
    230 ldouble jnl(int, ldouble);
    231 
    232 double y0(double);
    233 float y0f(float);
    234 ldouble y0l(ldouble);
    235 
    236 double y1(double);
    237 float y1f(float);
    238 ldouble y1l(ldouble);
    239 
    240 double yn(int, double);
    241 float ynf(int, float);
    242 ldouble ynl(int, ldouble);
    243 
    244 double fdim(double, double);
    245 float fdimf(float, float);
    246 ldouble fdiml(ldouble, ldouble);
    247 
    248 double remainder(double, double);
    249 float remainderf(float, float);
    250 ldouble remainderl(ldouble, ldouble);
    251 
    252 double drem(double, double);
    253 float dremf(float, float);
    254 ldouble dreml(ldouble, ldouble);
    255 
    256 double nearbyint(double);
    257 float nearbyintf(float);
    258 ldouble nearbyintl(ldouble);
    259 
    260 double rint(double);
    261 float rintf(float);
    262 ldouble rintl(ldouble);
    263 
    264 long lrint(double);
    265 long lrintf(float);
    266 long lrintl(ldouble);
    267 
    268 llong llrint(double);
    269 llong llrintf(float);
    270 llong llrintl(ldouble);
    271 
    272 double exp(double);
    273 float expf(float);
    274 ldouble expl(ldouble);
    275 
    276 double exp10(double);
    277 float exp10f(float);
    278 ldouble exp10l(ldouble);
    279 
    280 double exp2(double);
    281 float exp2f(float);
    282 ldouble exp2l(ldouble);
    283 
    284 double expm1(double);
    285 float expm1f(float);
    286 ldouble expm1l(ldouble);
    287 
    288 double frexp(double, +int *);
    289 float frexpf(float, +int *);
    290 ldouble frexpl(ldouble, +int *);
    291 
    292 double ldexp(double, int);
    293 float ldexpf(float, int);
    294 ldouble ldexpl(ldouble, int);
    295 
    296 double_complex cexp(double_complex);
    297 float_complex cexpf(float_complex);
    298 ldouble_complex cexpl(ldouble_complex);
    299 
    300 double significand(double);
    301 float significandf(float);
    302 ldouble significandl(ldouble);
    303 
    304 int finite(double);
    305 int finitef(float);
    306 int finitel(ldouble);
    307 
    308 int isinf(double);
    309 int isinff(float);
    310 int isinfl(ldouble);
    311 
    312 int isnan(double);
    313 int isnanf(float);
    314 int isnanl(ldouble);
    315 
    316 double nan(string);
    317 float nanf(string);
    318 ldouble nanl(string);
    319 
    320 double fabs(double);
    321 float fabsf(float);
    322 ldouble fabsl(ldouble);
    323 
    324 double cabs(double_complex);
    325 float cabsf(float_complex);
    326 ldouble cabsl(ldouble_complex);
    327 
    328 double modf(double, +double *);
    329 float modff(float, +float *);
    330 ldouble modfl(ldouble, +ldouble *);
    331 
    332 double fmod(double, double);
    333 float fmodf(float, float);
    334 ldouble fmodl(ldouble, ldouble);
    335 
    336 double remquo(double, double, +int *);
    337 float remquof(float, float, +int *);
    338 ldouble remquol(ldouble, ldouble, +int *);
    339 
    340 double erf(double);
    341 float erff(float);
    342 ldouble erfl(ldouble);
    343 
    344 double erfc(double);
    345 float erfcf(float);
    346 ldouble erfcl(ldouble);
    347 
    348 double fmax(double, double);
    349 float fmaxf(float, float);
    350 ldouble fmaxl(ldouble, ldouble);
    351 
    352 double fmin(double, double);
    353 float fminf(float, float);
    354 ldouble fminl(ldouble, ldouble);
    355 
    356 double carg(double_complex);
    357 float cargf(float_complex);
    358 ldouble cargl(ldouble_complex);
    359 
    360 double hypot(double, double);
    361 float hypotf(float, float);
    362 ldouble hypotl(ldouble, ldouble);
    363 
    364 double scalb(double, double);
    365 float scalbf(float, double);
    366 ldouble scalbl(ldouble, double);
    367 
    368 double scalbn(double, int);
    369 float scalbnf(float, int);
    370 ldouble scalbnl(ldouble, int);
    371 
    372 double scalbln(double, long);
    373 float scalblnf(float, long);
    374 ldouble scalblnl(ldouble, long);
    375 
    376 double fma(double, double, double);
    377 float fmaf(float, float, float);
    378 ldouble fmal(ldouble, ldouble, ldouble);
    379 
    380 double_complex cproj(double_complex);
    381 float_complex cprojf(float_complex);
    382 ldouble_complex cprojl(ldouble_complex);
    383 
    384 double copysign(double, double);
    385 float copysignf(float, float);
    386 ldouble copysignl(ldouble, ldouble);
    387 
    388 double nextafter(double, double);
    389 float nextafterf(float, float);
    390 ldouble nextafterl(ldouble, ldouble);
    391 
    392 double nexttoward(double, ldouble);
    393 float nexttowardf(float, ldouble);
    394 ldouble nexttowardl(ldouble, ldouble);
    395 
    396 double_complex conj(double_complex);
    397 float_complex conjf(float_complex);
    398 ldouble_complex conjl(ldouble_complex);
    399 
    400 ;    15: 000000000003c000     15 FUNC    GLOBAL DEFAULT       13 __finitel@@GLIBC_2.2.5
    401 ;    44: 0000000000027be0    286 FUNC    GLOBAL DEFAULT       13 __clog10@@GLIBC_2.2.5
    402 ;    50: 00000000000068d0     85 FUNC    GLOBAL DEFAULT       13 feholdexcept@@GLIBC_2.2.5
    403 ;    56: 0000000000028900     10 FUNC    GLOBAL DEFAULT       13 __signbit@@GLIBC_2.2.5
    404 ;    61: 0000000000006ae0     53 FUNC    GLOBAL DEFAULT       13 feenableexcept@@GLIBC_2.2.5
    405 ;    65: 0000000000006760     29 FUNC    GLOBAL DEFAULT       13 fegetexceptflag@@GLIBC_2.2.5
    406 ;    68: 0000000000006a60     52 FUNC    GLOBAL DEFAULT       13 feupdateenv@@GLIBC_2.2.5
    407 ;    75: 0000000000006840     25 FUNC    GLOBAL DEFAULT       13 fetestexcept@@GLIBC_2.2.5
    408 ;    89: 0000000000025500     80 FUNC    GLOBAL DEFAULT       13 __fpclassify@@GLIBC_2.2.5
    409 ;    99: 0000000000033370    310 FUNC    GLOBAL DEFAULT       13 __clog10f@@GLIBC_2.2.5
    410 ;   104: 000000000003b600    307 FUNC    GLOBAL DEFAULT       13 __clog10l@@GLIBC_2.2.5
    411 ;   127: 0000000000028560     29 FUNC    GLOBAL DEFAULT       13 __finite@@GLIBC_2.2.5
    412 ;   134: 0000000000006870     66 FUNC    GLOBAL DEFAULT       13 fesetround@@GLIBC_2.2.5
    413 ;   136: 0000000000006780     99 FUNC    GLOBAL DEFAULT       13 feraiseexcept@@GLIBC_2.2.5
    414 ;   146: 0000000000006aa0     49 FUNC    GLOBAL DEFAULT       13 fedisableexcept@@GLIBC_2.2.5
    415 ;   155: 0000000000006730     40 FUNC    GLOBAL DEFAULT       13 feclearexcept@@GLIBC_2.2.5
    416 ;   175: 0000000000006860     14 FUNC    GLOBAL DEFAULT       13 fegetround@@GLIBC_2.2.5
    417 ;   199: 0000000000006b20     16 FUNC    GLOBAL DEFAULT       13 fegetexcept@@GLIBC_2.2.5
    418 ;   213: 00000000000067f0     71 FUNC    GLOBAL DEFAULT       13 fesetexceptflag@@GLIBC_2.2.5
    419 ;   229: 00000000000068c0      9 FUNC    GLOBAL DEFAULT       13 fegetenv@@GLIBC_2.2.5
    420 ;   249: 0000000000006930    303 FUNC    GLOBAL DEFAULT       13 fesetenv@@GLIBC_2.2.5
    421 ;   256: 00000000000308c0     56 FUNC    GLOBAL DEFAULT       13 __fpclassifyf@@GLIBC_2.2.5
    422 ;   261: 0000000000039020     94 FUNC    GLOBAL DEFAULT       13 __fpclassifyl@@GLIBC_2.2.5
    423 ;   263: 0000000000033a80      8 FUNC    GLOBAL DEFAULT       13 __signbitf@@GLIBC_2.2.5
    424 ;   267: 000000000003c2f0     29 FUNC    GLOBAL DEFAULT       13 __signbitl@@GLIBC_2.2.5
    425 ;   318: 0000000000006720      3 FUNC    WEAK   DEFAULT       13 matherr@@GLIBC_2.2.5
    426 ;   328: 00000000000337f0     18 FUNC    GLOBAL DEFAULT       13 __finitef@@GLIBC_2.2.5
    427