1997-07-12 23:32:57 +00:00
|
|
|
ifeq ($(subdir),signal)
|
|
|
|
#sysdep_routines += sigsuspend
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(subdir),misc)
|
2000-07-28 13:37:26 +00:00
|
|
|
sysdep_routines += cachectl cacheflush sysmips _test_and_set
|
1997-07-12 23:32:57 +00:00
|
|
|
|
2000-09-06 08:21:55 +00:00
|
|
|
sysdep_headers += sys/cachectl.h sys/sysmips.h sys/tas.h
|
2003-03-17 15:50:05 +00:00
|
|
|
|
2011-12-22 18:30:43 +00:00
|
|
|
syscall-list-variants := o32 n32 n64
|
|
|
|
syscall-list-includes := sgidefs.h
|
|
|
|
syscall-list-o32-options := -mabi=32
|
|
|
|
syscall-list-o32-condition := _MIPS_SIM == _MIPS_SIM_ABI32
|
|
|
|
syscall-list-n32-options := -mabi=n32
|
|
|
|
syscall-list-n32-condition := _MIPS_SIM == _MIPS_SIM_ABIN32
|
|
|
|
syscall-list-n64-options := -mabi=64
|
|
|
|
syscall-list-n64-condition := _MIPS_SIM == _MIPS_SIM_ABI64
|
2003-06-15 14:41:02 +00:00
|
|
|
endif
|
2009-01-27 15:32:55 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),elf)
|
|
|
|
ifeq ($(build-shared),yes)
|
|
|
|
# This is needed for DSO loading from static binaries.
|
|
|
|
sysdep-dl-routines += dl-static
|
|
|
|
sysdep_routines += dl-static
|
|
|
|
sysdep-rtld-routines += dl-static
|
|
|
|
endif
|
|
|
|
endif
|
2009-04-18 17:32:04 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),stdlib)
|
|
|
|
gen-as-const-headers += ucontext_i.sym
|
|
|
|
endif
|