config.host 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346
  1. # libgcc host-specific configuration file.
  2. # Copyright (C) 1997-2015 Free Software Foundation, Inc.
  3. #This file is part of GCC.
  4. #GCC is free software; you can redistribute it and/or modify it under
  5. #the terms of the GNU General Public License as published by the Free
  6. #Software Foundation; either version 3, or (at your option) any later
  7. #version.
  8. #GCC is distributed in the hope that it will be useful, but WITHOUT
  9. #ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. #FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  11. #for more details.
  12. #You should have received a copy of the GNU General Public License
  13. #along with GCC; see the file COPYING3. If not see
  14. #<http://www.gnu.org/licenses/>.
  15. # This is the libgcc host-specific configuration file
  16. # where a configuration type is mapped to different system-specific
  17. # definitions and files. This is invoked by the autoconf-generated
  18. # configure script. Putting it in a separate shell file lets us skip
  19. # running autoconf when modifying host-specific information.
  20. # This file bears an obvious resemblance to gcc/config.gcc. The cases
  21. # should be kept similar, to ease moving library-specific settings
  22. # from config.gcc to this file. That is also why tmake_file is
  23. # left as tmake_file, rather than hmake_file, even though this library
  24. # switches on ${host}.
  25. # This file switches on the shell variable ${host}, and also uses the
  26. # following shell variables:
  27. #
  28. # with_* Various variables as set by configure.
  29. # This file sets the following shell variables for use by the
  30. # autoconf-generated configure script:
  31. #
  32. # asm_hidden_op The assembler pseudo-op to use for hide
  33. # lists for object files implemented in
  34. # assembly (with -fvisibility=hidden for C).
  35. # The default is ".hidden".
  36. # cpu_type The name of the cpu, if different from the first
  37. # chunk of the canonical host name.
  38. # enable_execute_stack The name of a source file implementing
  39. # __enable_execute_stack.
  40. # extra_parts List of extra object files that should be compiled
  41. # for this target machine. This may be overridden
  42. # by setting EXTRA_PARTS in a tmake_file fragment.
  43. # If either is set, EXTRA_PARTS and
  44. # EXTRA_MULTILIB_PARTS inherited from the GCC
  45. # subdirectory will be ignored.
  46. # md_unwind_header The name of a header file defining
  47. # MD_FALLBACK_FRAME_STATE_FOR.
  48. # sfp_machine_header The name of a sfp-machine.h header file for soft-fp.
  49. # Defaults to "$cpu_type/sfp-machine.h" if it exists,
  50. # no-sfp-machine.h otherwise.
  51. # tmake_file A list of machine-description-specific
  52. # makefile fragments.
  53. # tm_defines List of target macros to define for all compilations.
  54. # tm_file A list of target macro files used only for code
  55. # built for the target, not the host. These files
  56. # are relative to $srcdir/config and must not have
  57. # the same names as files in $srcdir/../gcc/config.
  58. # unwind_header The name of the header file declaring the unwind
  59. # runtime interface routines.
  60. asm_hidden_op=.hidden
  61. enable_execute_stack=
  62. extra_parts=
  63. tmake_file=
  64. tm_file=
  65. tm_define=
  66. md_unwind_header=no-unwind.h
  67. unwind_header=unwind-generic.h
  68. # Set default cpu_type so it can be updated in each machine entry.
  69. cpu_type=`echo ${host} | sed 's/-.*$//'`
  70. case ${host} in
  71. m32c*-*-*)
  72. cpu_type=m32c
  73. tmake_file=t-fdpbit
  74. ;;
  75. aarch64*-*-*)
  76. cpu_type=aarch64
  77. ;;
  78. alpha*-*-*)
  79. cpu_type=alpha
  80. ;;
  81. am33_2.0-*-linux*)
  82. cpu_type=mn10300
  83. ;;
  84. arc*-*-*)
  85. cpu_type=arc
  86. ;;
  87. arm*-*-*)
  88. cpu_type=arm
  89. ;;
  90. avr-*-*)
  91. cpu_type=avr
  92. ;;
  93. bfin*-*)
  94. cpu_type=bfin
  95. ;;
  96. cr16-*-*)
  97. ;;
  98. crisv32-*-*)
  99. cpu_type=cris
  100. ;;
  101. fido-*-*)
  102. cpu_type=m68k
  103. ;;
  104. frv*) cpu_type=frv
  105. ;;
  106. moxie*) cpu_type=moxie
  107. ;;
  108. i[34567]86-*-*)
  109. cpu_type=i386
  110. ;;
  111. x86_64-*-*)
  112. cpu_type=i386
  113. ;;
  114. ia64-*-*)
  115. ;;
  116. hppa*-*-*)
  117. cpu_type=pa
  118. ;;
  119. lm32*-*-*)
  120. cpu_type=lm32
  121. ;;
  122. m32r*-*-*)
  123. cpu_type=m32r
  124. ;;
  125. m68k-*-*)
  126. ;;
  127. mep*-*-*)
  128. ;;
  129. microblaze*-*-*)
  130. cpu_type=microblaze
  131. ;;
  132. mips*-*-*)
  133. # All MIPS targets provide a full set of FP routines.
  134. cpu_type=mips
  135. tmake_file="mips/t-mips"
  136. if test "${libgcc_cv_mips_hard_float}" = yes; then
  137. tmake_file="${tmake_file} t-hardfp-sfdf t-hardfp"
  138. else
  139. tmake_file="${tmake_file} t-softfp-sfdf"
  140. fi
  141. if test "${ac_cv_sizeof_long_double}" = 16; then
  142. tmake_file="${tmake_file} mips/t-softfp-tf"
  143. fi
  144. if test "${host_address}" = 64; then
  145. tmake_file="${tmake_file} mips/t-mips64"
  146. fi
  147. tmake_file="${tmake_file} t-softfp"
  148. ;;
  149. nds32*-*)
  150. cpu_type=nds32
  151. ;;
  152. nios2*-*-*)
  153. cpu_type=nios2
  154. ;;
  155. powerpc*-*-*)
  156. cpu_type=rs6000
  157. ;;
  158. rs6000*-*-*)
  159. ;;
  160. sparc64*-*-*)
  161. cpu_type=sparc
  162. ;;
  163. sparc*-*-*)
  164. cpu_type=sparc
  165. ;;
  166. spu*-*-*)
  167. cpu_type=spu
  168. ;;
  169. s390*-*-*)
  170. cpu_type=s390
  171. ;;
  172. # Note the 'l'; we need to be able to match e.g. "shle" or "shl".
  173. sh[123456789lbe]*-*-*)
  174. cpu_type=sh
  175. ;;
  176. tilegx*-*-*)
  177. cpu_type=tilegx
  178. ;;
  179. tilepro*-*-*)
  180. cpu_type=tilepro
  181. ;;
  182. v850*-*-*)
  183. cpu_type=v850
  184. ;;
  185. tic6x-*-*)
  186. cpu_type=c6x
  187. ;;
  188. esac
  189. # Common parts for widely ported systems.
  190. case ${host} in
  191. *-*-darwin*)
  192. asm_hidden_op=.private_extern
  193. tmake_file="$tmake_file t-darwin ${cpu_type}/t-darwin t-libgcc-pic t-slibgcc-darwin"
  194. extra_parts="crt3.o crttms.o crttme.o"
  195. ;;
  196. *-*-dragonfly*)
  197. tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip"
  198. tmake_file="$tmake_file t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver"
  199. extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
  200. ;;
  201. *-*-freebsd*)
  202. # This is the generic ELF configuration of FreeBSD. Later
  203. # machine-specific sections may refine and add to this
  204. # configuration.
  205. tmake_file="$tmake_file t-freebsd t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver"
  206. extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
  207. case ${target_thread_file} in
  208. posix)
  209. tmake_file="${tmake_file} t-freebsd-thread"
  210. # Before 5.0, FreeBSD can't bind shared libraries to -lc
  211. # when "optionally" threaded via weak pthread_* checks.
  212. case ${host} in
  213. *-*-freebsd[34] | *-*-freebsd[34].*)
  214. tmake_file="${tmake_file} t-slibgcc-nolc-override"
  215. ;;
  216. esac
  217. ;;
  218. esac
  219. ;;
  220. *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu)
  221. tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux"
  222. extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
  223. if test x$enable_vtable_verify = xyes; then
  224. extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
  225. fi
  226. ;;
  227. *-*-lynxos*)
  228. tmake_file="$tmake_file t-lynx $cpu_type/t-crtstuff t-crtstuff-pic t-libgcc-pic"
  229. extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
  230. ;;
  231. *-*-netbsd*)
  232. tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver"
  233. # NetBSD 1.7 and later are set up to use GCC's crtstuff for
  234. # ELF configurations. We will clear extra_parts in the
  235. # a.out configurations.
  236. case ${host} in
  237. *-*-netbsd*1.[7-9]* | *-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*)
  238. extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
  239. ;;
  240. esac
  241. ;;
  242. *-*-openbsd*)
  243. tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip"
  244. case ${target_thread_file} in
  245. posix)
  246. tmake_file="$tmake_file t-openbsd-thread"
  247. ;;
  248. esac
  249. ;;
  250. *-*-rtems*)
  251. tmake_file="$tmake_file t-rtems"
  252. extra_parts="crtbegin.o crtend.o"
  253. ;;
  254. *-*-solaris2*)
  255. # Unless linker support and dl_iterate_phdr are present,
  256. # unwind-dw2-fde-dip.c automatically falls back to unwind-dw2-fde.c.
  257. tmake_file="$tmake_file t-sol2 t-eh-dw2-dip t-libgcc-pic t-slibgcc t-slibgcc-elf-ver"
  258. if test $with_gnu_ld = yes; then
  259. tmake_file="$tmake_file t-slibgcc-gld"
  260. else
  261. tmake_file="$tmake_file t-slibgcc-sld"
  262. fi
  263. # Add cpu-specific t-sol2 after t-slibgcc-* so it can augment SHLIB_MAPFILES.
  264. tmake_file="$tmake_file $cpu_type/t-sol2"
  265. extra_parts="gmon.o crtbegin.o crtend.o"
  266. case ${host} in
  267. i?86-*-solaris2.1[0-9]* | x86_64-*-solaris2.1[0-9]*)
  268. # Solaris 10+/x86 provides crt1.o, crti.o, crtn.o, and gcrt1.o as
  269. # part of the base system.
  270. ;;
  271. sparc*-*-solaris2.1[0-9]*)
  272. # Solaris 10+/SPARC lacks crt1.o and gcrt1.o.
  273. extra_parts="$extra_parts crt1.o gcrt1.o"
  274. ;;
  275. *)
  276. extra_parts="$extra_parts crt1.o crti.o crtn.o gcrt1.o"
  277. ;;
  278. esac
  279. ;;
  280. *-*-uclinux*)
  281. extra_parts="crtbegin.o crtend.o"
  282. ;;
  283. *-*-*vms*)
  284. tmake_file="vms/t-vms"
  285. extra_parts="crt0.o crtbegin.o crtbeginS.o crtend.o crtendS.o"
  286. ;;
  287. *-*-vxworks*)
  288. tmake_file=t-vxworks
  289. ;;
  290. *-*-elf)
  291. extra_parts="crtbegin.o crtend.o"
  292. ;;
  293. esac
  294. case ${host} in
  295. *-*-darwin* | *-*-dragonfly* | *-*-freebsd* | *-*-netbsd* | *-*-openbsd* | \
  296. *-*-solaris2*)
  297. enable_execute_stack=enable-execute-stack-mprotect.c
  298. ;;
  299. i[34567]86-*-mingw* | x86_64-*-mingw*)
  300. enable_execute_stack=config/i386/enable-execute-stack-mingw32.c
  301. ;;
  302. *)
  303. enable_execute_stack=enable-execute-stack-empty.c;
  304. ;;
  305. esac
  306. case ${host} in
  307. aarch64*-*-elf)
  308. extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o"
  309. extra_parts="$extra_parts crtfastmath.o"
  310. tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
  311. tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
  312. ;;
  313. aarch64*-*-linux*)
  314. extra_parts="$extra_parts crtfastmath.o"
  315. md_unwind_header=aarch64/linux-unwind.h
  316. tmake_file="${tmake_file} ${cpu_type}/t-aarch64"
  317. tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp t-crtfm"
  318. ;;
  319. alpha*-*-linux*)
  320. tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm alpha/t-linux"
  321. extra_parts="$extra_parts crtfastmath.o"
  322. md_unwind_header=alpha/linux-unwind.h
  323. ;;
  324. alpha*-*-freebsd*)
  325. tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee t-crtfm"
  326. extra_parts="$extra_parts crtbeginT.o crtfastmath.o"
  327. ;;
  328. alpha*-*-netbsd*)
  329. tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee"
  330. ;;
  331. alpha*-*-openbsd*)
  332. tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee"
  333. ;;
  334. alpha64-dec-*vms*)
  335. tmake_file="$tmake_file alpha/t-alpha alpha/t-ieee alpha/t-vms t-slibgcc-vms"
  336. extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o"
  337. md_unwind_header=alpha/vms-unwind.h
  338. ;;
  339. alpha*-dec-*vms*)
  340. tmake_file="$tmake_file alpha/t-alpha alpha/t-ieee alpha/t-vms t-slibgcc-vms"
  341. extra_parts="$extra_parts vms-dwarf2.o vms-dwarf2eh.o"
  342. md_unwind_header=alpha/vms-unwind.h
  343. ;;
  344. arc*-*-elf*)
  345. tmake_file="arc/t-arc-newlib arc/t-arc"
  346. extra_parts="crti.o crtn.o crtend.o crtbegin.o crtendS.o crtbeginS.o libgmon.a crtg.o crtgend.o"
  347. ;;
  348. arc*-*-linux-uclibc*)
  349. tmake_file="${tmake_file} t-slibgcc-libgcc t-slibgcc-nolc-override arc/t-arc700-uClibc arc/t-arc"
  350. extra_parts="crti.o crtn.o crtend.o crtbegin.o crtendS.o crtbeginS.o libgmon.a crtg.o crtgend.o"
  351. ;;
  352. arm-wrs-vxworks)
  353. tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
  354. extra_parts="$extra_parts crti.o crtn.o"
  355. ;;
  356. arm*-*-freebsd*) # ARM FreeBSD EABI
  357. tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix arm/t-elf"
  358. tmake_file="${tmake_file} arm/t-bpabi arm/t-freebsd t-slibgcc-libgcc"
  359. tm_file="${tm_file} arm/bpabi-lib.h"
  360. unwind_header=config/arm/unwind-arm.h
  361. tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
  362. ;;
  363. arm*-*-netbsdelf*)
  364. tmake_file="$tmake_file arm/t-arm arm/t-netbsd t-slibgcc-gld-nover"
  365. ;;
  366. arm*-*-linux*) # ARM GNU/Linux with ELF
  367. tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix"
  368. tmake_file="${tmake_file} arm/t-elf arm/t-bpabi arm/t-linux-eabi t-slibgcc-libgcc"
  369. tm_file="$tm_file arm/bpabi-lib.h"
  370. unwind_header=config/arm/unwind-arm.h
  371. tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
  372. ;;
  373. arm*-*-uclinux*) # ARM ucLinux
  374. tmake_file="${tmake_file} t-fixedpoint-gnu-prefix"
  375. tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
  376. tmake_file="${tmake_file} arm/t-bpabi"
  377. tm_file="$tm_file arm/bpabi-lib.h"
  378. unwind_header=config/arm/unwind-arm.h
  379. extra_parts="$extra_parts crti.o crtn.o"
  380. ;;
  381. arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
  382. tmake_file="${tmake_file} arm/t-arm arm/t-elf t-fixedpoint-gnu-prefix"
  383. tm_file="$tm_file arm/bpabi-lib.h"
  384. case ${host} in
  385. arm*-*-eabi* | arm*-*-rtems*)
  386. tmake_file="${tmake_file} arm/t-bpabi"
  387. extra_parts="crtbegin.o crtend.o crti.o crtn.o"
  388. ;;
  389. arm*-*-symbianelf*)
  390. tmake_file="${tmake_file} arm/t-symbian t-slibgcc-nolc-override"
  391. tm_file="$tm_file arm/symbian-lib.h"
  392. # Symbian OS provides its own startup code.
  393. ;;
  394. esac
  395. tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
  396. unwind_header=config/arm/unwind-arm.h
  397. ;;
  398. avr-*-rtems*)
  399. tmake_file="$tmake_file avr/t-avr avr/t-rtems t-fpbit"
  400. tm_file="$tm_file avr/avr-lib.h"
  401. # Don't use default.
  402. extra_parts=
  403. ;;
  404. avr-*-*)
  405. # Make HImode functions for AVR
  406. tmake_file="${cpu_type}/t-avr t-fpbit"
  407. if test x${with_avrlibc} != xno; then
  408. tmake_file="$tmake_file ${cpu_type}/t-avrlibc"
  409. fi
  410. tm_file="$tm_file avr/avr-lib.h"
  411. ;;
  412. bfin*-elf*)
  413. tmake_file="bfin/t-bfin bfin/t-crtlibid bfin/t-crtstuff t-libgcc-pic t-fdpbit"
  414. extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o crtlibid.o"
  415. ;;
  416. bfin*-uclinux*)
  417. tmake_file="bfin/t-bfin bfin/t-crtlibid bfin/t-crtstuff t-libgcc-pic t-fdpbit"
  418. extra_parts="$extra_parts crtbeginS.o crtendS.o crtlibid.o"
  419. md_unwind_header=bfin/linux-unwind.h
  420. ;;
  421. bfin*-linux-uclibc*)
  422. tmake_file="$tmake_file bfin/t-bfin bfin/t-crtstuff t-libgcc-pic t-fdpbit bfin/t-linux"
  423. # No need to build crtbeginT.o on uClibc systems. Should probably
  424. # be moved to the OS specific section above.
  425. extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
  426. md_unwind_header=bfin/linux-unwind.h
  427. ;;
  428. bfin*-rtems*)
  429. tmake_file="$tmake_file bfin/t-bfin t-fdpbit"
  430. extra_parts="$extra_parts crti.o crtn.o"
  431. ;;
  432. bfin*-*)
  433. tmake_file="$tmake_file bfin/t-bfin t-fdpbit"
  434. extra_parts="crtbegin.o crtend.o crti.o crtn.o"
  435. ;;
  436. cr16-*-elf)
  437. tmake_file="${tmake_file} cr16/t-cr16 cr16/t-crtlibid t-fdpbit"
  438. extra_parts="$extra_parts crti.o crtn.o crtlibid.o"
  439. ;;
  440. crisv32-*-elf)
  441. tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp"
  442. ;;
  443. cris-*-elf)
  444. tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp cris/t-elfmulti"
  445. ;;
  446. cris-*-linux* | crisv32-*-linux*)
  447. tmake_file="$tmake_file cris/t-cris t-softfp-sfdf t-softfp cris/t-linux"
  448. ;;
  449. epiphany-*-elf*)
  450. tmake_file="epiphany/t-epiphany t-fdpbit epiphany/t-custom-eqsf"
  451. extra_parts="$extra_parts crti.o crtint.o crtrunc.o crtm1reg-r43.o crtm1reg-r63.o crtn.o"
  452. ;;
  453. fr30-*-elf)
  454. tmake_file="$tmake_file fr30/t-fr30 t-fdpbit"
  455. extra_parts="$extra_parts crti.o crtn.o"
  456. ;;
  457. frv-*-elf)
  458. tmake_file="$tmake_file frv/t-frv t-fdpbit"
  459. tm_file="$tm_file frv/frv-abi.h"
  460. # Don't use crtbegin.o, crtend.o.
  461. extra_parts="frvbegin.o frvend.o"
  462. ;;
  463. frv-*-*linux*)
  464. tmake_file="$tmake_file frv/t-frv frv/t-linux t-fdpbit"
  465. tm_file="$tm_file frv/frv-abi.h"
  466. ;;
  467. h8300-*-rtems*)
  468. tmake_file="$tmake_file h8300/t-h8300 t-fpbit"
  469. tm_file="$tm_file h8300/h8300-lib.h"
  470. extra_parts="$extra_parts crti.o crtn.o"
  471. ;;
  472. h8300-*-elf*)
  473. tmake_file="$tmake_file h8300/t-h8300 t-fpbit"
  474. tm_file="$tm_file h8300/h8300-lib.h"
  475. extra_parts="$extra_parts crti.o crtn.o"
  476. ;;
  477. hppa*64*-*-linux*)
  478. tmake_file="$tmake_file pa/t-linux pa/t-linux64"
  479. extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
  480. ;;
  481. hppa*-*-linux*)
  482. tmake_file="$tmake_file pa/t-linux t-slibgcc-libgcc"
  483. # Set the libgcc version number
  484. if test x$enable_sjlj_exceptions = xyes; then
  485. tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
  486. else
  487. tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
  488. fi
  489. extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o"
  490. md_unwind_header=pa/linux-unwind.h
  491. ;;
  492. hppa[12]*-*-hpux10*)
  493. tmake_file="$tmake_file pa/t-hpux pa/t-hpux10 t-libgcc-pic t-slibgcc"
  494. # Set the libgcc version number
  495. if test x$enable_sjlj_exceptions = xyes; then
  496. tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
  497. else
  498. tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
  499. fi
  500. tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux"
  501. md_unwind_header=pa/hpux-unwind.h
  502. ;;
  503. hppa*64*-*-hpux11*)
  504. tmake_file="$tmake_file pa/t-hpux pa/t-pa64 pa/t-stublib t-libgcc-pic t-slibgcc"
  505. # Set the libgcc version number
  506. if test x$enable_sjlj_exceptions = xyes; then
  507. tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
  508. else
  509. tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
  510. fi
  511. tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux"
  512. extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o \
  513. libgcc_stub.a"
  514. md_unwind_header=pa/hpux-unwind.h
  515. ;;
  516. hppa[12]*-*-hpux11*)
  517. tmake_file="$tmake_file pa/t-hpux pa/t-stublib t-libgcc-pic t-slibgcc"
  518. # Set the libgcc version number
  519. if test x$enable_sjlj_exceptions = xyes; then
  520. tmake_file="$tmake_file pa/t-slibgcc-sjlj-ver"
  521. else
  522. tmake_file="$tmake_file pa/t-slibgcc-dwarf-ver"
  523. fi
  524. tmake_file="$tmake_file pa/t-slibgcc-hpux t-slibgcc-hpux"
  525. extra_parts="libgcc_stub.a"
  526. md_unwind_header=pa/hpux-unwind.h
  527. ;;
  528. hppa*-*-openbsd*)
  529. tmake_file="$tmake_file pa/t-openbsd"
  530. ;;
  531. i[34567]86-*-darwin*)
  532. tmake_file="$tmake_file i386/t-crtpc i386/t-crtfm"
  533. tm_file="$tm_file i386/darwin-lib.h"
  534. extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
  535. ;;
  536. x86_64-*-darwin*)
  537. tmake_file="$tmake_file i386/t-crtpc i386/t-crtfm"
  538. tm_file="$tm_file i386/darwin-lib.h"
  539. extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
  540. ;;
  541. i[34567]86-*-elf*)
  542. tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic"
  543. ;;
  544. x86_64-*-elf*)
  545. tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic"
  546. ;;
  547. i[34567]86-*-dragonfly*)
  548. tmake_file="${tmake_file} i386/t-dragonfly i386/t-crtstuff"
  549. md_unwind_header=i386/dragonfly-unwind.h
  550. ;;
  551. x86_64-*-dragonfly*)
  552. tmake_file="${tmake_file} i386/t-dragonfly i386/t-crtstuff"
  553. md_unwind_header=i386/dragonfly-unwind.h
  554. ;;
  555. i[34567]86-*-freebsd*)
  556. tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff"
  557. md_unwind_header=i386/freebsd-unwind.h
  558. ;;
  559. x86_64-*-freebsd*)
  560. tmake_file="${tmake_file} i386/t-freebsd i386/t-crtstuff"
  561. md_unwind_header=i386/freebsd-unwind.h
  562. ;;
  563. i[34567]86-*-netbsdelf*)
  564. ;;
  565. x86_64-*-netbsd*)
  566. tmake_file="${tmake_file} i386/t-crtstuff"
  567. ;;
  568. i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123])
  569. ;;
  570. i[34567]86-*-openbsd*)
  571. ;;
  572. x86_64-*-openbsd*)
  573. ;;
  574. i[34567]86-*-linux*)
  575. extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
  576. tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
  577. tm_file="${tm_file} i386/elf-lib.h"
  578. md_unwind_header=i386/linux-unwind.h
  579. ;;
  580. i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu)
  581. extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
  582. tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
  583. tm_file="${tm_file} i386/elf-lib.h"
  584. ;;
  585. x86_64-*-linux*)
  586. extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
  587. tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
  588. tm_file="${tm_file} i386/elf-lib.h"
  589. md_unwind_header=i386/linux-unwind.h
  590. ;;
  591. x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
  592. extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
  593. tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
  594. tm_file="${tm_file} i386/elf-lib.h"
  595. ;;
  596. i[34567]86-pc-msdosdjgpp*)
  597. ;;
  598. i[34567]86-*-lynxos*)
  599. ;;
  600. i[34567]86-*-nto-qnx*)
  601. tmake_file="$tmake_file i386/t-nto t-libgcc-pic"
  602. extra_parts=crtbegin.o
  603. ;;
  604. i[34567]86-*-rtems*)
  605. tmake_file="$tmake_file i386/t-crtstuff t-softfp-sfdf t-softfp"
  606. extra_parts="$extra_parts crti.o crtn.o"
  607. ;;
  608. i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
  609. tmake_file="$tmake_file i386/t-crtpc i386/t-crtfm"
  610. extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
  611. tm_file="${tm_file} i386/elf-lib.h"
  612. md_unwind_header=i386/sol2-unwind.h
  613. ;;
  614. i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
  615. ;;
  616. i[34567]86-*-cygwin*)
  617. extra_parts="crtbegin.o crtbeginS.o crtend.o crtfastmath.o"
  618. if test x$enable_vtable_verify = xyes; then
  619. extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
  620. fi
  621. # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
  622. if test x$enable_sjlj_exceptions = xyes; then
  623. tmake_eh_file="i386/t-sjlj-eh"
  624. else
  625. tmake_eh_file="i386/t-dw2-eh"
  626. fi
  627. # Shared libgcc DLL install dir depends on cross/native build.
  628. if test x${build} = x${host} ; then
  629. tmake_dlldir_file="i386/t-dlldir"
  630. else
  631. tmake_dlldir_file="i386/t-dlldir-x"
  632. fi
  633. tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-cygwin i386/t-crtfm i386/t-chkstk t-dfprules"
  634. ;;
  635. x86_64-*-cygwin*)
  636. extra_parts="crtbegin.o crtbeginS.o crtend.o crtfastmath.o"
  637. if test x$enable_vtable_verify = xyes; then
  638. extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
  639. fi
  640. # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
  641. if test x$enable_sjlj_exceptions = xyes; then
  642. tmake_eh_file="i386/t-sjlj-eh"
  643. else
  644. tmake_eh_file="i386/t-seh-eh"
  645. fi
  646. # Shared libgcc DLL install dir depends on cross/native build.
  647. if test x${build} = x${host} ; then
  648. tmake_dlldir_file="i386/t-dlldir"
  649. else
  650. tmake_dlldir_file="i386/t-dlldir-x"
  651. fi
  652. # FIXME - dj - t-chkstk used to be in here, need a 64-bit version of that
  653. tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-cygwin i386/t-crtfm t-dfprules i386/t-chkstk"
  654. ;;
  655. i[34567]86-*-mingw*)
  656. extra_parts="crtbegin.o crtend.o crtfastmath.o"
  657. if test x$enable_vtable_verify = xyes; then
  658. extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
  659. fi
  660. case ${target_thread_file} in
  661. win32)
  662. tmake_file="$tmake_file i386/t-gthr-win32"
  663. ;;
  664. posix)
  665. tmake_file="i386/t-mingw-pthread $tmake_file"
  666. ;;
  667. esac
  668. # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
  669. if test x$enable_sjlj_exceptions = xyes; then
  670. tmake_eh_file="i386/t-sjlj-eh"
  671. else
  672. tmake_eh_file="i386/t-dw2-eh"
  673. md_unwind_header=i386/w32-unwind.h
  674. fi
  675. # Shared libgcc DLL install dir depends on cross/native build.
  676. if test x${build} = x${host} ; then
  677. tmake_dlldir_file="i386/t-dlldir"
  678. else
  679. tmake_dlldir_file="i386/t-dlldir-x"
  680. fi
  681. tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-mingw32 i386/t-crtfm i386/t-chkstk t-dfprules"
  682. ;;
  683. x86_64-*-mingw*)
  684. case ${target_thread_file} in
  685. win32)
  686. tmake_file="$tmake_file i386/t-gthr-win32"
  687. ;;
  688. posix)
  689. tmake_file="i386/t-mingw-pthread $tmake_file"
  690. ;;
  691. esac
  692. # This has to match the logic for DWARF2_UNWIND_INFO in gcc/config/i386/cygming.h
  693. if test x$enable_sjlj_exceptions = xyes; then
  694. tmake_eh_file="i386/t-sjlj-eh"
  695. else
  696. tmake_eh_file="i386/t-seh-eh"
  697. fi
  698. # Shared libgcc DLL install dir depends on cross/native build.
  699. if test x${build} = x${host} ; then
  700. tmake_dlldir_file="i386/t-dlldir"
  701. else
  702. tmake_dlldir_file="i386/t-dlldir-x"
  703. fi
  704. tmake_file="${tmake_file} ${tmake_eh_file} ${tmake_dlldir_file} i386/t-slibgcc-cygming i386/t-cygming i386/t-mingw32 t-dfprules i386/t-crtfm i386/t-chkstk"
  705. extra_parts="$extra_parts crtbegin.o crtend.o crtfastmath.o"
  706. if test x$enable_vtable_verify = xyes; then
  707. extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o"
  708. fi
  709. ;;
  710. i[34567]86-*-interix[3-9]*)
  711. tmake_file="$tmake_file i386/t-interix i386/t-chkstk"
  712. ;;
  713. ia64*-*-elf*)
  714. extra_parts="$extra_parts crtbeginS.o crtendS.o crtfastmath.o"
  715. tmake_file="ia64/t-ia64 ia64/t-ia64-elf ia64/t-eh-ia64 t-crtfm"
  716. ;;
  717. ia64*-*-freebsd*)
  718. extra_parts="$extra_parts crtfastmath.o"
  719. tmake_file="$tmake_file ia64/t-ia64 ia64/t-ia64-elf ia64/t-eh-ia64 t-crtfm"
  720. ;;
  721. ia64*-*-linux*)
  722. # Don't use crtbeginT.o from *-*-linux* default.
  723. extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
  724. tmake_file="$tmake_file ia64/t-ia64 ia64/t-ia64-elf t-crtfm t-softfp-tf ia64/t-softfp t-softfp ia64/t-softfp-compat ia64/t-eh-ia64 t-libunwind ia64/t-linux"
  725. if test x$with_system_libunwind != xyes ; then
  726. tmake_file="${tmake_file} t-libunwind-elf ia64/t-linux-libunwind"
  727. fi
  728. md_unwind_header=ia64/linux-unwind.h
  729. ;;
  730. ia64*-*-hpux*)
  731. tmake_file="ia64/t-ia64 ia64/t-ia64-elf ia64/t-hpux t-slibgcc ia64/t-slibgcc-hpux t-slibgcc-hpux"
  732. ;;
  733. ia64-hp-*vms*)
  734. tmake_file="$tmake_file ia64/t-ia64 ia64/t-eh-ia64 ia64/t-vms t-slibgcc-vms"
  735. extra_parts="$extra_parts crtinitS.o"
  736. md_unwind_header=ia64/vms-unwind.h
  737. ;;
  738. iq2000*-*-elf*)
  739. tmake_file="iq2000/t-iq2000 t-fdpbit"
  740. # Don't use default.
  741. extra_parts=
  742. ;;
  743. lm32-*-elf*)
  744. extra_parts="$extra_parts crti.o crtn.o"
  745. tmake_file="lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp"
  746. ;;
  747. lm32-*-rtems*)
  748. tmake_file="$tmake_file lm32/t-lm32 lm32/t-elf t-softfp-sfdf t-softfp"
  749. extra_parts="$extra_parts crti.o crtn.o"
  750. ;;
  751. lm32-*-uclinux*)
  752. extra_parts="$extra_parts crtbegin.o crtendS.o crtbeginT.o"
  753. tmake_file="lm32/t-lm32 lm32/t-uclinux t-libgcc-pic t-softfp-sfdf t-softfp"
  754. ;;
  755. m32r-*-elf*)
  756. tmake_file=t-fdpbit
  757. ;;
  758. m32r-*-rtems*)
  759. tmake_file="$tmake_file m32r/t-m32r t-fdpbit"
  760. extra_parts="$extra_parts crtinit.o crtfini.o"
  761. ;;
  762. m32rle-*-elf*)
  763. tmake_file=t-fdpbit
  764. ;;
  765. m32r-*-linux*)
  766. tmake_file="$tmake_file m32r/t-linux t-fdpbit"
  767. ;;
  768. m32rle-*-linux*)
  769. tmake_file="$tmake_file m32r/t-linux t-fdpbit"
  770. ;;
  771. m68k-*-elf* | fido-*-elf)
  772. tmake_file="$tmake_file m68k/t-floatlib"
  773. ;;
  774. m68k*-*-netbsdelf*)
  775. ;;
  776. m68k*-*-openbsd*)
  777. ;;
  778. m68k-*-uclinux*) # Motorola m68k/ColdFire running uClinux with uClibc
  779. tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux"
  780. md_unwind_header=m68k/linux-unwind.h
  781. ;;
  782. m68k-*-linux*) # Motorola m68k's running GNU/Linux
  783. # with ELF format using glibc 2
  784. # aka the GNU/Linux C library 6.
  785. tmake_file="$tmake_file m68k/t-floatlib m68k/t-linux"
  786. # If not configured with --enable-sjlj-exceptions, bump the
  787. # libgcc version number.
  788. if test x$enable_sjlj_exceptions != xyes; then
  789. tmake_file="$tmake_file m68k/t-slibgcc-elf-ver"
  790. fi
  791. md_unwind_header=m68k/linux-unwind.h
  792. ;;
  793. m68k-*-rtems*)
  794. tmake_file="$tmake_file m68k/t-floatlib"
  795. extra_parts="$extra_parts crti.o crtn.o"
  796. ;;
  797. mcore-*-elf)
  798. tmake_file="mcore/t-mcore t-fdpbit"
  799. extra_parts="$extra_parts crti.o crtn.o"
  800. ;;
  801. microblaze*-linux*)
  802. tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit t-slibgcc-libgcc"
  803. ;;
  804. microblaze*-*-elf)
  805. tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit"
  806. extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o"
  807. ;;
  808. microblaze*-*-rtems*)
  809. tmake_file="${tmake_file} microblaze/t-microblaze t-fdpbit"
  810. extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o crti.o crtn.o"
  811. ;;
  812. mips*-*-netbsd*) # NetBSD/mips, either endian.
  813. ;;
  814. mips*-*-linux*) # Linux MIPS, either endian.
  815. extra_parts="$extra_parts crtfastmath.o"
  816. tmake_file="${tmake_file} t-crtfm"
  817. case ${host} in
  818. mips64r5900* | mipsr5900*)
  819. # The MIPS16 support code uses floating point
  820. # instructions that are not supported on r5900.
  821. ;;
  822. *)
  823. tmake_file="${tmake_file} mips/t-mips16 t-slibgcc-libgcc"
  824. ;;
  825. esac
  826. md_unwind_header=mips/linux-unwind.h
  827. ;;
  828. mips*-sde-elf*)
  829. tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"
  830. case "${with_newlib}" in
  831. yes)
  832. # newlib / libgloss.
  833. ;;
  834. *)
  835. # MIPS toolkit libraries.
  836. tmake_file="$tmake_file mips/t-sdemtk"
  837. ;;
  838. esac
  839. extra_parts="$extra_parts crti.o crtn.o"
  840. ;;
  841. mipsisa32-*-elf* | mipsisa32el-*-elf* | \
  842. mipsisa32r2-*-elf* | mipsisa32r2el-*-elf* | \
  843. mipsisa32r6-*-elf* | mipsisa32r6el-*-elf* | \
  844. mipsisa64-*-elf* | mipsisa64el-*-elf* | \
  845. mipsisa64r2-*-elf* | mipsisa64r2el-*-elf* | \
  846. mipsisa64r6-*-elf* | mipsisa64r6el-*-elf*)
  847. tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
  848. extra_parts="$extra_parts crti.o crtn.o"
  849. ;;
  850. mipsisa64sr71k-*-elf*)
  851. tmake_file="$tmake_file mips/t-elf mips/t-crtstuff t-fdpbit"
  852. extra_parts="$extra_parts crti.o crtn.o"
  853. ;;
  854. mipsisa64sb1-*-elf* | mipsisa64sb1el-*-elf*)
  855. tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
  856. extra_parts="$extra_parts crti.o crtn.o"
  857. ;;
  858. mips-*-elf* | mipsel-*-elf*)
  859. tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
  860. extra_parts="$extra_parts crti.o crtn.o"
  861. ;;
  862. mipsr5900-*-elf* | mipsr5900el-*-elf*)
  863. tmake_file="$tmake_file mips/t-elf mips/t-crtstuff"
  864. extra_parts="$extra_parts crti.o crtn.o"
  865. ;;
  866. mips64-*-elf* | mips64el-*-elf*)
  867. tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
  868. extra_parts="$extra_parts crti.o crtn.o"
  869. ;;
  870. mips64r5900-*-elf* | mips64r5900el-*-elf*)
  871. tmake_file="$tmake_file mips/t-elf mips/t-crtstuff"
  872. extra_parts="$extra_parts crti.o crtn.o"
  873. ;;
  874. mips64vr-*-elf* | mips64vrel-*-elf*)
  875. tmake_file="$tmake_file mips/t-elf mips/t-vr mips/t-crtstuff"
  876. extra_parts="$extra_parts crti.o crtn.o"
  877. ;;
  878. mips64orion-*-elf* | mips64orionel-*-elf*)
  879. tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
  880. extra_parts="$extra_parts crti.o crtn.o"
  881. ;;
  882. mips*-*-rtems*)
  883. tmake_file="$tmake_file mips/t-elf mips/t-crtstuff mips/t-mips16"
  884. extra_parts="$extra_parts crti.o crtn.o"
  885. ;;
  886. mips-wrs-vxworks)
  887. ;;
  888. mipstx39-*-elf* | mipstx39el-*-elf*)
  889. tmake_file="$tmake_file mips/t-crtstuff mips/t-mips16"
  890. ;;
  891. mmix-knuth-mmixware)
  892. extra_parts="crti.o crtn.o crtbegin.o crtend.o"
  893. tmake_file="${tmake_file} ${cpu_type}/t-${cpu_type}"
  894. ;;
  895. mn10300-*-*)
  896. tmake_file=t-fdpbit
  897. ;;
  898. moxie-*-elf | moxie-*-moxiebox* | moxie-*-uclinux*)
  899. tmake_file="moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp"
  900. extra_parts="$extra_parts crti.o crtn.o crtbegin.o crtend.o"
  901. ;;
  902. moxie-*-rtems*)
  903. tmake_file="$tmake_file moxie/t-moxie t-softfp-sfdf t-softfp-excl t-softfp"
  904. # Don't use default.
  905. extra_parts=
  906. ;;
  907. msp430*-*-elf)
  908. tmake_file="$tm_file t-crtstuff t-fdpbit msp430/t-msp430"
  909. ;;
  910. nds32*-elf*)
  911. # Basic makefile fragment and extra_parts for crt stuff.
  912. # We also append c-isr library implementation.
  913. tmake_file="${tmake_file} nds32/t-nds32 nds32/t-nds32-isr"
  914. extra_parts="crtbegin1.o crtend1.o libnds32_isr.a"
  915. # Append library definition makefile fragment according to --with-nds32-lib=X setting.
  916. case "${with_nds32_lib}" in
  917. "" | newlib)
  918. # Append library definition makefile fragment t-nds32-newlib.
  919. # Append 'soft-fp' software floating point make rule fragment provided by gcc.
  920. tmake_file="${tmake_file} nds32/t-nds32-newlib t-softfp-sfdf t-softfp"
  921. ;;
  922. mculib)
  923. # Append library definition makefile fragment t-nds32-mculib.
  924. # The software floating point library is included in mculib.
  925. tmake_file="${tmake_file} nds32/t-nds32-mculib"
  926. ;;
  927. *)
  928. echo "Cannot accept --with-nds32-lib=$with_nds32_lib, available values are: newlib mculib" 1>&2
  929. exit 1
  930. ;;
  931. esac
  932. ;;
  933. nios2-*-linux*)
  934. tmake_file="$tmake_file nios2/t-nios2 nios2/t-linux t-libgcc-pic t-slibgcc-libgcc"
  935. md_unwind_header=nios2/linux-unwind.h
  936. ;;
  937. nios2-*-*)
  938. tmake_file="$tmake_file nios2/t-nios2 t-softfp-sfdf t-softfp-excl t-softfp"
  939. extra_parts="$extra_parts crti.o crtn.o"
  940. ;;
  941. pdp11-*-*)
  942. tmake_file="pdp11/t-pdp11 t-fdpbit"
  943. ;;
  944. powerpc-*-darwin*)
  945. case ${host} in
  946. *-*-darwin9* | *-*-darwin[12][0-9]*)
  947. # libSystem contains unwind information for signal frames since
  948. # Darwin 9.
  949. ;;
  950. *)
  951. md_unwind_header=rs6000/darwin-unwind.h
  952. ;;
  953. esac
  954. tmake_file="$tmake_file rs6000/t-ibm-ldouble"
  955. extra_parts="$extra_parts crt2.o"
  956. ;;
  957. powerpc64-*-darwin*)
  958. tmake_file="$tmake_file rs6000/t-darwin64 rs6000/t-ibm-ldouble"
  959. extra_parts="$extra_parts crt2.o"
  960. ;;
  961. powerpc*-*-freebsd*)
  962. tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-freebsd t-softfp-sfdf t-softfp-excl t-softfp"
  963. extra_parts="$extra_parts crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
  964. case ${host} in
  965. powerpc64*)
  966. tmake_file="${tmake_file} rs6000/t-freebsd64"
  967. md_unwind_header=rs6000/freebsd-unwind.h
  968. ;;
  969. esac
  970. ;;
  971. powerpc-*-netbsd*)
  972. tmake_file="$tmake_file rs6000/t-netbsd rs6000/t-crtstuff"
  973. ;;
  974. powerpc-*-eabispe*)
  975. tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
  976. extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
  977. ;;
  978. powerpc-*-eabisimaltivec*)
  979. tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
  980. extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
  981. ;;
  982. powerpc-*-eabisim*)
  983. tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
  984. extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
  985. ;;
  986. powerpc-*-elf*)
  987. tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
  988. extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
  989. ;;
  990. powerpc-*-eabialtivec*)
  991. tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
  992. extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
  993. ;;
  994. powerpc-xilinx-eabi*)
  995. tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
  996. extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
  997. ;;
  998. powerpc-*-eabi*)
  999. tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
  1000. extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
  1001. ;;
  1002. powerpc-*-rtems*)
  1003. tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
  1004. extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
  1005. ;;
  1006. powerpc*-*-linux*)
  1007. tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff rs6000/t-linux t-dfprules rs6000/t-ppc64-fp t-slibgcc-libgcc"
  1008. case $ppc_fp_type in
  1009. 64)
  1010. ;;
  1011. hard)
  1012. tmake_file="${tmake_file} t-hardfp-sfdf t-hardfp"
  1013. ;;
  1014. soft)
  1015. tmake_file="${tmake_file} t-softfp-sfdf ${ppc_fp_compat} t-softfp"
  1016. ;;
  1017. e500v1)
  1018. tmake_file="${tmake_file} rs6000/t-e500v1-fp ${ppc_fp_compat} t-softfp t-hardfp"
  1019. ;;
  1020. e500v2)
  1021. tmake_file="${tmake_file} t-hardfp-sfdf rs6000/t-e500v2-fp ${ppc_fp_compat} t-softfp t-hardfp"
  1022. ;;
  1023. *)
  1024. echo "Unknown ppc_fp_type $ppc_fp_type" 1>&2
  1025. exit 1
  1026. ;;
  1027. esac
  1028. extra_parts="$extra_parts ecrti.o ecrtn.o ncrti.o ncrtn.o"
  1029. md_unwind_header=rs6000/linux-unwind.h
  1030. ;;
  1031. powerpc-wrs-vxworks|powerpc-wrs-vxworksae|powerpc-wrs-vxworksmils)
  1032. tmake_file="$tmake_file rs6000/t-ppccomm rs6000/t-savresfgpr t-fdpbit"
  1033. ;;
  1034. powerpc-*-lynxos*)
  1035. tmake_file="$tmake_file rs6000/t-lynx t-fdpbit"
  1036. ;;
  1037. powerpcle-*-elf*)
  1038. tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
  1039. extra_parts="$extra_parts crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
  1040. ;;
  1041. powerpcle-*-eabisim*)
  1042. tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
  1043. extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
  1044. ;;
  1045. powerpcle-*-eabi*)
  1046. tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
  1047. extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
  1048. ;;
  1049. rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
  1050. md_unwind_header=rs6000/aix-unwind.h
  1051. tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble"
  1052. ;;
  1053. rs6000-ibm-aix5.1.* | powerpc-ibm-aix5.1.*)
  1054. md_unwind_header=rs6000/aix-unwind.h
  1055. tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble"
  1056. ;;
  1057. rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
  1058. md_unwind_header=rs6000/aix-unwind.h
  1059. tmake_file="t-fdpbit rs6000/t-ppc64-fp rs6000/t-slibgcc-aix rs6000/t-ibm-ldouble rs6000/t-aix-cxa"
  1060. extra_parts="crtcxa.o crtcxa_s.o"
  1061. ;;
  1062. rl78-*-elf)
  1063. tmake_file="$tm_file t-fdpbit rl78/t-rl78"
  1064. ;;
  1065. rx-*-elf)
  1066. tmake_file="rx/t-rx t-fdpbit"
  1067. tm_file="$tm_file rx/rx-abi.h rx/rx-lib.h"
  1068. ;;
  1069. s390-*-linux*)
  1070. tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux s390/32/t-floattodi"
  1071. md_unwind_header=s390/linux-unwind.h
  1072. ;;
  1073. s390x-*-linux*)
  1074. tmake_file="${tmake_file} s390/t-crtstuff s390/t-linux"
  1075. if test "${host_address}" = 32; then
  1076. tmake_file="${tmake_file} s390/32/t-floattodi"
  1077. fi
  1078. md_unwind_header=s390/linux-unwind.h
  1079. ;;
  1080. s390x-ibm-tpf*)
  1081. tmake_file="${tmake_file} s390/t-crtstuff t-libgcc-pic t-eh-dw2-dip"
  1082. extra_parts="crtbeginS.o crtendS.o"
  1083. md_unwind_header=s390/tpf-unwind.h
  1084. ;;
  1085. sh-*-elf* | sh[12346l]*-*-elf*)
  1086. tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit"
  1087. extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \
  1088. libic_invalidate_array_4-100.a \
  1089. libic_invalidate_array_4-200.a \
  1090. libic_invalidate_array_4a.a \
  1091. libgcc-Os-4-200.a libgcc-4-300.a"
  1092. case ${host} in sh64*-*-*)
  1093. tmake_file="$tmake_file sh/t-sh64"
  1094. ;;
  1095. esac
  1096. case ${host} in
  1097. sh*-superh-elf)
  1098. tmake_file="$tmake_file sh/t-superh"
  1099. extra_parts="$extra_parts crt1-mmu.o gcrt1-mmu.o gcrt1.o"
  1100. ;;
  1101. esac
  1102. ;;
  1103. sh-*-linux* | sh[2346lbe]*-*-linux*)
  1104. tmake_file="${tmake_file} sh/t-sh t-slibgcc-libgcc sh/t-linux t-fdpbit"
  1105. case ${host} in sh64*-*-linux*)
  1106. tmake_file="$tmake_file sh/t-sh64"
  1107. ;;
  1108. esac
  1109. md_unwind_header=sh/linux-unwind.h
  1110. ;;
  1111. sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
  1112. sh64-*-netbsd* | sh64l*-*-netbsd*)
  1113. tmake_file="$tmake_file sh/t-sh sh/t-netbsd"
  1114. case ${host} in
  1115. sh5*-*-netbsd* | sh64*-netbsd*)
  1116. tmake_file="$tmake_file sh/t-sh64"
  1117. ;;
  1118. esac
  1119. # NetBSD's C library includes a fast software FP library that
  1120. # has support for setting/setting the rounding mode, exception
  1121. # mask, etc. Therefore, we don't want to include software FP
  1122. # in libgcc.
  1123. ;;
  1124. sh-*-rtems*)
  1125. tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit"
  1126. extra_parts="$extra_parts crt1.o crti.o crtn.o crtbeginS.o crtendS.o \
  1127. libic_invalidate_array_4-100.a \
  1128. libic_invalidate_array_4-200.a \
  1129. libic_invalidate_array_4a.a \
  1130. libgcc-Os-4-200.a libgcc-4-300.a"
  1131. ;;
  1132. sh-wrs-vxworks)
  1133. tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit"
  1134. ;;
  1135. sparc-*-netbsdelf*)
  1136. ;;
  1137. sparc64-*-openbsd*)
  1138. ;;
  1139. sparc-*-elf*)
  1140. case ${host} in
  1141. *-leon[3-9]*)
  1142. ;;
  1143. *)
  1144. tmake_file="sparc/t-softmul"
  1145. ;;
  1146. esac
  1147. tmake_file="${tmake_file} t-fdpbit t-crtfm"
  1148. extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
  1149. ;;
  1150. sparc-*-linux*) # SPARC's running GNU/Linux, libc6
  1151. tmake_file="${tmake_file} t-crtfm"
  1152. if test "${host_address}" = 64; then
  1153. tmake_file="$tmake_file sparc/t-linux64"
  1154. fi
  1155. case ${host} in
  1156. *-leon*)
  1157. tmake_file="${tmake_file} t-fdpbit"
  1158. ;;
  1159. *)
  1160. tmake_file="${tmake_file} sparc/t-linux"
  1161. ;;
  1162. esac
  1163. case ${host} in
  1164. *-leon[3-9]*)
  1165. ;;
  1166. *)
  1167. if test "${host_address}" = 32; then
  1168. tmake_file="$tmake_file sparc/t-softmul"
  1169. fi
  1170. ;;
  1171. esac
  1172. extra_parts="$extra_parts crtfastmath.o"
  1173. md_unwind_header=sparc/linux-unwind.h
  1174. ;;
  1175. sparc-*-rtems*)
  1176. tmake_file="$tmake_file sparc/t-elf sparc/t-softmul t-crtfm t-fdpbit"
  1177. extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
  1178. ;;
  1179. sparc*-*-solaris2*)
  1180. tmake_file="$tmake_file t-crtfm"
  1181. extra_parts="$extra_parts crtfastmath.o"
  1182. md_unwind_header=sparc/sol2-unwind.h
  1183. ;;
  1184. sparc64-*-elf*)
  1185. tmake_file="${tmake_file} t-crtfm"
  1186. extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
  1187. ;;
  1188. sparc64-*-rtems*)
  1189. tmake_file="$tmake_file t-crtfm"
  1190. extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
  1191. ;;
  1192. sparc-wrs-vxworks)
  1193. ;;
  1194. sparc64-*-freebsd*|ultrasparc-*-freebsd*)
  1195. tmake_file="$tmake_file t-crtfm"
  1196. extra_parts="$extra_parts crtfastmath.o"
  1197. ;;
  1198. sparc64-*-linux*) # 64-bit SPARC's running GNU/Linux
  1199. extra_parts="$extra_parts crtfastmath.o"
  1200. tmake_file="${tmake_file} t-crtfm sparc/t-linux"
  1201. if test "${host_address}" = 64; then
  1202. tmake_file="${tmake_file} sparc/t-linux64"
  1203. fi
  1204. if test "${host_address}" = 32; then
  1205. tmake_file="${tmake_file} sparc/t-softmul"
  1206. fi
  1207. md_unwind_header=sparc/linux-unwind.h
  1208. ;;
  1209. sparc64-*-netbsd*)
  1210. ;;
  1211. spu-*-elf*)
  1212. tmake_file="$tmake_file spu/t-elf t-libgcc-pic t-fdpbit"
  1213. extra_parts="$extra_parts \
  1214. libgcc_cachemgr.a libgcc_cachemgr_nonatomic.a \
  1215. libgcc_cache8k.a libgcc_cache16k.a libgcc_cache32k.a \
  1216. libgcc_cache64k.a libgcc_cache128k.a"
  1217. ;;
  1218. tic6x-*-uclinux)
  1219. tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp \
  1220. c6x/t-elf c6x/t-uclinux t-crtstuff-pic t-libgcc-pic \
  1221. t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-gnu-prefix"
  1222. tm_file="$tm_file c6x/c6x-abi.h"
  1223. extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o"
  1224. unwind_header=config/c6x/unwind-c6x.h
  1225. ;;
  1226. tic6x-*-elf)
  1227. tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl t-softfp t-gnu-prefix c6x/t-elf"
  1228. tm_file="$tm_file c6x/c6x-abi.h"
  1229. extra_parts="$extra_parts crtbeginS.o crtendS.o crti.o crtn.o"
  1230. unwind_header=config/c6x/unwind-c6x.h
  1231. ;;
  1232. tilegx*-*-linux*)
  1233. tmake_file="${tmake_file} tilegx/t-crtstuff t-softfp-sfdf tilegx/t-softfp t-softfp tilegx/t-tilegx"
  1234. md_unwind_header=tilepro/linux-unwind.h
  1235. ;;
  1236. tilepro*-*-linux*)
  1237. tmake_file="${tmake_file} tilepro/t-crtstuff t-softfp-sfdf t-softfp tilepro/t-tilepro"
  1238. md_unwind_header=tilepro/linux-unwind.h
  1239. ;;
  1240. v850*-*-*)
  1241. tmake_file="${tmake_file} v850/t-v850 t-fdpbit"
  1242. ;;
  1243. vax-*-linux*)
  1244. tmake_file="$tmake_file vax/t-linux"
  1245. ;;
  1246. vax-*-netbsdelf*)
  1247. ;;
  1248. vax-*-openbsd*)
  1249. ;;
  1250. visium-*-elf*)
  1251. extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o"
  1252. tmake_file="visium/t-visium t-fdpbit"
  1253. ;;
  1254. xstormy16-*-elf)
  1255. tmake_file="stormy16/t-stormy16 t-fdpbit"
  1256. ;;
  1257. xtensa*-*-elf*)
  1258. tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-elf"
  1259. extra_parts="$extra_parts crti.o crtn.o"
  1260. ;;
  1261. xtensa*-*-linux*)
  1262. tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux t-slibgcc-libgcc"
  1263. md_unwind_header=xtensa/linux-unwind.h
  1264. ;;
  1265. am33_2.0-*-linux*)
  1266. # Don't need crtbeginT.o from *-*-linux* default.
  1267. extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
  1268. tmake_file="$tmake_file t-fdpbit"
  1269. ;;
  1270. m32c-*-elf*|m32c-*-rtems*)
  1271. tmake_file="$tmake_file m32c/t-m32c"
  1272. ;;
  1273. mep*-*-*)
  1274. tmake_file="mep/t-mep t-fdpbit"
  1275. extra_parts="crtbegin.o crtend.o"
  1276. ;;
  1277. nvptx-*)
  1278. tmake_file="$tmake_file nvptx/t-nvptx"
  1279. extra_parts="crt0.o"
  1280. ;;
  1281. *)
  1282. echo "*** Configuration ${host} not supported" 1>&2
  1283. exit 1
  1284. ;;
  1285. esac
  1286. case ${host} in
  1287. i[34567]86-*-* | x86_64-*-*)
  1288. tmake_file="${tmake_file} i386/t-cpuinfo"
  1289. ;;
  1290. esac
  1291. case ${host} in
  1292. i[34567]86-*-linux* | x86_64-*-linux* | \
  1293. i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
  1294. i[34567]86-*-knetbsd*-gnu | \
  1295. i[34567]86-*-gnu*)
  1296. tmake_file="${tmake_file} t-tls i386/t-linux"
  1297. if test "$libgcc_cv_cfi" = "yes"; then
  1298. tmake_file="${tmake_file} t-stack i386/t-stack-i386"
  1299. fi
  1300. ;;
  1301. esac
  1302. case ${host} in
  1303. i[34567]86-*-darwin* | x86_64-*-darwin* | \
  1304. i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu | \
  1305. i[34567]86-*-linux* | x86_64-*-linux* | \
  1306. i[34567]86-*-gnu* | \
  1307. i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]* | \
  1308. i[34567]86-*-cygwin* | x86_64-*-cygwin* | \
  1309. i[34567]86-*-mingw* | x86_64-*-mingw* | \
  1310. i[34567]86-*-dragonfly* | x86_64-*-dragonfly* | \
  1311. i[34567]86-*-freebsd* | x86_64-*-freebsd* | \
  1312. i[34567]86-*-openbsd* | x86_64-*-openbsd*)
  1313. tmake_file="${tmake_file} t-softfp-tf"
  1314. if test "${host_address}" = 32; then
  1315. tmake_file="${tmake_file} i386/${host_address}/t-softfp"
  1316. fi
  1317. tmake_file="${tmake_file} i386/t-softfp t-softfp"
  1318. ;;
  1319. esac
  1320. case ${host} in
  1321. i[34567]86-*-linux* | x86_64-*-linux*)
  1322. # Provide backward binary compatibility for 64bit Linux/x86.
  1323. if test "${host_address}" = 64; then
  1324. tmake_file="${tmake_file} i386/${host_address}/t-softfp-compat"
  1325. fi
  1326. tm_file="${tm_file} i386/value-unwind.h"
  1327. ;;
  1328. esac