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