Advertisement
davisroman

gcc dumpspecs realtek toolchain

Jan 4th, 2022
41
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. *asm:
  2. %{G*} %(endian_spec) %{mips1} %{mips2} %{mips3} %{mips4} %{mips32*} %{mips64*} %{mips16} %{mno-mips16:-no-mips16} %{mmicromips} %{mno-micromips} %{mips3d} %{mno-mips3d:-no-mips3d} %{mdmx} %{mno-mdmx:-no-mdmx} %{mdsp} %{mno-dsp} %{mdspr2} %{mno-dspr2} %{mmcu} %{mno-mcu} %{meva} %{mno-eva} %{mvirt} %{mno-virt} %{mxpa} %{mno-xpa} %{msmartmips} %{mno-smartmips} %{mmt} %{mno-mt} %{mfix-rm7000} %{mno-fix-rm7000} %{mfix-vr4120} %{mfix-vr4130} %{mfix-24k} %{mfix-rx3081} %{mno-fix-rx3081} %{noasmopt:-O0; O0|fno-delayed-branch:-O1; O*:-O2; :-O1} %(subtarget_asm_debugging_spec) %{mabi=*} %{!mabi=*: %(asm_abi_default_spec)} %{mgp32} %{mgp64} %{march=*} %{mce=*} %{mxgot:-xgot} %{mfp32} %{mfpxx} %{mfp64} %{mnan=*} %{modd-spreg} %{mno-odd-spreg} %{mshared} %{mno-shared} %{msym32} %{mno-sym32} %{mtune=*} %{ffix-bdsl} %{Wpossible-load-use:-warn-possible-load-use} %{Wmissing-delay-slot:-warn-missing-delay-slot}%{mhard-float} %{msoft-float} %{msingle-float} %{mdouble-float}%(subtarget_asm_spec)
  3.  
  4. *asm_debug:
  5. %{!g0:%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}} %{fdebug-prefix-map=*:--debug-prefix-map %*}
  6.  
  7. *asm_final:
  8. %{gsplit-dwarf:
  9. objcopy --extract-dwo %{c:%{o*:%*}%{!o*:%b%O}}%{!c:%U%O} %{c:%{o*:%:replace-extension(%{o*:%*} .dwo)}%{!o*:%b.dwo}}%{!c:%b.dwo}
  10. objcopy --strip-dwo %{c:%{o*:%*}%{!o*:%b%O}}%{!c:%U%O} }
  11.  
  12. *asm_options:
  13. %{-target-help:%:print-asm-header()} %{v} %{w:-W} %{I*} %{gz*:%e-gz is not supported in this configuration} %a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}
  14.  
  15. *invoke_as:
  16. %{!fwpa*: %{fcompare-debug=*|fdump-final-insns=*:%:compare-debug-dump-opt()} %{!S:-o %|.s |
  17. as %(asm_options) %m.s %A } }
  18.  
  19. *cpp:
  20. %(subtarget_cpp_spec)
  21.  
  22. *cpp_options:
  23. %(cpp_unique_options) %1 %{m*} %{std*&ansi&trigraphs} %{W*&pedantic*} %{w} %{f*} %{g*:%{!g0:%{g*} %{!fno-working-directory:-fworking-directory}}} %{O*} %{undef} %{save-temps*:-fpch-preprocess}
  24.  
  25. *cpp_debug_options:
  26. %{d*}
  27.  
  28. *cpp_unique_options:
  29. %{!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:%{!MT:%{!MQ:%{MD|MMD:%{o*:-MQ %*}}}}}}} %{remap} %{g3|ggdb3|gstabs3|gcoff3|gxcoff3|gvms3:-dD} %{!iplugindir*:%{fplugin*:%:find-plugindir()}} %{H} %C %{D*&U*&A*} %{i*} %Z %i %{E|M|MM:%W{o*}}
  30.  
  31. *trad_capable_cpp:
  32. cc1 -E %{traditional|traditional-cpp:-traditional-cpp}
  33.  
  34. *cc1:
  35. %{m3081:-march=3081} %{m4081:-march=4081} %{m4180:-march=4180} %{m4181:-march=4181} %{m4281:-march=4281} %{m5181:-march=5181} %{m5280:-march=5280} %{m5281:-march=5281} %{G*} %{EB:-meb} %{EL:-mel} %{EB:%{EL:%emay not use both -EB and -EL}} %(subtarget_cc1_spec)
  36.  
  37. *cc1_options:
  38. %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}} %{!iplugindir*:%{fplugin*:%:find-plugindir()}} %1 %{!Q:-quiet} %{!dumpbase:-dumpbase %B} %{d*} %{m*} %{aux-info*} %{fcompare-debug-second:%:compare-debug-auxbase-opt(%b)} %{!fcompare-debug-second:%{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} %{Qy:} %{-help:--help} %{-target-help:--target-help} %{-version:--version} %{-help=*:--help=%*} %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}} %{fsyntax-only:-o %j} %{-param*} %{coverage:-fprofile-arcs -ftest-coverage}
  39.  
  40. *cc1plus:
  41. %{!mandroid|tno-android-cc:;:%{!fexceptions:%{!fno-exceptions: -fno-exceptions}} %{!frtti:%{!fno-rtti: -fno-rtti}}}
  42.  
  43. *link_gcc_c_sequence:
  44. %{static:--start-group} %G %L %{static:--end-group}%{!static:%G}
  45.  
  46. *link_ssp:
  47. %{fstack-protector|fstack-protector-all|fstack-protector-strong|fstack-protector-explicit:}
  48.  
  49. *endfile:
  50. %{!mandroid|tno-android-ld:%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} %{fvtable-verify=none:%s; fvtable-verify=preinit:vtv_end_preinit.o%s; fvtable-verify=std:vtv_end.o%s} %{static:crtend.o%s; shared|pie:crtendS.o%s; :crtend.o%s} crtn.o%s ;:%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} %{shared: crtend_so%O%s;: crtend_android%O%s}}
  51.  
  52. *link:
  53. %{!r:--build-id} %{!static:--eh-frame-hdr} %{!mandroid|tno-android-ld: %{G*} %{EB} %{EL} %{mips*} %{shared} %{!shared: %{!static: %{rdynamic:-export-dynamic} %{mabi=n32: -dynamic-linker %{mglibc:%{mnan=2008:/lib32/ld-linux-mipsn8.so.1;:/lib32/ld.so.1};:%{mbionic:/system/bin/linker32;:%{mmusl:/lib/ld-musl-mipsn32%{EL:el}%{msoft-float:-sf}.so.1;:%{mnan=2008:/lib32/ld-uClibc-mipsn8.so.0;:/lib32/ld-uClibc.so.0}}}}} %{mabi=64: -dynamic-linker %{mglibc:%{mnan=2008:/lib64/ld-linux-mipsn8.so.1;:/lib64/ld.so.1};:%{mbionic:/system/bin/linker64;:%{mmusl:/lib/ld-musl-mips64%{EL:el}%{msoft-float:-sf}.so.1;:%{mnan=2008:/lib/ld64-uClibc-mipsn8.so.0;:/lib/ld64-uClibc.so.0}}}}} %{mabi=32: -dynamic-linker %{mglibc:%{mnan=2008:/lib/ld-linux-mipsn8.so.1;:/lib/ld.so.1};:%{mbionic:/system/bin/linker;:%{mmusl:/lib/ld-musl-mips%{EL:el}%{msoft-float:-sf}.so.1;:%{mnan=2008:/lib/ld-uClibc-mipsn8.so.0;:/lib/ld-uClibc.so.0}}}}}} %{static}} %{mabi=n32:-melf32%{EB:b}%{EL:l}tsmipn32} %{mabi=64:-melf64%{EB:b}%{EL:l}tsmip} %{mabi=32:-melf32%{EB:b}%{EL:l}tsmip};: %{G*} %{EB} %{EL} %{mips*} %{shared} %{!shared: %{!static: %{rdynamic:-export-dynamic} %{mabi=n32: -dynamic-linker %{mglibc:%{mnan=2008:/lib32/ld-linux-mipsn8.so.1;:/lib32/ld.so.1};:%{mbionic:/system/bin/linker32;:%{mmusl:/lib/ld-musl-mipsn32%{EL:el}%{msoft-float:-sf}.so.1;:%{mnan=2008:/lib32/ld-uClibc-mipsn8.so.0;:/lib32/ld-uClibc.so.0}}}}} %{mabi=64: -dynamic-linker %{mglibc:%{mnan=2008:/lib64/ld-linux-mipsn8.so.1;:/lib64/ld.so.1};:%{mbionic:/system/bin/linker64;:%{mmusl:/lib/ld-musl-mips64%{EL:el}%{msoft-float:-sf}.so.1;:%{mnan=2008:/lib/ld64-uClibc-mipsn8.so.0;:/lib/ld64-uClibc.so.0}}}}} %{mabi=32: -dynamic-linker %{mglibc:%{mnan=2008:/lib/ld-linux-mipsn8.so.1;:/lib/ld.so.1};:%{mbionic:/system/bin/linker;:%{mmusl:/lib/ld-musl-mips%{EL:el}%{msoft-float:-sf}.so.1;:%{mnan=2008:/lib/ld-uClibc-mipsn8.so.0;:/lib/ld-uClibc.so.0}}}}}} %{static}} %{mabi=n32:-melf32%{EB:b}%{EL:l}tsmipn32} %{mabi=64:-melf64%{EB:b}%{EL:l}tsmip} %{mabi=32:-melf32%{EB:b}%{EL:l}tsmip} %{shared: -Bsymbolic}}
  54.  
  55. *lib:
  56. %{!mandroid|tno-android-ld:%{pthread:-lpthread} %{shared:-lc} %{!shared:%{profile:-lc_p}%{!profile:-lc}};:%{shared:-lc} %{!shared:%{profile:-lc_p}%{!profile:-lc}} %{!static: -ldl}}
  57.  
  58. *link_gomp:
  59.  
  60.  
  61. *libgcc:
  62. %{static|static-libgcc:-lgcc -lgcc_eh}%{!static:%{!static-libgcc:%{!shared-libgcc:-lgcc --as-needed -lgcc_s --no-as-needed}%{shared-libgcc:-lgcc_s%{!shared: -lgcc}}}}
  63.  
  64. *startfile:
  65. %{!mandroid|tno-android-ld:%{shared:; pg|p|profile:gcrt1.o%s; static:crt1.o%s; pie:Scrt1.o%s; :crt1.o%s} crti.o%s %{static:crtbeginT.o%s; shared|pie:crtbeginS.o%s; :crtbegin.o%s} %{fvtable-verify=none:%s; fvtable-verify=preinit:vtv_start_preinit.o%s; fvtable-verify=std:vtv_start.o%s} ;:%{shared: crtbegin_so%O%s;: %{static: crtbegin_static%O%s;: crtbegin_dynamic%O%s}}}
  66.  
  67. *cross_compile:
  68. 1
  69.  
  70. *version:
  71. 6.5.0
  72.  
  73. *multilib:
  74. . !march=4281 !march=5181 !march=5281 !EL !mhard-float;4281 march=4281 !march=5181 !march=5281 !EL !mhard-float;5181 !march=4281 march=5181 !march=5281 !EL !mhard-float;5281 !march=4281 !march=5181 march=5281 !EL !mhard-float;el !march=4281 !march=5181 !march=5281 EL !mhard-float;4281/el march=4281 !march=5181 !march=5281 EL !mhard-float;4281/hard-float march=4281 !march=5181 !march=5281 !EL mhard-float;4281/el/hard-float march=4281 !march=5181 !march=5281 EL mhard-float;5181/el !march=4281 march=5181 !march=5281 EL !mhard-float;5281/el !march=4281 !march=5181 march=5281 EL !mhard-float;5281/hard-float !march=4281 !march=5181 march=5281 !EL mhard-float;5281/el/hard-float !march=4281 !march=5181 march=5281 EL mhard-float;
  75.  
  76. *multilib_defaults:
  77. EB mips1 mabi=32
  78.  
  79. *multilib_extra:
  80.  
  81.  
  82. *multilib_matches:
  83. mel EL;march=4281 march=4281;march=5181 march=5181;march=5281 march=5281;EL EL;mhard-float mhard-float;
  84.  
  85. *multilib_exclusions:
  86.  
  87.  
  88. *multilib_options:
  89. march=4281/march=5181/march=5281 EL mhard-float
  90.  
  91. *multilib_reuse:
  92.  
  93.  
  94. *linker:
  95. collect2
  96.  
  97. *linker_plugin_file:
  98.  
  99.  
  100. *lto_wrapper:
  101.  
  102.  
  103. *lto_gcc:
  104.  
  105.  
  106. *post_link:
  107.  
  108.  
  109. *link_libgcc:
  110. %D
  111.  
  112. *md_exec_prefix:
  113.  
  114.  
  115. *md_startfile_prefix:
  116.  
  117.  
  118. *md_startfile_prefix_1:
  119.  
  120.  
  121. *startfile_prefix_spec:
  122.  
  123.  
  124. *sysroot_spec:
  125. --sysroot=%R
  126.  
  127. *sysroot_suffix_spec:
  128.  
  129.  
  130. *sysroot_hdrs_suffix_spec:
  131.  
  132.  
  133. *self_spec:
  134.  
  135.  
  136. *subtarget_cc1_spec:
  137. %{!mandroid|tno-android-cc:%{profile:-p};:%{profile:-p} %{!mglibc:%{!muclibc:%{!mbionic: -mbionic}}} %{!fno-pic:%{!fno-PIC:%{!fpic:%{!fPIC: -fPIC}}}}}
  138.  
  139. *subtarget_cpp_spec:
  140. %{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}
  141.  
  142. *subtarget_asm_debugging_spec:
  143. %{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} %{gcoff:-g} %{gcoff0:-g0} %{gcoff1:-g1} %{gcoff2:-g2} %{gcoff3:-g3} %{gcoff*:-mdebug} %{!gcoff*:-no-mdebug}
  144.  
  145. *subtarget_asm_spec:
  146. %{!mno-abicalls:%{mplt:-call_nonpic;:-KPIC}}
  147.  
  148. *asm_abi_default_spec:
  149. -mabi=32
  150.  
  151. *endian_spec:
  152. %{!EL:%{!mel:-EB}} %{EL|mel:-EL}
  153.  
  154. *link_command:
  155. %{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S: %(linker) %{!fno-use-linker-plugin:%{!fno-lto: -plugin %(linker_plugin_file) -plugin-opt=%(lto_wrapper) -plugin-opt=-fresolution=%u.res %{!nostdlib:%{!nodefaultlibs:%:pass-through-libs(%(link_gcc_c_sequence))}} }}%{flto|flto=*:%<fcompare-debug*} %{flto} %{fno-lto} %{flto=*} %l %{static|shared|r:;pie:-pie} %{fuse-ld=*:-fuse-ld=%*} %{gz*:%e-gz is not supported in this configuration} %X %{o*} %{e*} %{N} %{n} %{r} %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!nostartfiles:%S}} %{static|no-pie:} %{L*} %(mfwrap) %(link_libgcc) %{!nostdlib:%{fvtable-verify=std: -lvtv -u_vtable_map_vars_start -u_vtable_map_vars_end} %{fvtable-verify=preinit: -lvtv -u_vtable_map_vars_start -u_vtable_map_vars_end}} %{!nostdlib:%{!nodefaultlibs:%{%:sanitize(address):%{!shared:libasan_preinit%O%s} %{static-libasan:%{!shared:-Bstatic --whole-archive -lasan --no-whole-archive -Bdynamic}}%{!static-libasan:-lasan}} %{%:sanitize(thread):%{static-libtsan:%{!shared:-Bstatic --whole-archive -ltsan --no-whole-archive -Bdynamic}}%{!static-libtsan:-ltsan}} %{%:sanitize(leak):%{static-liblsan:%{!shared:-Bstatic --whole-archive -llsan --no-whole-archive -Bdynamic}}%{!static-liblsan:-llsan}}}} %o %{fopenacc|fopenmp|%:gt(%{ftree-parallelize-loops=*:%*} 1): %:include(libgomp.spec)%(link_gomp)} %{fcilkplus:%:include(libcilkrts.spec)%(link_cilkrts)} %{fgnu-tm:%:include(libitm.spec)%(link_itm)} %(mflib) %{fsplit-stack: --wrap=pthread_create} %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} %{!nostdlib:%{!nodefaultlibs:%{%:sanitize(address): %{static-libasan:%:include(libsanitizer.spec)%(link_libasan)} %{static:%ecannot specify -static with -fsanitize=address}} %{%:sanitize(thread): %{static-libtsan:%:include(libsanitizer.spec)%(link_libtsan)} %{static:%ecannot specify -static with -fsanitize=thread}} %{%:sanitize(undefined):%{static-libubsan:-Bstatic} -lubsan %{static-libubsan:-Bdynamic} %{static-libubsan:%:include(libsanitizer.spec)%(link_libubsan)}} %{%:sanitize(leak): %{static-liblsan:%:include(libsanitizer.spec)%(link_liblsan)}}}} %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %(link_gcc_c_sequence)}} %{!nostdlib:%{!nostartfiles:%E}} %{T*}
  156. %(post_link) }}}}}}
  157.  
  158.  
Advertisement
RAW Paste Data Copied
Advertisement