annotate libgcc/config.host @ 118:fd00160c1b76

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