initial commit
[glibc.git] / sysdeps / mach / hurd / i386 / Makefile
1 ifeq ($(subdir),misc)
2 sysdep_routines += ioperm
3 sysdep_headers += sys/io.h
4 endif
5
6 ifeq ($(subdir),debug)
7 gen-as-const-headers += signal-defines.sym
8 endif
9
10 ifeq ($(subdir),setjmp)
11 gen-as-const-headers += signal-defines.sym
12 endif
13
14 ifeq ($(subdir),csu)
15 ifeq (yes,$(build-shared))
16 sysdep_routines += divdi3
17 shared-only-routines += divdi3
18 CPPFLAGS-divdi3.c = -Din_divdi3_c
19 endif
20 endif
21
22 ifeq ($(subdir),conform)
23 # For bugs 23081, 23082, 23083, 23084, 23085, 23086.
24 # (type conformance)
25 conformtest-xfail-conds += i386-gnu
26 endif
27
28 # For bug 23286
29 ifeq ($(subdir),hurd)
30 test-xfail-check-abi-libhurduser = yes
31 endif
32 ifeq ($(subdir),mach)
33 test-xfail-check-abi-libmachuser = yes
34 endif
35
36 # For bug 25521
37 # (setpshared support)
38 ifeq ($(subdir),malloc)
39 test-xfail-tst-mallocfork2 = yes
40 test-xfail-tst-mallocfork2-mcheck = yes
41 test-xfail-tst-mallocfork2-malloc-check = yes
42 test-xfail-tst-mallocfork2-malloc-hugetlb1 = yes
43 test-xfail-tst-mallocfork2-malloc-hugetlb2 = yes
44 endif
45 ifeq ($(subdir),htl)
46 test-xfail-tst-mutex4 = yes
47 test-xfail-tst-cancel16 = yes
48 test-xfail-tst-cancelx16 = yes
49 test-xfail-tst-cond4 = yes
50 test-xfail-tst-cond6 = yes
51 test-xfail-tst-cond12 = yes
52 test-xfail-tst-cond13 = yes
53 test-xfail-tst-cond23 = yes
54 test-xfail-tst-rwlock4 = yes
55 test-xfail-tst-rwlock12 = yes
56 test-xfail-tst-barrier2 = yes
57 test-xfail-tst-pututxline-cache = yes
58 test-xfail-tst-pututxline-lockfail = yes
59 test-xfail-tst-flock2 = yes
60 test-xfail-tst-signal1 = yes
61 test-xfail-tst-signal2 = yes
62 endif
63
64 ifeq ($(subdir),htl)
65 # For bug 25522
66 # (setprotocol support)
67 test-xfail-tst-cond24 = yes
68 test-xfail-tst-cond25 = yes
69
70 # For bug 25563
71 # (robust support against dead threads)
72 test-xfail-tst-robust1 = yes
73 test-xfail-tst-robust2 = yes
74 test-xfail-tst-robust3 = yes
75 test-xfail-tst-robust4 = yes
76 test-xfail-tst-robust5 = yes
77 test-xfail-tst-robust6 = yes
78 test-xfail-tst-robust7 = yes
79 test-xfail-tst-robust9 = yes
80 endif
81
82 ifeq ($(subdir),elf)
83 # We do use nested functions involving creation of trampolines, notably for
84 # callbacks whose parameters don't permit to get the context parameters.
85 check-execstack-xfail += ld.so libc.so libpthread.so
86 # We always create a thread for signals
87 test-xfail-tst-single_threaded-pthread-static = yes
88 endif
89
90 ifeq ($(subdir),stdlib)
91 gen-as-const-headers += ucontext_i.sym
92 endif