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