]>
Commit | Line | Data |
---|---|---|
1f205a47 | 1 | ifeq ($(subdir),math) |
0413b54c | 2 | libm-support += fenv_const fe_nomask t_sqrt |
1f205a47 | 3 | endif |
9a0a462c UD |
4 | |
5 | ifeq ($(subdir),gmon) | |
6 | sysdep_routines += ppc-mcount | |
7 | endif | |
8 | ||
9 | # On PPC, -fpic works until the GOT contains 2^15 bytes, and possibly | |
10 | # more depending on how clever the linker is. Each GOT entry takes 4 bytes, | |
11 | # so that's at least 8192 entries. Since libc only uses about 1200 entries, | |
12 | # we want to use -fpic, because this generates fewer relocs. | |
13 | ifeq (yes,$(build-shared)) | |
650425ce | 14 | pic-ccflag = -fpic |
9a0a462c UD |
15 | endif |
16 | ||
17 | # The initfini generation code doesn't work in the presence of -fPIC, so | |
18 | # we use -fpic instead which is much better. | |
19 | ifeq ($(subdir),csu) | |
20 | CFLAGS-initfini.s = -g0 -fpic | |
21 | endif | |
650425ce UD |
22 | |
23 | ifeq ($(subdir),string) | |
24 | CFLAGS-memcmp.c += -Wno-uninitialized | |
25 | endif |