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)
|
termios: Add powerpc termios-misc
PowerPC termios.h header contains additional BSD terminal mode definitions
(sgttyb, tchars, ltchars, and associated TIOCPKT_* symbolic constants).
This patch moves all powerpc termios specific definition to its own header.
No semantic change is expected, checked on a build against a
powerpc64le-linux-gnu build.
* sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
* sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
(struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
_VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
termios-misc.h.
* sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
(sysdep_headers): Add termios-misc.h.
2018-10-09 20:41:28 +00:00
|
|
|
sysdep_headers += bits/ppc.h bits/termios-misc.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
|