Debian Codegraph @

sysdeps/arm/Makefile

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
1 gnulib-arch = $(elf-objpfx)libgcc-stubs.a
2 static-gnulib-arch = $(elf-objpfx)libgcc-stubs.a
3
4 ifeq ($(subdir),elf)
5 sysdep-dl-routines += tlsdesc dl-tlsdesc
6 sysdep_routines += aeabi_unwind_cpp_pr1 find_exidx
7 sysdep-rtld-routines += aeabi_unwind_cpp_pr1
8 shared-only-routines += aeabi_unwind_cpp_pr1
9
10 $(objpfx)libgcc-stubs.a: $(objpfx)aeabi_unwind_cpp_pr1.os
11 $(build-extra-lib)
12
13 lib-noranlib: $(objpfx)libgcc-stubs.a
14
15 ifeq ($(build-shared),yes)
16 ifneq (no,$(have-test-mtls-descriptor))
17 tests += tst-armtlsdescloc tst-armtlsdescextnow tst-armtlsdescextlazy
18 modules-names += tst-armtlsdesclocmod
19 modules-names += tst-armtlsdescextlazymod tst-armtlsdescextnowmod
20 CPPFLAGS-tst-armtlsdescextnowmod.c += -Dstatic=
21 CPPFLAGS-tst-armtlsdescextlazymod.c += -Dstatic=
22 CFLAGS-tst-armtlsdesclocmod.c += -mtls-dialect=$(have-test-mtls-descriptor)
23 CFLAGS-tst-armtlsdescextnowmod.c += -mtls-dialect=$(have-test-mtls-descriptor)
24 CFLAGS-tst-armtlsdescextlazymod.c += -mtls-dialect=$(have-test-mtls-descriptor)
25 LDFLAGS-tst-armtlsdescextnowmod.so += -Wl,-z,now
26 tst-armtlsdescloc-ENV = LD_BIND_NOW=1
27 tst-armtlsdescextnow-ENV = LD_BIND_NOW=1
28 tst-armtlsdescextlazy-ENV = LD_BIND_NOW=1
29 $(objpfx)tst-armtlsdescloc: $(objpfx)tst-armtlsdesclocmod.so
30 $(objpfx)tst-armtlsdescextnow: $(objpfx)tst-armtlsdescextnowmod.so
31 $(objpfx)tst-armtlsdescextlazy: $(objpfx)tst-armtlsdescextlazymod.so
32 endif
•33
34 tests += \
35 tst-bz34144 \
36 tst-bz34144-audit \
37 # tests
38 modules-names += \
39 tst-bz34144-auditmod \
40 tst-bz34144-mod \
41 # modules-names
42 $(objpfx)tst-bz34144: $(objpfx)tst-bz34144-mod.so
43 $(objpfx)tst-bz34144-audit: $(objpfx)tst-bz34144-mod.so
44 $(objpfx)tst-bz34144-audit.out: $(objpfx)tst-bz34144-auditmod.so
45 # Use lazy binding to check if _dl_runtime_resolve correctly save/restore
46 # the VFP state.
47 LDFLAGS-tst-bz34144 = -Wl,-z,lazy
48 # With LD_AUDIT, lazy resolution goes through _dl_runtime_profile, which
49 # must also save/restore VFP state (BZ 34144).
50 LDFLAGS-tst-bz34144-audit = -Wl,-z,lazy
51 tst-bz34144-audit-ENV = LD_AUDIT=$(objpfx)tst-bz34144-auditmod.so
52 endif
53 endif
54
55 ifeq ($(subdir),csu)
56 # get offset to rtld_global._dl_hwcap
57 gen-as-const-headers += rtld-global-offsets.sym tlsdesc.sym
58 aeabi_constants = aeabi_lcsts aeabi_sighandlers aeabi_math
59 aeabi_routines = aeabi_assert aeabi_localeconv aeabi_errno_addr \
60 aeabi_mb_cur_max aeabi_atexit aeabi_memclr aeabi_memcpy \
61 aeabi_memmove aeabi_memset \
62 aeabi_read_tp libc-aeabi_read_tp
63
64 sysdep_routines += $(aeabi_constants) $(aeabi_routines)
65 static-only-routines += $(aeabi_constants) aeabi_read_tp
66 shared-only-routines += libc-aeabi_read_tp
67
68 sysdep_routines += arm-unwind-resume
69 shared-only-routines += arm-unwind-resume
70 endif
71
72 ifeq ($(subdir),gmon)
73 sysdep_routines += arm-mcount
74 endif
75
76 ifeq ($(subdir),rt)
77 librt-sysdep_routines += rt-aeabi_unwind_cpp_pr1 rt-arm-unwind-resume
78 librt-shared-only-routines += rt-aeabi_unwind_cpp_pr1 rt-arm-unwind-resume
79 endif