1 |
142 |
sybreon |
*asm:
|
2 |
|
|
%{microblaze1} %(target_asm_spec) %(subtarget_asm_spec)
|
3 |
|
|
|
4 |
|
|
*asm_debug:
|
5 |
|
|
%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}
|
6 |
|
|
|
7 |
|
|
*asm_final:
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
*asm_options:
|
11 |
|
|
%a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}
|
12 |
|
|
|
13 |
|
|
*invoke_as:
|
14 |
|
|
%{!S:-o %|.s |
|
15 |
|
|
as %(asm_options) %m.s %A }
|
16 |
|
|
|
17 |
|
|
*cpp:
|
18 |
|
|
%{.S: -D__LANGUAGE_ASSEMBLY -D_LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} %{.s: -D__LANGUAGE_ASSEMBLY -D_LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} %{!.S: %{!.s: %{!.cc: %{!.cxx: %{!.C: %{!.m: -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}}}}} %{mno-xl-soft-mul: -DHAVE_HW_MUL} %{mxl-multiply-high: -DHAVE_HW_MUL_HIGH} %{mno-xl-soft-div: -DHAVE_HW_DIV} %{mxl-barrel-shift: -DHAVE_HW_BSHIFT} %{mxl-pattern-compare: -DHAVE_HW_PCMP} %{mhard-float: -DHAVE_HW_FPU} %{mxl-float-convert: -DHAVE_HW_FPU_CONVERT} %{mxl-float-sqrt: -DHAVE_HW_FPU_SQRT}
|
19 |
|
|
|
20 |
|
|
*cpp_options:
|
21 |
|
|
%(cpp_unique_options) %1 %{m*} %{std*&ansi&trigraphs} %{W*&pedantic*} %{w} %{f*} %{g*:%{!g0:%{!fno-working-directory:-fworking-directory}}} %{O*} %{undef} %{save-temps:-fpch-preprocess}
|
22 |
|
|
|
23 |
|
|
*cpp_debug_options:
|
24 |
|
|
%{d*}
|
25 |
|
|
|
26 |
|
|
*cpp_unique_options:
|
27 |
|
|
%{C|CC:%{!E:%eGCC does not support -C or -CC without -E}} %{!Q:-quiet} %{nostdinc*} %{C} %{CC} %{v} %{I*&F*} %{P} %I %{MD:-MD %{!o:%b.d}%{o*:%.d%*}} %{MMD:-MMD %{!o:%b.d}%{o*:%.d%*}} %{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*} %{!E:%{!M:%{!MM:%{MD|MMD:%{o*:-MQ %*}}}}} %{remap} %{g3:-dD} %{H} %C %{D*&U*&A*} %{i*} %Z %i %{fmudflap:-D_MUDFLAP -include mf-runtime.h} %{fmudflapth:-D_MUDFLAP -D_MUDFLAPTH -include mf-runtime.h} %{E|M|MM:%W{o*}}
|
28 |
|
|
|
29 |
|
|
*trad_capable_cpp:
|
30 |
|
|
cc1 -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}
|
31 |
|
|
|
32 |
|
|
*cc1:
|
33 |
|
|
%{G*} %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} %{save-temps: } %(subtarget_cc1_spec) %{Zxl-blazeit: -mno-xl-soft-mul -mno-xl-soft-div -mxl-barrel-shift -mxl-pattern-compare -mxl-multiply-high}
|
34 |
|
|
|
35 |
|
|
*cc1_options:
|
36 |
|
|
%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}} %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*} %{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}%{!c:%{!S:-auxbase %b}} %{g*} %{O*} %{W*&pedantic*} %{w} %{std*&ansi&trigraphs} %{v:-version} %{pg:-p} %{p} %{f*} %{undef} %{Qn:-fno-ident} %{--help:--help} %{--target-help:--target-help} %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}} %{fsyntax-only:-o %j} %{-param*} %{fmudflap|fmudflapth:-fno-builtin -fno-merge-constants} %{coverage:-fprofile-arcs -ftest-coverage}
|
37 |
|
|
|
38 |
|
|
*cc1plus:
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
*link_gcc_c_sequence:
|
42 |
|
|
%G %L %G
|
43 |
|
|
|
44 |
|
|
*link_ssp:
|
45 |
|
|
%{fstack-protector|fstack-protector-all:-lssp_nonshared -lssp}
|
46 |
|
|
|
47 |
|
|
*endfile:
|
48 |
|
|
crtend.o%s crtn.o%s
|
49 |
|
|
|
50 |
|
|
*link:
|
51 |
|
|
%{shared:-shared} -N -relax %{Zxl-mode-xmdstub:-defsym _TEXT_START_ADDR=0x800} %{!mxl-gp-opt: -G 0} %{!Wl,-T*: %{!T*: -T xilinx.ld%s}}
|
52 |
|
|
|
53 |
|
|
*lib:
|
54 |
|
|
%{!pg:%{!nostdlib:%{!Zxl-no-libxil:-start-group -lxil -lc_m_bs -lm_m_bs -end-group }}} %{pg:%{!nostdlib:-start-group -lxilprofile -lxil -lc_m_bs -lm_m_bs -end-group }} %{Zxl-no-libxil: %{!nostdlib: -start-group -lc_m_bs -lm_m_bs -end-group }}
|
55 |
|
|
|
56 |
|
|
*mfwrap:
|
57 |
|
|
%{static: %{fmudflap|fmudflapth: --wrap=malloc --wrap=free --wrap=calloc --wrap=realloc --wrap=mmap --wrap=munmap --wrap=alloca} %{fmudflapth: --wrap=pthread_create}} %{fmudflap|fmudflapth: --wrap=main}
|
58 |
|
|
|
59 |
|
|
*mflib:
|
60 |
|
|
%{fmudflap|fmudflapth: -export-dynamic}
|
61 |
|
|
|
62 |
|
|
*libgcc:
|
63 |
|
|
-lgcc
|
64 |
|
|
|
65 |
|
|
*startfile:
|
66 |
|
|
%{Zxl-mode-executable : %(startfile_executable) ; Zxl-mode-xmdstub : %(startfile_xmdstub) ; Zxl-mode-bootstrap : %(startfile_bootstrap) ; Zxl-mode-novectors : %(startfile_novectors) ; Zxl-mode-xilkernel : %(startfile_xilkernel) ; : %(startfile_default) } %(startfile_crtinit)
|
67 |
|
|
|
68 |
|
|
*switches_need_spaces:
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
*cross_compile:
|
72 |
|
|
1
|
73 |
|
|
|
74 |
|
|
*version:
|
75 |
|
|
4.1.1
|
76 |
|
|
|
77 |
|
|
*multilib:
|
78 |
|
|
. !mxl-barrel-shift !mno-xl-soft-mul !mxl-multiply-high;bs mxl-barrel-shift !mno-xl-soft-mul !mxl-multiply-high;m !mxl-barrel-shift mno-xl-soft-mul !mxl-multiply-high;m/mh !mxl-barrel-shift mno-xl-soft-mul mxl-multiply-high;bs/m mxl-barrel-shift mno-xl-soft-mul !mxl-multiply-high;bs/m/mh mxl-barrel-shift mno-xl-soft-mul mxl-multiply-high;
|
79 |
|
|
|
80 |
|
|
*multilib_defaults:
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
*multilib_extra:
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
*multilib_matches:
|
87 |
|
|
mxl-barrel-shift mxl-barrel-shift;mno-xl-soft-mul mno-xl-soft-mul;mxl-multiply-high mxl-multiply-high;
|
88 |
|
|
|
89 |
|
|
*multilib_exclusions:
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
*multilib_options:
|
93 |
|
|
mxl-barrel-shift mno-xl-soft-mul mxl-multiply-high
|
94 |
|
|
|
95 |
|
|
*linker:
|
96 |
|
|
collect2
|
97 |
|
|
|
98 |
|
|
*link_libgcc:
|
99 |
|
|
%D
|
100 |
|
|
|
101 |
|
|
*md_exec_prefix:
|
102 |
|
|
|
103 |
|
|
|
104 |
|
|
*md_startfile_prefix:
|
105 |
|
|
|
106 |
|
|
|
107 |
|
|
*md_startfile_prefix_1:
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
*startfile_prefix_spec:
|
111 |
|
|
|
112 |
|
|
|
113 |
|
|
*sysroot_spec:
|
114 |
|
|
--sysroot=%R
|
115 |
|
|
|
116 |
|
|
*sysroot_suffix_spec:
|
117 |
|
|
|
118 |
|
|
|
119 |
|
|
*sysroot_hdrs_suffix_spec:
|
120 |
|
|
|
121 |
|
|
|
122 |
|
|
*subtarget_cc1_spec:
|
123 |
|
|
|
124 |
|
|
|
125 |
|
|
*subtarget_cpp_spec:
|
126 |
|
|
|
127 |
|
|
|
128 |
|
|
*subtarget_cpp_size_spec:
|
129 |
|
|
-D__SIZE_TYPE__=unsigned\ int -D__PTRDIFF_TYPE__=int
|
130 |
|
|
|
131 |
|
|
*microblaze_as_asm_spec:
|
132 |
|
|
%{!.s:-nocpp} %{.s: %{cpp} %{nocpp}} %{pipe: %e-pipe is not supported.} %{K} %(subtarget_microblaze_as_asm_spec)
|
133 |
|
|
|
134 |
|
|
*gas_asm_spec:
|
135 |
|
|
%{v}
|
136 |
|
|
|
137 |
|
|
*target_asm_spec:
|
138 |
|
|
|
139 |
|
|
|
140 |
|
|
*subtarget_microblaze_as_asm_spec:
|
141 |
|
|
%{v}
|
142 |
|
|
|
143 |
|
|
*subtarget_asm_optimizing_spec:
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
*subtarget_asm_debugging_spec:
|
147 |
|
|
%{g} %{g0} %{g1} %{g2} %{g3} %{ggdb:-g} %{ggdb0:-g0} %{ggdb1:-g1} %{ggdb2:-g2} %{ggdb3:-g3} %{gstabs:-g} %{gstabs0:-g0} %{gstabs1:-g1} %{gstabs2:-g2} %{gstabs3:-g3} %{gstabs+:-g} %{gstabs+0:-g0} %{gstabs+1:-g1} %{gstabs+2:-g2} %{gstabs+3:-g3}
|
148 |
|
|
|
149 |
|
|
*subtarget_asm_spec:
|
150 |
|
|
|
151 |
|
|
|
152 |
|
|
*linker_endian_spec:
|
153 |
|
|
|
154 |
|
|
|
155 |
|
|
*startfile_executable:
|
156 |
|
|
crt0.o%s crti.o%s crtbegin.o%s
|
157 |
|
|
|
158 |
|
|
*startfile_xmdstub:
|
159 |
|
|
crt1.o%s crti.o%s crtbegin.o%s
|
160 |
|
|
|
161 |
|
|
*startfile_bootstrap:
|
162 |
|
|
crt2.o%s crti.o%s crtbegin.o%s
|
163 |
|
|
|
164 |
|
|
*startfile_novectors:
|
165 |
|
|
crt3.o%s crti.o%s crtbegin.o%s
|
166 |
|
|
|
167 |
|
|
*startfile_xilkernel:
|
168 |
|
|
crt4.o%s crti.o%s crtbegin.o%s
|
169 |
|
|
|
170 |
|
|
*startfile_crtinit:
|
171 |
|
|
%{!pg: %{!mno-clearbss: crtinit.o%s} %{mno-clearbss: sim-crtinit.o%s}} %{pg: %{!mno-clearbss: pgcrtinit.o%s} %{mno-clearbss: sim-pgcrtinit.o%s}}
|
172 |
|
|
|
173 |
|
|
*startfile_default:
|
174 |
|
|
crt0.o%s crti.o%s crtbegin.o%s
|
175 |
|
|
|
176 |
|
|
*link_command:
|
177 |
|
|
%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S: %(linker) %l %{pie:-pie} %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r} %{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}} %{static:} %{L*} %(mfwrap) %(link_libgcc) %o %(mflib) %{fprofile-arcs|fprofile-generate|coverage:-lgcov} %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %(link_gcc_c_sequence)}} %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}}}}}
|
178 |
|
|
|