]>
Commit | Line | Data |
---|---|---|
0ab0291b L |
1 | # We don't need any header files. |
2 | abi-includes := | |
3 | ||
4 | abi-variants := 32 64 x32 | |
5 | ||
0ab0291b | 6 | abi-32-condition := !defined __x86_64__ |
0ab0291b | 7 | abi-64-condition := defined __x86_64__ && defined __LP64__ |
0ab0291b | 8 | abi-x32-condition := defined __x86_64__ && defined __ILP32__ |
3bd872c4 L |
9 | |
10 | ifeq ($(subdir),misc) | |
11 | sysdep_headers += sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h sys/io.h | |
12 | endif | |
039890a6 RM |
13 | |
14 | ifeq ($(subdir),nptl) | |
039890a6 RM |
15 | libpthread-sysdep_routines += elision-lock elision-unlock elision-timed \ |
16 | elision-trylock | |
17 | endif | |
ca677d3c AZ |
18 | |
19 | ifeq ($(subdir),elf) | |
20 | sysdep_routines += dl-vdso | |
21 | endif | |
f33632cc L |
22 | |
23 | ifeq ($(subdir),setjmp) | |
f33632cc L |
24 | tests += tst-saved_mask-1 |
25 | endif | |
08ac6bed L |
26 | |
27 | ifeq ($(enable-cet),yes) | |
98864ed0 L |
28 | ifeq ($(subdir),elf) |
29 | tests += tst-cet-property-1 tst-cet-property-2 | |
30 | ||
31 | CFLAGS-tst-cet-property-1.o += -fcf-protection | |
32 | ASFLAGS-tst-cet-property-dep-2.o += -fcf-protection | |
33 | ||
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 > $@; \ | |
40 | $(evaluate-test) | |
41 | endif | |
42 | ||
08ac6bed L |
43 | ifeq ($(subdir),stdlib) |
44 | tests += tst-cet-setcontext-1 | |
45 | CFLAGS-tst-cet-setcontext-1.c += -mshstk | |
46 | endif | |
47 | endif |