2012-11-09 17:53:51 +00:00
|
|
|
ifeq ($(subdir),csu)
|
|
|
|
sysdep_routines += __read_tp libc-__read_tp
|
|
|
|
static-only-routines += __read_tp
|
|
|
|
shared-only-routines += libc-__read_tp
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(subdir),elf)
|
|
|
|
sysdep-rtld-routines += __read_tp
|
2013-07-05 16:13:35 +00:00
|
|
|
ifeq ($(build-shared),yes)
|
|
|
|
# This is needed for DSO loading from static binaries.
|
|
|
|
sysdep-dl-routines += dl-static
|
|
|
|
endif
|
2012-11-09 17:53:51 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(subdir),misc)
|
|
|
|
sysdep_headers += sys/elf.h
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(subdir),stdlib)
|
|
|
|
gen-as-const-headers += ucontext_i.sym
|
|
|
|
endif
|
2014-01-01 17:29:23 +00:00
|
|
|
|
|
|
|
abi-variants := lp64
|
|
|
|
abi-variants += lp64_be
|
|
|
|
|
|
|
|
ifeq (,$(filter $(default-abi),$(abi-variants)))
|
|
|
|
Unknown ABI, must be one of $(abi-variants)
|
|
|
|
endif
|
|
|
|
|
|
|
|
abi-lp64-condition := !defined __AARCH64EB__
|
|
|
|
abi-lp64_be-condition := defined __AARCH64EB__
|