2012-05-26 10:46:59 -07:00
|
|
|
abi-variants := 32 64
|
|
|
|
abi-32-options := -U__s390x__
|
|
|
|
abi-32-condition := __WORDSIZE == 32
|
|
|
|
abi-64-options := -D__s390x__
|
|
|
|
abi-64-condition := __WORDSIZE == 64
|
|
|
|
abi-64-ld-soname := ld64.so.1
|
2011-12-22 18:22:50 +00:00
|
|
|
|
2004-04-18 02:37:56 +00:00
|
|
|
ifeq ($(subdir),rt)
|
|
|
|
librt-routines += rt-sysdep
|
|
|
|
endif
|
2005-12-22 05:18:34 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),stdlib)
|
|
|
|
gen-as-const-headers += ucontext_i.sym
|
|
|
|
endif
|
2009-01-08 00:28:23 +00:00
|
|
|
|
|
|
|
ifeq ($(subdir),elf)
|
|
|
|
sysdep_routines += dl-vdso
|
|
|
|
endif
|
2014-01-07 09:36:31 +01:00
|
|
|
|
|
|
|
ifeq ($(subdir),debug)
|
|
|
|
ifeq (yes,$(build-shared))
|
|
|
|
sysdep_routines += v1-longjmp_chk
|
|
|
|
endif
|
|
|
|
endif
|
2014-06-26 09:31:11 -07:00
|
|
|
|
|
|
|
ifeq ($(subdir),nptl)
|
|
|
|
ifeq ($(enable-lock-elision),yes)
|
|
|
|
libpthread-sysdep_routines += elision-lock elision-unlock elision-timed \
|
|
|
|
elision-trylock
|
|
|
|
|
|
|
|
elision-CFLAGS = -mhtm
|
|
|
|
CFLAGS-elision-lock.c = $(elision-CFLAGS)
|
|
|
|
CFLAGS-elision-timed.c = $(elision-CFLAGS)
|
|
|
|
CFLAGS-elision-trylock.c = $(elision-CFLAGS)
|
|
|
|
CFLAGS-elision-unlock.c = $(elision-CFLAGS)
|
|
|
|
endif
|
|
|
|
endif
|