Blame sysdeps/unix/sysv/linux/powerpc/Makefile
|
Packit |
6c4009 |
abi-variants := 32 64-v1 64-v2
|
|
Packit |
6c4009 |
abi-32-condition := __WORDSIZE == 32
|
|
Packit |
6c4009 |
abi-64-v1-condition := __WORDSIZE == 64 && _CALL_ELF != 2
|
|
Packit |
6c4009 |
abi-64-v2-condition := __WORDSIZE == 64 && _CALL_ELF == 2
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
ifeq ($(subdir),rt)
|
|
Packit |
6c4009 |
librt-routines += rt-sysdep
|
|
Packit |
6c4009 |
librt-shared-only-routines += rt-sysdep
|
|
Packit |
6c4009 |
endif
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
ifeq ($(subdir),stdlib)
|
|
Packit |
6c4009 |
gen-as-const-headers += ucontext_i.sym
|
|
Packit |
6c4009 |
endif
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
ifeq ($(subdir),elf)
|
|
Packit |
6c4009 |
sysdep_routines += dl-vdso
|
|
Packit |
6c4009 |
ifeq ($(build-shared),yes)
|
|
Packit |
6c4009 |
# This is needed for DSO loading from static binaries.
|
|
Packit |
6c4009 |
sysdep-dl-routines += dl-static
|
|
Packit |
6c4009 |
endif
|
|
Packit |
6c4009 |
# Otherwise tst-tls-dlinfo fails due to tst-tlsmod2.so using static tls.
|
|
Packit |
6c4009 |
LDFLAGS-tst-tlsmod2.so += -Wl,--no-tls-get-addr-optimize
|
|
Packit |
6c4009 |
endif
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
ifeq ($(subdir),misc)
|
|
Packit |
6c4009 |
sysdep_headers += bits/ppc.h
|
|
Packit |
6c4009 |
sysdep_routines += get_timebase_freq
|
|
Packit |
6c4009 |
tests += test-gettimebasefreq
|
|
Packit |
6c4009 |
tests += test-powerpc-linux-sysconf
|
|
Packit |
6c4009 |
endif
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
ifeq ($(subdir),nptl)
|
|
Packit |
6c4009 |
libpthread-routines += sysdep
|
|
Packit |
6c4009 |
libpthread-sysdep_routines += elision-lock elision-unlock elision-timed \
|
|
Packit |
6c4009 |
elision-trylock
|
|
Packit |
6c4009 |
libpthread-shared-only-routines += sysdep
|
|
Packit |
6c4009 |
endif
|