summaryrefslogtreecommitdiff
path: root/libgcc/config/rs6000/t-ppccomm
blob: f75bee22737bc6442a4858ae97a10caf7e3b0263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
LIB2ADD += $(srcdir)/config/rs6000/ibm-ldouble.c

LIB2ADD_ST += crtsavfpr.S crtresfpr.S \
  crtsavgpr.S crtresgpr.S \
  crtresxfpr.S crtresxgpr.S \
  e500crtres32gpr.S \
  e500crtres64gpr.S \
  e500crtres64gprctr.S \
  e500crtrest32gpr.S \
  e500crtrest64gpr.S \
  e500crtresx32gpr.S \
  e500crtresx64gpr.S \
  e500crtsav32gpr.S \
  e500crtsav64gpr.S \
  e500crtsav64gprctr.S \
  e500crtsavg32gpr.S \
  e500crtsavg64gpr.S \
  e500crtsavg64gprctr.S

EXTRA_PARTS += crtbegin$(objext) crtend$(objext) \
  crtbeginS$(objext) crtendS$(objext) crtbeginT$(objext) \
  ecrti$(objext) ecrtn$(objext) ncrti$(objext) ncrtn$(objext)

# We build {e,n}crti.o and {e,n}crtn.o, which serve to add begin and
# end labels to all of the special sections used when we link using gcc.

# Assemble startup files.
ecrti.S: $(gcc_srcdir)/config/rs6000/eabi-ci.asm
	cat $(gcc_srcdir)/config/rs6000/eabi-ci.asm >ecrti.S

ecrtn.S: $(gcc_srcdir)/config/rs6000/eabi-cn.asm
	cat $(gcc_srcdir)/config/rs6000/eabi-cn.asm >ecrtn.S

ncrti.S: $(gcc_srcdir)/config/rs6000/sol-ci.asm
	cat $(gcc_srcdir)/config/rs6000/sol-ci.asm >ncrti.S

ncrtn.S: $(gcc_srcdir)/config/rs6000/sol-cn.asm
	cat $(gcc_srcdir)/config/rs6000/sol-cn.asm >ncrtn.S

crtsavfpr.S: $(gcc_srcdir)/config/rs6000/crtsavfpr.asm
	cat $(gcc_srcdir)/config/rs6000/crtsavfpr.asm >crtsavfpr.S

crtresfpr.S: $(gcc_srcdir)/config/rs6000/crtresfpr.asm
	cat $(gcc_srcdir)/config/rs6000/crtresfpr.asm >crtresfpr.S

crtsavgpr.S: $(gcc_srcdir)/config/rs6000/crtsavgpr.asm
	cat $(gcc_srcdir)/config/rs6000/crtsavgpr.asm >crtsavgpr.S

crtresgpr.S: $(gcc_srcdir)/config/rs6000/crtresgpr.asm
	cat $(gcc_srcdir)/config/rs6000/crtresgpr.asm >crtresgpr.S

crtresxfpr.S: $(gcc_srcdir)/config/rs6000/crtresxfpr.asm
	cat $(gcc_srcdir)/config/rs6000/crtresxfpr.asm >crtresxfpr.S

crtresxgpr.S: $(gcc_srcdir)/config/rs6000/crtresxgpr.asm
	cat $(gcc_srcdir)/config/rs6000/crtresxgpr.asm >crtresxgpr.S

e500crtres32gpr.S: $(gcc_srcdir)/config/rs6000/e500crtres32gpr.asm
	cat $(gcc_srcdir)/config/rs6000/e500crtres32gpr.asm >e500crtres32gpr.S

e500crtres64gpr.S: $(gcc_srcdir)/config/rs6000/e500crtres64gpr.asm
	cat $(gcc_srcdir)/config/rs6000/e500crtres64gpr.asm >e500crtres64gpr.S

e500crtres64gprctr.S: $(gcc_srcdir)/config/rs6000/e500crtres64gprctr.asm
	cat $(gcc_srcdir)/config/rs6000/e500crtres64gprctr.asm >e500crtres64gprctr.S

e500crtrest32gpr.S: $(gcc_srcdir)/config/rs6000/e500crtrest32gpr.asm
	cat $(gcc_srcdir)/config/rs6000/e500crtrest32gpr.asm >e500crtrest32gpr.S

e500crtrest64gpr.S: $(gcc_srcdir)/config/rs6000/e500crtrest64gpr.asm
	cat $(gcc_srcdir)/config/rs6000/e500crtrest64gpr.asm >e500crtrest64gpr.S

e500crtresx32gpr.S: $(gcc_srcdir)/config/rs6000/e500crtresx32gpr.asm
	cat $(gcc_srcdir)/config/rs6000/e500crtresx32gpr.asm >e500crtresx32gpr.S

e500crtresx64gpr.S: $(gcc_srcdir)/config/rs6000/e500crtresx64gpr.asm
	cat $(gcc_srcdir)/config/rs6000/e500crtresx64gpr.asm >e500crtresx64gpr.S

e500crtsav32gpr.S: $(gcc_srcdir)/config/rs6000/e500crtsav32gpr.asm
	cat $(gcc_srcdir)/config/rs6000/e500crtsav32gpr.asm >e500crtsav32gpr.S

e500crtsav64gpr.S: $(gcc_srcdir)/config/rs6000/e500crtsav64gpr.asm
	cat $(gcc_srcdir)/config/rs6000/e500crtsav64gpr.asm >e500crtsav64gpr.S

e500crtsav64gprctr.S: $(gcc_srcdir)/config/rs6000/e500crtsav64gprctr.asm
	cat $(gcc_srcdir)/config/rs6000/e500crtsav64gprctr.asm >e500crtsav64gprctr.S

e500crtsavg32gpr.S: $(gcc_srcdir)/config/rs6000/e500crtsavg32gpr.asm
	cat $(gcc_srcdir)/config/rs6000/e500crtsavg32gpr.asm >e500crtsavg32gpr.S

e500crtsavg64gpr.S: $(gcc_srcdir)/config/rs6000/e500crtsavg64gpr.asm
	cat $(gcc_srcdir)/config/rs6000/e500crtsavg64gpr.asm >e500crtsavg64gpr.S

e500crtsavg64gprctr.S: $(gcc_srcdir)/config/rs6000/e500crtsavg64gprctr.asm
	cat $(gcc_srcdir)/config/rs6000/e500crtsavg64gprctr.asm >e500crtsavg64gprctr.S

ecrti$(objext): ecrti.S
	$(crt_compile) -c ecrti.S

ecrtn$(objext): ecrtn.S
	$(crt_compile) -c ecrtn.S

ncrti$(objext): ncrti.S
	$(crt_compile) -c ncrti.S

ncrtn$(objext): ncrtn.S
	$(crt_compile) -c ncrtn.S