1 # We don't need any header files.
4 abi-variants
:= 32 64 x32
6 abi-32-condition
:= !defined __x86_64__
7 abi-64-condition
:= defined __x86_64__
&& defined __LP64__
8 abi-x32-condition
:= defined __x86_64__
&& defined __ILP32__
11 sysdep_headers
+= sys
/elf.h sys
/perm.h sys
/reg.h sys
/vm86.h sys
/debugreg.h sys
/io.h
15 libpthread-sysdep_routines
+= elision-lock elision-unlock elision-timed \
17 CFLAGS-elision-lock.c
+= -mrtm
18 CFLAGS-elision-unlock.c
+= -mrtm
19 CFLAGS-elision-timed.c
+= -mrtm
20 CFLAGS-elision-trylock.c
+= -mrtm
23 ifeq ($(subdir
),setjmp
)
24 tests
+= tst-saved_mask-1
27 ifeq ($(enable-cet
),yes
)
29 tests
+= tst-cet-property-1 tst-cet-property-2
31 CFLAGS-tst-cet-property-1.o
+= -fcf-protection
32 ASFLAGS-tst-cet-property-dep-2.o
+= -fcf-protection
34 $(objpfx
)tst-cet-property-2
: $(objpfx
)tst-cet-property-dep-2.o
35 $(objpfx
)tst-cet-property-2.out
: $(objpfx
)tst-cet-property-2 \
36 $(objpfx
)tst-cet-property-1.out
37 env
$(run-program-env
) $(test-via-rtld-prefix
) \
38 $(objpfx
)tst-cet-property-2 \
39 < $(objpfx
)tst-cet-property-1.out
> $@
; \
43 ifeq ($(subdir
),stdlib
)
44 tests
+= tst-cet-setcontext-1
45 CFLAGS-tst-cet-setcontext-1.c
+= -mshstk