annotate libgcc/config.host @ 138:fc828634a951

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