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