]> sourceware.org Git - glibc.git/blob - sysdeps/unix/sysv/linux/x86/Makefile
elf: Move vDSO setup to rtld (BZ#24967)
[glibc.git] / sysdeps / unix / sysv / linux / x86 / Makefile
1 # We don't need any header files.
2 abi-includes :=
3
4 abi-variants := 32 64 x32
5
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__
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
13
14 ifeq ($(subdir),nptl)
15 libpthread-sysdep_routines += elision-lock elision-unlock elision-timed \
16 elision-trylock
17 CFLAGS-elision-lock.c += -mrtm
18 CFLAGS-elision-unlock.c += -mrtm
19 CFLAGS-elision-timed.c += -mrtm
20 CFLAGS-elision-trylock.c += -mrtm
21 endif
22
23 ifeq ($(subdir),setjmp)
24 tests += tst-saved_mask-1
25 endif
26
27 ifeq ($(enable-cet),yes)
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
43 ifeq ($(subdir),stdlib)
44 tests += tst-cet-setcontext-1
45 CFLAGS-tst-cet-setcontext-1.c += -mshstk
46 endif
47 endif
This page took 0.036074 seconds and 5 git commands to generate.