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