0acb69a17fdb807d25c2398102f21efd15f1e148
[platform/upstream/glibc.git] / sysdeps / x86_64 / Makefile
1 # The i387 `long double' is a distinct type we support.
2 long-double-fcts = yes
3
4 ifeq ($(subdir),csu)
5 sysdep_routines += hp-timing
6 elide-routines.os += hp-timing
7 gen-as-const-headers += link-defines.sym
8 endif
9
10 ifeq ($(subdir),gmon)
11 sysdep_routines += _mcount
12 endif
13
14 ifeq ($(subdir),malloc)
15 tests += tst-mallocalign1
16 endif
17
18 ifeq ($(subdir),string)
19 sysdep_routines += cacheinfo strcasecmp_l-nonascii strncase_l-nonascii
20 gen-as-const-headers += locale-defines.sym
21 endif
22
23 ifeq ($(subdir),elf)
24 sysdep-dl-routines += tlsdesc dl-tlsdesc
25 sysdep_routines += tlsdesc dl-tlsdesc
26 sysdep-rtld-routines += tlsdesc dl-tlsdesc
27
28 tests += tst-quad1 tst-quad2
29 modules-names += tst-quadmod1 tst-quadmod2
30
31 $(objpfx)tst-quad1: $(objpfx)tst-quadmod1.so
32 $(objpfx)tst-quad2: $(objpfx)tst-quadmod2.so
33
34 quad-pie-test += tst-quad1pie tst-quad2pie
35 tests += $(quad-pie-test)
36 tests-pie += $(quad-pie-test)
37
38 $(objpfx)tst-quad1pie: $(objpfx)tst-quadmod1pie.o
39 $(objpfx)tst-quad2pie: $(objpfx)tst-quadmod2pie.o
40
41 tests: $(objpfx)tst-xmmymm.out
42 $(objpfx)tst-xmmymm.out: ../sysdeps/x86_64/tst-xmmymm.sh $(objpfx)ld.so
43         @echo "Checking ld.so for SSE register use.  This will take a few seconds..."
44         $(SHELL) $< $(objpfx) > $@
45 endif
46
47 ifeq ($(subdir),csu)
48 gen-as-const-headers += tlsdesc.sym
49 endif