]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
atomic-compare-exchange-1.c, [...]: Declare main as returning int.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
d59a8fcc
UB
12013-11-07 Uros Bizjak <ubizjak@gmail.com>
2
3 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4 FP_EX_DENORM. Store result to volatile location after SSE division
5 to close interrupt window. Remove unneeded fwait after x87
6 division since interrupt window will be closed by emitted fstp.
7
9954c743
JM
82013-11-06 Joseph Myers <joseph@codesourcery.com>
9
10 * soft-fp/README: Update.
11 * soft-fp/adddf3.c: Update from glibc.
12 * soft-fp/addsf3.c: Likewise.
13 * soft-fp/addtf3.c: Likewise.
14 * soft-fp/divdf3.c: Likewise.
15 * soft-fp/divsf3.c: Likewise.
16 * soft-fp/divtf3.c: Likewise.
17 * soft-fp/double.h: Likewise.
18 * soft-fp/eqdf2.c: Likewise.
19 * soft-fp/eqsf2.c: Likewise.
20 * soft-fp/eqtf2.c: Likewise.
21 * soft-fp/extenddftf2.c: Likewise.
22 * soft-fp/extended.h: Likewise.
23 * soft-fp/extendsfdf2.c: Likewise.
24 * soft-fp/extendsftf2.c: Likewise.
25 * soft-fp/extendxftf2.c: Likewise.
26 * soft-fp/fixdfdi.c: Likewise.
27 * soft-fp/fixdfsi.c: Likewise.
28 * soft-fp/fixdfti.c: Likewise.
29 * soft-fp/fixsfdi.c: Likewise.
30 * soft-fp/fixsfsi.c: Likewise.
31 * soft-fp/fixsfti.c: Likewise.
32 * soft-fp/fixtfdi.c: Likewise.
33 * soft-fp/fixtfsi.c: Likewise.
34 * soft-fp/fixtfti.c: Likewise.
35 * soft-fp/fixunsdfdi.c: Likewise.
36 * soft-fp/fixunsdfsi.c: Likewise.
37 * soft-fp/fixunsdfti.c: Likewise.
38 * soft-fp/fixunssfdi.c: Likewise.
39 * soft-fp/fixunssfsi.c: Likewise.
40 * soft-fp/fixunssfti.c: Likewise.
41 * soft-fp/fixunstfdi.c: Likewise.
42 * soft-fp/fixunstfsi.c: Likewise.
43 * soft-fp/fixunstfti.c: Likewise.
44 * soft-fp/floatdidf.c: Likewise.
45 * soft-fp/floatdisf.c: Likewise.
46 * soft-fp/floatditf.c: Likewise.
47 * soft-fp/floatsidf.c: Likewise.
48 * soft-fp/floatsisf.c: Likewise.
49 * soft-fp/floatsitf.c: Likewise.
50 * soft-fp/floattidf.c: Likewise.
51 * soft-fp/floattisf.c: Likewise.
52 * soft-fp/floattitf.c: Likewise.
53 * soft-fp/floatundidf.c: Likewise.
54 * soft-fp/floatundisf.c: Likewise.
55 * soft-fp/floatunditf.c: Likewise.
56 * soft-fp/floatunsidf.c: Likewise.
57 * soft-fp/floatunsisf.c: Likewise.
58 * soft-fp/floatunsitf.c: Likewise.
59 * soft-fp/floatuntidf.c: Likewise.
60 * soft-fp/floatuntisf.c: Likewise.
61 * soft-fp/floatuntitf.c: Likewise.
62 * soft-fp/gedf2.c: Likewise.
63 * soft-fp/gesf2.c: Likewise.
64 * soft-fp/getf2.c: Likewise.
65 * soft-fp/ledf2.c: Likewise.
66 * soft-fp/lesf2.c: Likewise.
67 * soft-fp/letf2.c: Likewise.
68 * soft-fp/muldf3.c: Likewise.
69 * soft-fp/mulsf3.c: Likewise.
70 * soft-fp/multf3.c: Likewise.
71 * soft-fp/negdf2.c: Likewise.
72 * soft-fp/negsf2.c: Likewise.
73 * soft-fp/negtf2.c: Likewise.
74 * soft-fp/op-1.h: Likewise.
75 * soft-fp/op-2.h: Likewise.
76 * soft-fp/op-4.h: Likewise.
77 * soft-fp/op-8.h: Likewise.
78 * soft-fp/op-common.h: Likewise.
79 * soft-fp/quad.h: Likewise.
80 * soft-fp/single.h: Likewise.
81 * soft-fp/soft-fp.h: Likewise.
82 * soft-fp/subdf3.c: Likewise.
83 * soft-fp/subsf3.c: Likewise.
84 * soft-fp/subtf3.c: Likewise.
85 * soft-fp/truncdfsf2.c: Likewise.
86 * soft-fp/trunctfdf2.c: Likewise.
87 * soft-fp/trunctfsf2.c: Likewise.
88 * soft-fp/trunctfxf2.c: Likewise.
89 * soft-fp/unorddf2.c: Likewise.
90 * soft-fp/unordsf2.c: Likewise.
91 * soft-fp/unordtf2.c: Likewise.
92
02ac9503
UB
932013-11-05 Uros Bizjak <ubizjak@gmail.com>
94
95 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
96 (_FP_MUL_MEAT_D): Ditto.
97 (_FP_DIV_MEAT_S): Ditto.
98 (_FP_DIV_MEAT_D): Ditto.
99 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
100 t-softfp-sfdf and t-softfp to tmake_file.
101
61221141
UB
1022013-11-03 Uros Bizjak <ubizjak@gmail.com>
103
104 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
105 * config/i386/crtprec.c: Ditto.
106
9304f876
CJW
1072013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
108 Shiva Chen <shiva0217@gmail.com>
109
110 * config.host (nds32*-elf*): Add nds32 target.
111 * config/nds32 : New directory and files.
112
0e499e75
HPN
1132013-10-16 Hans-Peter Nilsson <hp@axis.com>
114
115 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
116 * config.host (cpu_type) <Setting default>: Add entry for
117 crisv32-*-*.
118 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
119 <crisv32-*-linux*>: Adjust.
120 * longlong.h: Wrap the whole CRIS section in a single
121 defined(__CRIS__) conditional. Add comment about add_ssaaaa
122 and sub_ddmmss.
123 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
124 defined.
125 [__CRIS__] (__umulsidi3): Define.
126 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
127 * config/cris/sfp-machine.h: New file.
128 * config/cris/umulsidi3.S: New file.
129 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
130 * config/cris/arit.c (SIGNMULT): New macro.
131 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
132 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
133 saving 3 out of originally 33 cycles from the fastest
134 path, 3 out of 54 from the medium path and one from the longest
135 path. Improve comments.
136
16022041
RS
1372013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
138
139 * sync.c: Remove static aliases and define each function directly
140 under its real name.
141
69778659
JDA
1422013-10-02 John David Anglin <danglin@gcc.gnu.org>
143
144 * config.host (hppa*64*-*-linux*): Define extra_parts.
145 (hppa*-*-linux*): Likewise.
146
2deaf8b0
JR
1472013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
148
149 * config/arc/crtgend.S: Add 2013 to Copyright years.
150 * config/arc/gmon/atomic.h: Likewise.
151 * config/arc/gmon/auxreg.h: Likewise.
152 * config/arc/gmon/sys/gmon_out.h: Likewise.
153 * config/arc/gmon/sys/gmon.h: Likewise.
154 * config/arc/gmon/prof-freq.c: Likewise.
155 * config/arc/gmon/mcount.c: Likewise.
156 * config/arc/gmon/prof-freq-stub.S: Likewise.
157 * config/arc/gmon/gmon.c: Likewise.
158 * config/arc/gmon/machine-gmon.h: Likewise.
159 * config/arc/gmon/profil.S: Likewise.
160 * config/arc/gmon/dcache_linesz.S: Likewise.
161 * config/arc/crtg.S: Likewise.
162 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
163 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
164 * config/arc/ieee-754/adddf3.S: Likewise.
165 * config/arc/ieee-754/truncdfsf2.S: Likewise.
166 * config/arc/ieee-754/fixsfsi.S: Likewise.
167 * config/arc/ieee-754/gtsf2.S: Likewise.
168 * config/arc/ieee-754/floatsisf.S: Likewise.
169 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
170 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
171 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
172 * config/arc/ieee-754/fixdfsi.S: Likewise.
173 * config/arc/ieee-754/addsf3.S: Likewise.
174 * config/arc/ieee-754/gesf2.S: Likewise.
175 * config/arc/ieee-754/floatsidf.S: Likewise.
176 * config/arc/ieee-754/extendsfdf2.S: Likewise.
177 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
178 * config/arc/ieee-754/gtdf2.S: Likewise.
179 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
180 * config/arc/ieee-754/uneqdf2.S: Likewise.
181 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
182 * config/arc/ieee-754/uneqsf2.S: Likewise.
183 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
184 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
185 * config/arc/ieee-754/eqdf2.S: Likewise.
186 * config/arc/ieee-754/ordsf2.S: Likewise.
187 * config/arc/ieee-754/divsf3.S: Likewise.
188 * config/arc/ieee-754/divdf3.S: Likewise.
189 * config/arc/ieee-754/floatunsidf.S: Likewise.
190 * config/arc/ieee-754/orddf2.S: Likewise.
191 * config/arc/ieee-754/eqsf2.S: Likewise.
192 * config/arc/ieee-754/gedf2.S: Likewise.
193 * config/arc/crtn.S: Likewise.
194 * config/arc/crti.S: Likewise.
195 * config/arc/t-arc700-uClibc: Likewise.
196 * config/arc/asm.h: Likewise.
197 * config/arc/libgcc-excl.ver: Likewise.
198 * config/arc/t-arc-newlib: Likewise.
199 * config/arc/divtab-arc700.c: Likewise.
200 * config/arc/initfini.c: Likewise.
201 * config/arc/fp-hack.h: Likewise.
202
c8e318b0
JR
2032013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
204 Diego Novillo <dnovillo@google.com>
205
206 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
207 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
208 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
209 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 210
d38a64b4
JR
2112013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
212 Brendan Kehoe <brendan@zen.org>
213 Simon Cook <simon.cook@embecosm.com>
214
215 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
216 * config/arc: New directory.
217 * longlong.h [__arc__] (umul_ppmm): Remove.
218 [__arc__] (__umulsidi3): Define.
219 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
220 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
221
dff717d2
JC
2222013-09-17 Jacek Caban <jacek@codeweavers.com>
223
224 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
225 CreateSemaphoreA.
226 * config/i386/gthr-win32.h: Likewise.
227
5c0029de
DD
2282013-09-16 DJ Delorie <dj@redhat.com>
229
844ad6c6 230 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
231 * config/rl78/lib2mul.c: Enable for RL78/G10.
232 * config/rl78/lib2div.c: Likewise.
233 * config/rl78/lshrsi3.S: Use vregs.h.
234 * config/rl78/cmpsi2.S: Likewise.
235 * config/rl78/trampoline.S: Likewise.
236 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
237
ceb2fc49
DD
2382013-09-14 DJ Delorie <dj@redhat.com>
239 Nick Clifton <nickc@redhat.com>
240
241 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
242 * config/rl78/vregs.h: New.
243 * config/rl78/signbit.S: New file. Implements signbit function.
244 * config/rl78/divmodsi.S: New.
245 * config/rl78/divmodhi.S: New.
246 * config/rl78/divmodqi.S: New.
247 * config/rl78/t-rl78: Build them here...
248 * config/rl78/lib2div.c: ...but not here.
249
f6a83b4a
DD
2502013-09-12 DJ Delorie <dj@redhat.com>
251
252 * config.host (msp*-*-elf): New.
253 * config/msp430/: New port.
254
9107b096
IS
2552013-08-18 Iain Sandoe <iain@codesourcery.com>
256
257 PR gcov-profile/58127
258 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
259 __thread var for emulated TLS.
260 (__gcov_indirect_call_counters): Likewise.
261
0f9bde1f 2622013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141
UB
263 Catherine Moore <clm@codesourcery.com>
264 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
265
266 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
267 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
268 (CALL_STUB_NO_RET): Likewise.
269 (CALL_STUB_RET): Likewise.
270 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
271 __mips16_ret call/return stub symbols.
272 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
273 to tmake_file.
274
2dc14aac
MR
2752013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
276
277 * config.host <mips*-*-linux*>: Remove a stray comment.
278
748d71f3
JH
2792013-08-10 Jan Hubicka <jh@suse.cz>
280
281 Work around binutils PR14342
282 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
283 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
284 (L_gcov_indirect_call_profiler_v2): New.
285
2fa3d31b
JH
2862013-08-06 Jan Hubicka <jh@suse.cz>
287
288 * libgcov.c (__gcov_indirect_call_callee,
289 __gcov_indirect_call_counters): New global vars.
290 (__gcov_indirect_call_profiler): replace by ...
291 (__gcov_indirect_call_profiler_v2) ... this one.
292
2077db1b
CT
2932013-08-06 Caroline Tice <cmtice@google.com>
294
d0595b65 295 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 296 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
297 * configure.ac: Add code to check/set enable_vtable_verify.
298 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 299 true.
d0595b65
CT
300 * vtv_start_preinit.c: New file.
301 * vtv_end_preinit.c: New file.
302 * vtv_start.c: New file.
303 * vtv_end.c: New file.
304 * configure: Regenerated.
2077db1b 305
46549c20
MK
3062013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
307
308 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
309 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
310 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
311 GPL-3.0-with-GCC-exception.
312
72be589b
MR
3132013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
314
315 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
316 ISA and up.
317
902a3faf
AK
3182013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
319
320 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
321 mapping for FPRs when creating the fallback framestate.
322
02371798
GJL
3232013-07-19 Georg-Johann Lay <avr@gjlay.de>
324
325 PR target/57516
326 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
327 (__round_s2_const, __round_u2_const)
328 (__round_s4_const, __round_u4_const, __round_x8):
329 Saturate result if addition result cannot be represented.
330
ab0e8379
MK
3312013-07-15 Matthias Klose <doko@ubuntu.com>
332
333 * libgcc2.c: Don't include <limits.h>.
334
7da38058
JJ
3352013-07-09 Janis Johnson <janisjo@codesourcery.com>
336
337 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
338
1f6eac90
JJ
3392013-07-06 Jakub Jelinek <jakub@redhat.com>
340
341 PR target/29776
342 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
343
4ea3d774
JJ
3442013-06-28 Jakub Jelinek <jakub@redhat.com>
345
346 PR middle-end/36041
347 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
348 Define.
349 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
350 instead of table lookups.
351 (__popcountDI2): Likewise.
352
9d2cdf25
CJW
3532013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
354
355 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
356 correctly.
357
fa1e55b0
JM
3582013-06-21 Joseph Myers <joseph@codesourcery.com>
359
360 PR other/53317
361 * soft-fp/adddf3.c: Update from glibc.
362 * soft-fp/addsf3.c: Likewise.
363 * soft-fp/addtf3.c: Likewise.
364 * soft-fp/divdf3.c: Likewise.
365 * soft-fp/divsf3.c: Likewise.
366 * soft-fp/divtf3.c: Likewise.
367 * soft-fp/double.h: Likewise.
368 * soft-fp/eqdf2.c: Likewise.
369 * soft-fp/eqsf2.c: Likewise.
370 * soft-fp/eqtf2.c: Likewise.
371 * soft-fp/extenddftf2.c: Likewise.
372 * soft-fp/extended.h: Likewise.
373 * soft-fp/extendsfdf2.c: Likewise.
374 * soft-fp/extendsftf2.c: Likewise.
375 * soft-fp/fixdfdi.c: Likewise.
376 * soft-fp/fixdfsi.c: Likewise.
377 * soft-fp/fixsfdi.c: Likewise.
378 * soft-fp/fixsfsi.c: Likewise.
379 * soft-fp/fixtfdi.c: Likewise.
380 * soft-fp/fixtfsi.c: Likewise.
381 * soft-fp/fixunsdfdi.c: Likewise.
382 * soft-fp/fixunsdfsi.c: Likewise.
383 * soft-fp/fixunssfdi.c: Likewise.
384 * soft-fp/fixunssfsi.c: Likewise.
385 * soft-fp/fixunstfdi.c: Likewise.
386 * soft-fp/fixunstfsi.c: Likewise.
387 * soft-fp/floatdidf.c: Likewise.
388 * soft-fp/floatdisf.c: Likewise.
389 * soft-fp/floatditf.c: Likewise.
390 * soft-fp/floatsidf.c: Likewise.
391 * soft-fp/floatsisf.c: Likewise.
392 * soft-fp/floatsitf.c: Likewise.
393 * soft-fp/floatundidf.c: Likewise.
394 * soft-fp/floatundisf.c: Likewise.
395 * soft-fp/floatunditf.c: Likewise.
396 * soft-fp/floatunsidf.c: Likewise.
397 * soft-fp/floatunsisf.c: Likewise.
398 * soft-fp/floatunsitf.c: Likewise.
399 * soft-fp/gedf2.c: Likewise.
400 * soft-fp/gesf2.c: Likewise.
401 * soft-fp/getf2.c: Likewise.
402 * soft-fp/ledf2.c: Likewise.
403 * soft-fp/lesf2.c: Likewise.
404 * soft-fp/letf2.c: Likewise.
405 * soft-fp/muldf3.c: Likewise.
406 * soft-fp/mulsf3.c: Likewise.
407 * soft-fp/multf3.c: Likewise.
408 * soft-fp/negdf2.c: Likewise.
409 * soft-fp/negsf2.c: Likewise.
410 * soft-fp/negtf2.c: Likewise.
411 * soft-fp/op-1.h: Likewise.
412 * soft-fp/op-2.h: Likewise.
413 * soft-fp/op-4.h: Likewise.
414 * soft-fp/op-8.h: Likewise.
415 * soft-fp/op-common.h: Likewise.
416 * soft-fp/quad.h: Likewise.
417 * soft-fp/single.h: Likewise.
418 * soft-fp/soft-fp.h: Likewise.
419 * soft-fp/subdf3.c: Likewise.
420 * soft-fp/subsf3.c: Likewise.
421 * soft-fp/subtf3.c: Likewise.
422 * soft-fp/truncdfsf2.c: Likewise.
423 * soft-fp/trunctfdf2.c: Likewise.
424 * soft-fp/trunctfsf2.c: Likewise.
425 * soft-fp/unorddf2.c: Likewise.
426 * soft-fp/unordsf2.c: Likewise.
427 * soft-fp/unordtf2.c: Likewise.
428 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
429 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
430 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
431 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
432 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
433 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
434 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
435 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
436 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
437 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
438 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
439 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
440
0de86a92
JU
4412013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
442
443 * config/mips/lib2funcs.c: New file.
444 * config/mips/t-mips (LIB2ADD_ST): Add it.
445
0d008882
OE
4462013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
447
448 PR target/6526
449 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
450 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
451
776434d1
WL
4522013-06-08 Walter Lee <walt@tilera.com>
453
454 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
455 Replace int64_t with long long. Add __extension__ where
456 appropriate.
457 * config/tilepro/atomic.c: Include config.h.
458
6ab3ebb4
DR
4592013-06-06 Douglas B Rupp <rupp@adacore.com>
460
461 * config.host (arm-wrs-vxworks): Configure with other soft float.
462
107eea2c
JU
4632013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
464
465 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
466 (mips64r5900el-*-elf*): New configurations.
467
5cc19c62
AM
4682013-06-04 Alan Modra <amodra@gmail.com>
469
470 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
471
0f1d3965
YR
4722013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
473
474 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
475
0ba045df
EB
4762013-05-28 Eric Botcazou <ebotcazou@adacore.com>
477
478 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
479 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
480 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
481
49dcafd4
EB
4822013-05-22 Eric Botcazou <ebotcazou@adacore.com>
483
484 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
485 (powerpc-wrs-vxworks): Likewise.
486
4fcb5d87
EB
4872013-05-22 Eric Botcazou <ebotcazou@adacore.com>
488
489 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
490 signal frames as well.
491 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
492 STACK_BIAS to the CFA offset.
493
0ec33224
RH
4942013-05-17 Richard Henderson <rth@redhat.com>
495
496 PR target/49146
497 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
498 (execute_cfa_program): Use it when storing to fs->regs.
499
492a8029
KT
5002013-05-08 Kai Tietz <ktietz@redhat.com>
501
502 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
503 (__deregister_frame_info): Likewise.
504
701e2f0a
TS
5052013-05-06 Thomas Schwinge <thomas@codesourcery.com>
506
e5123d08
TS
507 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
508 NaN's payload.
509
701e2f0a
TS
510 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
511
b9a7eb5d
AM
5122013-04-25 Alan Modra <amodra@gmail.com>
513
514 * config.host: Match little-endian powerpc-linux.
515
dfe192f5
YZ
5162013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
517
518 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
519 as 'unsigned long long' instead of 'unsigned long'.
520 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
521 'signed long'.
522
b6b9af2f
JB
5232013-04-10 Julian Brown <julian@codesourcery.com>
524
525 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
526 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
527 unsigned char/unsigned short.
528 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
529
ecabdd00
JDA
5302013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
531
532 PR other/55274
533 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
534
34652576
MI
5352013-04-04 Meador Inge <meadori@codesourcery.com>
536
537 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
538 computing the location of the link register.
539 (aeabi_uldivmod): Ditto.
540
e9fd8c19
KT
5412013-03-27 Kai Tietz <ktietz@redhat.com>
542
543 * config.host: Add support for cygwin x64 target.
544 * configure: Regenerated.
545
a6406324
WL
5462013-03-26 Walter Lee <walt@tilera.com>
547
548 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
549 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
550
55446c7e
KT
5512013-03-25 Kai Tietz <ktietz@redhat.com>
552
553 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
554
d2ae19d9
RM
5552013-03-20 Robert Mason <rbmj@verizon.net>
556
557 * config/vxlib-tls.c (__gthread_get_tsd_data,)
558 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
559 (__gthread_leave_tsd_dtor_context): Add prototypes.
560 (tls_delete_hook): Update.
561
22c4c869
CM
5622013-03-20 Catherine Moore <clm@codesourcery.com>
563 Joseph Myers <joseph@codesourcery.com>
564 Chao-ying Fu <fu@mips.com>
565
566 * config/mips/mips16.S: Don't build for microMIPS.
567 * config/mips/linux-unwind.h: Handle microMIPS frame.
568 * config/mips/crtn.S (fini, init): New labels.
569
fbd28bc3
JJ
5702013-03-14 Jakub Jelinek <jakub@redhat.com>
571
572 PR tree-optimization/53265
573 * unwind-dw2.c (execute_cfa_program): Avoid
574 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
575 on targets with DWARF_FRAME_REGISTERS < 32.
576
decc676e
OE
5772013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
578
579 PR target/49880
580 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
581 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
582
84ea618a
ST
5832013-03-07 Sriraman Tallam <tmsriram@google.com>
584
585 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
586 sandybridge processors.
587
8f6d1c86
OE
5882013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
589
590 PR target/56529
591 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
592 inclusion list.
593
ecdbd01a 5942013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
595
596 * config/microblaze/crti.S: Setup stack protection at entry
597
0b4ce21b
GJL
5982013-03-04 Georg-Johann Lay <avr@gjlay.de>
599
600 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
601 (__rotldi3): Shift bytewise if applicable.
602
b7c3f1ca
JG
6032013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
604
605 * config/aarch64/sync-cache.c
606 (__aarch64_sync_cache_range): Silence warnings.
607
6d65e8f1
CM
6082013-02-25 Catherine Moore <clm@codesourcery.com>
609
610 Revert:
611 2013-02-24 Catherine Moore <clm@codesourcery.com>
612 Joseph Myers <joseph@codesourcery.com>
613 Chao-ying Fu <fu@mips.com>
614
615 * config/mips/mips16.S: Don't build for microMIPS.
616 * config/mips/linux-unwind.h: Handle microMIPS frame.
617 * config/mips/crtn.S (fini, init): New labels.
618
6941b508
CM
6192013-02-24 Catherine Moore <clm@codesourcery.com>
620 Joseph Myers <joseph@codesourcery.com>
621 Chao-ying Fu <fu@mips.com>
622
623 * config/mips/mips16.S: Don't build for microMIPS.
624 * config/mips/linux-unwind.h: Handle microMIPS frame.
625 * config/mips/crtn.S (fini, init): New labels.
626
7c422dbb
EI
6272012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
628 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
629 as dividend.
630
110207ad
AM
6312013-02-16 Alan Modra <amodra@gmail.com>
632
633 PR target/55431
634 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
635 (ppc_fallback_frame_state): Always set up save locations for fp
636 and altivec. Don't bother with non-callee-saved regs, r0-r13
637 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
638
e68a4ef6
GJL
6392013-02-12 Georg-Johann Lay <avr@gjlay.de>
640
641 PR target/54222
642 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
643 _ssmulHA, _ssmulSA.
644 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
645 _ssmulha3, _usmulusa3, _ssmulsa3.
646 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
647 (__muldi3): XCALL __muldi3_6 instead of rcall.
648 (__umulsidi3, __mulsidi3): New functions.
649 (do_prologue_saves, do_epilogue_restores): New .macros.
650 (__divdi3_moddi3): Use them.
651 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
652 (__usmulusa3, __ssmulsa3): New functions.
653
6c59ffd1
IS
6542013-02-11 Iain Sandoe <iain@codesourcery.com>
655 Jack Howarth <howarth@bromo.med.uc.edu>
656 Patrick Marlier <patrick.marlier@gmail.com>
657
658 PR libitm/55693
659 * config/darwin-crt-tm.c: Remove dummy functions hack.
660
85d768f3
GJL
6612013-02-08 Georg-Johann Lay <avr@gjlay.de>
662
663 PR target/54222
664 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
665 * config/avr/lib2-object.mk: New iterator to build objects from it.
666 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
667 lib2funcs.c.
668 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
669 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
670 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
671 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
672 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
673 * config/avr/lib1funcs-fixed.S: Implement them.
674
5d5bf775
RS
6752013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
676
677 Update copyright years.
678
99113dff
DE
6792013-02-01 David Edelsohn <dje.gcc@gmail.com>
680
681 PR target/54601
682 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
683 Add crtcxa to extra_parts.
684 * config/rs6000/exit.h: New file.
685 * config/rs6000/cxa_atexit.c: New file.
686 * config/rs6000/cxa_finalize.c: New file.
687 * config/rs6000/crtcxa.c: New file.
688 * config/rs6000/t-aix-cxa: New file.
689 * config/rs6000/libgcc-aix-cxa.ver: New file.
690
dbdbd982
NC
6912013-01-31 Nick Clifton <nickc@redhat.com>
692
693 * config/v850/lib1funcs.S: Add support for e3v5 architecture
694 variant.
695
5893f158
GJL
6962013-01-29 Georg-Johann Lay <avr@gjlay.de>
697
698 PR target/54222
699 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
700 _mulQQ, _mulHQ, _mulHA, _mulSA,
701 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
702 _divQQ, _divHQ, _divHA, _divSA,
703 _divUQQ, _divUHQ, _divUHA, _divUSA.
704
ecdbd01a 7052013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 706
dbdbd982 707 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
708 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
709 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
710 to exclude functions from being built with libgcc.c and use
711 the microblaze assembly.
712
ecdbd01a 7132013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
714
715 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
716 extra_parts.
717
922c57d1
YZ
7182013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
719
720 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
721 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
722 __UINTPTR_TYPE__; also cast 'base' to the same type before the
723 alignment operation.
724
e0f8b6a0
SN
7252013-01-15 Sofiane Naci <sofiane.naci@arm.com>
726
727 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
728 loop start address for cache clearing.
729
00892272
GJL
7302013-01-14 Georg-Johann Lay <avr@gjlay.de>
731
732 * config/avr/lib1funcs.S: Remove trailing blanks.
733 * config/avr/lib1funcs-fixed.S: Ditto.
734
e59ec5fd
GJL
7352013-01-14 Georg-Johann Lay <avr@gjlay.de>
736
737 * config/avr/avr-lib.h: Add GPL copyright notice.
738
3ffc1958
GJL
7392013-01-14 Georg-Johann Lay <avr@gjlay.de>
740
741 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
742 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
743 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
744 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
745
25c210f9
MK
7462013-01-07 Mark Kettenis <kettenis@openbsd.org>
747
748 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
749 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 750
db59befb
NC
7512013-01-04 Nick Clifton <nickc@redhat.com>
752
753 * config/v850/lib1funcs.S: Only provide CALLT support functions if
754 the CALLT instruction is supported.
755
5aa12dbf
JW
7562012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
757
758 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
759 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
760
65f14117
JT
7612012-12-13 John Tytgat <John@bass-software.com>
762
763 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
764 is 25.
765
ee3ae4f7
JJ
7662012-12-12 Jakub Jelinek <jakub@redhat.com>
767
768 PR libgcc/55451
769 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
770 undefined signed overflows.
771
2fcfba3d
UB
7722012-12-09 Uros Bizjak <ubizjak@gmail.com>
773
774 PR target/55344
775 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
776
4f2b3dc2
UB
7772012-12-06 Uros Bizjak <ubizjak@gmail.com>
778
779 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
780 (FP_TRAPPING_EXCEPTIONS): Define.
781 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
782 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
783
066161a2
RH
7842012-12-04 Richard Henderson <rth@redhat.com>
785
786 PR bootstrap/55571
787 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
788
25626181
MS
7892012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
790
4f2b3dc2 791 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
792 (FP_EX_SHIFT): Define.
793 (FP_TRAPPING_EXCEPTIONS): Define.
794
868395e8
MS
7952012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
796
797 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
798 (FP_ROUNDMODE): Use FP_RND_MASK.
799 * config/aarch64/sfp-exceptions.c: New.
800 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
801 Use __sfp_handle_exceptions.
802
5005fe22
RE
8032012-12-04 Richard Earnshaw <rearnsha@arm.com>
804
805 * config.host: (arm*-*-freebsd*): Remove.
806 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
807 (arm*-*-elf*): Remove.
808 (arm*-*-wince-pe*): Remove.
809 * arm/unwind-arm.c (struct fpa_reg): Delete.
810 (struct fpa_regs): Delete.
811 (phase1_vrs): Remove fpa element.
812 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
813 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
814 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
815 * ieee754-sf.S (floatundisf): Remove FPA support.
816 (floatdisf): Likewise.
817 * ieee75f-df.S (floatundidf): Likewise.
818 (floatdidf): Likewise.
819
e5a81c8e
KT
8202012-11-29 Kai Tietz <ktietz@redhat.com>
821
822 PR target/55445
823 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
824 * unwind-generic.h: Likewise.
825 * unwind-seh.c: Likewise.
826
f4919e4a
RH
8272012-11-28 Richard Henderson <rth@redhat.com>
828
829 PR libgcc/48076
830 * emutls.c (__emutls_get_address): Avoid race condition between
831 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 832
e13d9d5a
GJL
8332012-11-22 Georg-Johann Lay <avr@gjlay.de>
834
835 Adjust decimal point of signed accum mode to GCC default.
836
837 PR target/54222
838 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
839 _divqq_helper.
840 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
841 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
842 (__mulha3, __mulsa3)
843 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
844 decimal point of signed accum types.
845
e13d9d5a
GJL
846 (__mulusa3_round): New function.
847 (__mulusa3): Use it.
848 (__divqq_helper): New function.
849 (__udivuqq3): Use it.
850
1b845c6e
JJ
8512012-11-20 Jakub Jelinek <jakub@redhat.com>
852
853 PR bootstrap/55370
854 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
855
822a258a
TJ
8562012-11-18 Teresa Johnson <tejohnson@google.com>
857
858 PR bootstrap/55051
859 * libgcov.c (gcov_exit): Remove merged program summary
860 comparison unless !GCOV_LOCKED.
861
54f4eaf0
MS
8622012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
863
864 * soft-fp: Updated from glibc upstream.
865
e808687a
ILT
8662012-11-06 Ian Lance Taylor <iant@google.com>
867
868 * generic-morestack.c (__generic_morestack): Align the returned
869 stack pointer to a 32 byte boundary.
870 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
871 increment the return address until we have decided that we don't
872 have a varargs function.
873 (__morestack) [32-bit]: Align stack correctly when calling C
874 functions.
875 (__morestack) [64-bit]: Likewise.
876
460277e0
TS
8772012-11-04 Thomas Schwinge <thomas@codesourcery.com>
878
879 * configure: Regenerate.
880
73edb277
UB
8812012-11-02 Uros Bizjak <ubizjak@gmail.com>
882
883 PR target/55175
884 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
885 * config/i386/sfp-machine.h: Guard exception handling
886 code with _SOFT_FLOAT.
887 * config/i386/32/sfp-machine.h: Guard rounding handling
888 code with _SOFT_FLOAT.
889 * config/i386/64/sfp-machine.h: Ditto.
890
c1d4fa04
JS
8912012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
892
893 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
894 as extra_parts.
895
eff6ca85
UB
8962012-10-26 Uros Bizjak <ubizjak@gmail.com>
897
898 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
899 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
900 when appropriate. Correct structure element types.
901 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
902 -minline-all-stringops from compile flags.
903
43a8f1a1
RC
9042012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
905
906 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
907
76c78361
RC
9082012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
909
eff6ca85 910 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 911
6f288860
SH
9122012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
913
914 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
915 tmake_file.
916
1e3d5096
IB
9172012-10-23 Ian Bolton <ian.bolton@arm.com>
918 Jim MacArthur <jim.macarthur@arm.com>
919 Marcus Shawcroft <marcus.shawcroft@arm.com>
920 Nigel Stephens <nigel.stephens@arm.com>
921 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
922 Richard Earnshaw <rearnsha@arm.com>
923 Sofiane Naci <sofiane.naci@arm.com>
924 Stephen Thomas <stephen.thomas@arm.com>
925 Tejas Belagod <tejas.belagod@arm.com>
926 Yufeng Zhang <yufeng.zhang@arm.com>
927
928 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
929 * config/aarch64/crti.S: New file.
930 * config/aarch64/crtn.S: New file.
931 * config/aarch64/linux-unwind.h: New file.
932 * config/aarch64/sfp-machine.h: New file.
933 * config/aarch64/sync-cache.c: New file.
934 * config/aarch64/t-aarch64: New file.
935 * config/aarch64/t-softfp: New file.
936
8a740f07
HPN
9372012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
938
939 * config/mmix/crti.S: Mark program and data addresses using PRELD.
940 Remove typo'd and unnecessary alignment-LOC for .data. Remove
941 no-longer-needed LDBU insns.
942
153c8397
SH
9432012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
944
945 * config.host
946 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
947 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
948
595fefee
MGD
9492012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
950
951 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
952
9945a876
MK
9532012-10-15 Matthias Klose <doko@ubuntu.com>
954
955 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
956
1183dc2c
PC
9572012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
958
959 * configure: Regenerate.
960 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
961
945a9c1f
UB
9622012-10-10 Uros Bizjak <ubizjak@gmail.com>
963
964 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
965 instructions for 64bit targets only.
966
fb8bf47a
UB
9672012-10-10 Uros Bizjak <ubizjak@gmail.com>
968
969 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
970 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
971 * config/i386/32/sfp-machine.h: ... here.
972 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
973 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
974 New defines.
975
acb72498
MK
9762012-10-07 Matthias Klose <doko@ubuntu.com>
977
978 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
979 as unused.
980 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
981
8eaee0f0
MK
9822012-10-06 Mark Kettenis <kettenis@openbsd.org>
983
984 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
985 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
986 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
987 (ElfW): Likewise.
988
5e3e4fe8
JW
9892012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
990
991 PR other/53889
992 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
993 Fix parameter names.
994
86086376
OE
9952012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
996
997 PR target/33135
998 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
999 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
1000 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
1001
9597375a
OE
10022012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
1003
1004 PR target/50457
1005 * config/sh/linux-atomic.S: Delete.
1006 * config/sh/linux-atomic.c: New.
1007 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
1008 linux-atomic.c. Add cflags to disable warnings.
1009
1504e3e1
JW
10102012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1011
1012 PR other/53889
1013 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
1014 function.
1015 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
1016 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
1017 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
1018 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
1019 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
1020 Likewise.
1504e3e1
JW
1021 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1022 Likewise.
1023 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
1024 Likewise.
1025 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
1026 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
1027
17f293b0
MK
10282012-09-19 Mark Kettenis <kettenis@openbsd.org>
1029
9597375a
OE
1030 * config.host (hppa-*-openbsd*): New target.
1031 * config/pa/t-openbsd: New file.
17f293b0 1032
51526856
GJL
10332012-09-15 Georg-Johann Lay <avr@gjlay.de>
1034
1035 PR target/54222
1036 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
1037 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
1038 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
1039 (__divsa3): Use __negsi2 to negate r_quoL.
1040 * config/avr/lib1funcs.S (FALIAS): New macro.
1041 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
1042 (__negsi2): ...this new function.
1043 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
1044 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
1045 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
1046 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
1047 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
1048 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
1049
aadb5b43
OE
10502012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
1051
1052 PR target/54089
1053 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
1054 (lshrsi3): Reimplement as lshrsi3_r0.
1055
d5d66749
AS
10562012-09-10 Andreas Schwab <schwab@linux-m68k.org>
1057
1058 PR target/46191
1059 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
1060 of libgcc.a.
1061
c6c36e73
TJ
10622012-09-07 Teresa Johnson <tejohnson@google.com>
1063
9597375a 1064 PR gcov-profile/54487
c6c36e73 1065 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 1066 differences.
c6c36e73 1067
b588ae30
GJL
10682012-09-05 Georg-Johann Lay <avr@gjlay.de>
1069
1070 PR target/54461
1071 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
1072 not configured --with-avrlibc=no.
1073 * config/avr/t-avrlibc: New file.
1074 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
1075 (DPBIT_FUNCS): Ditto.
1076 (TPBIT_FUNCS): Ditto.
1077
abd16fb1
TJ
10782012-09-04 Teresa Johnson <tejohnson@google.com>
1079
1080 * libgcov.c (struct gcov_summary_buffer): New structure.
1081 (gcov_histogram_insert): New function.
1082 (gcov_compute_histogram): Ditto.
1083 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
1084 histograms during summary merging.
1085
613061fd
MK
10862012-09-01 Mark Kettenis <kettenis@openbsd.org>
1087
1088 * config.host (x86_64-*-openbsd*): New target.
73edb277 1089
867a8345
CLT
10902012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
1091
1092 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
1093 attribute.
1094
4aeaaca3
GJL
10952012-08-24 Georg-Johann Lay <avr@gjlay.de>
1096
1097 PR target/54222
1098 * config/avr/t-avr (conv_X): Rename to func_X.
1099
e55e4056
GJL
11002012-08-24 Georg-Johann Lay <avr@gjlay.de>
1101
1102 PR target/54222
1103 * config/avr/lib1funcs-fixed.S: New file.
1104 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
1105 after they are used.
1106 (neg2, neg4): New macros.
1107 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
1108 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
1109 (__umulhisi3): Speed up MUL variant if there is enough flash.
1110 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
1111 avr-modes.def.
1112 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
1113 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
1114 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
1115 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
1116 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
1117 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
1118 (LIB2FUNCS_EXCLUDE): Add supported functions.
1119
a147b6d2
GJL
11202012-08-22 Georg-Johann Lay <avr@gjlay.de>
1121
1122 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
1123 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
1124 libgcc-s-objects.
1125 * fixed-obj.mk: Only expand dependency if $o is not in
1126 LIB2FUNCS_EXCLUDE.
1127
c637141a
L
11282012-08-22 H.J. Lu <hongjiu.lu@intel.com>
1129
1130 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
1131
130e00bd
JM
11322012-08-22 Joseph Myers <joseph@codesourcery.com>
1133
1134 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
1135 depend on --enable-shared.
1136 ($(lib1asmfuncs-o)): Use %.vis files independent of
1137 --enable-shared.
1138 * static-object.mk ($(base)$(objext), $(base).vis)
1139 ($(base)_s$(objext)): Use same rules for visibility handling as in
1140 shared-object.mk.
1141
4b1b3788
ILT
11422012-08-21 Ian Lance Taylor <iant@google.com>
1143
1144 * config/i386/morestack.S (__morestack_non_split): Increase amount
1145 of space allocated for non-split code stack.
1146
d2468141
JM
11472012-08-19 Joseph Myers <joseph@codesourcery.com>
1148
1149 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
1150 even if inhibit_libc.
1151
a508e1a8
JB
11522012-08-17 Julian Brown <julian@codesourcery.com>
1153
1154 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
1155 -fexceptions -fnon-call-exceptions if not defined.
1156 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
1157 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
1158
5615a07d
AS
11592012-08-17 Andreas Schwab <schwab@linux-m68k.org>
1160
1161 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
1162 type.
1163
138f5acd
DE
11642012-08-16 David Edelsohn <dje.gcc@gmail.com>
1165
1166 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
1167 rs6000/t-slibgcc-aix.
1168
18efc0dd
SB
11692012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
1170
1171 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
1172
6b39bc38
SB
11732012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
1174
1175 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
1176
cd25dea0
L
11772012-08-03 H.J. Lu <hongjiu.lu@intel.com>
1178
1179 PR driver/54171
1180 * Makefile.in (version): Replace top_srcdir with srcdir.
1181
a3dda30b
JY
11822012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
1183
1184 * Makefile.in (version): set to BASE-VER file from gcc directory.
1185
d04aacfc
NC
11862012-08-01 Nick Clifton <nickc@redhat.com>
1187
1188 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
1189 Implements __clrsb for an HImode argument.
1190
0d13c974
NC
11912012-07-31 Nick Clifton <nickc@redhat.com>
1192
1193 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
1194 Implements __clrsb for an HImode argument.
1195 * config/stormy16/clrsbhi2.c: New file:
1196 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
1197
efbb59b2
SB
11982012-07-22 Steven Bosscher <steven@gcc.gnu.org>
1199
1200 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
1201
bf1431e3
TG
12022012-07-19 Tristan Gingold <gingold@adacore.com>
1203 Richard Henderson <rth@redhat.com>
1204
1205 * unwind-seh.c: New file.
1206 * unwind-generic.h: Include windows.h for SEH.
1207 (_Unwind_Exception): Use 6 private fields for SEH.
1208 (_GCC_specific_handler): Declare.
1209 * unwind-c.c (__gcc_personality_seh0): New function.
1210 Adjust for SEH.
1211 * config/i386/libgcc-cygming.ver: New file.
1212 * config/i386/t-seh-eh: New file.
1213 * config.host (x86_64-*-mingw*): Default to seh.
1214
659140c8
SB
12152012-07-14 Steven Bosscher <steven@gcc.gnu.org>
1216
1217 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
1218
a20d08fd
UB
12192012-06-17 Uros Bizjak <ubizjak@gmail.com>
1220
1221 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
1222 __builtin_expect when checking for exceptions.
1223 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
1224
79261115
UB
12252012-06-13 Uros Bizjak <ubizjak@gmail.com>
1226
4a172156
UB
1227 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
1228 function declaration.
1229 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1230 (FP_RND_MASK): New.
1231 * config/ia64/sfp-exceptions.c: New.
1232 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 1233
bb5c97d4
UB
12342012-06-13 Uros Bizjak <ubizjak@gmail.com>
1235
1236 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
1237 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
1238 * config/i386/64/sfp-machine: ... (delete here) ...
1239 * config/i386/sfp-machine.h: ... to here.
1240 (FP_EX_MASK): Remove.
1241 (FP_RND_MASK): New.
1242 (FP_INIT_ROUNDMODE): Declare asm as volatile.
1243
91fe5efb
ST
12442012-06-11 Sriraman Tallam <tmsriram@google.com>
1245
1246 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
1247 * config/i386/libgcc-sol2.ver: Ditto.
1248 * config/i386/libgcc-glibc.ver: Ditto.
1249
67a218c5
RM
12502012-06-11 Roland McGrath <mcgrathr@google.com>
1251
1252 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
1253 If __GLIBC__ is defined, refer to __pthread_key_create instead of
1254 pthread_cancel.
1255
492fbea1
UB
12562012-06-09 Uros Bizjak <ubizjak@gmail.com>
1257
1258 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
1259 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
1260 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
1261 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1262 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
1263 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
1264 * config/i386/64/sfp-machine: ... (delete here) ...
1265 * config/i386/sfp-machine.h: ... to here.
1266 (FP_EX_MASK): New.
1267 (__sfp_handle_exceptions): New function declaration.
1268 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
1269 * config/i386/sfp-exceptions.c: New.
1270 * config/i386/t-softfp: New.
1271 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
1272 i386/t-softfp to tmake_file.
1273
7b4cf266
DM
12742012-06-03 David S. Miller <davem@davemloft.net>
1275
1276 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
1277 change.
1278
0de0d5c6
DM
12792012-05-31 David S. Miller <davem@davemloft.net>
1280
1281 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
1282 multiply and divide instructions on 32-bit when V9.
1283 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
1284
d8c9d391
JM
12852012-05-29 Joseph Myers <joseph@codesourcery.com>
1286
1287 * config/arm/ieee754-df.S: Fix typos.
1288 * config/arm/ieee754-sf.S: Fix typos.
1289 * config/c6x/libunwind.S: Fix typos.
1290 * config/epiphany/udivsi3-float.c: Fix typos.
1291 * config/microblaze/muldi3_hard.S: Fix typos.
1292 * config/picochip/adddi3.S: Fix typos.
1293 * config/picochip/ashlsi3.S: Fix typos.
1294 * config/picochip/ashrsi3.S: Fix typos.
1295 * config/picochip/clzsi2.S: Fix typos.
1296 * config/picochip/cmpsi2.S: Fix typos.
1297 * config/picochip/divmod15.S: Fix typos.
1298 * config/picochip/divmodhi4.S: Fix typos.
1299 * config/picochip/divmodsi4.S: Fix typos.
1300 * config/picochip/longjmp.S: Fix typos.
1301 * config/picochip/lshrsi3.S: Fix typos.
1302 * config/picochip/parityhi2.S: Fix typos.
1303 * config/picochip/popcounthi2.S: Fix typos.
1304 * config/picochip/setjmp.S: Fix typos.
1305 * config/picochip/subdi3.S: Fix typos.
1306 * config/picochip/ucmpsi2.S: Fix typos.
1307 * config/picochip/udivmodhi4.S: Fix typos.
1308 * config/picochip/udivmodsi4.S: Fix typos.
1309 * config/spu/divv2df3.c: Fix typos.
1310 * config/spu/mfc_multi_tag_release.c: Fix typos.
1311 * config/spu/mfc_tag_release.c: Fix typos.
1312 * configure.ac: Fix typos.
1313 * configure: Regenerate.
1314
31a18a7e
ILT
13152012-05-25 Ian Lance Taylor <iant@google.com>
1316
1317 * config/i386/morestack.S (__morestack_non_split): Check whether
1318 caller is varargs and needs %bp to hold the stack frame on return.
1319
c5768510
OH
13202012-05-25 Olivier Hainque <hainque@adacore.com>
1321
1322 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1323 sequence in the non pic case on VxWorks.
1324
7c7c339b
OH
13252012-05-24 Olivier Hainque <hainque@adacore.com>
1326
73fb7630 1327 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
1328 "install-leaf" to "install".
1329
fdc1b7d3
OH
13302012-05-24 Olivier Hainque <hainque@adacore.com>
1331
1332 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
1333 Use a separate command for stamp removals.
1334
07ba94b9
AP
13352012-05-21 Andrew Pinski <apinski@cavium.com>
1336
1337 PR bootstrap/53183
1338 * configure.ac: Define the default includes to being none.
1339 * configure: Regenerate.
1340
4677d2eb
OH
13412012-05-16 Olivier Hainque <hainque@adacore.com>
1342
1343 * Makefile.in (install-unwind_h): Rename into ...
1344 (install-unwind_h-forbuild): New target.
1345 (all): Use it instead of the former install-unwind_h.
1346 (install-unwind_h): Reinstate, copy to user install destination
1347 for include files, not to the internal gcc object directory one.
1348 (install-leaf): Depend on it.
1349
7d67c380
OH
13502012-05-15 Olivier Hainque <hainque@adacore.com>
1351
1352 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1353 register numbers. LR_REGNO replaces R_LR.
1354 (ucontext_for): New, helper for ...
1355 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1356 and 5.3 of ...
1357 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1358
aca06c90
RO
13592012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1360
1361 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1362 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1363 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1364 i386/t-cpuinfo ...
1365 (i[34567]86-*-*, x86_64-*-*): ... here.
1366
1367 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1368 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1369
1370 * config/i386/i386-cpuinfo.c: Rename to ...
1371 * config/i386/cpuinfo.c: ... this.
1372 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1373
1374 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1375 (libgcc_cv_init_priority): New test.
1376 * configure: Regenerate.
1377 * config.in: New file.
1378 * Makefile.in (clean): Rename config.h to auto-target.h.
1379 (config.h): Likewise.
1380 (stamp-h): Likewise.
1381
1382 * config/i386/cpuinfo.c (auto-target.h): Include.
1383 (CONSTRUCTOR_PRIORITY): Define.
1384 (__cpu_indicator_init): Use it.
1385
0d03ac1b
L
13862012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1387
1388 * longlong.h: Use a URL instead of an FSF postal address.
1389 Replace spaces with tab.
1390
4a172156 13912012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
1392
1393 * libgcov.c (gcov_clear, __gcov_reset): New functions.
1394 (__gcov_dump): Ditto.
1395 (gcov_dump_complete): New global variable.
1396 (gcov_exit): Export hidden to enable use in L_gcov_dump.
1397 (__gcov_flush): Outline functionality now in gcov_clear.
1398 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1399
e4bb767e
AJ
14002012-04-28 Aurelien Jarno <aurelien@aurel32.net>
1401
31a18a7e
ILT
1402 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1403 (mips*-*-linux*): Include mips/t-tpbit when long double is
1404 16 bytes long.
e4bb767e 1405
5ddecff9
ST
14062012-04-25 Sriraman Tallam <tmsriram@google.com>
1407
1408 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1409 (get_available_features): New argument. Check for AVX2.
1410 (__cpu_indicator_init): Modify call to get_available_features.
1411
b427dd7a
AM
14122012-04-25 Alan Modra <amodra@gmail.com>
1413
1414 * config/rs6000/crtsavevr.S: New file.
1415 * config/rs6000/crtrestvr.S: New file.
1416 * config/rs6000/t-savresfgpr: Build the above.
1417 * config/rs6000/t-netbsd: Likewise.
1418
ad491329
ST
14192012-04-24 Sriraman Tallam <tmsriram@google.com>
1420
1421 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1422
792317cc
ST
14232012-04-24 Sriraman Tallam <tmsriram@google.com>
1424
1425 * libgcc/config/i386/i386-cpuinfo.c: New file.
1426 * libgcc/config/i386/t-cpuinfo: New file.
1427 * libgcc/config.host: Include t-cpuinfo.
1428 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1429
e1be98a4
CF
14302012-04-24 Chao-ying Fu <fu@mips.com>
1431
1432 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1433
1bde7dab
TS
14342012-04-20 Thomas Schwinge <thomas@codesourcery.com>
1435
1436 struct siginfo vs. siginfo_t
1437
1438 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1439 siginfo_t instead of struct siginfo.
1440 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1441 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1442 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1443 (ia64_handle_unwabi): Likewise.
1444 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1445 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1446 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1447 (sh_fallback_frame_state): Likewise.
1448 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1449 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1450
24590f66
L
14512012-04-02 H.J. Lu <hongjiu.lu@intel.com>
1452
1453 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1454 system call number.
1455
9a9dcce8
EB
14562012-03-31 Eric Botcazou <ebotcazou@adacore.com>
1457
1458 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1459 if it hasn't been previously saved.
1460
6401aaf5
L
14612012-03-29 H.J. Lu <hongjiu.lu@intel.com>
1462
1463 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1464 only for glibc.
1465
7fd6378e
GJL
14662012-03-28 Georg-Johann Lay <avr@gjlay.de>
1467
1468 PR target/52737
1469 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1470 instead of __AVR_HAVE_8BIT_SP__.
1471
9e916de7
TG
14722012-03-26 Tristan Gingold <gingold@adacore.com>
1473
1474 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1475 (unw_table_entry): Use unw_word instead of unsigned long.
1476 (_Unwind_FindTableEntry): Likewise.
1477 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1478 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1479 (_Unwind_FindTableEntry): Likewise.
1480 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1481 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1482 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1483 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1484 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1485 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1486 (uw_init_context_1, uw_install_context): Likewise.
1487 (unw_word): Move to unwind-ia64.h
1488
4b12e93d
TG
14892012-03-26 Tristan Gingold <gingold@adacore.com>
1490
1491 * config/vms/vms-ucrt0.c: Update copyright years.
1492 Add a sanity check.
1493 (___gcc_main_flags): Declare.
1494 (__main): Check flags to remap argv and exit code.
1495 * config.host (*-*-*vms*): Adjust extra_parts.
1496 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1497 (crt0.o): Add.
1498
06ea7371
RE
14992012-03-22 Richard Earnshaw <rearnsha@arm.com>
1500
1501 * arm/lib1funcs.asm (ctzsi2): New function.
1502 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1503 * arm/t-linux (LIB1ASMFUNCS): Likewise.
1504 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1505 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1506 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1507 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1508
d82ad50d
AT
15092012-03-21 Andreas Tobler <andreast@fgznet.ch>
1510
1511 * config.host: Add bits to support powerpc64-*-freebsd*.
1512 * config/rs6000/freebsd-unwind.h: New file.
1513 * config/rs6000/t-freebsd64: New file.
1514
b260a8c0
RG
15152012-03-20 Richard Guenther <rguenther@suse.de>
1516
1517 PR gcov-profile/52627
1518 * libgcov.c (init_mx): Fix mutex name.
1519
86286a8a
TG
15202012-03-16 Tristan Gingold <gingold@adacore.com>
1521
1522 * config/ia64/vms-unwind.h: Remove ulong (and replace
1523 it by unw_reg where used). Define unw_reg with __int64.
1524
7888f266
RO
15252012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1526
1527 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1528 Solaris 8 handling.
1529 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1530 Solaris 8 handling.
1531 (sparc_is_sighandler): Likewise.
1532
f155bc64
L
15332012-03-13 H.J. Lu <hongjiu.lu@intel.com>
1534
1535 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1536 <= saved reg size.
1537
d47657bd
RO
15382012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1539
1540 * config/arm/crtn.S: Fix typo.
1541
5bef73a1
RG
15422012-03-13 Richard Guenther <rguenther@suse.de>
1543
1544 * libgcov.c: Remove stdio.h include and NULL un-define.
1545
9c4271f3
RG
15462012-03-13 Richard Guenther <rguenther@suse.de>
1547
1548 PR target/52569
1549 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1550
c6d10e7c
RG
15512012-03-13 Richard Guenther <rguenther@suse.de>
1552
1553 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1554
074a385f
RG
15552012-03-13 Richard Guenther <rguenther@suse.de>
1556
1557 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1558 and __gthread_mutex_init_function definitions.
1559
c4bc5c25
RO
15602012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1561
1562 * config.host (mips*-*-openbsd*): Remove.
1563
5c30094f
RO
15642012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1565
1566 * config.host: Remove alpha*-dec-osf5.1* handling.
1567 * config/alpha/gthr-posix.c: Remove.
1568 * config/alpha/libgcc-osf5.ver: Remove.
1569 * config/alpha/osf5-unwind.h: Remove.
1570 * config/alpha/t-osf-pthread: Remove.
1571 * config/alpha/t-slibgcc-osf: Remove.
1572 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1573 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1574 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1575 * mkmap-flat.awk: Remove osf_export handling.
1576
33e3e24d
RG
15772012-03-12 Richard Guenther <rguenther@suse.de>
1578
1579 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1580 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1581 (__gthread_mutex_init_function): New function.
1582 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1583
1584 PR gcov/49484
1585 * libgcov.c: Include gthr.h.
1586 (__gcov_flush_mx): New global variable.
1587 (init_mx, init_mx_once): New functions.
1588 (__gcov_flush): Protect self with a mutex.
1589 (__gcov_fork): Re-initialize mutex after forking.
1590 * unwind-dw2-fde.c: Change condition under which to use
1591 __GTHREAD_MUTEX_INIT_FUNCTION.
1592
d8aba32a
TG
15932012-03-12 Tristan Gingold <gingold@adacore.com>
1594
1595 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1596 * config/ia64/t-vms: Likewise.
1597
75ffafdc
MH
15982012-03-11 Michael Hope <michael.hope@linaro.org>
1599
4a172156
UB
1600 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1601 for Thumb-2.
75ffafdc 1602
ef6c2c53
WL
16032012-03-07 Walter Lee <walt@tilera.com>
1604
1605 * config/tilepro/atomic.c: Rename "atomic_" prefix to
1606 "arch_atomic_".
1607 (atomic_xor): Rename and move definition to
1608 config/tilepro/atomic.h.
1609 (atomic_nand): Ditto.
1610 * config/tilepro/atomic.h: Rename "atomic_" prefix to
1611 "arch_atomic_".
1612 (arch_atomic_xor): Move from config/tilepro/atomic.c.
1613 (arch_atomic_nand): Ditto.
1614
4e30d980
GJL
16152012-03-07 Georg-Johann Lay <avr@gjlay.de>
1616
1617 PR target/52507
1618 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1619
61108225
GJL
16202012-03-07 Georg-Johann Lay <avr@gjlay.de>
1621
1622 PR target/52505
1623 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1624 from RAM.
1625
b30e10ab
GJL
16262012-03-07 Georg-Johann Lay <avr@gjlay.de>
1627
1628 PR target/52461
1629 PR target/52508
1630 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1631 if RAMPZ affects reading from RAM.
1632 (__tablejump_elpm__): Ditto.
1633 (.xload): Ditto.
1634 (__movmemx_hi): Ditto.
1635 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1636 (__do_global_dtors): Ditto.
1637 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1638 (__movmemx_hi): Ditto.
1639
8993fde4
RH
16402012-03-05 Richard Henderson <rth@redhat.com>
1641
1642 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1643 [ARM] (count_trailing_zeros): Use the builtin.
1644
b7633ee3
KT
16452012-03-01 Kai Tietz <ktietz@redhat.com>
1646
1647 * soft-fp: Imported from glibc upstream.
1648
fbd3340c
KT
16492012-02-28 Kai Tietz <ktietz@redhat.com>
1650
1651 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1652 for mingw-targets as attribute gcc_struct.
1653
e9e053eb
ILT
16542012-02-28 Ian Lance Taylor <iant@google.com>
1655
1656 * generic-morestack.c (__splitstack_releasecontext): Correct call
1657 to __morestack_release_segments.
1658
d80c632e
ST
16592012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1660
1661 PR target/52390
1662 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1663 for __linux__ when removing signals from __morestack_fullmask.
1664
0253a8b1
GJL
16652012-02-23 Georg-Johann Lay <avr@gjlay.de>
1666
1667 PR target/52261
1668 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1669
e10e461e
UW
16702012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1671
1672 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1673 instead of HAVE_INITFINI_ARRAY.
1674 * config/ia64/crtend.S: Likewise.
1675
0c0c6398
KT
16762012-02-20 Kai Tietz <ktietz@redhat.com>
1677
d7470374
KT
1678 PR libstdc++/52300
1679 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1680
0c0c6398
KT
1681 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1682 to w32-unwind.h header.
1683
78c27266
RS
16842012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1685
1686 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1687 (mips*-*-linux*): Remove t-slibgcc-libgcc.
1688 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1689 * config/mips/mips16.S (__mips16_rdhwr): Delete.
1690
5adeb246
RS
16912012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1692
1693 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1694
672ed313
IS
16952012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1696
1697 PR libitm/52220
1698 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 1699
e948a1fb
IS
17002012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1701 Patrick Marlier <patrick.marlier@gmail.com>
1702
1703 PR libitm/52220
1704 * config/darwin-crt-tm.c: Generate dummy functions.
1705
6017aed3
IS
17062012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1707 Patrick Marlier <patrick.marlier@gmail.com>
1708
1709 PR libitm/52042
1710 * config/darwin-crt-tm.c (getTMCloneTable): New function.
1711 (__doTMRegistrations): Call it.
e9e053eb 1712 (__doTMdeRegistrations): Likewise.
6017aed3 1713
2da8c1ad
GJL
17142012-01-15 Georg-Johann Lay <avr@gjlay.de>
1715 Anatoly Sokolov <aesok@post.ru>
1716 Eric Weddington <eric.weddington@atmel.com>
1717
1718 PR target/52261
1719 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1720 (__epilogue_restores__): Ditto.
1721
0f952eb4
EB
17222012-02-15 Eric Botcazou <ebotcazou@adacore.com>
1723
1724 PR target/51921
1725 PR target/52205
1726 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1727 Solaris 11 and slightly reformat.
1728 (sparc_is_sighandler): Likewise.
1729
dd552284
WL
17302012-02-14 Walter Lee <walt@tilera.com>
1731
1732 * config.host: Handle tilegx and tilepro.
1733 * config/tilegx/sfp-machine.h: New file.
1734 * config/tilegx/sfp-machine32.h: New file.
1735 * config/tilegx/sfp-machine64.h: New file.
1736 * config/tilegx/t-crtstuff: New file.
1737 * config/tilegx/t-softfp: New file.
1738 * config/tilegx/t-tilegx: New file.
1739 * config/tilepro/atomic.c: New file.
1740 * config/tilepro/atomic.h: New file.
1741 * config/tilepro/linux-unwind.h: New file.
1742 * config/tilepro/sfp-machine.h: New file.
1743 * config/tilepro/softdivide.c: New file.
1744 * config/tilepro/softmpy.S: New file.
1745 * config/tilepro/t-crtstuff: New file.
1746 * config/tilepro/t-tilepro: New file.
1747
b59cbd50
JW
17482012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1749
1750 PR libstdc++/51296
1751 PR libstdc++/51906
1752 * gthr-posix.h: Allow static initializer macros to be disabled.
1753 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1754
6caf807f
CLT
17552012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1756
1757 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1758 Add t-slibgcc-libgcc to tmake_file.
1759 * config/mips/libgcc-mips16.ver: Revert previous patch.
1760 * config/mips/mips16.S (__mips16_rdhwr): Hide.
1761
b25364a0
S
17622012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1763 Jayant R Sonar <jayant.sonar@kpitcummins.com>
1764
1765 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1766 * config/cr16/crti.S: New file.
1767 * config/cr16/crtlibid.S: New file.
1768 * config/cr16/crtn.S: New file.
1769 * config/cr16/lib1funcs.S: New file.
1770 * config/cr16/t-cr16: New file.
1771 * config/cr16/t-crtlibid: New file.
1772 * config/cr16/unwind-dw2.h: New file.
1773 * config/cr16/unwind-cr16.c: New file.
1774 * config/cr16/divmodhi3.c: New file.
1775
8ef03aa7
AM
17762012-01-25 Alan Modra <amodra@gmail.com>
1777
1778 * config/rs6000/t-linux64: Delete. Move..
1779 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1780 * config/rs6000/t-linux: ..and libgcc flags to here.
1781
daecebc8
DR
17822012-01-22 Douglas B Rupp <rupp@gnat.com>
1783
1784 * config.host (i[34567]86-*-interix3*):
8ef03aa7 1785 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
1786 * configure: Regenerate.
1787
ddaf8125
RS
17882012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
1789 Richard Sandiford <rdsandiford@googlemail.com>
1790
1791 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1792 * config/mips/mips16.S (__mips16_rdhwr): New function.
1793 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1794
2cd8b32c
NS
17952012-01-11 Nathan Sidwell <nathan@acm.org>
1796
1797 * libgcov.c (__gcov_init): Ignore objects with no functions.
1798
cba300dd
GJL
17992012-01-10 Georg-Johann Lay <avr@gjlay.de>
1800
1801 PR target/49868
1802 Extend __pgmx semantics to linearize memory.
1803 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1804 * config/avr/lib1funcs.S (__xload_1): New function.
1805 (__movmemx_qi, __movmemx_hi): New functions.
1806 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1807 semantics.
9ffaf4bc 1808
3d137660
EB
18092012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1810
1811 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1812 purported sigacthandler address isn't null before dereferencing it.
1813 (sparc_is_sighandler): Likewise.
1814
bf4db96c
EB
18152012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1816
1817 PR ada/41929
1818 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1819 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
1820 (sparc_is_sighandler): Likewise.
1821 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1822
1ab3568b
TG
18232012-01-06 Tristan Gingold <gingold@adacore.com>
1824
1825 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1826 compatibility thunks...
1827 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1828 (crtbeginS.o, crtendS.o): ... and these to ...
1829 * config/ia64/t-ia64-elf: ... this new file.
1830 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1831 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1832
925b0ed8
AK
18332012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1834
1835 * configure: Regenerate.
1836 * config/s390/t-crtstuff: Remove -fPIC.
1837
a99ad737
JW
18382012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1839
1840 PR bootstrap/51006
1841 * enable-execute-stack-mprotect.c (getpagesize): Do not define
1842 for NetBSD.
1843
884f56d1
GJL
18442012-01-02 Georg-Johann Lay <avr@gjlay.de>
1845
1846 PR target/51345
1847 * config/avr/lib1funcs.S: Remove FIXME comments.
1848 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1849
8c57e547
GJL
18502012-01-02 Georg-Johann Lay <avr@gjlay.de>
1851
1852 Implement light-weight DImode support.
1853 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1854 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1855 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1856 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1857
04dbc287
NS
18582011-12-30 Nathan Sidwell <nathan@acm.org>
1859
1860 * libgcov.c (gcov_crc32): Remove global var.
1861 (free_fn_data): New function.
1862 (buffer_fn_data): Pass in filename, more robust error recovery.
1863 (crc32_unsigned): New function.
1864 (gcov_exit): More robust detection of new program. More robust
1865 error recovery.
1866 (__gcov_init): Do not update program's crc here.
1867
8e1d97d4
TG
18682011-12-21 Tristan Gingold <gingold@adacore.com>
1869
1870 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1871
9ffaf4bc
ILT
18722011-12-21 Ian Lance Taylor <iant@google.com>
1873
1874 * config/i386/morestack.S: Simplify CFI opcodes throughout.
1875
a0c8d0c1
ILT
18762011-12-20 Ian Lance Taylor <iant@google.com>
1877
1878 * config/i386/morestack.S (__morestack_non_split): If there is
1879 enough stack space already, don't split. Ask for more stack space
1880 than we required.
1881
69048898
SDJ
18822011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
1883
1884 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1885 `sys/sdt.h'.
1886 (_Unwind_DebugHook): New function.
1887 (uw_restore_core_regs): New define.
1888 (unwind_phase2): Use uw_restore_core_regs instead of
1889 restore_core_regs.
1890 (unwind_phase2_forced): Likewise.
1891 (__gnu_Unwind_Resume): Likewise.
1892
1bb4b6a3
UB
18932011-12-20 Uros Bizjak <ubizjak@gmail.com>
1894
1895 * config/alpha/linux-unwind.h: Update copyright years.
1896 (MD_FROB_UPDATE_CONTEXT): New define.
1897 (alpha_frob_update_context): New function.
1898
eb028768
RS
18992011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
1900
1901 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1902 tmake_file rather replacing it.
1903
6a2045bf
IS
19042011-12-15 Iain Sandoe <iains@gcc.gnu.org>
1905
1906 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 1907 function is not used for PPC64.
6a2045bf
IS
1908 (save_world): Amend comments. Update the VRsave mask to reflect the
1909 saved regs.
1910 (rest_world): Update comments, do not clobber r10, do not use r8.
1911 (eh_rest_world_r10): Amend comments, do not use r8.
1912 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1913 no longer used, move restore of CR and target address to the end of
1914 the routine.
1915
a13780a6
L
19162011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1917
1918 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1919 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1920
d7288dfb
GJL
19212011-12-14 Georg-Johann Lay <avr@gjlay.de>
1922
1923 PR target/49313
1924 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1925 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1926
8d2c862d
EB
19272011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1928
1929 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1930
3447cae6
GJL
19312011-12-09 Georg-Johann Lay <avr@gjlay.de>
1932
1933 PR target/49313
1934 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1935 * config/avr/lib1funcs.S (__muldi3): New function.
1936
806fc6aa
AP
19372011-12-06 Andrew Pinski <apinski@cavium.com>
1938
1939 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1940 size of func_ptr.
1941 (__frame_dummy_init_array_entry): Likewise.
1942
28c5e6b5
GJL
19432011-12-06 Georg-Johann Lay <avr@gjlay.de>
1944
1945 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1946
1947 PR target/51345
1948 PR target/51002
1949 * config/avr/lib1funcs.S (__prologue_saves__,
1950 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1951 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1952
8f90394a
IS
19532011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1954
1955 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1956
06dd33ac
JDA
19572011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1958
1959 PR other/51272
1960 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1961 (_ITM_deregisterTMCloneTable): Likewise.
1962 (__register_frame_info): Fix unused warning.
1963 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1964 pthread_default_stacksize_np): Likewise.
1965 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 1966
85b8555e
DD
19672011-11-29 DJ Delorie <dj@redhat.com>
1968
1969 * config.host (rl78-*-elf): New case.
1970 * config/rl78: New directory for the Renesas RL78.
1971
4d5ae4ea
BS
19722011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1973
1974 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1975 formatting.
1976
f9c55897
RO
19772011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1978
1979 PR other/51022
1980 * config/rs6000/t-savresfgpr: New file.
1981 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1982 $(srcdir)/config/rs6000/eabi.S.
1983 * config/rs6000/t-ppccomm-ldbl: Remove.
1984 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1985 tmake_file.
1986 (powerpc-*-eabispe*): Likewise.
1987 (powerpc-*-eabi*): Likewise.
1988 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1989 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1990 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1991 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1992 tmake_file.
1993 (powerpc-*-eabisim*): Likewise.
1994 (powerpc-*-elf*): Likewise.
1995 (powerpc-*-eabialtivec*): Likewise.
1996 (powerpc-xilinx-eabi*): Likewise.
1997 (powerpc-*-rtems*): Likewise.
1998 (powerpcle-*-elf*): Likewise.
1999 (powerpcle-*-eabisim*): Likewise.
2000 (powerpcle-*-eabi*): Likewise.
2001
a01207c4
ILT
20022011-11-27 Ian Lance Taylor <iant@google.com>
2003
2004 * generic-morestack.c (__splitstack_find): Check for NULL old
2005 stack value.
2006 (__splitstack_resetcontext): New function.
2007 (__splitstack_releasecontext): New function.
2008 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2009
2b0b8ab2
IS
20102011-11-27 Iain Sandoe <iains@gcc.gnu.org>
2011
2012 * config/darwin-crt-tm.c: Correct comments, use correct licence.
2013
c1d8101c
IS
20142011-11-27 Iain Sandoe <iains@gcc.gnu.org>
2015
2016 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
2017
8b281334
RH
20182011-11-26 Richard Henderson <rth@redhat.com>
2019
2020 * config/m68k/linux-atomic.c: New file.
2021 * config/m68k/t-linux: New file.
2022 * config.host (m68k-uclinux, m68k-linux): Use it.
2023
7546aa9d
RH
20242011-11-26 Richard Henderson <rth@redhat.com>
2025
2026 * crtstuff.c (__TMC_LIST__): Mark used not unused.
2027 (__TMC_END__): Only declare if hidden is available; in the definition,
2028 if hidden is unavailable add a null record.
2029 (deregister_tm_clones, register_tm_clones): New.
2030 (__do_global_dtors_aux, frame_dummy): Use them.
2031 (__do_global_dtors, __do_global_ctors_1): Likewise.
2032
e2362f5d
IS
20332011-11-22 Iain Sandoe <iains@gcc.gnu.org>
2034
2035 * config/darwin-crt-tm.c: New file.
2036 * config.host (darwin): Build crttms.o crttme.o to provide
2037 startup and shutdown for tm clones.
2038 * config/t-darwin (crttms.o): New build rule.
2039 (crttme.o): Likewise.
2040
6685dd96
HPN
20412011-11-21 Hans-Peter Nilsson <hp@axis.com>
2042
2043 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
2044 et al.
2045
b0dc7e4c
RH
20462011-11-21 Richard Henderson <rth@redhat.com>
2047
2048 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
2049 (__TMC_LIST__, __TMC_END__): New.
2050 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
2051 (__do_global_dtors): Likewise.
2052 (frame_dummy): Call _ITM_registerTMCloneTable.
2053 (__do_global_ctors_1): Likewise.
2054
d4b4b542
RO
20552011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2056
2057 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
2058 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2059 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
2060 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
2061 * config/i386/t-darwin64: Remove.
2062 * config/sh/t-netbsd (LIB2ADD): Remove.
2063
989bdb74
GJL
20642011-11-21 Georg-Johann Lay <avr@gjlay.de>
2065
2066 PR target/49313
2067 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
2068 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
2069 * config/avr/lib1funcs.S (wmov): New assembler macro.
2070 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
2071 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
2072 (__udivmod64): New function.
2073 (__negdi2): New function.
2074
515a0cfc
GP
20752011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
2076
2077 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
2078 *-*-freebsd*aout*): Remove.
2079
0115d17f
HPN
20802011-11-20 Hans-Peter Nilsson <hp@axis.com>
2081
2082 * static-object.mk (c_flags-$o): Save c_flags.
2083 ($(base)$(objext)): Use it.
2084
93aeb62b
SE
20852011-11-18 Steve Ellcey <sje@cup.hp.com>
2086
2087 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
2088
7bc6df2c
GJL
20892011-11-18 Georg-Johann Lay <avr@gjlay.de>
2090
2091 PR target/49868
2092 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
2093 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
2094 New functions.
2095
425d737b
MGD
20962011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2097
2098 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
2099 functions.
1bb4b6a3 2100 (aeabi_uidivmod): Likewise.
425d737b
MGD
2101 (umodsi3): Likewise.
2102 (divsi3): Likewise.
2103 (aeabi_idivmod): Likewise.
2104 (modsi3): Likewise.
2105
f2a176dc
TG
21062011-11-16 Tristan Gingold <gingold@adacore.com>
2107
2108 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
2109
7c209481
GJL
21102011-11-15 Georg-Johann Lay <avr@gjlay.de>
2111
2112 PR target/49868
2113 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
2114 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
2115
9dfd5832
JDA
21162011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2117
2118 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
2119 tmake_file list.
2120 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
2121 * config/pa/t-stublib64: Delete.
2122
f77dca5d
RH
21232011-11-12 Richard Henderson <rth@redhat.com>
2124
2125 * config/rs6000/linux-unwind.h (frob_update_context): Properly
2126 cast the pointer argument to _Unwind_SetGRPtr.
2127
902828f0
RO
21282011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2129
2130 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
2131
e14304ef
ILT
21322011-11-09 Ian Lance Taylor <iant@google.com>
2133
2134 * generic-morestack.c: Include <string.h>.
2135 (uintptr_type): Define.
2136 (struct initial_sp): Add dont_block_signals field. Reduce size of
2137 extra array by 1.
2138 (allocate_segment): Set prev field to NULL. Don't set
2139 __morestack_current_segment or __morestack_segments.
2140 (__generic_morestack): Update current->prev and *pp after calling
2141 allocate_segment.
2142 (__morestack_block_signals): Don't do anything if
2143 dont_block_signals is set.
2144 (__morestack_unblock_signals): Likewise.
2145 (__generic_findstack): Check for initial_sp == NULL. Add casts to
2146 uintptr_type.
2147 (__splitstack_block_signals): New function.
2148 (enum __splitstack_content_offsets): Define.
2149 (__splitstack_getcontext, __splitstack_setcontext): New functions.
2150 (__splitstack_makecontext): New function.
2151 (__splitstack_block_signals_context): New function.
2152 (__splitstack_find_context): New function.
2153 * config/i386/morestack.S (__morestack_get_guard): New function.
2154 (__morestack_set_guard, __morestack_make_guard): New functions.
2155 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2156
e3d871e4
RO
21572011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2158
2159 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
2160 (i[34567]86-*-mingw*): ... here.
2161 (x86_64-*-mingw*): ... here.
2162
e55cef40
RO
21632011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2164
2165 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
2166
5366b186
NS
21672011-11-07 Nathan Sidwell <nathan@acm.org>
2168
2169 * libgcov.c (struct gcov_fn_buffer): New struct.
2170 (buffer_fn_data): New helper.
2171 (gcov_exit): Rework for new gcov data structures.
2172
74155a6f
GJL
21732011-11-07 Georg-Johann Lay <avr@gjlay.de>
2174
2175 PR target/49313
2176 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
2177
200feb07
RO
21782011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2179
2180 * config.host (tmake_file): Correct comment.
2181 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
2182 t-libgcc-pic.
2183 (bfin*-uclinux*): Likewise.
2184 (bfin*-linux-uclibc*): Likewise.
2185 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
2186
2187 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
2188 assigning.
2189 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2190 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
2191 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2192 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
2193 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2194 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
2195 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
2196 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
2197 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
2198 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
2199 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
2200 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
2201 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
2202
2203 * config/bfin/t-elf: Remove.
2204 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
2205
c9cd1a07
RO
22062011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2207
2208 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
2209 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
2210 (lm32-*-elf*, lm32-*-rtems*): Split into ...
2211 (lm32-*-elf*): ... this.
2212 (lm32-*-rtems*): ... and this.
2213 Add to tmake_file.
2214 (m32r-*-rtems*): Add to tmake_file.
2215 (moxie-*-rtems*): Likewise.
2216 (sparc-*-rtems*): Likewise.
2217 Remove t-rtems from tmake_file.
2218 (sparc64-*-rtems*): Likewise.
2219 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
2220 instead.
2221
9fbcc75d
RO
22222011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2223
2224 PR bootstrap/50982
2225 * config/gthr-posix.h: Move ...
2226 * gthr-posix.h: ... here.
2227 * config/gthr-lynx.h: Reflect this.
2228 * config/gthr-vxworks.h: Likewise.
2229 * config/rs6000/gthr-aix.h: Likewise.
2230 * configure.ac (target_thread_file): Likewise.
2231 * configure: Regenerate.
2232
76644b68
SH
22332011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
2234
2235 * config.host (arm*-*-rtemseabi*): New target.
2236
5e490f2a
JDA
22372011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2238
2239 PR other/50991
2240 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
2241 extra-parts.
2242
feeeff5c
JR
22432011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
2244
2245 * config.host (epiphany-*-elf*): New configuration.
2246 * config/epiphany: New Directory.
2247
d618bb2c
RC
22482011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
2249
2250 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
2251 * config/avr/t-rtems: New.
2252 Filter out _exit from LIB1ASMFUNCS.
2253
1bb6f778
DM
22542011-11-04 David S. Miller <davem@davemloft.net>
2255
2256 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
2257 * configure: Rebuild.
2258
9a7f7422
AK
22592011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2260
2261 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
2262 variable.
2263
e4fe948a
GJL
22642011-11-04 Georg-Johann Lay <avr@gjlay.de>
2265
2266 PR target/50931
2267 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
2268 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
2269
7084e037
JS
22702011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
2271
2272 PR target/50989
2273 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
2274
1a032034
RO
22752011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2276
2277 * config/c6x/t-elf (LIB2ADDEH): Set.
2278 * config/c6x/t-c6x-elf: Remove.
2279
d385f772
RO
22802011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2281
2282 * config/i386/sol2-ci.S: Rename to ...
2283 * config/i386/crti.S: ... this.
2284 * config/i386/sol2-cn.S: Rename to ...
2285 * config/i386/crtn.S: ... this.
2286 * config/sparc/sol2-ci.S: Rename to ...
2287 * config/sparc/crti.S: ... this.
2288 * config/sparc/sol2-cn.S: Rename to ...
2289 * config/sparc/crtn.S: ... this.
2290 * config/t-sol2 (CUSTOM_CRTIN): Remove.
2291 (crti.o, crtn.o): Remove.
2292
1ba878a9
TG
22932011-11-04 Tristan Gingold <gingold@adacore.com>
2294
2295 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
2296
02750c15
KK
22972011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
2298
2299 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
2300
bf86b067
HPN
23012011-11-03 Hans-Peter Nilsson <hp@axis.com>
2302
2303 * config.host (crisv32-*-none, cris-*-none): Remove.
2304 (crisv32-*-elf): Append to tmake_file, don't just set it.
2305 (cris-*-elf): Add missing t-fdpbit to tmake_file.
2306
d0bc53bd
RO
23072011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2308
2309 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
2310 (ecrtn$(objext)): Likewise.
2311 (ncrti$(objext)): Likewise.
2312 (ncrtn$(objext)): Likewise.
2313
036da830
AS
23142011-11-03 Andreas Schwab <schwab@redhat.com>
2315
2316 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2317
d2a7d041
DM
23182011-11-02 David S. Miller <davem@davemloft.net>
2319
2320 * configure.ac: Set host_address on sparc too.
2321 * configure: Regenerate.
2322 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2323 based upon host_address.
2324 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
2325
af8ed618
JM
23262011-11-02 Jason Merrill <jason@redhat.com>
2327
2328 * config/rs6000/t-ppccomm: Add missing \.
2329
5d1c8e77
RO
23302011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2331
2332 * gthr-single.h, gthr.h: New files.
2333 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2334 config/gthr-vxworks.h, config/i386/gthr-win32.h,
2335 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2336 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2337 * config/i386/gthr-win32.c: Include "gthr-win32.h".
2338 * configure.ac (thread_header): New variable.
2339 Set it depending on target_thread_file.
2340 (gthr-default.h): Link from $thread_header.
2341 * configure: Regenerate.
2342 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2343
852b75ed
RO
23442011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2345
2346 * configure.ac (tm_file_): New variable.
2347 Determine from tm_file.
2348 (tm_file, tm_defines): Substitute.
2349 * configure: Regenerate.
2350 * mkheader.sh: New file.
2351 * Makefile.in (clean): Remove libgcc_tm.h.
2352 ($(objects)): Depend on libgcc_tm.h.
2353 (libgcc_tm_defines, libgcc_tm_file): New variables.
2354 (libgcc_tm.h, libgcc_tm.stamp): New targets.
2355 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2356 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2357 ($(extra-parts)): Depend on libgcc_tm.h.
2358 * config.host (tm_defines, tm_file): New variable.
2359 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2360 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2361 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2362 (avr-*-rtems*): Likewise.
2363 (avr-*-*): Likewise.
2364 (frv-*-elf): Likewise.
2365 (frv-*-*linux*): Likewise.
2366 (h8300-*-rtems*): Likewise.
2367 (h8300-*-elf*): Likewise.
2368 (i[34567]86-*-darwin*): Likewise.
2369 (x86_64-*-darwin*): Likewise.
2370 (rx-*-elf): Likewise.
2371 (tic6x-*-uclinux): Likewise.
2372 (tic6x-*-elf): Likewise.
2373 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2374 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2375 * config/i386/cygming-crtbegin.c: Likewise.
2376 * config/i386/cygming-crtend.c: Likewise.
2377 * config/ia64/fde-vms.c: Likewise.
2378 * config/ia64/unwind-ia64.c: Likewise.
2379 * config/libbid/bid_gcc_intrinsics.h: Likewise.
2380 * config/rs6000/darwin-fallback.c: Likewise.
2381 * config/stormy16/lib2funcs.c: Likewise.
2382 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2383 * crtstuff.c: Likewise.
2384 * dfp-bit.h: Likewise.
2385 * emutls.c: Likewise.
2386 * fixed-bit.c: Likewise.
2387 * fp-bit.c: Likewise.
2388 * generic-morestack-thread.c: Likewise.
2389 * generic-morestack.c: Likewise.
2390 * libgcc2.c: Likewise.
2391 * libgcov.c: Likewise.
2392 * unwind-dw2-fde-dip.c: Likewise.
2393 * unwind-dw2-fde.c: Likewise.
2394 * unwind-dw2.c: Likewise.
2395 * unwind-sjlj.c: Likewise.
2396
f9989b51
RO
23972011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2398
2399 * configure.ac: Include ../config/picflag.m4.
2400 (GCC_PICFLAG): Call it.
2401 Substitute.
2402 * configure: Regenerate.
2403 * Makefile.in (gcc_srcdir): Remove.
2404 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2405 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2406 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2407 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2408 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2409 Use $<.
2410 Remove comment.
2411 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2412 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2413 to refer to libgcc2.c.
2414 Use $<.
2415 * config/darwin-64.c: New file.
2416 * config/darwin-crt3.c: Remove comment.
2417 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2418 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2419 config/udivmodsi4.c: New files.
2420 * config/memcmp.c, config/memcpy.c, config/memmove.c,
2421 config/memset.c: New files.
2422 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2423 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2424 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2425 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2426 * config/t-openbsd-thread: New file.
2427 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2428 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2429 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2430 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2431 qrnnd.S.
2432 Adapt filename.
2433 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2434 to refer to gthr-posix.c.
2435 * config/alpha/t-vms (LIB2ADD): Set.
2436 * config/alpha/vms-gcc_shell_handler.c: New file.
2437 * config/arm/bpabi.c, config/arm/fp16.c,
2438 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2439 config/arm/unaligned-funcs.c: New files.
2440 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2441 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2442 * config/arm/t-linux: Likewise.
2443 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2444 * config/arm/t-netbsd: New file.
2445 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2446 * config/arm/t-symbian (LIB2ADD_ST): Set.
2447 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2448 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2449 * config/bfin/t-elf: New file.
2450 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2451 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2452 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2453 config/c6x/ltf.c: New files.
2454 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2455 (HOST_LIBGCC2_CFLAGS): Set.
2456 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2457 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2458 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2459 New files.
2460 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2461 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2462 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2463 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2464 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2465 files.
2466 * config/frv/t-frv (LIB2ADD): Set.
2467 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2468 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2469 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2470 config/h8300/popcounthi2.c: New files.
2471 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2472 * config/i386/gthr-win32.c: New file.
2473 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2474 * config/i386/t-cygwin: Likewise.
2475 * config/i386/t-darwin, config/i386/t-darwin64,
2476 config/i386/t-gthr-win32, config/i386/t-interix: New files.
2477 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2478 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2479 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2480 * config/ia64/quadlib.c: New file.
2481 * config/ia64/t-hpux (LIB2ADD): Set.
2482 * config/ia64/t-ia64: Add comment.
2483 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2484 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2485 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2486 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2487 * config/m32c/t-m32c (LIB2ADD): Set.
2488 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2489 * config/m32r/t-m32r: Likewise.
2490 * config/m68k/fpgnulib.c: New file.
2491 * config/m68k/t-floatlib (LIB2ADD): Set.
2492 (xfgnulib.c): New target.
2493 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2494 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2495 * config/mep/t-mep (LIB2ADD): Set.
2496 * config/microblaze/divsi3.asm: Rename to divsi3.S.
2497 * config/microblaze/moddi3.asm: Rename to moddi3.S.
2498 * config/microblaze/modsi3.asm: Rename to modsi3.S.
2499 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2500 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2501 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2502 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2503 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2504 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2505 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2506 New files.
2507 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2508 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2509 * config/pa/fptr.c, config/pa/lib2funcs.S,
2510 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2511 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2512 (LIB2ADD, LIB2ADD_ST): Set.
2513 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2514 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2515 Set.
2516 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2517 * config/pdp11/t-pdp11: New file.
2518 * config/picochip/libgccExtras/adddi3.S,
2519 config/picochip/libgccExtras/ashlsi3.S,
2520 config/picochip/libgccExtras/ashrsi3.S,
2521 config/picochip/libgccExtras/clzsi2.S,
2522 config/picochip/libgccExtras/cmpsi2.S,
2523 config/picochip/libgccExtras/divmod15.S,
2524 config/picochip/libgccExtras/divmodhi4.S,
2525 config/picochip/libgccExtras/divmodsi4.S,
2526 config/picochip/libgccExtras/lshrsi3.S,
2527 config/picochip/libgccExtras/parityhi2.S,
2528 config/picochip/libgccExtras/popcounthi2.S,
2529 config/picochip/libgccExtras/subdi3.S,
2530 config/picochip/libgccExtras/ucmpsi2.S,
2531 config/picochip/libgccExtras/udivmodhi4.S,
2532 config/picochip/libgccExtras/udivmodsi4.S: New files.
2533 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2534 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2535 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2536 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2537 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2538 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2539 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
2540 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2541 files.
2542 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2543 (HOST_LIBGCC2_CFLAGS): Set.
2544 * config/rs6000/t-darwin64: New file.
2545 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2546 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2547 * config/rs6000/t-ppccomm (LIB2ADD): Add
2548 $(srcdir)/config/rs6000/tramp.S.
2549 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2550 Add $(srcdir)/config/rs6000/eabi.S.
2551 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2552 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2553 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2554 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2555 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2556 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2557 * config/rs6000/tramp.S: New file.
2558 * config/s390/t-tpf: Remove.
2559 * config/sh/linux-atomic.S: New file.
2560 * config/sh/t-linux (LIB2ADD): Set.
2561 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2562 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2563 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2564 to unwind-dw2.c.
2565 (HOST_LIBGCC2_CFLAGS): Set.
2566 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2567 * config/spu/divmodti4.c, config/spu/divv2df3.c,
2568 config/spu/float_disf.c, config/spu/float_unsdidf.c,
2569 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2570 config/spu/mfc_multi_tag_release.c,
2571 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2572 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2573 config/spu/multi3.c: New files.
2574 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2575 (HOST_LIBGCC2_CFLAGS): Set.
2576 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2577 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2578 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2579 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2580 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2581 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2582 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2583 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2584 config/stormy16/umodsi3.c: New files.
2585 * config/xtensa/lib2funcs.S: New file.
2586 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2587 * config/xtensa/t-xtensa (LIB2ADD): Set.
2588 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2589 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2590 Add t-freebsd-thread to tmake_file for posix threads.
2591 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2592 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2593 (*-*-lynxos*): Likewise.
2594 (*-*-netbsd*): Likewise.
2595 (*-*-openbsd*): Likewise.
2596 Add t-openbsd-thread to tmake_file for posix threads.
2597 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2598 (*-*-vxworks*): Set tmake_file.
2599 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2600 (alpha*-*-freebsd*): Likewise.
2601 (alpha*-*-netbsd*): Likewise.
2602 (alpha*-*-openbsd*): Likewise.
2603 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2604 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2605 (alpha*-dec-*vms*): Likewise.
2606 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2607 (bfin*-elf*): Add bfin/t-elf to tmake_file.
2608 (bfin*-uclinux*): Likewise.
2609 (bfin*-linux-uclibc*): Likewise.
2610 (crisv32-*-elf): Add cris/t-cris to tmake_file.
2611 (crisv32-*-none): Likewise.
2612 (cris-*-elf): Likewise.
2613 (cris-*-none): Likewise.
2614 (cris-*-linux*, crisv32-*-linux*): Likewise.
2615 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2616 tmake_file.
2617 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2618 tmake_file.
2619 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2620 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2621 (x86_64-*-elf*): Likewise.
2622 (i[34567]86-*-nto-qnx*): Likewise.
2623 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2624 win32 threads.
2625 (x86_64-*-mingw*): Likewise.
2626 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2627 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2628 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2629 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2630 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2631 tmake_file.
2632 (mipsisa64sr71k-*-elf*): Likewise.
2633 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2634 (mips-*-elf*, mipsel-*-elf*): Likewise.
2635 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2636 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2637 (mips*-*-rtems*): Likewise.
2638 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2639 to tmake_file.
2640 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2641 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2642 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2643 (spu-*-elf*): Likewise.
2644 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2645
45b86625
RO
26462011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2647
2648 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2649 $(srcdir) to refer to $(LIB1ASMSRC).
2650 Use $<.
2651 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2652 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2653 config/arm/lib1funcs.S: New files.
2654 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2655 * config/arm/t-arm: New file.
2656 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2657 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2658 config/arm/t-strongarm-elf: New files.
2659 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2660 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2661 * config/avr/lib1funcs.S: New file.
2662 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2663 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2664 * config/c6x/lib1funcs.S: New file.
2665 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2666 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2667 * config/frv/lib1funcs.S: New file.
2668 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2669 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2670 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2671 * config/ia64/__divxf3.asm: Rename to ...
2672 * config/ia64/__divxf3.S: ... this.
2673 Adapt lib1funcs.asm filename.
2674 * config/ia64/_fixtfdi.asm: Rename to ...
2675 * config/ia64/_fixtfdi.S: ... this.
2676 Adapt lib1funcs.asm filename.
2677 * config/ia64/_fixunstfdi.asm: Rename to ...
2678 * config/ia64/_fixunstfdi.S: ... this.
2679 Adapt lib1funcs.asm filename.
2680 * config/ia64/_floatditf.asm: Rename to ...
2681 * config/ia64/_floatditf.S: ... this.
2682 Adapt lib1funcs.asm filename.
2683 * config/ia64/lib1funcs.S: New file.
2684 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2685 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2686 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2687 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2688 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2689 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2690 * config/mep/lib1funcs.S: New file.
2691 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2692 * config/mips/mips16.S: New file.
2693 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2694 * config/pa/milli64.S: New file.
2695 * config/pa/t-linux, config/pa/t-linux64: New files.
2696 * config/picochip/lib1funcs.S: New file.
2697 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2698 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2699 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2700 * config/sh/t-netbsd: New file.
2701 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2702 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2703 * config/sh/t-sh64: New file.
2704 * config/sparc/lb1spc.S: New file.
2705 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2706 filename.
2707 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2708 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2709 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2710 config/xtensa/lib1funcs.S: New files.
2711 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2712 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2713 tmake_file.
2714 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2715 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2716 (arm*-*-linux*): Likewise.
2717 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2718 arm*-*-linux-*eabi, add arm/t-linux otherwise.
2719 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2720 (arm*-*-ecos-elf): Likewise.
2721 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2722 (arm*-*-rtems*): Likewise.
2723 (arm*-*-elf): Likewise.
2724 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2725 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2726 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2727 (bfin*-uclinux*): Likewise.
2728 (bfin*-linux-uclibc*): Likewise.
2729 (bfin*-rtems*): Likewise.
2730 (bfin*-*): Likewise.
2731 (fido-*-elf): Merge into m68k-*-elf*.
2732 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2733 (frv-*-*linux*): Add frv/t-frv to tmake_file.
2734 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2735 (h8300-*-elf*): Likewise.
2736 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2737 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2738 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2739 (i[34567]86-*-mingw*): Likewise.
2740 (x86_64-*-mingw*): Likewise.
2741 (i[34567]86-*-interix3*): Likewise.
2742 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2743 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2744 (m68k-*-elf*): Also handle fido-*-elf.
2745 Add m68k/t-floatlib to tmake_file.
2746 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2747 (m68k-*-linux*): Likewise.
2748 (m68k-*-rtems*): Likewise.
2749 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2750 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2751 sh64*-*-*.
2752 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2753 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2754 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2755 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2756 sh/t-netbsd to tmake_file.
2757 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2758 (sh-*-rtems*): Add sh/t-sh to tmake_file.
2759 (sh-wrs-vxworks): Likewise.
2760 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2761 *-leon[3-9]*.
2762 (v850*-*-*): Add v850/t-v850 to tmake_file.
2763 (vax-*-linux*): Add vax/t-linux to tmake_file.
2764 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2765
5f73c6cc
RO
27662011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2767
2768 * crtstuff.c: New file.
2769 * Makefile.in (CRTSTUFF_CFLAGS): Define.
2770 (CRTSTUFF_T_CFLAGS): Define.
2771 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2772 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2773 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2774 crtstuff.c.
2775 Use $<.
2776 (crtbeginT.o): Use $(objext).
2777 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2778 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2779 (gcc-extra-parts): Remove.
2780 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2781 Set extra_parts.
2782 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2783 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2784 Add t-crtstuff-pic to tmake_file.
2785 (*-*-lynxos*): New case.
2786 Set tmake_file, extra_parts.
2787 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2788 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2789 *-*-netbsdelf[2-9]*.
2790 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2791 (*-*-rtems*): Set extra_parts.
2792 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2793 (*-*-uclinux*): New case.
2794 Set extra_parts.
2795 (*-*-vms*): New case.
2796 Set tmake_file, extra_parts.
2797 (*-*-elf): Set extra_parts.
2798 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2799 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2800 vms/t-vms64.
2801 Set extra_parts.
2802 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2803 Set extra_parts.
2804 (arm*-*-freebsd*): Add t-crtin to tmake_file.
2805 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2806 (arm-wrs-vxworks): Append to tmake_file.
2807 Set extra_parts.
2808 (arm*-*-uclinux*): Set extra_parts.
2809 (arm*-*-ecos-elf): Likewise.
2810 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2811 arm*-*-eabi*.
2812 (arm*-*-rtems*): Set extra_parts.
2813 (arm*-*-elf): Likewise.
2814 (avr-*-rtems*): Clear extra_parts.
2815 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2816 Set extra_parts.
2817 (bfin*-uclinux*): Likewise.
2818 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2819 (bfin*-rtems*): Append to tmake_file.
2820 Set extra_parts.
2821 (bfin*-*): Likewise.
2822 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2823 (crisv32-*-elf): ... this.
2824 (crisv32-*-none): ... this.
2825 (cris-*-elf, cris-*-none): New cases.
2826 Add cris/t-elfmulti to tmake_file.
2827 (fr30-*-elf): Append to tmake_file.
2828 Set extra_parts.
2829 (frv-*-elf): Append to tmake_file, add frv/t-frv.
2830 Set extra_parts.
2831 (h8300-*-rtems*): Append to tmake_file.
2832 Set extra_parts.
2833 (h8300-*-elf*): Likewise.
2834 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2835 Set extra_parts.
2836 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2837 Set extra_parts.
2838 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2839 (x86_64-*-elf*): Likewise.
2840 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2841 (x86_64-*-freebsd*): Likewise.
2842 (x86_64-*-netbsd*): Likewise.
2843 (i[34567]86-*-linux*): Likewise.
2844 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2845 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2846 (x86_64-*-linux*): Likewise.
2847 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2848 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2849 tmake_file.
2850 Set extra_parts.
2851 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2852 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2853 Append to extra_parts, remove crtbegin.o, crtend.o.
2854 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2855 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2856 crtend.o, crtbeginS.o, crtendS.o.
2857 (ia64*-*-linux*): Comment extra_parts.
2858 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2859 Set extra_parts.
2860 (iq2000*-*-elf*): Clear extra_parts.
2861 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2862 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2863 (m32r-*-elf*, m32r-*-rtems*): Split off ...
2864 (m32r-*-rtems*): ... this.
2865 Add m32r/t-m32r to tmake_file.
2866 (m68k-*-elf*): Add t-crtin to tmake_file.
2867 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2868 (mcore-*-elf): Likewise.
2869 (microblaze*-*-*): Set extra_parts.
2870 (mips*-sde-elf*): New case.
2871 Set tmake_file, extra_parts.
2872 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2873 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2874 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2875 tmake_file.
2876 Set extra_parts.
2877 (mipsisa64sr71k-*-elf*): Likewise.
2878 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2879 (mips-*-elf*, mipsel-*-elf*): Likewise.
2880 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2881 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2882 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2883 (mips*-*-rtems*): Likewise.
2884 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2885 (moxie-*-*): Split into ...
2886 (moxie-*-elf, moxie-*-uclinux*): ... this.
2887 Add to extra_parts, remove crtbegin.o, crtend.o.
2888 (moxie-*-rtems*): New case.
2889 Set tmake_file.
2890 Clear extra_parts.
2891 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2892 Set extra_parts.
2893 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2894 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2895 tmake_file.
2896 Set extra_parts.
2897 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2898 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2899 Set extra_parts.
2900 (powerpc-*-eabisim*): Likewise.
2901 (powerpc-*-elf*): Likewise.
2902 (powerpc-*-eabialtivec*): Likewise.
2903 (powerpc-xilinx-eabi*): Likewise.
2904 (powerpc-*-eabi*): Likewise.
2905 (powerpc-*-rtems*): Likewise.
2906 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2907 tmake_file.
2908 Set extra_parts.
2909 (powerpc-*-lynxos*): Add to tmake_file.
2910 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2911 rs6000/t-crtstuff, t-crtstuff-pic.
2912 Set extra_parts.
2913 (powerpcle-*-eabisim*): Likewise.
2914 (powerpcle-*-eabi*): Likewise.
2915 (rx-*-elf): Remove extra_parts.
2916 (s390x-ibm-tpf*): Set extra_parts.
2917 (score-*-elf): Set extra_parts.
2918 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2919 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2920 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2921 (sh64l*-*-netbsd*): Split into ...
2922 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2923 Add t-crtstuff-pic to tmake_file.
2924 Set extra_parts.
2925 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2926 Set extra_parts.
2927 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2928 (sparc-*-elf*): Remove t-crtin from tmake_file.
2929 Add to extra_parts, remove crtbegin.o, crtend.o.
2930 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2931 (sparc64-*-linux*): Likewise.
2932 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2933 Add to extra_parts, remove crtbegin.o, crtend.o.
2934 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2935 Add to extra_parts, remove crtbegin.o, crtend.o.
2936 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2937 Add to extra_parts, remove crtbegin.o, crtend.o.
2938 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2939 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2940 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2941 Set extra_parts.
2942 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2943 Set extra_parts.
2944 (tic6x-*-*): Change to ...
2945 (tic6x-*-elf): ... this.
2946 Set extra_parts.
2947 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2948 Set extra_parts.
2949 (am33_2.0-*-linux*): Add comment.
2950 (mep*-*-*): Add mep/t-mep to tmake_file.
2951 Set extra_parts.
2952 * config/alpha/t-vms: New file.
2953 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2954 * config/arm/crti.S, config/arm/crtn.S: New files.
2955 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2956 * config/bfin/crtlibid.S: New file.
2957 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2958 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2959 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2960 (crti.o, crtin.o): New rules.
2961 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2962 * config/c6x/t-uclinux: New file.
2963 * config/cris/t-elfmulti: New file.
2964 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2965 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2966 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2967 * config/frv/t-frv: New file.
2968 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2969 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2970 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2971 New files.
2972 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2973 refer to cygming-crtbegin.c, cygming-crtend.c.
2974 Use $<.
2975 * config/i386/t-nto: New file.
2976 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2977 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2978 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2979 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2980 Use .S extension.
2981 Use $<.
2982 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2983 (crtinitS.o): New rule.
2984 * config/ia64/vms-crtinit.S: New file.
2985 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2986 * config/m32r/initfini.c: New file.
2987 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2988 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2989 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2990 * config/mep/t-mep: New file.
2991 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2992 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2993 * config/mips/crti.S, config/mips/crtn.S: New files.
2994 * config/mips/t-crtstuff: New file.
2995 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2996 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2997 (CUSTOM_CRTIN): Set.
2998 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2999 dependencies.
3000 Use $(srcdir) to refer to crti.S, crtn.S.
3001 Use .S extension, $<.
3002 * config/moxie/crti.asm: Rename to ...
3003 * config/moxie/crti.S: ... this.
3004 * config/moxie/crtn.asm: Rename to ...
3005 * config/moxie/crtn.S: ... this.
3006 * config/moxie/t-moxie: Remove.
3007 * config/pa/stublib.c: New file.
3008 * config/pa/t-stublib, config/pa/t-stublib64: New files.
3009 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
3010 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
3011 * config/rs6000/t-crtstuff: New file.
3012 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
3013 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
3014 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
3015 Make output file explicit.
3016 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
3017 Make output file explicit.
3018 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
3019 Make output file explicit.
3020 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
3021 Make output file explicit.
3022 * config/score/crti.S, config/score/crtn.S: New files.
3023 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
3024 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
3025 files.
3026 * config/sh/t-sh, config/sh/t-superh: New files.
3027 * config/sparc/t-linux64: New file.
3028 * config/spu/cache.S, config/spu/cachemgr.c: New files.
3029 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
3030 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
3031 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
3032 * config/t-crtin: Remove.
3033 * config/t-crtstuff-pic: New file.
3034 * config/t-sol2 (CUSTOM_CRTIN): Set.
3035 (crti.o, crtn.o): New rules.
3036 * config/vms/t-vms: New file.
3037 * config/vms/vms-ucrt0.c: New file.
3038 * config/xtensa/t-elf: New file.
3039
b040f2be
RO
30402011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3041
3042 * Makefile.in (SHLIB_NM_FLAGS): Set.
3043 * mkmap-flat.awk, mkmap-symver.awk: New files.
3044 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
3045 exceptions.
3046 * configure: Regenerate.
3047 * config/libgcc-glibc.ver: New file.
3048 * config/libgcc-libsystem.ver: New file.
3049 * config/t-libunwind (SHLIB_LC): Set.
3050 * config/t-linux: New file.
3051 * config/t-slibgcc (INSTALL_SHLIB): New.
3052 (SHLIB_INSTALL): Use it.
3053 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
3054 to mkmap-symver.awk.
3055 (SHLIB_MAPFILES): Don't append, adapt pathname.
3056 (SHLIB_VERPFX): Set.
3057 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
3058 to mkmap-symver.awk.
3059 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
3060 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
3061 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
3062 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
3063 to mkmap-flat.awk.
3064 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
3065 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
3066 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
3067 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
3068 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
3069 * config/i386/libgcc-darwin.10.4.ver,
3070 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
3071 New files.
3072 * config/i386/t-darwin: Remove.
3073 * config/i386/t-darwin64: Likewise.
3074 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
3075 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
3076 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
3077 * config/i386/t-linux: New file.
3078 * config/i386/t-mingw32: New file.
3079 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
3080 * config/ia64/t-glibc: Rename to ...
3081 * config/ia64/t-linux: ... this.
3082 (SHLIB_MAPFILES): Set.
3083 * config/ia64/t-glibc-libunwind: Rename to ...
3084 * config/ia64/t-linux-libunwind: ... this.
3085 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
3086 * config/ia64/t-slibgcc-hpux: New file.
3087 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
3088 * config/m68k/t-slibgcc-elf-ver: New file.
3089 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
3090 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
3091 to mkmap-flat.awk.
3092 * config/pa/t-slibgcc-hpux: New file.
3093 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
3094 files.
3095 * config/rs6000/libgcc-darwin.10.4.ver,
3096 config/rs6000/libgcc-darwin.10.5.ver: New files.
3097 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
3098 config/rs6000/libgcc-glibc.ver.
3099 * config/rs6000/libgcc-ppc64.ver: Rename to
3100 config/rs6000/libgcc-ibm-ldouble.ver.
3101 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
3102 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
3103 * config/rs6000/t-ldbl128: Rename to ...
3104 * config/rs6000/t-linux: ... this.
3105 (SHLIB_MAPFILES): Adapt filename.
3106 * config/rs6000/t-slibgcc-aix: New file.
3107 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
3108 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
3109 libgcc-excl.ver, libgcc-glibc.ver.
3110 (SHLIB_LINK, SHLIB_INSTALL): Remove.
3111 * config/sparc/libgcc-glibc.ver: New file.
3112 * config/sparc/t-linux: New file.
3113 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
3114 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
3115 t-slibgcc-elf-ver to tmake_file.
3116 Add t-slibgcc-nolc-override to tmake_file for posix threads on
3117 *-*-freebsd[34].
3118 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3119 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
3120 t-slibgcc-elf-ver, t-linux to tmake_file.
3121 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
3122 tmake_file.
3123 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
3124 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
3125 (alpha*-dec-*vms*): Likewise.
3126 (arm*-*-freebsd*): Append to tmake_file.
3127 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
3128 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
3129 arm*-*-linux-*eabi.
3130 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
3131 tmake_file for arm*-*-symbianelf*.
3132 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
3133 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
3134 cris/t-linux.
3135 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
3136 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
3137 pa/t-slibgcc-dwarf-ver to tmake_file.
3138 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
3139 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
3140 (hppa*64*-*-hpux11*): Likewise.
3141 (hppa[12]*-*-hpux11*): Likewise.
3142 (x86_64-*-darwin*): Don't override tmake_file, but only keep
3143 i386/t-crtpc, i386/t-crtfm.
3144 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
3145 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3146 to tmake_file.
3147 Add i386/t-cygwin to tmake_file.
3148 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
3149 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
3150 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
3151 to tmake_file.
3152 Add i386/t-mingw32 to tmake_file.
3153 (x86_64-*-mingw*): Likewise.
3154 (ia64*-*-freebsd*): Append to tmake_file.
3155 (ia64*-*-linux*): Append to tmake_file.
3156 Replace ia64/t-glibc by ia64/t-linux.
3157 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
3158 system libunwind.
3159 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
3160 t-slibgcc-hpux to tmake_file.
3161 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
3162 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
3163 (m32rle-*-linux*): Likewise.
3164 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
3165 sjlj exceptions.
3166 (microblaze*-linux*): New case.
3167 Append to tmake_file, add t-slibgcc-nolc-override.
3168 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
3169 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3170 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
3171 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3172 rs6000/t-slibgcc-aix to tmake_file.
3173 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3174 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3175 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3176 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3177 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3178 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
3179 sh*-*-linux*.
3180 (sparc-*-linux*): Append to tmake_file for *-leon*.
3181 Add sparc/t-linux to tmake_file for non-Leon targets.
3182 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
3183 (tic6x-*-uclinux): New case.
3184 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
3185 (tic6x-*-*): Add c6x/t-elf to tmake_file.
3186 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
3187 (am33_2.0-*-linux*): Append to tmake_file.
3188 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3189 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
3190 x86_64-*-kfreebsd*-gnu.
3191 Add i386/t-linux to tmake_file.
3192
18b4bd7b
ILT
31932011-10-28 Ian Lance Taylor <iant@google.com>
3194
3195 * config/i386/morestack.S: Correct CFI information to do proper
3196 returns throughout function. In 32-bit mode, save %ebx so that it
3197 is restored on unwind.
3198
5b2d9d90
BS
31992011-10-25 Bernd Schmidt <bernds@codesourcery.com>
3200
3201 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
3202 case where B3 isn't the return register.
3203
0d53e346
BS
3204 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
3205 logic for doubleword pops.
3206
cbffbd59
AT
32072011-10-25 Andreas Tobler <andreast@fgznet.ch>
3208
3209 * config/rs6000/t-freebsd: Add wildcard.
3210
56dc349e
PB
32112011-10-21 Paul Brook <paul@codesourcery.com>
3212
3213 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
3214
1e06b07d
UB
32152011-10-16 Uros Bizjak <ubizjak@gmail.com>
3216 Eric Botcazou <ebotcazou@adacore.com>
3217
3218 PR target/50737
3219 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
3220 fs->signal_frame to 1.
3221
b5204884
ILT
32222011-10-07 Ian Lance Taylor <iant@google.com>
3223
3224 * generic-morestack-thread.c: #include <errno.h>.
3225
91a639a1
ILT
32262011-10-07 Ian Lance Taylor <iant@google.com>
3227
3228 PR target/46093
3229 * generic-morestack.c (__generic_morestack): Make sure the segment
3230 is large enough for both the stack frame and the copied
3231 parameters.
3232
cc49116d
RO
32332011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3234
3235 PR bootstrap/49804
3236 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
3237 extra_parts.
3238
2996d8c3
NC
32392011-09-28 Nick Clifton <nickc@redhat.com>
3240
3241 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
3242 64-bit doubles are not enabled.
3243 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
3244 and floatunsisf functions.
3245
1e874273 32462011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 3247
1e874273
PB
3248 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
3249 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
3250 * unwind-arm-common.inc: New file.
3251 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
3252 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
3253 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
3254 * config/c6x/libunwind.S: New file.
3255 * config/c6x/pr-support.c: New file.
3256 * config/c6x/unwind-c6x.c: New file.
3257 * config/c6x/unwind-c6x.h: New file.
3258 * config/c6x/t-c6x-elf: New file.
3259
f70c879a
UB
32602011-08-23 Uros Bizjak <ubizjak@gmail.com>
3261
3262 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
3263 (ASM_DIVZERO): Ditto.
3264 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
3265
c55b374b
RS
32662011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
3267
3268 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
3269
1e138510
RS
32702011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
3271
3272 PR target/50090
3273 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
3274 instead of an assembly one.
3275
1563503d
PB
32762011-08-12 Paolo Bonzini <bonzini@gnu.org>
3277
3278 PR bootstrap/50047
3279 * Makefile.in (install-unwind_h): Create
3280 $(gcc_objdir)/include/unwind.h atomically.
3281
3627ac1a
RO
32822011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3283
3284 * Makefile.in (install-unwind_h): Remove destination file first.
3285
c6412d86
RO
32862011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3287
3288 * sync.c: New file.
3289 * config/mips/t-mips16: New file.
3290 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
3291 (mips*-*-linux*): Likewise.
3292 (mips*-sde-elf*): Likewise.
3293 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
3294 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
3295 Add mips/t-mips16 to tmake_file.
3296 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
3297 (mips-*-elf*): Likewise.
3298 (mips64-*-elf*): Likewise.
3299 (mips64orion-*-elf*): Likewise.
3300 (mips*-*-rtems*): Likewise.
3301 (mipstx39-*-elf*): Likewise.
3302 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
3303 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
3304 LIBGCC_SYNC_CFLAGS.
3305 Use $(srcdir) to refer to sync.c.
3306 Use $<.
3307 ($(libgcc-sync-funcs-o)): Likewise.
3308 ($(libgcc-sync-size-funcs-s-o)): Likewise.
3309 ($(libgcc-sync-funcs-s-o)): Likewise.
3310
3cb6e5bd
AS
33112011-08-09 Andreas Schwab <schwab@linux-m68k.org>
3312
3313 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3314 t-libunwind.
3315
cca2207a
L
33162011-08-08 H.J. Lu <hongjiu.lu@intel.com>
3317
3318 PR other/48007
3319 * config/i386/value-unwind.h: New.
3320
ed39fbad
RS
33212011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
3322
3323 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
3324 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
3325 Add to tmake_file rather than overriding it.
3326
aca0b0b3
RO
33272011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3328
3329 * config/t-softfp: Remove.
3330 * soft-fp: Moved from ../gcc/config.
3331 * soft-fp/README: Remove t-softfp reference.
3332 * soft-fp/t-softfp: Move to config/t-softfp.
3333 (softfp_machine_header): Remove.
3334 (softfp_file_list): Remove config subdir.
3335 (soft-fp-objects): New variable.
3336 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3337 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3338 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3339 * config/t-softfp-excl: New file.
3340 * config/t-softfp-sfdf: New file.
3341 * config/t-softfp-tf: New file.
3342 * config/no-sfp-machine.h: New file.
3343 * config/arm/sfp-machine.h: New file.
3344 * config/arm/t-softfp: New file.
3345 * config/c6x/sfp-machine.h: New file.
3346 * config/i386/32/t-fprules-softfp: Rename to ...
3347 * config/i386/32/t-softfp: ... this.
3348 (tifunctions, LIB2ADD): Remove.
3349 (softfp_int_modes): Override.
3350 * config/i386/64/t-softfp-compat (tf-functions): Remove config
3351 subdir.
3352 * config/i386/64/eqtf2.c: Likewise.
3353 * config/i386/64/getf2.c: Likewise.
3354 * config/i386/64/letf2.c: Likewise.
3355 * config/ia64/sft-machine.h: New file.
3356 * config/ia64/t-fprules-softfp: Rename to ...
3357 * config/ia64/t-softfp: ... this.
3358 * config/lm32/sfp-machine.h: New file.
3359 * config/moxie/t-moxie-softfp: Remove.
3360 * config/rs6000/ibm-ldouble-format: New file.
3361 * config/rs6000/ibm-ldouble.c: New file.
3362 * config/rs6000/libgcc-ppc-glibc.ver: New file
3363 * config/rs6000/libgcc-ppc64.ver: New file
3364 * config/rs6000/sfp-machine.h: New file.
3365 * config/rs6000/t-freebsd: New file.
3366 * config/rs6000/t-ibm-ldouble: New file.
3367 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3368 libgcc-ppc-glibc.ver.
3369 * config/rs6000/t-linux64: New file.
3370 * config/rs6000/t-ppccomm (LIB2ADD): Add
3371 $(srcdir)/config/rs6000/ibm-ldouble.c.
3372 * config/rs6000/t-ppccomm-ldbl: New file.
3373 * config/score/sfp-machine.h: New file.
3374 * config.host (sfp_machine_header): Explain.
3375 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3376 t-softfp to tmake_file.
3377 (arm*-*-uclinux*): Likewise.
3378 (arm*-*-ecos-elf): Likewise.
3379 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3380 (arm*-*-rtems*): Likewise.
3381 (arm*-*-elf): Likewise.
3382 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3383 in tmake_file.
3384 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3385 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3386 (lm32-*-uclinux*): Likewise.
3387 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3388 t-softfp-excl, t-softfp.
3389 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3390 (powerpc64-*-darwin*): Likewise.
3391 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3392 to tmake_file.
3393 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3394 tmake_file.
3395 (powerpc-*-eabisim*): Likewise.
3396 (powerpc-*-elf*): Likewise.
3397 (powerpc-*-eabialtivec*): Likewise.
3398 (powerpc-xilinx-eabi*): Likewise.
3399 (powerpc-*-rtems*): Likewise.
3400 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3401 t-softfp-excl, t-softfp to tmake_file.
3402 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3403 rs6000/t-ppccomm-ldbl to tmake_file.
3404 (powerpcle-*-elf*): Likewise.
3405 (powerpcle-*-eabisim*): Likewise.
3406 (powerpcle-*-eabi*): Likewise.
3407 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3408 rs6000/t-ibm-ldouble to tmake_file.
3409 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3410 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3411 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3412 (tic6x-*-*): Likewise.
3413 (i[34567]86-*-darwin*, x86_64-*-darwin*,
3414 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3415 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3416 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3417 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3418 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3419 t-softfp to tmake_file.
3420 * configure.ac (sfp_machine_header): Provide default if unset.
3421 Substitute.
3422 Link sfp-machine.h to config/$sfp_machine_header.
3423 * configure: Regenerate.
3424
569dc494
RO
34252011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3426
3427 * Makefile.in (double_type_size, long_double_type_size): Set.
3428 Remove $(fpbit-in-libgcc) support.
3429 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3430 (fpbit-src): New variable.
3431 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3432 Compile with -DFLOAT $(FPBIT_CFLAGS).
3433 Use $<.
3434 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3435 Compile with $(FPBIT_CFLAGS).
3436 Use $<.
3437 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3438 Compile with -DFLOAT $(TPBIT_CFLAGS).
3439 Use $<.
3440 * configure.ac (double_type_size, long_double_type_size):
3441 Determine and substitute.
3442 * configure: Regenerate.
3443 * fp-bit.c, fp-bit.h: New files.
3444 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3445 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3446 * config/mips/t-mips: New file.
3447 * config/mips/t-sdemtk: New file.
3448 * config/rs6000/ppc64-fp.c: New file.
3449 * config/rs6000/t-darwin (LIB2ADD): Add
3450 $(srcdir)/config/rs6000/ppc64-fp.c.
3451 * config/rs6000/t-ppc64-fp: New file.
3452 * config/rx/rx-lib.h: New file.
3453 * config/rx/t-rx (FPBIT): Set to true.
3454 ($(gcc_objdir)/fp-bit.c): Remove.
3455 (DPBIT): Set to true only with -m64bit-doubles.
3456 ($(gcc_objdir)/dp-bit.c): Remove.
3457 * config/sparc/t-softfp: Remove.
3458 * config/spu/t-elf: New file.
3459 * config/t-fdpbit, config/t-fpbit: New files.
3460 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3461 (mips*-*-*): Likewise.
3462 (arm-wrs-vxworks): Likewise.
3463 (arm*-*-freebsd*): Likewise.
3464 (avr-*-rtems*): Add t-fpbit to tmake_file.
3465 (avr-*-*): Likewise.
3466 (bfin*-elf*): Add t-fdpbit to tmake_file.
3467 (bfin*-uclinux*): Likewise.
3468 (bfin*-linux-uclibc*): Likewise.
3469 (bfin*-rtems*): New case.
3470 Add t-fdpbit to tmake_file.
3471 (bfin*-*): Add t-fdpbit to tmake_file.
3472 (crisv32-*-elf): Likewise.
3473 (cris-*-linux*): Likewise.
3474 (fr30-*-elf): Likewise.
3475 (frv-*-elf, frv-*-*linux*): Likewise.
3476 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3477 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3478 (m32r-*-elf*): Likewise.
3479 (m32rle-*-elf*): Likewise.
3480 (m32r-*-linux*): Likewise.
3481 (m32rle-*-linux*): Likewise.
3482 (mcore-*-elf): Add t-fdpbit to tmake_file.
3483 (microblaze*-*-*): Likewise.
3484 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3485 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3486 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3487 Fix typo.
3488 Add mips/t-tpbit to tmake-file.
3489 (mips*-*-linux*): Fix typo.
3490 (mips*-sde-elf*): New case
3491 Add mips/t-sdemtk unless using newlib.
3492 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3493 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3494 (mn10300-*-*): Likewise.
3495 (pdp11-*-*): Likewise.
3496 (picochip-*-*): Add t-fpbit to tmake_file.
3497 (powerpc-*-eabisimaltivec*): Likewise.
3498 (powerpc-*-eabisim*): Likewise.
3499 (powerpc-*-elf*): Likewise.
3500 (powerpc-*-eabialtivec*): Likewise.
3501 (powerpc-xilinx-eabi*): New case.
3502 Add t-fdpbit to tmake_file.
3503 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
3504 (powerpc-*-rtems*): Likewise.
3505 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3506 tmake_file.
3507 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3508 tmake_file.
3509 (powerpc-*-lynxos*): Likewise.
3510 (powerpcle-*-elf*): Likewise.
3511 (powerpcle-*-eabisim*): Likewise.
3512 (powerpcle-*-eabi*): Likewise.
3513 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3514 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3515 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3516 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3517 (rx-*-elf): Add t-fdpbit to tmake_file.
3518 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3519 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3520 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3521 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3522 sh*-*-netbsd*.
3523 (sh-*-rtems*): Add t-fdpbit to tmake_file.
3524 (sh-wrs-vxworks): Likewise.
3525 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3526 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3527 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3528 (sparc64-*-rtems*): ... new case.
3529 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3530 (spu-*-elf*): Likewise.
3531 Add spu/t-elf to tmake_file.
3532 (v850*-*-*): Add t-fdpbit to tmake_file.
3533 (xstormy16-*-elf): Likewise.
3534 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3535 (mep*-*-*): Likewise.
3536
201cdb74
RO
35372011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3538
3539 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3540 variables.
3541 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3542 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3543 (install-unwind_h): New target.
3544 (all): Depend on it.
3545 * config.host (unwind_header): New variable.
3546 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3547 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3548 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3549 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3550 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3551 Set unwind_header.
3552 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3553 Set unwind_header.
3554 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3555 arm*-*-eabi*.
3556 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3557 Set unwind_header.
3558 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3559 (ia64*-*-freebsd*): Likewise.
3560 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3561 tmake_file.
3562 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3563 $with_system_libunwind.
3564 (ia64*-*-hpux*): Set tmake_file.
3565 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3566 (picochip-*-*): Set tmake_file.
3567 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3568 md_unwind_header.
3569 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3570 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3571 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3572 (xtensa*-*-elf*): Set tmake_file.
3573 (xtensa*-*-linux*): Likewise.
3574 * configure.ac: Include ../config/unwind_ipinfo.m4.
3575 Call GCC_CHECK_UNWIND_GETIPINFO.
3576 Link unwind.h to $unwind_header.
3577 * configure: Regenerate.
3578 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3579 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3580 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3581 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3582 * config/unwind-dw2-fde-darwin.c: New file.
3583 * config/arm/libunwind.S, config/arm/pr-support.c,
3584 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3585 config/arm/unwind-arm.h,: New files.
3586 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3587 config/ia64/t-eh-ia64, config/ia64/t-glibc,
3588 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3589 config/ia64/t-vms, config/ia64/unwind-ia64.c,
3590 config/ia64/unwind-ia64.h: New files.
3591 * config/picochip/t-picochip: New file.
3592 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3593 files.
3594 * config/rs6000/t-darwin (LIB2ADDEH): Set.
3595 * config/s390/t-tpf (LIB2ADDEH): Remove.
3596 * config/t-darwin (LIB2ADDEH): Set.
3597 * config/t-eh-dw2-dip: New file.
3598 * config/t-libunwind, config/t-libunwind-elf: New files.
3599 * config/t-sol2 (LIB2ADDEH): Remove.
3600 * config/xtensa/t-xtensa: New file.
3601
40f2f11f
L
36022011-08-02 H.J. Lu <hongjiu.lu@intel.com>
3603
3604 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3605 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3606 long long to check rt_sigreturn syscall.
3607
bd15e32c
AM
36082011-08-02 Alan Modra <amodra@gmail.com>
3609
3610 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3611 Restore for indirect call bcrtl from correct stack slot, and only
3612 if cfa+40 isn't valid.
3613
655b30bf
JB
36142011-08-01 Julian Brown <julian@codesourcery.com>
3615
3616 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3617 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3618 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3619
247eb06f
JB
36202011-08-01 Julian Brown <julian@codesourcery.com>
3621
3622 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3623 (libgcc-std.ver.in): Use above.
3624 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3625 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
3626 throughout file.
3627 * config/t-fixedpoint-gnu-prefix: New file.
3628 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3629 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3630 instead of __PFX__.
3631
02a8fe00
L
36322011-07-28 H.J. Lu <hongjiu.lu@intel.com>
3633
3634 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3635 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3636 for x86-64. Properly check __x86_64__ and __LP64__.
3637
5fce9126
L
36382010-07-28 H.J. Lu <hongjiu.lu@intel.com>
3639
3640 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3641 version.
3642 (_FP_WS_TYPE): Likewise.
3643 (_FP_I_TYPE): Likewise.
3644
2374a88a
AM
36452011-07-28 Alan Modra <amodra@gmail.com>
3646
3647 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3648 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3649 in a plt call stub. Do restore r2 if stopped on bctrl.
3650
e44dbbe1
RO
36512011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3652
3653 * config.host (i[3456x]86-*-netware*): Remove.
3654 * config/i386/netware-crt0.c, config/i386/t-nwld,
3655 config/i386/t-slibgcc-nwld: Remove.
3656
bcead286
BS
36572011-07-15 Bernd Schmidt <bernds@codesourcery.com>
3658
3659 * config.host: Handle tic6x-*-*.
3660 * config/c6x/c6x-abi.h: New file.
3661
b3fe1584
RO
36622011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3663
3664 * config/i386/crtprec.c: New file.
3665 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3666 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3667 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3668 (x86_64-*-darwin*): Likewise.
3669 (i[34567]86-*-solaris2*: Likewise.
3670
35d8090d
RO
36712011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3672
3673 * config/alpha/crtfastmath.c: New file.
3674 * config/i386/crtfastmath.c: New file.
3675 * config/ia64/crtfastmath.c: New file.
3676 * config/mips/crtfastmath.c: New file.
3677 * config/sparc/crtfastmath.c: New file.
3678
3679 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3680 crtfastmath.c.
3681 Add -frandom-seed=gcc-crtfastmath.
3682 * config/alpha/t-crtfm: Remove.
3683 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3684 * config/ia64/t-ia64 (crtfastmath.o): Remove.
3685
3686 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3687 (alpha*-dec-osf5.1*): Likewise.
3688 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3689 Add crtfastmath.o to extra_parts.
3690 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3691 Add crtfastmath.o to extra_parts.
3692 (x86_64-*-darwin*): Likewise.
3693 (x86_64-*-mingw*): Likewise.
3694 (ia64*-*-elf*): Add t-crtfm to tmake_file.
3695 (ia64*-*-freebsd*): Likewise.
3696 (ia64*-*-linux*): Likewise.
3697 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3698 Add crtfastmath.o to extra_parts.
3699
e141542e
RO
37002011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3701
3702 * config/darwin-crt3.o: New file.
3703 * config/rs6000/darwin-crt2.c: New file.
3704 * config/t-darwin: New file.
3705 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3706 (crt2.o): New rule.
3707 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3708 (powerpc-*-darwin*): Add crt2.o to extra_parts.
3709 (powerpc64-*-darwin*): Likewise.
3710
2d1efe2d
RO
37112011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3712
3713 * config/i386/netware-crt0.c: New file.
3714 * config/i386/t-nwld: Rename to ...
3715 * config/i386/t-slibgcc-nwld: ... this.
3716 * config/i386/t-nwld: New file.
3717 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3718 tmake_file.
3719 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3720 extra_parts.
3721
4a8bb046
RO
37222011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3723
3724 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3725 i386/t-crtstuff.
3726 * configure: Regenerate.
3727
2d8d5935
RO
37282011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3729
3730 * dfp-bit.c, dfp-bit.h: New files.
3731 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3732 variables.
3733 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3734 ($(d64pbit-o)): Likewise.
3735 ($(d128pbit-o)): Likewise.
3736 * config/t-dfprules: New file.
3737 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3738 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3739 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3740 (x86_64-*-linux*): Likewise.
3741 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3742 (i[34567]86-*-cygwin*): Likewise.
3743 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
3744 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3745
2c50b2c3
RO
37462011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3747
3748 * Makfile.in (LIBGCOV): New variable.
3749 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3750 * libgcov.c: New file.
3751
a039d7c2
RO
37522011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3753
3754 * fixed-bit.c, fixed-bit.h: New files.
3755 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3756 refer to fixed-bit.c.
3757
1e4b2746
JM
37582011-07-07 Joseph Myers <joseph@codesourcery.com>
3759
3760 * config.host (*local*): Remove.
3761
fbdd5d87
RO
37622011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3763
3764 PR target/39150
3765 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3766 like i?86-*-solaris2.1[0-9]*.
3767 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3768 * configure.ac (i?86-*-solaris2*): Likewise.
3769 * configure: Regenerate.
3770
9e7714f4
TS
37712011-07-06 Thomas Schwinge <thomas@schwinge.name>
3772
3773 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3774 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3775 md_unwind_header by splitting out of...
3776 (i[34567]86-*-linux*): ... this.
3777 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3778 Remove md_unwind_header by splitting out of...
3779 (x86_64-*-linux*): ... this.
3780
6dab9931
GJL
37812011-07-04 Georg-Johann Lay <avr@gjlay.de>
3782
3783 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3784
4be46d19
NC
37852011-06-28 Nick Clifton <nickc@redhat.com>
3786
3787 * config.host: Recognize all V850 variants.
3788
1da9434b
UB
37892011-06-22 Uros Bizjak <ubizjak@gmail.com>
3790
3791 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3792
e4d48a4d
RO
37932011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3794
3795 * shared-object.mk (c_flags-$o): Save c_flags.
3796 ($(base)$(objext)): Use it.
3797 ($(base)_s$(objext)): Likewise.
3798
3801c801
BS
37992011-06-21 Bernd Schmidt <bernds@codesourcery.com>
3800
3801 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3802 * libgcc-std.ver.in (GCC_4.7.0): New section.
3803
0ad8bb3b 38042011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 3805
0ad8bb3b
GJL
3806 PR target/49313
3807 PR target/29524
3808 * config/avr/t-avr: Fix line endings.
3809 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
3810 _parityXX2.
3811
ea963999
OH
38122011-06-14 Olivier Hainque <hainque@adacore.com>
3813 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3814
3815 * config/mips/irix6-unwind.h: New file.
3816 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3817
b11b0904
EB
38182011-06-10 Eric Botcazou <ebotcazou@adacore.com>
3819
3820 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3821 (sparc64_fallback_frame_state): Use it.
3822 (sparc64_frob_update_context): Further adjust context.
3823 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3824 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3825 * config/sparc/sol2-cn.S: Likewise.
3826
10e48e39
RO
38272011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3828
3829 * enable-execute-stack-empty.c: New file.
3830 * enable-execute-stack-mprotect.c: New file.
3831 * config/i386/enable-execute-stack-mingw32.c: New file.
3832 * config.host (enable_execute_stack): New variable.
3833 Select appropriate variants.
3834 * configure.ac: Link enable-execute-stack.c to
3835 $enable_execute_stack.
3836 * configure: Regenerate.
3837 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3838 (lib2funcs): Remove _enable_execute_stack.
3839
10c4cabc
DM
38402011-06-09 David S. Miller <davem@davemloft.net>
3841 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3842
3843 * config.host (sparc-*-linux*): Correct md_unwind_header
3844 filename.
3845 (s390x-ibm-tpf*): Fix typo.
3846
aa4203e7
RO
38472011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3848
3849 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3850 Add crtfastmath.o to extra_parts.
3851 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3852 mips/t-crtfm.
3853 * config/mips/t-crtfm: Remove.
3854
0defd786
JDA
38552011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3856
3857 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3858
82f247af
KK
38592011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
3860
3861 * config.host (sh*-*-linux*): Fix typo.
3862
58cd1d70
RO
38632011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3864
3865 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3866 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3867 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3868 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3869 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3870 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3871 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3872 Wrap in !__MINGW64__.
3873 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3874 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3875 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3876 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3877 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3878 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3879 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3880 Wrap in !__LP64__.
3881 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3882 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3883 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3884 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3885 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3886 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3887 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3888 * config/no-unwind.h: New file.
3889 * config.host (md_unwind_header): Document.
3890 Define.
3891 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3892 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3893 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3894 hppa[12]*-*-hpux11*): Set md_unwind_header.
3895 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3896 Set md_unwind_header.
3897 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3898 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3899 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3900 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3901 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3902 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3903 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3904 md_unwind_header.
3905 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3906 * configure: Regenerate.
3907
737346fa
RO
39082011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3909
3910 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3911 Set tmake_file, extra_parts.
3912 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3913 Remove O32 support.
3914 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3915 Remove O32 support.
3916 * config/mips/t-irix6: New file.
3917 * config/mips/t-slibgcc-irix: New file.
3918
c192cee6
RO
39192011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3920
3921 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3922 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3923
ee33b5f0
RO
39242011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3925
3926 * configure.ac (target_thread_file): Determine thread model.
3927 * configure: Regenerate.
3928 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3929 * config/alpha/t-alpha: New file.
3930 * config/alpha/t-crtfm: Use $<.
3931 * config/alpha/t-ieee: New file.
3932 * config/alpha/t-osf-pthread: New file.
3933 * config/alpha/t-slibgcc-osf: New file.
3934 * config/alpha/libgcc-osf5.ver: New file.
3935
0699e415
RO
39362011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3937
3938 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3939 tmake_file.
3940 Add crtfastmath.o to extra_parts.
3941
a3fab9c2
RO
39422011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3943
3944 * config/gmon-sol2.c: Reindent.
3945 Cleanup comments.
3946 Remove, correct casts.
3947 Use STDERR_FILENO, NULL.
3948 (BASEADDRESS): Remove.
3949 (minbrk): Remove.
3950 (errno, sbrk): Remove declarations.
3951 (monstartup) [hp300]: Remove.
3952 (mcount): Remove.
3953
ca24c5ad
RO
39542011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3955
3956 * Makefile.in (cpu_type): Define.
3957 * config.host (i[34567]86-*-rtems*): Handle it.
3958 (i[34567]86-*-solaris2*): Move body ...
3959 (*-*-solaris2*): ... here.
3960 New case, generalize.
3961 (sparc-*-elf*): Handle it.
3962 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3963 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3964 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3965 Fold into ...
3966 (sparc*-*-solaris2*): ... this.
3967 New case.
3968 (sparc64-*-elf*): Handle it.
3969 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3970 Merge ../gcc/config/i386/gmon-sol2.c.
3971 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3972 Use C comments.
3973 Merge ../gcc/config/i386/sol2-gc1.asm.
3974 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3975 Use C comments.
3976 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3977 Use C comments.
3978 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3979 * config/i386/t-crtstuff: New file.
3980 * config/i386/t-softfp: New file.
3981 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3982 $(T)crti.o, $(T)crtn.o): Remove.
3983 (gcrt1.o): New rule.
3984 (TARGET_LIBGCC2_CFLAGS): Remove.
3985 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3986 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3987 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3988 * config/sparc/t-sol2: New file.
3989 * config/sparc/t-crtfm: Move to ...
3990 * config/t-crtfm: ... this.
3991 Use $(cpu_type), $<.
3992 * config/t-crtin: New file.
3993 * config/sparc/t-softfp: New file.
3994 * config/sparc/t-softmul: New file.
3995 * config/t-rtems: New file.
3996 * config/t-slibgcc: New file.
3997 * config/t-slibgcc-elf-ver: New file.
3998 * config/t-slibgcc-gld: New file.
3999 * config/t-slibgcc-sld: New file.
4000 * config/t-sol2: New file.
4001 * configure.ac: Include ../config/lib-ld.m4.
4002 Call AC_LIB_PROG_LD_GNU.
4003 Substitute cpu_type.
4004 * configure: Regenerate.
4005
ad5f3d7b
BS
40062011-05-27 Bernd Schmidt <bernds@codesourcery.com>
4007
4008 PR bootstrap/49173
4009 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
4010 libgcc-std.ver in the build directory.
4011 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
4012 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
4013
cdbf4541
BS
40142011-05-25 Bernd Schmidt <bernds@codesourcery.com>
4015
4016 * libgcc-std.ver.in: New file.
4017 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
4018 variables.
4019 (libgcc-std.ver): New rule.
4020 * config/t-gnu-prefix: New file.
4021
c8028650
RO
40222011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4023
4024 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
4025
4a68b4ca
JM
40262011-05-10 Joseph Myers <joseph@codesourcery.com>
4027
4028 * config/i386/darwin-lib.h: New file.
4029
80cf2e08
JM
40302011-05-10 Joseph Myers <joseph@codesourcery.com>
4031
4032 * config/arm/symbian-lib.h: New.
4033
a3330c9d
CD
40342011-05-04 Chris Demetriou <cgd@google.com>
4035
4036 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
4037 (__x86.get_pc_thunk.bx): ...this.
4038 (__morestack): Adjust for rename, remove undef of __i686.
4039
6ace0756
CD
40402011-05-03 Chris Demetriou <cgd@google.com>
4041
4042 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
4043
ebb9f8b0
JM
40442011-03-22 Joseph Myers <joseph@codesourcery.com>
4045
4046 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
4047 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
4048 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
4049 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
4050 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
4051 Remove cases.
4052
9cfa1499
AT
40532011-03-14 Andreas Tobler <andreast@fgznet.ch>
4054
4055 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
4056 Adjust copyright year.
4057
457186f6
ILT
40582011-03-07 Ian Lance Taylor <iant@google.com>
4059
4060 * generic-morestack.c (__splitstack_find): Adjust returned stack
4061 pointer to include all registers pushed by __morestack.
4062
58c741a6
DK
40632011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
4064
4065 PR target/40125
4066 * configure.ac: Call ACX_NONCANONICAL_TARGET.
4067 (toolexecdir): Calculate and AC_SUBST.
4068 (toolexeclibdir): Likewise.
4069 * Makefile.in (target_noncanonical): Import.
4070 (toolexecdir): Likewise.
4071 (toolexeclibdir): Likewise.
4072 * configure: Regenerate.
4073
26716c44
NF
40742010-12-13 Nathan Froyd <froydnj@codesourcery.com>
4075
4076 PR target/46040
4077 * config/arm/bpabi.h: Rename to...
4078 * config/arm/bpabi-lib.h: ...this.
4079
b595b1a1
RO
40802010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4081
4082 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
4083 appropriate.
4084 * configure: Regenerate.
4085
a3abe41c
NF
40862010-11-24 Nathan Froyd <froydnj@codesourcery.com>
4087
4088 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
4089 __FLOAT_WORD_ORDER__.
4090 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
4091 Delete.
4092
455c8f48
RW
40932010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4094
4095 PR other/46202
4096 * Makefile.in (install-strip): New phony target.
4097
f3824a8b
ILT
40982010-11-07 Ian Lance Taylor <iant@google.com>
4099
4100 PR target/46089
4101 * config/i386/morestack.S (__morestack_large_model): New
4102 function.
4103
18ed6ee4
NF
41042010-10-23 Nathan Froyd <froydnj@codesourcery.com>
4105
4106 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
4107 Delete.
4108 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
4109
8ac7fdcb
NF
41102010-10-14 Nathan Froyd <froydnj@codesourcery.com>
4111
4112 * config/arm/bpabi.h: New file.
4113 * config/frv/frv-abi.h: New file.
4114
cdb388c2
ILT
41152010-10-01 Ian Lance Taylor <iant@google.com>
4116
4117 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
4118 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
4119
ef7c141c
L
41202010-10-01 H.J. Lu <hongjiu.lu@intel.com>
4121
4122 PR target/45858
4123 * config.host: Add the missing `$'.
4124
80920132
ME
41252010-09-30 Michael Eager <eager@eagercon.com>
4126
4127 * config.host: Add microblaze*-*-*.
4128 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
4129 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
4130 udivsi3.asm,umodsi3.asm}: New.
4131
6dace308
ILT
41322010-09-28 Ian Lance Taylor <iant@google.com>
4133
4134 * configure.ac: Adjust CFI test to test assembler directly rather
4135 than checking gcc preprocessor macro.
4136 * configure: Rebuild.
4137
b6110d6d
ILT
41382010-09-27 Ian Lance Taylor <iant@google.com>
4139
4140 * configure.ac: Test whether assembler supports CFI directives.
4141 * config.host: Only add t-stack and i386/t-stack-i386 to
4142 tmake_file if libgcc_cv_cfi is "yes".
4143 * configure: Rebuild.
4144
7458026b
ILT
41452010-09-27 Ian Lance Taylor <iant@google.com>
4146
4147 * generic-morestack.h: New file.
4148 * generic-morestack.c: New file.
4149 * generic-morestack-thread.c: New file.
4150 * config/i386/morestack.S: New file.
4151 * config/t-stack: New file.
4152 * config/i386/t-stack-i386: New file.
4153 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
4154 i386/t-stack-i386 to tmake_file.
4155
5b50fc0c
IS
41562010-09-21 Iain Sandoe <iains@gcc.gnu.org>
4157
4158 * Makefile.in (libgcc-extra-parts): Check for static archives and
4159 invoke ranlib after installing them.
4160 (gcc-extra-parts): Likewise.
4161 (install-leaf): Likewise.
4162
b93cf342
L
41632010-09-14 H.J. Lu <hongjiu.lu@intel.com>
4164
4165 * configure: Regenerated.
4166
996b42ef
KT
41672010-09-10 Kai Tietz <kai.tietz@onevision.com>
4168
b93cf342 4169 * configure: Regenerated.
996b42ef 4170
be1c764e
GP
41712010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
4172 Andrew Pinski <pinskia@gmail.com>
4173
1da9434b 4174 PR target/40959
be1c764e
GP
4175 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
4176
cc0ae0ca
L
41772010-09-06 H.J. Lu <hongjiu.lu@intel.com>
4178
4179 PR target/45524
4180 * configure: Regenerated.
4181
84f47d20
AS
41822010-09-06 Andreas Schwab <schwab@redhat.com>
4183
4184 * configure: Regenerate.
4185
4159fb8d
UB
41862010-09-03 Uros Bizjak <ubizjak@gmail.com>
4187
4188 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
4189 64bit targets.
4190 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
4191 for 64bit targets.
4192
0df8fcc8
UB
41932010-09-03 Uros Bizjak <ubizjak@gmail.com>
4194 Iain Sandoe <iains@gcc.gnu.org>
4195
4196 PR target/45476
4197 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
4198 LIB2FUNCS_EXCLUDE functions.
4199
3c39bca6
AK
42002010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4201
4202 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
4203 Include dfp.m4.
4204 * configure: Regenerate.
4205
d78552bd
UB
42062010-09-01 Uros Bizjak <ubizjak@gmail.com>
4207
4208 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
4209 i386/t-freebsd to tmake_file.
4210 * config/i386/t-freebsd: New file.
4211 * config/i386/libgcc-bsd.ver: New file.
4212
c5b79d4e
NF
42132010-07-23 Nathan Froyd <froydnj@codesourcery.com>
4214
4215 * config.host (powerpc*-eabispe*): Set tmake_file.
4216 (powerpc*-eabi*): Likewise.
4217 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
4218 crtbeginS, crtendS, crtbeginT.
4219
48b09a92
KH
42202010-06-12 Kazu Hirata <kazu@codesourcery.com>
4221
4222 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
4223 to tmake_file. Add crtfastmath.o to extra_parts.
4224 * config/mips/t-crtfm: New.
4225
a4389204
JS
42262010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
4227
4228 * config.host (sparc64-*-rtems*): New target.
4229
ed104137
RO
42302010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4231
4232 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4233 assembler syntax.
4234
3f56ef8b
TS
42352010-04-15 Thomas Schwinge <tschwinge@gnu.org>
4236
4237 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
4238
8c200350
RO
42392010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4240
4241 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
4242 alpha-dec-osf5.0* support.
4243
80a61cb4 42442010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
4245
4246 * config.host: Add lm32-*-rtems*.
4247
f128db92
RO
42482010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4249 Uros Bizjak <ubizjak@gmail.com>
4250
4251 PR target/39048
4252 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
4253 like other remaining 32-bit x86 OSes.
4254 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
4255 assembler syntax.
4256 * config/i386/libgcc-sol2.ver: New file.
4257 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
4258
368fabd5
JH
42592010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
4260
4261 PR c/43553
4262 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
4263 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
4264 is used and substitute set_use_emutls.
4265 * configure: Regenerated.
4266
15baf7f8
TG
42672010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
4268
4269 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
4270
7f5441df
RO
42712010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4272
4273 PR target/38085
4274 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
4275 MULTILIB_CFLAGS.
4276 ($(T)gcrt1.o): Likewise.
4277 ($(T)crt1.o): Likewise.
4278 ($(T)crti.o): Likewise.
4279 ($(T)crtn.o): Likewise.
4280
ef74edbd
RW
42812010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4282
4283 PR other/42980
4284 * Makefile.in (install): Use $(MAKE) string in rule, for
4285 parallel make.
4286
e7c914db
HPN
42872010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
4288
4289 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
4290 * config/mmix/t-mmix: New file.
4291 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
4292
1bcb71c4
JH
42932010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
4294
4295 PR java/41991
4296 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
4297 SHLIB_MAPFILES.
4298
e6e50811
AG
42992010-01-04 Anthony Green <green@moxielogic.com>
4300
4301 * config/moxie/crti.asm, config/moxie/crtn.asm,
4302 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
4303 config/moxie/t-moxie: New files.
4304 * config.host: Add t-moxie-softfp reference.
4305
ca8520ad
IS
43062009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
4307
4308 PR other/39888
4309 * config/t-slibgcc-darwin: Fix embedded rpaths for
4310 --enable-version-specific-runtime-libs, build extension stub
4311 libs exposing features available from current libgcc_s.
4312
aa4945c1
JB
43132009-11-11 Jon Beniston <jon@beniston.com>
4314
d78552bd
UB
4315 * config.host: Add lm32 targets.
4316 * config/lm32: New directory.
4317 * config/lm32/libgcc_lm32.h: New file.
4318 * config/lm32/_mulsi3.c: New file.
4319 * config/lm32/_udivmodsi4.c: New file.
4320 * config/lm32/_divsi3.c: New file.
4321 * config/lm32/_modsi3.c: New file.
4322 * config/lm32/_udivsi3.c: New file.
4323 * config/lm32/_umodsi3.c: New file.
4324 * config/lm32/_lshrsi3.S: New file.
4325 * config/lm32/_ashrsi3.S: New file.
4326 * config/lm32/_ashlsi3.S: New file.
4327 * config/lm32/crti.S: New file.
4328 * config/lm32/crtn.S: New file.
4329 * config/lm32/t-lm32: New file.
4330 * config/lm32/t-elf: New file.
4331 * config/lm32/t-uclinux: New file.
aa4945c1 4332
65a324b4
NC
43332009-10-26 Nick Clifton <nickc@redhat.com>
4334
4335 * config.host: Add support for RX target.
4336 * config/rx: New directory.
4337 * config/rx/rx-abi-functions.c: New file. Supplementary
4338 functions for libgcc to support the RX ABI.
4339 * config/rx/rx-abi.h: New file. Supplementary header file for
4340 libgcc RX ABI functions.
4341 * config/rx/t-rx: New file: Makefile fragment for building
4342 libgcc for the RX.
4343
dfb3b0e3
UB
43442009-10-09 Uros Bizjak <ubizjak@gmail.com>
4345
4346 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4347 constraint of y0 to "g".
4348
81dd9fd7
AK
43492009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4350
4351 * config.host: Include the s390 makefile fragments.
4352 * config/s390/32/_fixdfdi.c: New file.
4353 * config/s390/32/_fixsfdi.c: New file.
4354 * config/s390/32/_fixtfdi.c: New file.
4355 * config/s390/32/_fixunsdfdi.c: New file.
4356 * config/s390/32/_fixunssfdi.c: New file.
4357 * config/s390/32/_fixunstfdi.c: New file.
4358 * config/s390/32/t-floattodi: New file.
4359 * config/s390/libgcc-glibc.ver: New file.
4360 * config/s390/t-crtstuff: New file.
4361 * config/s390/t-linux: New file.
4362 * config/s390/t-tpf: New file.
4363
df58e648
RW
43642009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4365
4366 * configure.ac (AC_PREREQ): Bump to 2.64.
4367
79052be3
KK
43682009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
4369
4370 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4371
5213506e
RW
43722009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4373
4374 * configure: Regenerate.
4375
a9a25daa
DR
43762009-08-09 Douglas B Rupp <rupp@gnat.com>
4377
4378 * config.host (ia64-hp-*vms*): New target.
4379 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4380 with ia64-hp-*vms*.
4381
6efbd53f
RW
43822009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4383
4384 * configure.ac: Add snippet for maintainer-mode.
4385 * configure: Regenerate.
4386 * Makefile.in (AUTOCONF, configure_deps): New variables.
4387 ($(srcdir)/configure)): New rule, active only with maintainer
4388 mode turned on.
4389
7acf4da6
DD
43902009-06-23 DJ Delorie <dj@redhat.com>
4391
4392 Add MeP port.
4393 * config.host: Add mep support.
4394
54f549af
KT
43952009-06-22 Kai Tietz <kai.tietz@onevision.com>
4396
34481f28 4397 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 4398 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
4399
4400 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4401 for mingw targets.
54f549af
KT
4402 * config/i386/64/_multc3.c: Likewise.
4403 * config/i386/64/_powitf2.c: Likewise.
4404 * config/i386/64/eqtf2.c: Likewise.
4405 * config/i386/64/getf2.c: Likewise.
4406 * config/i386/64/letf2.c: Likewise.
4407 * config/i386/64/letf2.c: Likewise.
34481f28
UB
4408 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4409 unsigned long long for x64 mingw targets.
4410 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4411 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 4412
fea96e25
MR
44132009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
4414
4415 * config.host (vax-*-linux*): New.
4416
cceb575c
AG
44172009-05-31 Anthony Green <green@moxielogic.com>
4418
4419 * config.host: Add moxie support.
4420 * config/moxie/t-moxie: New file.
4421
e997fb9c
DB
44222009-05-29 David Billinghurst <billingd@gcc.gnu.org>
4423
4424 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 4425 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 4426
532bfb0a
AJ
44272009-04-17 Aurelien Jarno <aurelien@aurel32.net>
4428
4429 * config.host: Add i386/${host_address}/t-fprules-softfp to
4430 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4431
748086b7
JJ
44322009-04-09 Nick Clifton <nickc@redhat.com>
4433
4434 * config/ia64/tf-signs.c: Change copyright header to refer to
4435 version 3 of the GNU General Public License with version 3.1
4436 of the GCC Runtime Library Exception and to point readers at
4437 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4438 web page.
4439 * config/i386/32/tf-signs.c: Likewise.
4440 * config/libbid/_addsub_dd.c: Likewise.
4441 * config/libbid/_addsub_sd.c: Likewise.
4442 * config/libbid/_addsub_td.c: Likewise.
4443 * config/libbid/_dd_to_df.c: Likewise.
4444 * config/libbid/_dd_to_di.c: Likewise.
4445 * config/libbid/_dd_to_sd.c: Likewise.
4446 * config/libbid/_dd_to_sf.c: Likewise.
4447 * config/libbid/_dd_to_si.c: Likewise.
4448 * config/libbid/_dd_to_td.c: Likewise.
4449 * config/libbid/_dd_to_tf.c: Likewise.
4450 * config/libbid/_dd_to_udi.c: Likewise.
4451 * config/libbid/_dd_to_usi.c: Likewise.
4452 * config/libbid/_dd_to_xf.c: Likewise.
4453 * config/libbid/_df_to_dd.c: Likewise.
4454 * config/libbid/_df_to_sd.c: Likewise.
4455 * config/libbid/_df_to_td.c: Likewise.
4456 * config/libbid/_di_to_dd.c: Likewise.
4457 * config/libbid/_di_to_sd.c: Likewise.
4458 * config/libbid/_di_to_td.c: Likewise.
4459 * config/libbid/_div_dd.c: Likewise.
4460 * config/libbid/_div_sd.c: Likewise.
4461 * config/libbid/_div_td.c: Likewise.
4462 * config/libbid/_eq_dd.c: Likewise.
4463 * config/libbid/_eq_sd.c: Likewise.
4464 * config/libbid/_eq_td.c: Likewise.
4465 * config/libbid/_ge_dd.c: Likewise.
4466 * config/libbid/_ge_sd.c: Likewise.
4467 * config/libbid/_ge_td.c: Likewise.
4468 * config/libbid/_gt_dd.c: Likewise.
4469 * config/libbid/_gt_sd.c: Likewise.
4470 * config/libbid/_gt_td.c: Likewise.
4471 * config/libbid/_isinfd128.c: Likewise.
4472 * config/libbid/_isinfd32.c: Likewise.
4473 * config/libbid/_isinfd64.c: Likewise.
4474 * config/libbid/_le_dd.c: Likewise.
4475 * config/libbid/_le_sd.c: Likewise.
4476 * config/libbid/_le_td.c: Likewise.
4477 * config/libbid/_lt_dd.c: Likewise.
4478 * config/libbid/_lt_sd.c: Likewise.
4479 * config/libbid/_lt_td.c: Likewise.
4480 * config/libbid/_mul_dd.c: Likewise.
4481 * config/libbid/_mul_sd.c: Likewise.
4482 * config/libbid/_mul_td.c: Likewise.
4483 * config/libbid/_ne_dd.c: Likewise.
4484 * config/libbid/_ne_sd.c: Likewise.
4485 * config/libbid/_ne_td.c: Likewise.
4486 * config/libbid/_sd_to_dd.c: Likewise.
4487 * config/libbid/_sd_to_df.c: Likewise.
4488 * config/libbid/_sd_to_di.c: Likewise.
4489 * config/libbid/_sd_to_sf.c: Likewise.
4490 * config/libbid/_sd_to_si.c: Likewise.
4491 * config/libbid/_sd_to_td.c: Likewise.
4492 * config/libbid/_sd_to_tf.c: Likewise.
4493 * config/libbid/_sd_to_udi.c: Likewise.
4494 * config/libbid/_sd_to_usi.c: Likewise.
4495 * config/libbid/_sd_to_xf.c: Likewise.
4496 * config/libbid/_sf_to_dd.c: Likewise.
4497 * config/libbid/_sf_to_sd.c: Likewise.
4498 * config/libbid/_sf_to_td.c: Likewise.
4499 * config/libbid/_si_to_dd.c: Likewise.
4500 * config/libbid/_si_to_sd.c: Likewise.
4501 * config/libbid/_si_to_td.c: Likewise.
4502 * config/libbid/_td_to_dd.c: Likewise.
4503 * config/libbid/_td_to_df.c: Likewise.
4504 * config/libbid/_td_to_di.c: Likewise.
4505 * config/libbid/_td_to_sd.c: Likewise.
4506 * config/libbid/_td_to_sf.c: Likewise.
4507 * config/libbid/_td_to_si.c: Likewise.
4508 * config/libbid/_td_to_tf.c: Likewise.
4509 * config/libbid/_td_to_udi.c: Likewise.
4510 * config/libbid/_td_to_usi.c: Likewise.
4511 * config/libbid/_td_to_xf.c: Likewise.
4512 * config/libbid/_tf_to_dd.c: Likewise.
4513 * config/libbid/_tf_to_sd.c: Likewise.
4514 * config/libbid/_tf_to_td.c: Likewise.
4515 * config/libbid/_udi_to_dd.c: Likewise.
4516 * config/libbid/_udi_to_sd.c: Likewise.
4517 * config/libbid/_udi_to_td.c: Likewise.
4518 * config/libbid/_unord_dd.c: Likewise.
4519 * config/libbid/_unord_sd.c: Likewise.
4520 * config/libbid/_unord_td.c: Likewise.
4521 * config/libbid/_usi_to_dd.c: Likewise.
4522 * config/libbid/_usi_to_sd.c: Likewise.
4523 * config/libbid/_usi_to_td.c: Likewise.
4524 * config/libbid/_xf_to_dd.c: Likewise.
4525 * config/libbid/_xf_to_sd.c: Likewise.
4526 * config/libbid/_xf_to_td.c: Likewise.
4527 * config/libbid/bid128.c: Likewise.
4528 * config/libbid/bid128_2_str.h: Likewise.
4529 * config/libbid/bid128_2_str_macros.h: Likewise.
4530 * config/libbid/bid128_2_str_tables.c: Likewise.
4531 * config/libbid/bid128_add.c: Likewise.
4532 * config/libbid/bid128_compare.c: Likewise.
4533 * config/libbid/bid128_div.c: Likewise.
4534 * config/libbid/bid128_fma.c: Likewise.
4535 * config/libbid/bid128_logb.c: Likewise.
4536 * config/libbid/bid128_minmax.c: Likewise.
4537 * config/libbid/bid128_mul.c: Likewise.
4538 * config/libbid/bid128_next.c: Likewise.
4539 * config/libbid/bid128_noncomp.c: Likewise.
4540 * config/libbid/bid128_quantize.c: Likewise.
4541 * config/libbid/bid128_rem.c: Likewise.
4542 * config/libbid/bid128_round_integral.c: Likewise.
4543 * config/libbid/bid128_scalb.c: Likewise.
4544 * config/libbid/bid128_sqrt.c: Likewise.
4545 * config/libbid/bid128_string.c: Likewise.
4546 * config/libbid/bid128_to_int16.c: Likewise.
4547 * config/libbid/bid128_to_int32.c: Likewise.
4548 * config/libbid/bid128_to_int64.c: Likewise.
4549 * config/libbid/bid128_to_int8.c: Likewise.
4550 * config/libbid/bid128_to_uint16.c: Likewise.
4551 * config/libbid/bid128_to_uint32.c: Likewise.
4552 * config/libbid/bid128_to_uint64.c: Likewise.
4553 * config/libbid/bid128_to_uint8.c: Likewise.
4554 * config/libbid/bid32_to_bid128.c: Likewise.
4555 * config/libbid/bid32_to_bid64.c: Likewise.
4556 * config/libbid/bid64_add.c: Likewise.
4557 * config/libbid/bid64_compare.c: Likewise.
4558 * config/libbid/bid64_div.c: Likewise.
4559 * config/libbid/bid64_fma.c: Likewise.
4560 * config/libbid/bid64_logb.c: Likewise.
4561 * config/libbid/bid64_minmax.c: Likewise.
4562 * config/libbid/bid64_mul.c: Likewise.
4563 * config/libbid/bid64_next.c: Likewise.
4564 * config/libbid/bid64_noncomp.c: Likewise.
4565 * config/libbid/bid64_quantize.c: Likewise.
4566 * config/libbid/bid64_rem.c: Likewise.
4567 * config/libbid/bid64_round_integral.c: Likewise.
4568 * config/libbid/bid64_scalb.c: Likewise.
4569 * config/libbid/bid64_sqrt.c: Likewise.
4570 * config/libbid/bid64_string.c: Likewise.
4571 * config/libbid/bid64_to_bid128.c: Likewise.
4572 * config/libbid/bid64_to_int16.c: Likewise.
4573 * config/libbid/bid64_to_int32.c: Likewise.
4574 * config/libbid/bid64_to_int64.c: Likewise.
4575 * config/libbid/bid64_to_int8.c: Likewise.
4576 * config/libbid/bid64_to_uint16.c: Likewise.
4577 * config/libbid/bid64_to_uint32.c: Likewise.
4578 * config/libbid/bid64_to_uint64.c: Likewise.
4579 * config/libbid/bid64_to_uint8.c: Likewise.
4580 * config/libbid/bid_b2d.h: Likewise.
4581 * config/libbid/bid_binarydecimal.c: Likewise.
4582 * config/libbid/bid_conf.h: Likewise.
4583 * config/libbid/bid_convert_data.c: Likewise.
4584 * config/libbid/bid_decimal_data.c: Likewise.
4585 * config/libbid/bid_decimal_globals.c: Likewise.
4586 * config/libbid/bid_div_macros.h: Likewise.
4587 * config/libbid/bid_dpd.c: Likewise.
4588 * config/libbid/bid_flag_operations.c: Likewise.
4589 * config/libbid/bid_from_int.c: Likewise.
4590 * config/libbid/bid_functions.h: Likewise.
4591 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4592 * config/libbid/bid_inline_add.h: Likewise.
4593 * config/libbid/bid_internal.h: Likewise.
4594 * config/libbid/bid_round.c: Likewise.
4595 * config/libbid/bid_sqrt_macros.h: Likewise.
4596
45972009-04-09 Jakub Jelinek <jakub@redhat.com>
4598
4599 * Makefile.in: Change copyright header to refer to version
4600 3 of the GNU General Public License and to point readers at the
4601 COPYING3 file and the FSF's license web page.
4602 * config.host: Likewise.
4603
633dd061
AM
46042009-04-07 Alan Modra <amodra@bigpond.net.au>
4605
4606 * config.host: Reorder and merge to match config.gcc change.
4607
457d1d00
AM
46082009-04-03 Alan Modra <amodra@bigpond.net.au>
4609
4610 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4611
52c0e446
JM
46122009-03-28 Joseph Myers <joseph@codesourcery.com>
4613
4614 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4615 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4616 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4617 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4618
ba181049
UB
46192009-02-12 Uros Bizjak <ubizjak@gmail.com>
4620
4621 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4622 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4623
c252db20
L
46242009-02-12 H.J. Lu <hongjiu.lu@intel.com>
4625
ba181049
UB
4626 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4627 ia64/t-softfp-compat to tmake_file.
c252db20
L
4628
4629 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4630
4631 * config/ia64/__divxf3.asm: New.
4632 * config/ia64/_fixtfdi.asm: Likewise.
4633 * config/ia64/_fixunstfdi.asm: Likewise.
4634 * config/ia64/_floatditf.asm: Likewise.
4635 * config/ia64/t-fprules-softfp: Likewise.
4636 * config/ia64/t-softfp-compat: Likewise.
4637 * config/ia64/tf-signs.c: Likewise.
4638
c60535f9
BE
46392009-01-18 Ben Elliston <bje@au.ibm.com>
4640
4641 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4642
ce16861e
BE
46432009-01-16 Ben Elliston <bje@au.ibm.com>
4644
4645 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4646 to tmake_file.
4647
bcf4713b
BE
46482009-01-13 Ben Elliston <bje@au.ibm.com>
4649
4650 * config/t-softfp: New file.
4651 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4652 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4653
2042cb04
JS
46542009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
4655
4656 * config.host: Add m32r*-*-rtems*.
4657
541ed00e
JS
46582008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
4659
4660 * config.host: Add m32c*-*-rtems*.
4661
19523300
RO
46622008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4663
4664 PR bootstrap/33100
4665 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4666 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4667 * configure: Regenerate.
4668 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4669 tmake_file here from gcc/config.gcc.
4670 Move extra_parts here from gcc/config.gcc.
4671 * config/i386/t-sol2: Move here from gcc/config/i386.
4672 Use gcc_srcdir instead of srcdir.
4673
0a4a51c7
AN
46742008-11-18 Adam Nemet <anemet@caviumnetworks.com>
4675
4676 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4677 case.
4678
2a761e46
TS
46792008-11-09 Thomas Schwinge <tschwinge@gnu.org>
4680
4681 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4682
c0451df7
TS
46832008-10-08 Thomas Schwinge <tschwinge@gnu.org>
4684
4685 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4686
358da97e
HS
46872008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
4688
4689 Add picoChip port.
4690 * config.host: Add picochip-*-*.
4691
c660f132
BW
46922008-08-06 Bob Wilson <bob.wilson@acm.org>
4693
4694 * config.host: Match more processor names for Xtensa.
4695
d1349557
L
46962008-07-08 H.J. Lu <hongjiu.lu@intel.com>
4697
4698 * config/i386/64/t-softfp-compat: Update comments.
4699
dd7b73c0
L
47002008-07-07 H.J. Lu <hongjiu.lu@intel.com>
4701
4702 * config/i386/64/_divtc3-compat.c: Moved to ...
4703 * config/i386/64/_divtc3.c: Here.
4704
4705 * config/i386/64/_multc3-compat.c: Moved to ...
4706 * config/i386/64/_multc3.c: Here.
4707
4708 * config/i386/64/_powitf2-compat.c: Moved to ...
4709 * config/i386/64/_powitf2.c: Here.
4710
4711 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4712 .c suffix instead of -compat.c.
4713
6e1fab3d
UB
47142008-07-05 Uros Bizjak <ubizjak@gmail.com>
4715
4716 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4717 (_FP_MUL_MEAT_D): Ditto.
4718 (_FP_DIV_MEAT_S): Ditto.
4719 (_FP_DIV_MEAT_D): Ditto.
4720
f92518d7
RS
47212008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
4722
4723 * Makefile.in: Add support for __sync_* libgcc functions.
4724
d0aede14
L
47252008-07-03 H.J. Lu <hongjiu.lu@intel.com>
4726
4727 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4728
c174f11c
L
47292008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4730
4731 PR boostrap/36702
4732 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4733 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
4734
4735 * config/i386/64/t-fprules-softfp: Moved to ...
4736 * config/i386/64/t-softfp-compat: This. New.
4737
5f464fa2
UB
47382008-07-02 Uros Bizjak <ubizjak@gmail.com>
4739
4740 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4741 Initialize f with 0.0.
4742
ff473280
L
47432008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4744
4745 PR target/36669
4746 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4747
4748 * config/i386/64/_divtc3-compat.c: New.
4749 * config/i386/64/_multc3-compat.c: Likewise.
4750 * config/i386/64/_powitf2-compat.c: Likewise.
4751 * config/i386/64/eqtf2.c: Likewise.
4752 * config/i386/64/getf2.c: Likewise.
4753 * config/i386/64/letf2.c: Likewise.
4754 * config/i386/64/t-fprules-softfp: Likewise.
4755
47562008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4757
4758 * config.host: Add i386/${host_address}/t-fprules-softfp to
4759 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 4760 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
4761
4762 * configure.ac: Set host_address to 64 or 32 for x86.
4763 * configure: Regenerated.
4764
4765 * Makefile.in (config.status): Also depend on
4766 $(srcdir)/config.host.
4767
4768 * config/i386/32/t-fprules-softfp: New.
4769 * config/i386/32/tf-signs.c: Likewise.
4770
4771 * config/i386/64/sfp-machine.h: New. Moved from gcc.
4772
47732008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4774 Uros Bizjak <ubizjak@gmail.com>
4775
4776 * config/i386/32/sfp-machine.h: New.
4777
30551d99
NF
47782008-06-26 Nathan Froyd <froydnj@codesourcery.com>
4779
4780 * config/rs6000/t-ppccomm: Remove rules that conflict with
4781 auto-generated rules.
4782
18c04407
RW
47832008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4784
4785 * configure.ac: sinclude override.m4.
4786 * configure: Regenerate.
4787
10fbe77a
BRF
47882008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
4789
4790 * configure: Regenerate.
4791
bc6d4c3f
JM
47922008-06-10 Joseph Myers <joseph@codesourcery.com>
4793
4794 * Makefile.in (DECNUMINC): Remove
4795 -I$(MULTIBUILDTOP)../../libdecnumber.
4796 * gstdint.h: New.
4797
cd985f66
JM
47982008-06-07 Joseph Myers <joseph@codesourcery.com>
4799
4800 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4801 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4802 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4803 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4804 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4805 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4806 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4807 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4808 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4809 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4810 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4811 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4812 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4813 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4814
93fea8d3
AL
48152008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
4816
4817 * config.host (sh2[lbe]*-*-linux*): Allow target.
4818
18724e30
NF
48192008-04-30 Nathan Froyd <froydnj@codesourcery.com>
4820
4821 * config/rs6000/t-ppccomm: Add build rules for new files.
4822 (LIB2ADD_ST): New variable.
4823
47583040
AH
48242008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
4825
4826 PR target/34210
4827 PR target/35508
4828 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4829 * config/t-avr: New file. Build 16bit libgcc functions.
4830
cf8e67fe
JJ
48312008-03-02 Jakub Jelinek <jakub@redhat.com>
4832
4833 PR target/35401
4834 * config/t-slibgcc-darwin: Make install-leaf dependent on
4835 install-darwin-libgcc-stubs instead of install.
4836
8d8da227
JM
48372008-01-25 Joseph Myers <joseph@codesourcery.com>
4838
4839 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4840 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4841 sh-*-rtemscoff*): Remove cases.
4842
edbf8b16
RS
48432007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
4844
4845 * Makefile.in (all): Use install-leaf rather than install.
4846 (install): Split most of the rule into...
4847 (install-leaf): ...this new one.
4848
89deeaff
EK
48492007-12-19 Etsushi Kato <ek.kato@gmail.com>
4850 Paolo Bonzini <bonzini@gnu.org>
4851
4852 PR target/30572
5f464fa2
UB
4853 * Makefile.in: Use @shlib_slibdir@ substitution to get
4854 correct install name on darwin.
89deeaff 4855 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 4856
4081d704
HPN
48572007-12-15 Hans-Peter Nilsson <hp@axis.com>
4858
4859 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4860 cris-*-elf and cris-*-none.
4861 (crisv32-*-linux*): Similar, as cris-*-linux*.
4862
f43e89a3
RIL
48632007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
4864
4865 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4866
b4e9c2c6
L
48672007-10-27 H.J. Lu <hongjiu.lu@intel.com>
4868
4869 PR regression/33926
4870 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4871 * configure: Regenerated.
4872
b2a00c89
L
48732007-09-27 H.J. Lu <hongjiu.lu@intel.com>
4874
4875 * Makefile.in (dfp-filenames): Replace decimal_globals,
4876 decimal_data, binarydecimal and convert_data with
4877 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4878 and bid_convert_data, respectively.
4879
8d2a9e0e
CF
48802007-09-17 Chao-ying Fu <fu@mips.com>
4881 Nigel Stephens <nigel@mips.com>
4882
4883 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4884 * Makefile.in (fixed_point): Define.
4885 Check if fixed_point is yes to build support functions.
4886 * configure.ac: Check for fixed_point support.
4887 * configure: Regenerated.
4888 * gen-fixed.sh: New file to generate lists of fixed-point labels,
4889 funcs, modes, from, to.
4890
2b53935d
JJ
48912007-09-11 Janis Johnson <janis187@us.ibm.com
4892
4893 * Makefile.in (dfp-filenames): Add bid128_noncomp.
4894
2533577f
JJ
48952007-09-10 Janis Johnson <janis187@us.ibm.com>
4896
4897 * Makefile.in (dfp-filenames): Remove decUtility, add
4898 decDouble, decPacked, decQuad, decSingle.
4899
3ae3dbd6
HK
49002007-08-27 Hans Kester <hans.kester@ellips.nl>
4901
4902 * config.host : Add x86_64-elf target.
4903
22867d02
L
49042007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4905
4906 * configure.ac (set_have_cc_tls): Add a missing =.
4907 * configure: Regenerated.
4908
6f461e76
L
49092007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4910
4911 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4912 and x86_64-*-linux*.
4913
4914 * config/t-tls: New file.
4915
dfb3b0e3 4916 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
4917
4918 * configure.ac: Include ../config/enable.m4 and
4919 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4920 supports TLS and substitute set_have_cc_tls.
4921 * configure: Regenerated.
4922
200359e8
L
49232007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4924
4925 * Makefile.in: Use libbid for DFP when BID is enabled.
4926
76f5e200
DS
49272007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4928
4929 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 4930 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
4931 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4932
9bd196f0 49332007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 4934 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
4935
4936 PR target/29498
4937 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4938 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4939 * config/i386/t-crtfm: Compile crtfastmath.o with
4940 -minline-all-stringops.
4941
1910440e
RS
49422007-05-10 Richard Sandiford <richard@codesourcery.com>
4943
4944 * config.host (sparc-wrs-vxworks): New target.
4945
7d33c31d
KH
49462007-04-14 Kazu Hirata <kazu@codesourcery.com>
4947
4948 * config.host: Recognize fido.
4949
96fccd0d
JJ
49502007-04-04 Janis Johnson <janis187@us.ibm.com>
4951
4952 * configure: Check host, not target, for decimal float support.
4953
577565f9
UB
49542007-04-03 Uros Bizjak <ubizjak@gmail.com>
4955
4956 * config/i386/t-crtpc: New file.
4957 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 4958 (x86_64-*-linux*): Ditto.
577565f9 4959
ccf8e764
RH
49602007-02-30 Kai Tietz <kai.tietz@onevision.com>
4961
4962 * config.host (x86_64-*-mingw*): New target.
4963
79b87c74
MM
49642007-03-23 Michael Meissner <michael.meissner@amd.com>
4965 H.J. Lu <hongjiu.lu@intel.com>
4966
4967 * Makefile.in (enable_decimal_float): New.
4968 (DECNUMINC): Add
4969 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4970 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4971 (decbits-filenames): This.
4972 (decbits-objects): New.
4973 (libgcc-objects): Add $(decbits-objects).
4974
4975 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4976 Substitute enable_decimal_float.
4977 * configure: Regenerated.
4978
8fce4e31
HPN
49792007-03-19 Hans-Peter Nilsson <hp@axis.com>
4980
4981 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4982
e8bb4597
BM
49832007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4984
4985 * Makefile.in (install-info): New dummy target.
4986
344189f9
BS
49872007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4988
4989 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4990
ac84c172
BM
49912007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4992
4993 * Makefile.in: Add install-html and install-pdf dummy
4994 targets.
4995
cd5c2357
RS
49962007-02-05 Roger Sayle <roger@eyesopen.com>
4997 Daniel Jacobowitz <dan@codesourcery.com>
4998
4999 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
5000 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
5001 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
5002
d9a66f98
JJ
50032007-01-29 Janis Johnson <janis187@us.ibm.com>
5004
5005 * Makefile.in (dec-filenames): Add decExcept.
5006
9891ec5f
DJ
50072007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
5008
5009 PR bootstrap/30469
5010 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
5011 -fprofile-use.
5012
d6efbf5a
DJ
50132007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
5014
5015 * configure.ac: Add --enable-version-specific-runtime-libs.
5016 Correct $slibdir default.
5017 * configure: Regenerated.
5018
17caeff2
JM
50192007-01-23 Joseph Myers <joseph@codesourcery.com>
5020
5021 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
5022
5ea41e3a
AP
50232007-01-21 Andrew Pinski <pinskia@gmail.com>
5024
5025 PR target/30519
5026 * config.host (alpha*-*-linux*): Set extra_parts.
5027
26900826
KK
50282007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
5029
5030 * config/sh/t-linux: New.
5031 * config.host (sh*-*-linux*): Set tmake_file.
5032
97af925b
DJ
50332007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
5034
5035 * Makefile.in (install): Handle multilibs.
5036
b0088af7
BM
50372007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
5038
5039 * Makefile.in: Added .PHONY entry for documentation targets.
5040
e0a9456a
BM
50412007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
5042
5043 * Makefile.in: Add empty info, html, dvi, pdf targets.
5044
7fd453b4
MS
50452007-01-04 Mike Stump <mrs@apple.com>
5046
5047 * Makefile.in (MAKEINFO): Remove.
5048 (PERL): Likewise.
5049
14e8fc8b
PB
50502007-01-04 Paolo Bonzini <bonzini@gnu.org>
5051
5052 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
5053 * configure: Regenerate.
5054 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 5055 (gcc_objdir): Use it.
14e8fc8b 5056
1555beba
DJ
50572007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5058
5059 * config.host (ia64*-*-linux*): Set tmake_file.
5060
79e6eaeb
DJ
50612007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5062
5063 * Makefile.in (version): Define.
5064
fa958513
DJ
50652007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
5066 Paolo Bonzini <bonzini@gnu.org>
5067
5068 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
5069 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
5070 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
5071 config/sparc/t-crtfm, config/t-slibgcc-darwin,
5072 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
5073 shared-object.mk, siditi-object.mk, static-object.mk: New files.
5074 * configure: Generated.