2011-12-04 02:14:25 +00:00
|
|
|
ifeq ($(subdir),misc)
|
|
|
|
|
|
|
|
# <sys/reg.h> provides something like x86 compatibility.
|
|
|
|
# New code should probably use <arch/abi.h> instead.
|
|
|
|
sysdep_headers += sys/reg.h
|
|
|
|
|
|
|
|
# MIPS-style cacheflush routine
|
|
|
|
sysdep_headers += sys/cachectl.h
|
|
|
|
sysdep_routines += cacheflush
|
|
|
|
|
2016-11-14 16:41:38 +00:00
|
|
|
# Control dataplane properties of current thread (compatibility only).
|
2011-12-04 02:14:25 +00:00
|
|
|
sysdep_routines += set_dataplane
|
|
|
|
|
|
|
|
endif
|
2012-10-26 13:21:08 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),elf)
|
|
|
|
sysdep_routines += dl-vdso
|
2013-07-03 18:48:39 +00:00
|
|
|
ifeq ($(build-shared),yes)
|
|
|
|
# This is needed for DSO loading from static binaries.
|
|
|
|
sysdep-dl-routines += dl-static
|
|
|
|
endif
|
2012-10-26 13:21:08 +00:00
|
|
|
endif
|
2014-06-10 17:45:36 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),nptl)
|
|
|
|
# pull in __syscall_error routine
|
|
|
|
libpthread-routines += sysdep
|
2016-08-17 12:57:00 +00:00
|
|
|
libpthread-shared-only-routines += sysdep
|
2014-06-10 17:45:36 +00:00
|
|
|
endif
|