2 libm-support
+= fenv_const fe_nomask t_sqrt
4 # These routines have not been tested, so it's probable they don't work;
5 # and they don't provide the complete list of FP routines. So there's
6 # no point in compiling them.
7 #sysdep_routines += q_feq q_fne q_utoq q_dtoq q_itoq q_stoq q_neg q_ulltoq \
8 # q_lltoq q_qtou q_qtoi q_qtoull q_qtoll q_qtos
10 tests
+= test-arith test-arithf
11 LDLIBS-test-arith
= libm
12 LDLIBS-test-arithf
= libm
16 sysdep_routines
+= ppc-mcount
19 # On PPC, -fpic works until the GOT contains 2^15 bytes, and possibly
20 # more depending on how clever the linker is. Each GOT entry takes 4 bytes,
21 # so that's at least 8192 entries. Since libc only uses about 1200 entries,
22 # we want to use -fpic, because this generates fewer relocs.
23 ifeq (yes
,$(build-shared
))
27 # The initfini generation code doesn't work in the presence of -fPIC, so
28 # we use -fpic instead which is much better.
30 CFLAGS-initfini.s
= -g0
-fpic
33 ifeq ($(subdir
),string
)
34 CFLAGS-memcmp.c
+= -Wno-uninitialized