Update copyright dates with scripts/update-copyrights.
[glibc.git] / sysdeps / unix / sysv / linux / powerpc / Makefile
blob2cfb46eca3c2dd7f3a394d5063c23c7a0e4e495e
1 abi-variants := 32 64-v1 64-v2
2 abi-32-options := -U__powerpc64__
3 abi-32-condition := __WORDSIZE == 32
4 abi-64-v1-options := -D__powerpc64__ -U_CALL_ELF -D_CALL_ELF=1
5 abi-64-v1-condition := __WORDSIZE == 64 && _CALL_ELF != 2
6 abi-64-v2-options := -D__powerpc64__ -U_CALL_ELF -D_CALL_ELF=2
7 abi-64-v2-condition := __WORDSIZE == 64 && _CALL_ELF == 2
9 ifeq ($(subdir),rt)
10 librt-routines += rt-sysdep
11 librt-shared-only-routines += rt-sysdep
12 endif
14 ifeq ($(subdir),stdlib)
15 gen-as-const-headers += ucontext_i.sym
16 endif
18 ifeq ($(subdir),elf)
19 sysdep_routines += dl-vdso
20 ifeq ($(build-shared),yes)
21 # This is needed for DSO loading from static binaries.
22 sysdep-dl-routines += dl-static
23 endif
24 # Otherwise tst-tls-dlinfo fails due to tst-tlsmod2.so using static tls.
25 LDFLAGS-tst-tlsmod2.so += -Wl,--no-tls-get-addr-optimize
26 endif
28 ifeq ($(subdir),misc)
29 sysdep_headers += bits/ppc.h
30 sysdep_routines += get_timebase_freq
31 tests += test-gettimebasefreq
32 endif
34 ifeq ($(subdir),nptl)
35 libpthread-routines += sysdep
36 libpthread-sysdep_routines += elision-lock elision-unlock elision-timed \
37 elision-trylock
38 libpthread-shared-only-routines += sysdep
39 endif