2 sysdep_headers
+= regdef.h fpregdef.h sys
/regdef.h sys
/fpregdef.h \
6 ifeq ($(subdir
),setjmp
)
7 sysdep_routines
+= setjmp_aux
11 librt-sysdep_routines
+= rt-sysdep
12 librt-shared-only-routines
+= rt-sysdep
15 ifeq ($(subdir
),debug
)
16 CFLAGS-backtrace.c
+= -funwind-tables
20 CPPFLAGS-crti.S
+= $(pic-ccflag
)
21 CPPFLAGS-crtn.S
+= $(pic-ccflag
)
25 CPPFLAGS-pt-crti.S
+= $(pic-ccflag
)
26 CPPFLAGS-crtn.S
+= $(pic-ccflag
)
29 ASFLAGS-.os
+= $(pic-ccflag
)
33 tests
+= tst-abi-interlink
37 ifneq (,$(filter $(o32-fpabi
),32 xx xxo
))
38 fpabi-modules-names
+= tst-abi-fp32mod
39 CFLAGS-tst-abi-fp32mod.c
+= -mfp32
41 ifneq (,$(filter $(o32-fpabi
),xx
))
42 fpabi-modules-names
+= tst-abi-fpxxmod
43 CFLAGS-tst-abi-fpxxmod.c
+= -mfpxx
-mno-odd-spreg
45 ifneq (,$(filter $(o32-fpabi
),xx xxo
))
46 ifeq ($(has-modd-spreg
),yes
)
47 fpabi-modules-names
+= tst-abi-fpxxomod
48 CFLAGS-tst-abi-fpxxomod.c
+= -mfpxx
-modd-spreg
51 ifneq (,$(filter $(o32-fpabi
),xx
64a
))
52 ifeq ($(has-mpf64
),yes
)
53 fpabi-modules-names
+= tst-abi-fp64amod
54 CFLAGS-tst-abi-fp64amod.c
+= -mfp64
-mno-odd-spreg
57 ifneq (,$(filter $(o32-fpabi
),xx xxo
64a
64))
58 ifeq ($(has-mpf64
)-$(has-modd-spreg
),yes-yes
)
59 fpabi-modules-names
+= tst-abi-fp64mod
60 CFLAGS-tst-abi-fp64mod.c
+= -mfp64
-modd-spreg
63 modules-names
+= $(fpabi-modules-names
)
67 space
:=$(empty
) $(empty
)
68 fpabi_list
=$(subst $(space
),$(comma
),$(patsubst tst-abi-
%mod
,o_
%,\
69 $(fpabi-modules-names
)))
70 CPPFLAGS-tst-abi-interlink.c
+= -DFPABI_LIST
=$(fpabi_list
)
71 CPPFLAGS-tst-abi-interlink.c
+= -DFPABI_COUNT
=$(words $(fpabi-modules-names
))
72 CPPFLAGS-tst-abi-interlink.c
+= -DFPABI_NATIVE
=o_fp
$(o32-fpabi
)
73 $(objpfx
)tst-abi-interlink
: $(libdl
)
74 $(objpfx
)tst-abi-interlink.out
: $(patsubst %,$(objpfx
)%.so
,\
75 $(fpabi-modules-names
))
78 ifeq ($(mips-mode-switch
),yes
)
79 ifeq ($(o32-fpabi
),xx
)
80 tests
+= tst-mode-switch-1 tst-mode-switch-2 tst-mode-switch-3
81 $(objpfx
)tst-mode-switch-1
: $(shared-thread-library
)
82 $(objpfx
)tst-mode-switch-2
: $(shared-thread-library
)