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