]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/ldscripts/ARCH-sparc/bits/wordsize.h
update
[l4.git] / l4 / pkg / ldscripts / ARCH-sparc / bits / wordsize.h
1 /* Determine the wordsize from the preprocessor defines.  */
2
3 #if defined __arch64__ || defined __sparcv9
4 # define __WORDSIZE     64
5 #else
6 # define __WORDSIZE     32
7 #endif
8
9 #if 0 /* uClibc: done in mathdefs.h: !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL*/
10
11 # if __WORDSIZE == 32
12 /* Signal that in 32bit ABI we didn't used to have a `long double'.
13    The changes all the `long double' function variants to be redirects
14    to the double functions.  */
15 #  define __LONG_DOUBLE_MATH_OPTIONAL   1
16 #  ifndef __LONG_DOUBLE_128__
17 #   define __NO_LONG_DOUBLE_MATH        1
18 #  endif
19 # endif
20 #endif