*asm:
|
*asm:
|
%{microblaze1} %(target_asm_spec) %(subtarget_asm_spec)
|
%{microblaze1} %(target_asm_spec) %(subtarget_asm_spec)
|
|
|
*asm_debug:
|
*asm_debug:
|
%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}
|
%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}
|
|
|
*asm_final:
|
*asm_final:
|
|
|
|
|
*asm_options:
|
*asm_options:
|
%a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}
|
%a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}
|
|
|
*invoke_as:
|
*invoke_as:
|
%{!S:-o %|.s |
|
%{!S:-o %|.s |
|
as %(asm_options) %m.s %A }
|
as %(asm_options) %m.s %A }
|
|
|
*cpp:
|
*cpp:
|
%{.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}
|
%{.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}
|
|
|
*cpp_options:
|
*cpp_options:
|
%(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}
|
%(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}
|
|
|
*cpp_debug_options:
|
*cpp_debug_options:
|
%{d*}
|
%{d*}
|
|
|
*cpp_unique_options:
|
*cpp_unique_options:
|
%{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*}}
|
%{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*}}
|
|
|
*trad_capable_cpp:
|
*trad_capable_cpp:
|
cc1 -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}
|
cc1 -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp}
|
|
|
*cc1:
|
*cc1:
|
%{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}
|
%{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}
|
|
|
*cc1_options:
|
*cc1_options:
|
%{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}
|
%{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}
|
|
|
*cc1plus:
|
*cc1plus:
|
|
|
|
|
*link_gcc_c_sequence:
|
*link_gcc_c_sequence:
|
%G %L %G
|
%G %L %G
|
|
|
*link_ssp:
|
*link_ssp:
|
%{fstack-protector|fstack-protector-all:-lssp_nonshared -lssp}
|
%{fstack-protector|fstack-protector-all:-lssp_nonshared -lssp}
|
|
|
*endfile:
|
*endfile:
|
crtend.o%s crtn.o%s
|
crtend.o%s crtn.o%s
|
|
|
*link:
|
*link:
|
%{shared:-shared} -N -relax %{Zxl-mode-xmdstub:-defsym _TEXT_START_ADDR=0x800} %{!mxl-gp-opt: -G 0} %{!Wl,-T*: %{!T*: -T xilinx.ld%s}}
|
%{shared:-shared} -N -relax %{Zxl-mode-xmdstub:-defsym _TEXT_START_ADDR=0x800} %{!mxl-gp-opt: -G 0} %{!Wl,-T*: %{!T*: -T xilinx.ld%s}}
|
|
|
*lib:
|
*lib:
|
%{!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 }}
|
%{!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 }}
|
|
|
*mfwrap:
|
*mfwrap:
|
%{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}
|
%{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}
|
|
|
*mflib:
|
*mflib:
|
%{fmudflap|fmudflapth: -export-dynamic}
|
%{fmudflap|fmudflapth: -export-dynamic}
|
|
|
*libgcc:
|
*libgcc:
|
-lgcc
|
-lgcc
|
|
|
*startfile:
|
*startfile:
|
%{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)
|
%{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)
|
|
|
*switches_need_spaces:
|
*switches_need_spaces:
|
|
|
|
|
*cross_compile:
|
*cross_compile:
|
1
|
1
|
|
|
*version:
|
*version:
|
4.1.1
|
4.1.1
|
|
|
*multilib:
|
*multilib:
|
. !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;
|
. !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;
|
|
|
*multilib_defaults:
|
*multilib_defaults:
|
|
|
|
|
*multilib_extra:
|
*multilib_extra:
|
|
|
|
|
*multilib_matches:
|
*multilib_matches:
|
mxl-barrel-shift mxl-barrel-shift;mno-xl-soft-mul mno-xl-soft-mul;mxl-multiply-high mxl-multiply-high;
|
mxl-barrel-shift mxl-barrel-shift;mno-xl-soft-mul mno-xl-soft-mul;mxl-multiply-high mxl-multiply-high;
|
|
|
*multilib_exclusions:
|
*multilib_exclusions:
|
|
|
|
|
*multilib_options:
|
*multilib_options:
|
mxl-barrel-shift mno-xl-soft-mul mxl-multiply-high
|
mxl-barrel-shift mno-xl-soft-mul mxl-multiply-high
|
|
|
*linker:
|
*linker:
|
collect2
|
collect2
|
|
|
*link_libgcc:
|
*link_libgcc:
|
%D
|
%D
|
|
|
*md_exec_prefix:
|
*md_exec_prefix:
|
|
|
|
|
*md_startfile_prefix:
|
*md_startfile_prefix:
|
|
|
|
|
*md_startfile_prefix_1:
|
*md_startfile_prefix_1:
|
|
|
|
|
*startfile_prefix_spec:
|
*startfile_prefix_spec:
|
|
|
|
|
*sysroot_spec:
|
*sysroot_spec:
|
--sysroot=%R
|
--sysroot=%R
|
|
|
*sysroot_suffix_spec:
|
*sysroot_suffix_spec:
|
|
|
|
|
*sysroot_hdrs_suffix_spec:
|
*sysroot_hdrs_suffix_spec:
|
|
|
|
|
*subtarget_cc1_spec:
|
*subtarget_cc1_spec:
|
|
|
|
|
*subtarget_cpp_spec:
|
*subtarget_cpp_spec:
|
|
|
|
|
*subtarget_cpp_size_spec:
|
*subtarget_cpp_size_spec:
|
-D__SIZE_TYPE__=unsigned\ int -D__PTRDIFF_TYPE__=int
|
-D__SIZE_TYPE__=unsigned\ int -D__PTRDIFF_TYPE__=int
|
|
|
*microblaze_as_asm_spec:
|
*microblaze_as_asm_spec:
|
%{!.s:-nocpp} %{.s: %{cpp} %{nocpp}} %{pipe: %e-pipe is not supported.} %{K} %(subtarget_microblaze_as_asm_spec)
|
%{!.s:-nocpp} %{.s: %{cpp} %{nocpp}} %{pipe: %e-pipe is not supported.} %{K} %(subtarget_microblaze_as_asm_spec)
|
|
|
*gas_asm_spec:
|
*gas_asm_spec:
|
%{v}
|
%{v}
|
|
|
*target_asm_spec:
|
*target_asm_spec:
|
|
|
|
|
*subtarget_microblaze_as_asm_spec:
|
*subtarget_microblaze_as_asm_spec:
|
%{v}
|
%{v}
|
|
|
*subtarget_asm_optimizing_spec:
|
*subtarget_asm_optimizing_spec:
|
|
|
|
|
*subtarget_asm_debugging_spec:
|
*subtarget_asm_debugging_spec:
|
%{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}
|
%{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}
|
|
|
*subtarget_asm_spec:
|
*subtarget_asm_spec:
|
|
|
|
|
*linker_endian_spec:
|
*linker_endian_spec:
|
|
|
|
|
*startfile_executable:
|
*startfile_executable:
|
crt0.o%s crti.o%s crtbegin.o%s
|
crt0.o%s crti.o%s crtbegin.o%s
|
|
|
*startfile_xmdstub:
|
*startfile_xmdstub:
|
crt1.o%s crti.o%s crtbegin.o%s
|
crt1.o%s crti.o%s crtbegin.o%s
|
|
|
*startfile_bootstrap:
|
*startfile_bootstrap:
|
crt2.o%s crti.o%s crtbegin.o%s
|
crt2.o%s crti.o%s crtbegin.o%s
|
|
|
*startfile_novectors:
|
*startfile_novectors:
|
crt3.o%s crti.o%s crtbegin.o%s
|
crt3.o%s crti.o%s crtbegin.o%s
|
|
|
*startfile_xilkernel:
|
*startfile_xilkernel:
|
crt4.o%s crti.o%s crtbegin.o%s
|
crt4.o%s crti.o%s crtbegin.o%s
|
|
|
*startfile_crtinit:
|
*startfile_crtinit:
|
%{!pg: %{!mno-clearbss: crtinit.o%s} %{mno-clearbss: sim-crtinit.o%s}} %{pg: %{!mno-clearbss: pgcrtinit.o%s} %{mno-clearbss: sim-pgcrtinit.o%s}}
|
%{!pg: %{!mno-clearbss: crtinit.o%s} %{mno-clearbss: sim-crtinit.o%s}} %{pg: %{!mno-clearbss: pgcrtinit.o%s} %{mno-clearbss: sim-pgcrtinit.o%s}}
|
|
|
*startfile_default:
|
*startfile_default:
|
crt0.o%s crti.o%s crtbegin.o%s
|
crt0.o%s crti.o%s crtbegin.o%s
|
|
|
*link_command:
|
*link_command:
|
%{!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*} }}}}}}
|
%{!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*} }}}}}}
|
|
|
|
|