2013-12-04 13:08:48 +00:00
|
|
|
abi-variants := 32 64-v1 64-v2
|
2012-05-26 17:46:59 +00:00
|
|
|
abi-32-condition := __WORDSIZE == 32
|
2013-12-04 13:08:48 +00:00
|
|
|
abi-64-v1-condition := __WORDSIZE == 64 && _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 12:57:00 +00: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 12:39:57 +00:00
|
|
|
ifeq ($(build-shared),yes)
|
|
|
|
# This is needed for DSO loading from static binaries.
|
|
|
|
sysdep-dl-routines += dl-static
|
|
|
|
endif
|
2015-03-25 05:23:47 +00:00
|
|
|
# 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 19:48:28 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),misc)
|
2018-10-09 21:57:53 +00:00
|
|
|
sysdep_headers += bits/ppc.h
|
2012-10-24 21:50:46 +00:00
|
|
|
sysdep_routines += get_timebase_freq
|
2012-09-25 19:48:28 +00:00
|
|
|
tests += test-gettimebasefreq
|
2017-06-09 17:36:22 +00:00
|
|
|
tests += test-powerpc-linux-sysconf
|
2012-09-25 19:48:28 +00:00
|
|
|
endif
|
2014-05-21 21:08:06 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),nptl)
|
|
|
|
libpthread-routines += sysdep
|
2014-11-07 17:25:32 +00:00
|
|
|
libpthread-sysdep_routines += elision-lock elision-unlock elision-timed \
|
|
|
|
elision-trylock
|
2016-08-17 12:57:00 +00:00
|
|
|
libpthread-shared-only-routines += sysdep
|
2014-05-21 21:08:06 +00:00
|
|
|
endif
|