2013-12-04 07:08:48 -06:00
|
|
|
abi-variants := 32 64-v1 64-v2
|
2012-05-26 10:46:59 -07:00
|
|
|
abi-32-options := -U__powerpc64__
|
|
|
|
abi-32-condition := __WORDSIZE == 32
|
2013-12-04 07:08:48 -06:00
|
|
|
abi-64-v1-options := -D__powerpc64__ -U_CALL_ELF -D_CALL_ELF=1
|
|
|
|
abi-64-v1-condition := __WORDSIZE == 64 && _CALL_ELF != 2
|
|
|
|
abi-64-v2-options := -D__powerpc64__ -U_CALL_ELF -D_CALL_ELF=2
|
|
|
|
abi-64-v2-condition := __WORDSIZE == 64 && _CALL_ELF == 2
|
2011-12-22 18:22:50 +00:00
|
|
|
|
2004-04-19 06:19:34 +00:00
|
|
|
ifeq ($(subdir),rt)
|
|
|
|
librt-routines += rt-sysdep
|
2016-08-17 14:57:00 +02:00
|
|
|
librt-shared-only-routines += rt-sysdep
|
2004-04-19 06:19:34 +00:00
|
|
|
endif
|
2005-12-22 05:18:34 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),stdlib)
|
|
|
|
gen-as-const-headers += ucontext_i.sym
|
|
|
|
endif
|
2005-12-30 07:32:48 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),elf)
|
2007-08-12 19:03:54 +00:00
|
|
|
sysdep_routines += dl-vdso
|
2013-07-23 07:39:57 -05:00
|
|
|
ifeq ($(build-shared),yes)
|
|
|
|
# This is needed for DSO loading from static binaries.
|
|
|
|
sysdep-dl-routines += dl-static
|
|
|
|
endif
|
2015-03-25 15:53:47 +10:30
|
|
|
# Otherwise tst-tls-dlinfo fails due to tst-tlsmod2.so using static tls.
|
|
|
|
LDFLAGS-tst-tlsmod2.so += -Wl,--no-tls-get-addr-optimize
|
2005-12-30 07:32:48 +00:00
|
|
|
endif
|
2012-09-25 14:48:28 -05:00
|
|
|
|
|
|
|
ifeq ($(subdir),misc)
|
|
|
|
sysdep_headers += bits/ppc.h
|
2012-10-24 14:50:46 -07:00
|
|
|
sysdep_routines += get_timebase_freq
|
2012-09-25 14:48:28 -05:00
|
|
|
tests += test-gettimebasefreq
|
|
|
|
endif
|
2014-05-21 16:08:06 -05:00
|
|
|
|
|
|
|
ifeq ($(subdir),nptl)
|
|
|
|
libpthread-routines += sysdep
|
2014-11-07 12:25:32 -05:00
|
|
|
libpthread-sysdep_routines += elision-lock elision-unlock elision-timed \
|
|
|
|
elision-trylock
|
2016-08-17 14:57:00 +02:00
|
|
|
libpthread-shared-only-routines += sysdep
|
2014-05-21 16:08:06 -05:00
|
|
|
endif
|