annotate libgcc/config.host @ 158:494b0b89df80 default tip

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