]>
Commit | Line | Data |
---|---|---|
a4967b8d JT |
1 | # Support for NetBSD PowerPC ELF targets (SVR4 ABI). |
2 | ||
3 | LIB2FUNCS_EXTRA = tramp.S | |
4 | ||
18724e30 NF |
5 | LIB2FUNCS_STATIC_EXTRA = crtsavfpr.S crtresfpr.S \ |
6 | crtsavgpr.S crtresgpr.S \ | |
7 | crtresxfpr.S crtresxgpr.S | |
8 | ||
a4967b8d JT |
9 | tramp.S: $(srcdir)/config/rs6000/tramp.asm |
10 | cat $(srcdir)/config/rs6000/tramp.asm > tramp.S | |
11 | ||
18724e30 NF |
12 | crtsavfpr.S: $(srcdir)/config/rs6000/crtsavfpr.asm |
13 | cat $(srcdir)/config/rs6000/crtsavfpr.asm >crtsavfpr.S | |
14 | ||
15 | crtresfpr.S: $(srcdir)/config/rs6000/crtresfpr.asm | |
16 | cat $(srcdir)/config/rs6000/crtresfpr.asm >crtresfpr.S | |
17 | ||
18 | crtsavgpr.S: $(srcdir)/config/rs6000/crtsavgpr.asm | |
19 | cat $(srcdir)/config/rs6000/crtsavgpr.asm >crtsavgpr.S | |
20 | ||
21 | crtresgpr.S: $(srcdir)/config/rs6000/crtresgpr.asm | |
22 | cat $(srcdir)/config/rs6000/crtresgpr.asm >crtresgpr.S | |
23 | ||
24 | crtresxfpr.S: $(srcdir)/config/rs6000/crtresxfpr.asm | |
25 | cat $(srcdir)/config/rs6000/crtresxfpr.asm >crtresxfpr.S | |
a4967b8d | 26 | |
18724e30 NF |
27 | crtresxgpr.S: $(srcdir)/config/rs6000/crtresxgpr.asm |
28 | cat $(srcdir)/config/rs6000/crtresxgpr.asm >crtresxgpr.S | |
a4967b8d JT |
29 | |
30 | # It is important that crtbegin.o, etc., aren't surprised by stuff in .sdata. | |
31 | CRTSTUFF_T_CFLAGS += -msdata=none | |
32 | CRTSTUFF_T_CFLAGS_S += -msdata=none | |
33 | ||
34 | # Switch synonyms | |
35 | MULTILIB_MATCHES_FLOAT = msoft-float=mcpu?401 \ | |
36 | msoft-float=mcpu?403 \ | |
37 | msoft-float=mcpu?405 \ | |
38 | msoft-float=mcpu?ec603e \ | |
39 | msoft-float=mcpu?801 \ | |
40 | msoft-float=mcpu?821 \ | |
41 | msoft-float=mcpu?823 \ | |
42 | msoft-float=mcpu?860 | |
43 | ||
44 | MULTILIB_OPTIONS = msoft-float | |
45 | MULTILIB_DIRNAMES = soft-float | |
46 | MULTILIB_EXTRA_OPTS = fPIC mstrict-align | |
47 | MULTILIB_EXCEPTIONS = | |
48 | ||
49 | MULTILIB_MATCHES = ${MULTILIB_MATCHES_FLOAT} | |
50 | ||
51 | LIBGCC = stmp-multilib | |
52 | INSTALL_LIBGCC = install-multilib | |
53 | EXTRA_MULTILIB_PARTS = crtbegin$(objext) crtend$(objext) \ | |
18724e30 NF |
54 | crtbeginS$(objext) crtendS$(objext) crtbeginT$(objext) |
55 | ||
56 | $(T)crtsavfpr$(objext): crtsavfpr.S | |
57 | $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c crtsavfpr.S -o $(T)crtsavfpr$(objext) | |
58 | ||
59 | $(T)crtresfpr$(objext): crtresfpr.S | |
60 | $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c crtresfpr.S -o $(T)crtresfpr$(objext) | |
61 | ||
62 | $(T)crtsavgpr$(objext): crtsavgpr.S | |
63 | $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c crtsavgpr.S -o $(T)crtsavgpr$(objext) | |
64 | ||
65 | $(T)crtresgpr$(objext): crtresgpr.S | |
66 | $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c crtresgpr.S -o $(T)crtresgpr$(objext) | |
67 | ||
68 | $(T)crtresxfpr$(objext): crtresxfpr.S | |
69 | $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c crtresxfpr.S -o $(T)crtresxfpr$(objext) | |
a4967b8d | 70 | |
18724e30 NF |
71 | $(T)crtresxgpr$(objext): crtresxgpr.S |
72 | $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -c crtresxgpr.S -o $(T)crtresxgpr$(objext) |