1 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
3 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5 2013-07-06 Jakub Jelinek <jakub@redhat.com>
8 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
10 2013-06-28 Jakub Jelinek <jakub@redhat.com>
13 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
15 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
16 instead of table lookups.
17 (__popcountDI2): Likewise.
19 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
21 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
24 2013-06-21 Joseph Myers <joseph@codesourcery.com>
27 * soft-fp/adddf3.c: Update from glibc.
28 * soft-fp/addsf3.c: Likewise.
29 * soft-fp/addtf3.c: Likewise.
30 * soft-fp/divdf3.c: Likewise.
31 * soft-fp/divsf3.c: Likewise.
32 * soft-fp/divtf3.c: Likewise.
33 * soft-fp/double.h: Likewise.
34 * soft-fp/eqdf2.c: Likewise.
35 * soft-fp/eqsf2.c: Likewise.
36 * soft-fp/eqtf2.c: Likewise.
37 * soft-fp/extenddftf2.c: Likewise.
38 * soft-fp/extended.h: Likewise.
39 * soft-fp/extendsfdf2.c: Likewise.
40 * soft-fp/extendsftf2.c: Likewise.
41 * soft-fp/fixdfdi.c: Likewise.
42 * soft-fp/fixdfsi.c: Likewise.
43 * soft-fp/fixsfdi.c: Likewise.
44 * soft-fp/fixsfsi.c: Likewise.
45 * soft-fp/fixtfdi.c: Likewise.
46 * soft-fp/fixtfsi.c: Likewise.
47 * soft-fp/fixunsdfdi.c: Likewise.
48 * soft-fp/fixunsdfsi.c: Likewise.
49 * soft-fp/fixunssfdi.c: Likewise.
50 * soft-fp/fixunssfsi.c: Likewise.
51 * soft-fp/fixunstfdi.c: Likewise.
52 * soft-fp/fixunstfsi.c: Likewise.
53 * soft-fp/floatdidf.c: Likewise.
54 * soft-fp/floatdisf.c: Likewise.
55 * soft-fp/floatditf.c: Likewise.
56 * soft-fp/floatsidf.c: Likewise.
57 * soft-fp/floatsisf.c: Likewise.
58 * soft-fp/floatsitf.c: Likewise.
59 * soft-fp/floatundidf.c: Likewise.
60 * soft-fp/floatundisf.c: Likewise.
61 * soft-fp/floatunditf.c: Likewise.
62 * soft-fp/floatunsidf.c: Likewise.
63 * soft-fp/floatunsisf.c: Likewise.
64 * soft-fp/floatunsitf.c: Likewise.
65 * soft-fp/gedf2.c: Likewise.
66 * soft-fp/gesf2.c: Likewise.
67 * soft-fp/getf2.c: Likewise.
68 * soft-fp/ledf2.c: Likewise.
69 * soft-fp/lesf2.c: Likewise.
70 * soft-fp/letf2.c: Likewise.
71 * soft-fp/muldf3.c: Likewise.
72 * soft-fp/mulsf3.c: Likewise.
73 * soft-fp/multf3.c: Likewise.
74 * soft-fp/negdf2.c: Likewise.
75 * soft-fp/negsf2.c: Likewise.
76 * soft-fp/negtf2.c: Likewise.
77 * soft-fp/op-1.h: Likewise.
78 * soft-fp/op-2.h: Likewise.
79 * soft-fp/op-4.h: Likewise.
80 * soft-fp/op-8.h: Likewise.
81 * soft-fp/op-common.h: Likewise.
82 * soft-fp/quad.h: Likewise.
83 * soft-fp/single.h: Likewise.
84 * soft-fp/soft-fp.h: Likewise.
85 * soft-fp/subdf3.c: Likewise.
86 * soft-fp/subsf3.c: Likewise.
87 * soft-fp/subtf3.c: Likewise.
88 * soft-fp/truncdfsf2.c: Likewise.
89 * soft-fp/trunctfdf2.c: Likewise.
90 * soft-fp/trunctfsf2.c: Likewise.
91 * soft-fp/unorddf2.c: Likewise.
92 * soft-fp/unordsf2.c: Likewise.
93 * soft-fp/unordtf2.c: Likewise.
94 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
95 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
96 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
97 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
98 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
99 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
100 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
101 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
102 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
103 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
104 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
105 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
107 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
109 * config/mips/lib2funcs.c: New file.
110 * config/mips/t-mips (LIB2ADD_ST): Add it.
112 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
115 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
116 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
118 2013-06-08 Walter Lee <walt@tilera.com>
120 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
121 Replace int64_t with long long. Add __extension__ where
123 * config/tilepro/atomic.c: Include config.h.
125 2013-06-06 Douglas B Rupp <rupp@adacore.com>
127 * config.host (arm-wrs-vxworks): Configure with other soft float.
129 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
131 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
132 (mips64r5900el-*-elf*): New configurations.
134 2013-06-04 Alan Modra <amodra@gmail.com>
136 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
138 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
140 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
142 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
144 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
145 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
146 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
148 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
150 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
151 (powerpc-wrs-vxworks): Likewise.
153 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
155 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
156 signal frames as well.
157 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
158 STACK_BIAS to the CFA offset.
160 2013-05-17 Richard Henderson <rth@redhat.com>
163 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
164 (execute_cfa_program): Use it when storing to fs->regs.
166 2013-05-08 Kai Tietz <ktietz@redhat.com>
168 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
169 (__deregister_frame_info): Likewise.
171 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
173 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
176 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
178 2013-04-25 Alan Modra <amodra@gmail.com>
180 * config.host: Match little-endian powerpc-linux.
182 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
184 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
185 as 'unsigned long long' instead of 'unsigned long'.
186 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
189 2013-04-10 Julian Brown <julian@codesourcery.com>
191 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
192 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
193 unsigned char/unsigned short.
194 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
196 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
199 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
201 2013-04-04 Meador Inge <meadori@codesourcery.com>
203 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
204 computing the location of the link register.
205 (aeabi_uldivmod): Ditto.
207 2013-03-27 Kai Tietz <ktietz@redhat.com>
209 * config.host: Add support for cygwin x64 target.
210 * configure: Regenerated.
212 2013-03-26 Walter Lee <walt@tilera.com>
214 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
215 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
217 2013-03-25 Kai Tietz <ktietz@redhat.com>
219 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
221 2013-03-20 Robert Mason <rbmj@verizon.net>
223 * config/vxlib-tls.c (__gthread_get_tsd_data,)
224 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
225 (__gthread_leave_tsd_dtor_context): Add prototypes.
226 (tls_delete_hook): Update.
228 2013-03-20 Catherine Moore <clm@codesourcery.com>
229 Joseph Myers <joseph@codesourcery.com>
230 Chao-ying Fu <fu@mips.com>
232 * config/mips/mips16.S: Don't build for microMIPS.
233 * config/mips/linux-unwind.h: Handle microMIPS frame.
234 * config/mips/crtn.S (fini, init): New labels.
236 2013-03-14 Jakub Jelinek <jakub@redhat.com>
238 PR tree-optimization/53265
239 * unwind-dw2.c (execute_cfa_program): Avoid
240 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
241 on targets with DWARF_FRAME_REGISTERS < 32.
243 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
246 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
247 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
249 2013-03-07 Sriraman Tallam <tmsriram@google.com>
251 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
252 sandybridge processors.
254 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
257 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
260 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
262 * config/microblaze/crti.S: Setup stack protection at entry
264 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
266 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
267 (__rotldi3): Shift bytewise if applicable.
269 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
271 * config/aarch64/sync-cache.c
272 (__aarch64_sync_cache_range): Silence warnings.
274 2013-02-25 Catherine Moore <clm@codesourcery.com>
277 2013-02-24 Catherine Moore <clm@codesourcery.com>
278 Joseph Myers <joseph@codesourcery.com>
279 Chao-ying Fu <fu@mips.com>
281 * config/mips/mips16.S: Don't build for microMIPS.
282 * config/mips/linux-unwind.h: Handle microMIPS frame.
283 * config/mips/crtn.S (fini, init): New labels.
285 2013-02-24 Catherine Moore <clm@codesourcery.com>
286 Joseph Myers <joseph@codesourcery.com>
287 Chao-ying Fu <fu@mips.com>
289 * config/mips/mips16.S: Don't build for microMIPS.
290 * config/mips/linux-unwind.h: Handle microMIPS frame.
291 * config/mips/crtn.S (fini, init): New labels.
293 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
294 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
297 2013-02-16 Alan Modra <amodra@gmail.com>
300 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
301 (ppc_fallback_frame_state): Always set up save locations for fp
302 and altivec. Don't bother with non-callee-saved regs, r0-r13
303 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
305 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
308 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
310 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
311 _ssmulha3, _usmulusa3, _ssmulsa3.
312 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
313 (__muldi3): XCALL __muldi3_6 instead of rcall.
314 (__umulsidi3, __mulsidi3): New functions.
315 (do_prologue_saves, do_epilogue_restores): New .macros.
316 (__divdi3_moddi3): Use them.
317 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
318 (__usmulusa3, __ssmulsa3): New functions.
320 2013-02-11 Iain Sandoe <iain@codesourcery.com>
321 Jack Howarth <howarth@bromo.med.uc.edu>
322 Patrick Marlier <patrick.marlier@gmail.com>
325 * config/darwin-crt-tm.c: Remove dummy functions hack.
327 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
330 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
331 * config/avr/lib2-object.mk: New iterator to build objects from it.
332 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
334 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
335 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
336 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
337 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
338 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
339 * config/avr/lib1funcs-fixed.S: Implement them.
341 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
343 Update copyright years.
345 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
348 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
349 Add crtcxa to extra_parts.
350 * config/rs6000/exit.h: New file.
351 * config/rs6000/cxa_atexit.c: New file.
352 * config/rs6000/cxa_finalize.c: New file.
353 * config/rs6000/crtcxa.c: New file.
354 * config/rs6000/t-aix-cxa: New file.
355 * config/rs6000/libgcc-aix-cxa.ver: New file.
357 2013-01-31 Nick Clifton <nickc@redhat.com>
359 * config/v850/lib1funcs.S: Add support for e3v5 architecture
362 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
365 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
366 _mulQQ, _mulHQ, _mulHA, _mulSA,
367 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
368 _divQQ, _divHQ, _divHA, _divSA,
369 _divUQQ, _divUHQ, _divUHA, _divUSA.
371 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
373 * config.host(microblaze*-linux*): tmake_file: Remove
374 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
375 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
376 to exclude functions from being built with libgcc.c and use
377 the microblaze assembly.
379 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
381 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
384 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
386 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
387 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
388 __UINTPTR_TYPE__; also cast 'base' to the same type before the
391 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
393 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
394 loop start address for cache clearing.
396 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
398 * config/avr/lib1funcs.S: Remove trailing blanks.
399 * config/avr/lib1funcs-fixed.S: Ditto.
401 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
403 * config/avr/avr-lib.h: Add GPL copyright notice.
405 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
407 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
408 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
409 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
410 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
412 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
414 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
415 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
417 2013-01-04 Nick Clifton <nickc@redhat.com>
419 * config/v850/lib1funcs.S: Only provide CALLT support functions if
420 the CALLT instruction is supported.
422 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
424 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
425 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
427 2012-12-13 John Tytgat <John@bass-software.com>
429 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
432 2012-12-12 Jakub Jelinek <jakub@redhat.com>
435 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
436 undefined signed overflows.
438 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
441 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
443 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
445 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
446 (FP_TRAPPING_EXCEPTIONS): Define.
447 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
448 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
450 2012-12-04 Richard Henderson <rth@redhat.com>
453 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
455 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
457 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
458 (FP_EX_SHIFT): Define.
459 (FP_TRAPPING_EXCEPTIONS): Define.
461 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
463 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
464 (FP_ROUNDMODE): Use FP_RND_MASK.
465 * config/aarch64/sfp-exceptions.c: New.
466 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
467 Use __sfp_handle_exceptions.
469 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
471 * config.host: (arm*-*-freebsd*): Remove.
472 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
473 (arm*-*-elf*): Remove.
474 (arm*-*-wince-pe*): Remove.
475 * arm/unwind-arm.c (struct fpa_reg): Delete.
476 (struct fpa_regs): Delete.
477 (phase1_vrs): Remove fpa element.
478 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
479 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
480 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
481 * ieee754-sf.S (floatundisf): Remove FPA support.
482 (floatdisf): Likewise.
483 * ieee75f-df.S (floatundidf): Likewise.
484 (floatdidf): Likewise.
486 2012-11-29 Kai Tietz <ktietz@redhat.com>
489 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
490 * unwind-generic.h: Likewise.
491 * unwind-seh.c: Likewise.
493 2012-11-28 Richard Henderson <rth@redhat.com>
496 * emutls.c (__emutls_get_address): Avoid race condition between
497 obj->loc.offset read and emutls_key initialization.
499 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
501 Adjust decimal point of signed accum mode to GCC default.
504 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
506 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
507 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
509 (__divqq3, __divha3, __divsa3): Adjust to new position of
510 decimal point of signed accum types.
512 (__mulusa3_round): New function.
514 (__divqq_helper): New function.
515 (__udivuqq3): Use it.
517 2012-11-20 Jakub Jelinek <jakub@redhat.com>
520 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
522 2012-11-18 Teresa Johnson <tejohnson@google.com>
525 * libgcov.c (gcov_exit): Remove merged program summary
526 comparison unless !GCOV_LOCKED.
528 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
530 * soft-fp: Updated from glibc upstream.
532 2012-11-06 Ian Lance Taylor <iant@google.com>
534 * generic-morestack.c (__generic_morestack): Align the returned
535 stack pointer to a 32 byte boundary.
536 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
537 increment the return address until we have decided that we don't
538 have a varargs function.
539 (__morestack) [32-bit]: Align stack correctly when calling C
541 (__morestack) [64-bit]: Likewise.
543 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
545 * configure: Regenerate.
547 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
550 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
551 * config/i386/sfp-machine.h: Guard exception handling
552 code with _SOFT_FLOAT.
553 * config/i386/32/sfp-machine.h: Guard rounding handling
554 code with _SOFT_FLOAT.
555 * config/i386/64/sfp-machine.h: Ditto.
557 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
559 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
562 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
564 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
565 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
566 when appropriate. Correct structure element types.
567 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
568 -minline-all-stringops from compile flags.
570 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
572 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
574 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
576 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
578 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
580 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
583 2012-10-23 Ian Bolton <ian.bolton@arm.com>
584 Jim MacArthur <jim.macarthur@arm.com>
585 Marcus Shawcroft <marcus.shawcroft@arm.com>
586 Nigel Stephens <nigel.stephens@arm.com>
587 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
588 Richard Earnshaw <rearnsha@arm.com>
589 Sofiane Naci <sofiane.naci@arm.com>
590 Stephen Thomas <stephen.thomas@arm.com>
591 Tejas Belagod <tejas.belagod@arm.com>
592 Yufeng Zhang <yufeng.zhang@arm.com>
594 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
595 * config/aarch64/crti.S: New file.
596 * config/aarch64/crtn.S: New file.
597 * config/aarch64/linux-unwind.h: New file.
598 * config/aarch64/sfp-machine.h: New file.
599 * config/aarch64/sync-cache.c: New file.
600 * config/aarch64/t-aarch64: New file.
601 * config/aarch64/t-softfp: New file.
603 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
605 * config/mmix/crti.S: Mark program and data addresses using PRELD.
606 Remove typo'd and unnecessary alignment-LOC for .data. Remove
607 no-longer-needed LDBU insns.
609 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
612 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
613 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
615 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
617 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
619 2012-10-15 Matthias Klose <doko@ubuntu.com>
621 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
623 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
625 * configure: Regenerate.
626 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
628 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
630 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
631 instructions for 64bit targets only.
633 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
635 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
636 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
637 * config/i386/32/sfp-machine.h: ... here.
638 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
639 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
642 2012-10-07 Matthias Klose <doko@ubuntu.com>
644 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
646 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
648 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
650 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
651 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
652 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
655 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
658 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
661 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
664 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
665 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
666 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
668 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
671 * config/sh/linux-atomic.S: Delete.
672 * config/sh/linux-atomic.c: New.
673 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
674 linux-atomic.c. Add cflags to disable warnings.
676 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
679 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
681 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
682 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
683 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
684 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
685 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
687 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
689 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
691 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
692 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
694 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
696 * config.host (hppa-*-openbsd*): New target.
697 * config/pa/t-openbsd: New file.
699 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
702 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
703 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
704 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
705 (__divsa3): Use __negsi2 to negate r_quoL.
706 * config/avr/lib1funcs.S (FALIAS): New macro.
707 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
708 (__negsi2): ...this new function.
709 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
710 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
711 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
712 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
713 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
714 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
716 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
719 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
720 (lshrsi3): Reimplement as lshrsi3_r0.
722 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
725 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
728 2012-09-07 Teresa Johnson <tejohnson@google.com>
730 PR gcov-profile/54487
731 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
734 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
737 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
738 not configured --with-avrlibc=no.
739 * config/avr/t-avrlibc: New file.
740 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
741 (DPBIT_FUNCS): Ditto.
742 (TPBIT_FUNCS): Ditto.
744 2012-09-04 Teresa Johnson <tejohnson@google.com>
746 * libgcov.c (struct gcov_summary_buffer): New structure.
747 (gcov_histogram_insert): New function.
748 (gcov_compute_histogram): Ditto.
749 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
750 histograms during summary merging.
752 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
754 * config.host (x86_64-*-openbsd*): New target.
756 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
758 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
761 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
764 * config/avr/t-avr (conv_X): Rename to func_X.
766 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
769 * config/avr/lib1funcs-fixed.S: New file.
770 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
772 (neg2, neg4): New macros.
773 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
774 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
775 (__umulhisi3): Speed up MUL variant if there is enough flash.
776 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
778 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
779 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
780 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
781 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
782 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
783 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
784 (LIB2FUNCS_EXCLUDE): Add supported functions.
786 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
788 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
789 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
791 * fixed-obj.mk: Only expand dependency if $o is not in
794 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
796 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
798 2012-08-22 Joseph Myers <joseph@codesourcery.com>
800 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
801 depend on --enable-shared.
802 ($(lib1asmfuncs-o)): Use %.vis files independent of
804 * static-object.mk ($(base)$(objext), $(base).vis)
805 ($(base)_s$(objext)): Use same rules for visibility handling as in
808 2012-08-21 Ian Lance Taylor <iant@google.com>
810 * config/i386/morestack.S (__morestack_non_split): Increase amount
811 of space allocated for non-split code stack.
813 2012-08-19 Joseph Myers <joseph@codesourcery.com>
815 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
816 even if inhibit_libc.
818 2012-08-17 Julian Brown <julian@codesourcery.com>
820 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
821 -fexceptions -fnon-call-exceptions if not defined.
822 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
823 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
825 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
827 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
830 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
832 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
833 rs6000/t-slibgcc-aix.
835 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
837 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
839 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
841 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
843 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
846 * Makefile.in (version): Replace top_srcdir with srcdir.
848 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
850 * Makefile.in (version): set to BASE-VER file from gcc directory.
852 2012-08-01 Nick Clifton <nickc@redhat.com>
854 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
855 Implements __clrsb for an HImode argument.
857 2012-07-31 Nick Clifton <nickc@redhat.com>
859 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
860 Implements __clrsb for an HImode argument.
861 * config/stormy16/clrsbhi2.c: New file:
862 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
864 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
866 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
868 2012-07-19 Tristan Gingold <gingold@adacore.com>
869 Richard Henderson <rth@redhat.com>
871 * unwind-seh.c: New file.
872 * unwind-generic.h: Include windows.h for SEH.
873 (_Unwind_Exception): Use 6 private fields for SEH.
874 (_GCC_specific_handler): Declare.
875 * unwind-c.c (__gcc_personality_seh0): New function.
877 * config/i386/libgcc-cygming.ver: New file.
878 * config/i386/t-seh-eh: New file.
879 * config.host (x86_64-*-mingw*): Default to seh.
881 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
883 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
885 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
887 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
888 __builtin_expect when checking for exceptions.
889 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
891 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
893 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
894 function declaration.
895 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
897 * config/ia64/sfp-exceptions.c: New.
898 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
900 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
902 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
903 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
904 * config/i386/64/sfp-machine: ... (delete here) ...
905 * config/i386/sfp-machine.h: ... to here.
906 (FP_EX_MASK): Remove.
908 (FP_INIT_ROUNDMODE): Declare asm as volatile.
910 2012-06-11 Sriraman Tallam <tmsriram@google.com>
912 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
913 * config/i386/libgcc-sol2.ver: Ditto.
914 * config/i386/libgcc-glibc.ver: Ditto.
916 2012-06-11 Roland McGrath <mcgrathr@google.com>
918 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
919 If __GLIBC__ is defined, refer to __pthread_key_create instead of
922 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
924 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
925 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
926 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
927 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
928 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
929 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
930 * config/i386/64/sfp-machine: ... (delete here) ...
931 * config/i386/sfp-machine.h: ... to here.
933 (__sfp_handle_exceptions): New function declaration.
934 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
935 * config/i386/sfp-exceptions.c: New.
936 * config/i386/t-softfp: New.
937 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
938 i386/t-softfp to tmake_file.
940 2012-06-03 David S. Miller <davem@davemloft.net>
942 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
945 2012-05-31 David S. Miller <davem@davemloft.net>
947 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
948 multiply and divide instructions on 32-bit when V9.
949 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
951 2012-05-29 Joseph Myers <joseph@codesourcery.com>
953 * config/arm/ieee754-df.S: Fix typos.
954 * config/arm/ieee754-sf.S: Fix typos.
955 * config/c6x/libunwind.S: Fix typos.
956 * config/epiphany/udivsi3-float.c: Fix typos.
957 * config/microblaze/muldi3_hard.S: Fix typos.
958 * config/picochip/adddi3.S: Fix typos.
959 * config/picochip/ashlsi3.S: Fix typos.
960 * config/picochip/ashrsi3.S: Fix typos.
961 * config/picochip/clzsi2.S: Fix typos.
962 * config/picochip/cmpsi2.S: Fix typos.
963 * config/picochip/divmod15.S: Fix typos.
964 * config/picochip/divmodhi4.S: Fix typos.
965 * config/picochip/divmodsi4.S: Fix typos.
966 * config/picochip/longjmp.S: Fix typos.
967 * config/picochip/lshrsi3.S: Fix typos.
968 * config/picochip/parityhi2.S: Fix typos.
969 * config/picochip/popcounthi2.S: Fix typos.
970 * config/picochip/setjmp.S: Fix typos.
971 * config/picochip/subdi3.S: Fix typos.
972 * config/picochip/ucmpsi2.S: Fix typos.
973 * config/picochip/udivmodhi4.S: Fix typos.
974 * config/picochip/udivmodsi4.S: Fix typos.
975 * config/spu/divv2df3.c: Fix typos.
976 * config/spu/mfc_multi_tag_release.c: Fix typos.
977 * config/spu/mfc_tag_release.c: Fix typos.
978 * configure.ac: Fix typos.
979 * configure: Regenerate.
981 2012-05-25 Ian Lance Taylor <iant@google.com>
983 * config/i386/morestack.S (__morestack_non_split): Check whether
984 caller is varargs and needs %bp to hold the stack frame on return.
986 2012-05-25 Olivier Hainque <hainque@adacore.com>
988 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
989 sequence in the non pic case on VxWorks.
991 2012-05-24 Olivier Hainque <hainque@adacore.com>
993 * Makefile.in: Move dependency on install-unwind_h from
994 "install-leaf" to "install".
996 2012-05-24 Olivier Hainque <hainque@adacore.com>
998 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
999 Use a separate command for stamp removals.
1001 2012-05-21 Andrew Pinski <apinski@cavium.com>
1004 * configure.ac: Define the default includes to being none.
1005 * configure: Regenerate.
1007 2012-05-16 Olivier Hainque <hainque@adacore.com>
1009 * Makefile.in (install-unwind_h): Rename into ...
1010 (install-unwind_h-forbuild): New target.
1011 (all): Use it instead of the former install-unwind_h.
1012 (install-unwind_h): Reinstate, copy to user install destination
1013 for include files, not to the internal gcc object directory one.
1014 (install-leaf): Depend on it.
1016 2012-05-15 Olivier Hainque <hainque@adacore.com>
1018 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1019 register numbers. LR_REGNO replaces R_LR.
1020 (ucontext_for): New, helper for ...
1021 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1023 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1025 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1027 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1028 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1029 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1031 (i[34567]86-*-*, x86_64-*-*): ... here.
1033 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1034 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1036 * config/i386/i386-cpuinfo.c: Rename to ...
1037 * config/i386/cpuinfo.c: ... this.
1038 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1040 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1041 (libgcc_cv_init_priority): New test.
1042 * configure: Regenerate.
1043 * config.in: New file.
1044 * Makefile.in (clean): Rename config.h to auto-target.h.
1045 (config.h): Likewise.
1046 (stamp-h): Likewise.
1048 * config/i386/cpuinfo.c (auto-target.h): Include.
1049 (CONSTRUCTOR_PRIORITY): Define.
1050 (__cpu_indicator_init): Use it.
1052 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1054 * longlong.h: Use a URL instead of an FSF postal address.
1055 Replace spaces with tab.
1057 2012-05-08 Teresa Johnson <tejohnson@google.com>
1059 * libgcov.c (gcov_clear, __gcov_reset): New functions.
1060 (__gcov_dump): Ditto.
1061 (gcov_dump_complete): New global variable.
1062 (gcov_exit): Export hidden to enable use in L_gcov_dump.
1063 (__gcov_flush): Outline functionality now in gcov_clear.
1064 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1066 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
1068 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1069 (mips*-*-linux*): Include mips/t-tpbit when long double is
1072 2012-04-25 Sriraman Tallam <tmsriram@google.com>
1074 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1075 (get_available_features): New argument. Check for AVX2.
1076 (__cpu_indicator_init): Modify call to get_available_features.
1078 2012-04-25 Alan Modra <amodra@gmail.com>
1080 * config/rs6000/crtsavevr.S: New file.
1081 * config/rs6000/crtrestvr.S: New file.
1082 * config/rs6000/t-savresfgpr: Build the above.
1083 * config/rs6000/t-netbsd: Likewise.
1085 2012-04-24 Sriraman Tallam <tmsriram@google.com>
1087 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1089 2012-04-24 Sriraman Tallam <tmsriram@google.com>
1091 * libgcc/config/i386/i386-cpuinfo.c: New file.
1092 * libgcc/config/i386/t-cpuinfo: New file.
1093 * libgcc/config.host: Include t-cpuinfo.
1094 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1096 2012-04-24 Chao-ying Fu <fu@mips.com>
1098 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1100 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
1102 struct siginfo vs. siginfo_t
1104 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1105 siginfo_t instead of struct siginfo.
1106 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1107 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1108 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1109 (ia64_handle_unwabi): Likewise.
1110 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1111 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1112 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1113 (sh_fallback_frame_state): Likewise.
1114 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1115 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1117 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
1119 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1122 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
1124 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1125 if it hasn't been previously saved.
1127 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
1129 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1132 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
1135 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1136 instead of __AVR_HAVE_8BIT_SP__.
1138 2012-03-26 Tristan Gingold <gingold@adacore.com>
1140 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1141 (unw_table_entry): Use unw_word instead of unsigned long.
1142 (_Unwind_FindTableEntry): Likewise.
1143 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1144 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1145 (_Unwind_FindTableEntry): Likewise.
1146 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1147 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1148 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1149 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1150 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1151 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1152 (uw_init_context_1, uw_install_context): Likewise.
1153 (unw_word): Move to unwind-ia64.h
1155 2012-03-26 Tristan Gingold <gingold@adacore.com>
1157 * config/vms/vms-ucrt0.c: Update copyright years.
1159 (___gcc_main_flags): Declare.
1160 (__main): Check flags to remap argv and exit code.
1161 * config.host (*-*-*vms*): Adjust extra_parts.
1162 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1165 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
1167 * arm/lib1funcs.asm (ctzsi2): New function.
1168 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1169 * arm/t-linux (LIB1ASMFUNCS): Likewise.
1170 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1171 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1172 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1173 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1175 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
1177 * config.host: Add bits to support powerpc64-*-freebsd*.
1178 * config/rs6000/freebsd-unwind.h: New file.
1179 * config/rs6000/t-freebsd64: New file.
1181 2012-03-20 Richard Guenther <rguenther@suse.de>
1183 PR gcov-profile/52627
1184 * libgcov.c (init_mx): Fix mutex name.
1186 2012-03-16 Tristan Gingold <gingold@adacore.com>
1188 * config/ia64/vms-unwind.h: Remove ulong (and replace
1189 it by unw_reg where used). Define unw_reg with __int64.
1191 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1193 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1195 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1197 (sparc_is_sighandler): Likewise.
1199 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
1201 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1204 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1206 * config/arm/crtn.S: Fix typo.
1208 2012-03-13 Richard Guenther <rguenther@suse.de>
1210 * libgcov.c: Remove stdio.h include and NULL un-define.
1212 2012-03-13 Richard Guenther <rguenther@suse.de>
1215 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1217 2012-03-13 Richard Guenther <rguenther@suse.de>
1219 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1221 2012-03-13 Richard Guenther <rguenther@suse.de>
1223 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1224 and __gthread_mutex_init_function definitions.
1226 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1228 * config.host (mips*-*-openbsd*): Remove.
1230 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1232 * config.host: Remove alpha*-dec-osf5.1* handling.
1233 * config/alpha/gthr-posix.c: Remove.
1234 * config/alpha/libgcc-osf5.ver: Remove.
1235 * config/alpha/osf5-unwind.h: Remove.
1236 * config/alpha/t-osf-pthread: Remove.
1237 * config/alpha/t-slibgcc-osf: Remove.
1238 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1239 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1240 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1241 * mkmap-flat.awk: Remove osf_export handling.
1243 2012-03-12 Richard Guenther <rguenther@suse.de>
1245 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1246 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1247 (__gthread_mutex_init_function): New function.
1248 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1251 * libgcov.c: Include gthr.h.
1252 (__gcov_flush_mx): New global variable.
1253 (init_mx, init_mx_once): New functions.
1254 (__gcov_flush): Protect self with a mutex.
1255 (__gcov_fork): Re-initialize mutex after forking.
1256 * unwind-dw2-fde.c: Change condition under which to use
1257 __GTHREAD_MUTEX_INIT_FUNCTION.
1259 2012-03-12 Tristan Gingold <gingold@adacore.com>
1261 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1262 * config/ia64/t-vms: Likewise.
1264 2012-03-11 Michael Hope <michael.hope@linaro.org>
1266 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1269 2012-03-07 Walter Lee <walt@tilera.com>
1271 * config/tilepro/atomic.c: Rename "atomic_" prefix to
1273 (atomic_xor): Rename and move definition to
1274 config/tilepro/atomic.h.
1275 (atomic_nand): Ditto.
1276 * config/tilepro/atomic.h: Rename "atomic_" prefix to
1278 (arch_atomic_xor): Move from config/tilepro/atomic.c.
1279 (arch_atomic_nand): Ditto.
1281 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1284 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1286 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1289 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1292 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1296 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1297 if RAMPZ affects reading from RAM.
1298 (__tablejump_elpm__): Ditto.
1300 (__movmemx_hi): Ditto.
1301 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1302 (__do_global_dtors): Ditto.
1303 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1304 (__movmemx_hi): Ditto.
1306 2012-03-05 Richard Henderson <rth@redhat.com>
1308 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1309 [ARM] (count_trailing_zeros): Use the builtin.
1311 2012-03-01 Kai Tietz <ktietz@redhat.com>
1313 * soft-fp: Imported from glibc upstream.
1315 2012-02-28 Kai Tietz <ktietz@redhat.com>
1317 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1318 for mingw-targets as attribute gcc_struct.
1320 2012-02-28 Ian Lance Taylor <iant@google.com>
1322 * generic-morestack.c (__splitstack_releasecontext): Correct call
1323 to __morestack_release_segments.
1325 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1328 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1329 for __linux__ when removing signals from __morestack_fullmask.
1331 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
1334 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1336 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1338 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1339 instead of HAVE_INITFINI_ARRAY.
1340 * config/ia64/crtend.S: Likewise.
1342 2012-02-20 Kai Tietz <ktietz@redhat.com>
1345 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1347 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1348 to w32-unwind.h header.
1350 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1352 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1353 (mips*-*-linux*): Remove t-slibgcc-libgcc.
1354 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1355 * config/mips/mips16.S (__mips16_rdhwr): Delete.
1357 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1359 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1361 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1364 * config/darwin-crt-tm.c: Correct typo.
1366 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1367 Patrick Marlier <patrick.marlier@gmail.com>
1370 * config/darwin-crt-tm.c: Generate dummy functions.
1372 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1373 Patrick Marlier <patrick.marlier@gmail.com>
1376 * config/darwin-crt-tm.c (getTMCloneTable): New function.
1377 (__doTMRegistrations): Call it.
1378 (__doTMdeRegistrations): Likewise.
1380 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
1381 Anatoly Sokolov <aesok@post.ru>
1382 Eric Weddington <eric.weddington@atmel.com>
1385 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1386 (__epilogue_restores__): Ditto.
1388 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
1392 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1393 Solaris 11 and slightly reformat.
1394 (sparc_is_sighandler): Likewise.
1396 2012-02-14 Walter Lee <walt@tilera.com>
1398 * config.host: Handle tilegx and tilepro.
1399 * config/tilegx/sfp-machine.h: New file.
1400 * config/tilegx/sfp-machine32.h: New file.
1401 * config/tilegx/sfp-machine64.h: New file.
1402 * config/tilegx/t-crtstuff: New file.
1403 * config/tilegx/t-softfp: New file.
1404 * config/tilegx/t-tilegx: New file.
1405 * config/tilepro/atomic.c: New file.
1406 * config/tilepro/atomic.h: New file.
1407 * config/tilepro/linux-unwind.h: New file.
1408 * config/tilepro/sfp-machine.h: New file.
1409 * config/tilepro/softdivide.c: New file.
1410 * config/tilepro/softmpy.S: New file.
1411 * config/tilepro/t-crtstuff: New file.
1412 * config/tilepro/t-tilepro: New file.
1414 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1418 * gthr-posix.h: Allow static initializer macros to be disabled.
1419 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1421 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1423 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1424 Add t-slibgcc-libgcc to tmake_file.
1425 * config/mips/libgcc-mips16.ver: Revert previous patch.
1426 * config/mips/mips16.S (__mips16_rdhwr): Hide.
1428 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1429 Jayant R Sonar <jayant.sonar@kpitcummins.com>
1431 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1432 * config/cr16/crti.S: New file.
1433 * config/cr16/crtlibid.S: New file.
1434 * config/cr16/crtn.S: New file.
1435 * config/cr16/lib1funcs.S: New file.
1436 * config/cr16/t-cr16: New file.
1437 * config/cr16/t-crtlibid: New file.
1438 * config/cr16/unwind-dw2.h: New file.
1439 * config/cr16/unwind-cr16.c: New file.
1440 * config/cr16/divmodhi3.c: New file.
1442 2012-01-25 Alan Modra <amodra@gmail.com>
1444 * config/rs6000/t-linux64: Delete. Move..
1445 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1446 * config/rs6000/t-linux: ..and libgcc flags to here.
1448 2012-01-22 Douglas B Rupp <rupp@gnat.com>
1450 * config.host (i[34567]86-*-interix3*):
1451 Change triplet to i[34567]86-*-interix[3-9]*.
1452 * configure: Regenerate.
1454 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
1455 Richard Sandiford <rdsandiford@googlemail.com>
1457 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1458 * config/mips/mips16.S (__mips16_rdhwr): New function.
1459 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1461 2012-01-11 Nathan Sidwell <nathan@acm.org>
1463 * libgcov.c (__gcov_init): Ignore objects with no functions.
1465 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
1468 Extend __pgmx semantics to linearize memory.
1469 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1470 * config/avr/lib1funcs.S (__xload_1): New function.
1471 (__movmemx_qi, __movmemx_hi): New functions.
1472 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1475 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1477 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1478 purported sigacthandler address isn't null before dereferencing it.
1479 (sparc_is_sighandler): Likewise.
1481 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1484 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1485 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
1486 (sparc_is_sighandler): Likewise.
1487 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1489 2012-01-06 Tristan Gingold <gingold@adacore.com>
1491 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1492 compatibility thunks...
1493 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1494 (crtbeginS.o, crtendS.o): ... and these to ...
1495 * config/ia64/t-ia64-elf: ... this new file.
1496 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1497 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1499 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1501 * configure: Regenerate.
1502 * config/s390/t-crtstuff: Remove -fPIC.
1504 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1507 * enable-execute-stack-mprotect.c (getpagesize): Do not define
1510 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1513 * config/avr/lib1funcs.S: Remove FIXME comments.
1514 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1516 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1518 Implement light-weight DImode support.
1519 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1520 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1521 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1522 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1524 2011-12-30 Nathan Sidwell <nathan@acm.org>
1526 * libgcov.c (gcov_crc32): Remove global var.
1527 (free_fn_data): New function.
1528 (buffer_fn_data): Pass in filename, more robust error recovery.
1529 (crc32_unsigned): New function.
1530 (gcov_exit): More robust detection of new program. More robust
1532 (__gcov_init): Do not update program's crc here.
1534 2011-12-21 Tristan Gingold <gingold@adacore.com>
1536 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1538 2011-12-21 Ian Lance Taylor <iant@google.com>
1540 * config/i386/morestack.S: Simplify CFI opcodes throughout.
1542 2011-12-20 Ian Lance Taylor <iant@google.com>
1544 * config/i386/morestack.S (__morestack_non_split): If there is
1545 enough stack space already, don't split. Ask for more stack space
1548 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
1550 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1552 (_Unwind_DebugHook): New function.
1553 (uw_restore_core_regs): New define.
1554 (unwind_phase2): Use uw_restore_core_regs instead of
1556 (unwind_phase2_forced): Likewise.
1557 (__gnu_Unwind_Resume): Likewise.
1559 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
1561 * config/alpha/linux-unwind.h: Update copyright years.
1562 (MD_FROB_UPDATE_CONTEXT): New define.
1563 (alpha_frob_update_context): New function.
1565 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
1567 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1568 tmake_file rather replacing it.
1570 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
1572 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1573 function is not used for PPC64.
1574 (save_world): Amend comments. Update the VRsave mask to reflect the
1576 (rest_world): Update comments, do not clobber r10, do not use r8.
1577 (eh_rest_world_r10): Amend comments, do not use r8.
1578 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1579 no longer used, move restore of CR and target address to the end of
1582 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1584 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1585 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1587 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
1590 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1591 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1593 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1595 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1597 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
1600 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1601 * config/avr/lib1funcs.S (__muldi3): New function.
1603 2011-12-06 Andrew Pinski <apinski@cavium.com>
1605 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1607 (__frame_dummy_init_array_entry): Likewise.
1609 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
1611 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1615 * config/avr/lib1funcs.S (__prologue_saves__,
1616 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1617 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1619 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1621 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1623 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1626 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1627 (_ITM_deregisterTMCloneTable): Likewise.
1628 (__register_frame_info): Fix unused warning.
1629 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1630 pthread_default_stacksize_np): Likewise.
1631 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1633 2011-11-29 DJ Delorie <dj@redhat.com>
1635 * config.host (rl78-*-elf): New case.
1636 * config/rl78: New directory for the Renesas RL78.
1638 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1640 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1643 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1646 * config/rs6000/t-savresfgpr: New file.
1647 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1648 $(srcdir)/config/rs6000/eabi.S.
1649 * config/rs6000/t-ppccomm-ldbl: Remove.
1650 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1652 (powerpc-*-eabispe*): Likewise.
1653 (powerpc-*-eabi*): Likewise.
1654 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1655 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1656 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1657 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1659 (powerpc-*-eabisim*): Likewise.
1660 (powerpc-*-elf*): Likewise.
1661 (powerpc-*-eabialtivec*): Likewise.
1662 (powerpc-xilinx-eabi*): Likewise.
1663 (powerpc-*-rtems*): Likewise.
1664 (powerpcle-*-elf*): Likewise.
1665 (powerpcle-*-eabisim*): Likewise.
1666 (powerpcle-*-eabi*): Likewise.
1668 2011-11-27 Ian Lance Taylor <iant@google.com>
1670 * generic-morestack.c (__splitstack_find): Check for NULL old
1672 (__splitstack_resetcontext): New function.
1673 (__splitstack_releasecontext): New function.
1674 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1676 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1678 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1680 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1682 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1684 2011-11-26 Richard Henderson <rth@redhat.com>
1686 * config/m68k/linux-atomic.c: New file.
1687 * config/m68k/t-linux: New file.
1688 * config.host (m68k-uclinux, m68k-linux): Use it.
1690 2011-11-26 Richard Henderson <rth@redhat.com>
1692 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1693 (__TMC_END__): Only declare if hidden is available; in the definition,
1694 if hidden is unavailable add a null record.
1695 (deregister_tm_clones, register_tm_clones): New.
1696 (__do_global_dtors_aux, frame_dummy): Use them.
1697 (__do_global_dtors, __do_global_ctors_1): Likewise.
1699 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
1701 * config/darwin-crt-tm.c: New file.
1702 * config.host (darwin): Build crttms.o crttme.o to provide
1703 startup and shutdown for tm clones.
1704 * config/t-darwin (crttms.o): New build rule.
1705 (crttme.o): Likewise.
1707 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
1709 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1712 2011-11-21 Richard Henderson <rth@redhat.com>
1714 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1715 (__TMC_LIST__, __TMC_END__): New.
1716 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1717 (__do_global_dtors): Likewise.
1718 (frame_dummy): Call _ITM_registerTMCloneTable.
1719 (__do_global_ctors_1): Likewise.
1721 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1723 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1724 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1725 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1726 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1727 * config/i386/t-darwin64: Remove.
1728 * config/sh/t-netbsd (LIB2ADD): Remove.
1730 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
1733 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1734 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1735 * config/avr/lib1funcs.S (wmov): New assembler macro.
1736 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1737 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1738 (__udivmod64): New function.
1739 (__negdi2): New function.
1741 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
1743 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1744 *-*-freebsd*aout*): Remove.
1746 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
1748 * static-object.mk (c_flags-$o): Save c_flags.
1749 ($(base)$(objext)): Use it.
1751 2011-11-18 Steve Ellcey <sje@cup.hp.com>
1753 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1755 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
1758 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1759 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1762 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1764 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1766 (aeabi_uidivmod): Likewise.
1767 (umodsi3): Likewise.
1769 (aeabi_idivmod): Likewise.
1772 2011-11-16 Tristan Gingold <gingold@adacore.com>
1774 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1776 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
1779 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1780 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1782 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1784 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1786 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1787 * config/pa/t-stublib64: Delete.
1789 2011-11-12 Richard Henderson <rth@redhat.com>
1791 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1792 cast the pointer argument to _Unwind_SetGRPtr.
1794 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1796 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1798 2011-11-09 Ian Lance Taylor <iant@google.com>
1800 * generic-morestack.c: Include <string.h>.
1801 (uintptr_type): Define.
1802 (struct initial_sp): Add dont_block_signals field. Reduce size of
1804 (allocate_segment): Set prev field to NULL. Don't set
1805 __morestack_current_segment or __morestack_segments.
1806 (__generic_morestack): Update current->prev and *pp after calling
1808 (__morestack_block_signals): Don't do anything if
1809 dont_block_signals is set.
1810 (__morestack_unblock_signals): Likewise.
1811 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1813 (__splitstack_block_signals): New function.
1814 (enum __splitstack_content_offsets): Define.
1815 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1816 (__splitstack_makecontext): New function.
1817 (__splitstack_block_signals_context): New function.
1818 (__splitstack_find_context): New function.
1819 * config/i386/morestack.S (__morestack_get_guard): New function.
1820 (__morestack_set_guard, __morestack_make_guard): New functions.
1821 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1823 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1825 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1826 (i[34567]86-*-mingw*): ... here.
1827 (x86_64-*-mingw*): ... here.
1829 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1831 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1833 2011-11-07 Nathan Sidwell <nathan@acm.org>
1835 * libgcov.c (struct gcov_fn_buffer): New struct.
1836 (buffer_fn_data): New helper.
1837 (gcov_exit): Rework for new gcov data structures.
1839 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
1842 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1844 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1846 * config.host (tmake_file): Correct comment.
1847 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1849 (bfin*-uclinux*): Likewise.
1850 (bfin*-linux-uclibc*): Likewise.
1851 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1853 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1855 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1856 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1857 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1858 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1859 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1860 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1861 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1862 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1863 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1864 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1865 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1866 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1867 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1869 * config/bfin/t-elf: Remove.
1870 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1872 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1874 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1875 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1876 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1877 (lm32-*-elf*): ... this.
1878 (lm32-*-rtems*): ... and this.
1880 (m32r-*-rtems*): Add to tmake_file.
1881 (moxie-*-rtems*): Likewise.
1882 (sparc-*-rtems*): Likewise.
1883 Remove t-rtems from tmake_file.
1884 (sparc64-*-rtems*): Likewise.
1885 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1888 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1891 * config/gthr-posix.h: Move ...
1892 * gthr-posix.h: ... here.
1893 * config/gthr-lynx.h: Reflect this.
1894 * config/gthr-vxworks.h: Likewise.
1895 * config/rs6000/gthr-aix.h: Likewise.
1896 * configure.ac (target_thread_file): Likewise.
1897 * configure: Regenerate.
1899 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1901 * config.host (arm*-*-rtemseabi*): New target.
1903 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1906 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1909 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1911 * config.host (epiphany-*-elf*): New configuration.
1912 * config/epiphany: New Directory.
1914 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1916 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1917 * config/avr/t-rtems: New.
1918 Filter out _exit from LIB1ASMFUNCS.
1920 2011-11-04 David S. Miller <davem@davemloft.net>
1922 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1923 * configure: Rebuild.
1925 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1927 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1930 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
1933 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1934 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1936 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1939 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1941 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1943 * config/c6x/t-elf (LIB2ADDEH): Set.
1944 * config/c6x/t-c6x-elf: Remove.
1946 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1948 * config/i386/sol2-ci.S: Rename to ...
1949 * config/i386/crti.S: ... this.
1950 * config/i386/sol2-cn.S: Rename to ...
1951 * config/i386/crtn.S: ... this.
1952 * config/sparc/sol2-ci.S: Rename to ...
1953 * config/sparc/crti.S: ... this.
1954 * config/sparc/sol2-cn.S: Rename to ...
1955 * config/sparc/crtn.S: ... this.
1956 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1957 (crti.o, crtn.o): Remove.
1959 2011-11-04 Tristan Gingold <gingold@adacore.com>
1961 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1963 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
1965 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1967 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
1969 * config.host (crisv32-*-none, cris-*-none): Remove.
1970 (crisv32-*-elf): Append to tmake_file, don't just set it.
1971 (cris-*-elf): Add missing t-fdpbit to tmake_file.
1973 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1975 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1976 (ecrtn$(objext)): Likewise.
1977 (ncrti$(objext)): Likewise.
1978 (ncrtn$(objext)): Likewise.
1980 2011-11-03 Andreas Schwab <schwab@redhat.com>
1982 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1984 2011-11-02 David S. Miller <davem@davemloft.net>
1986 * configure.ac: Set host_address on sparc too.
1987 * configure: Regenerate.
1988 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1989 based upon host_address.
1990 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1992 2011-11-02 Jason Merrill <jason@redhat.com>
1994 * config/rs6000/t-ppccomm: Add missing \.
1996 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1998 * gthr-single.h, gthr.h: New files.
1999 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2000 config/gthr-vxworks.h, config/i386/gthr-win32.h,
2001 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2002 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2003 * config/i386/gthr-win32.c: Include "gthr-win32.h".
2004 * configure.ac (thread_header): New variable.
2005 Set it depending on target_thread_file.
2006 (gthr-default.h): Link from $thread_header.
2007 * configure: Regenerate.
2008 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2010 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2012 * configure.ac (tm_file_): New variable.
2013 Determine from tm_file.
2014 (tm_file, tm_defines): Substitute.
2015 * configure: Regenerate.
2016 * mkheader.sh: New file.
2017 * Makefile.in (clean): Remove libgcc_tm.h.
2018 ($(objects)): Depend on libgcc_tm.h.
2019 (libgcc_tm_defines, libgcc_tm_file): New variables.
2020 (libgcc_tm.h, libgcc_tm.stamp): New targets.
2021 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2022 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2023 ($(extra-parts)): Depend on libgcc_tm.h.
2024 * config.host (tm_defines, tm_file): New variable.
2025 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2026 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2027 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2028 (avr-*-rtems*): Likewise.
2029 (avr-*-*): Likewise.
2030 (frv-*-elf): Likewise.
2031 (frv-*-*linux*): Likewise.
2032 (h8300-*-rtems*): Likewise.
2033 (h8300-*-elf*): Likewise.
2034 (i[34567]86-*-darwin*): Likewise.
2035 (x86_64-*-darwin*): Likewise.
2036 (rx-*-elf): Likewise.
2037 (tic6x-*-uclinux): Likewise.
2038 (tic6x-*-elf): Likewise.
2039 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2040 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2041 * config/i386/cygming-crtbegin.c: Likewise.
2042 * config/i386/cygming-crtend.c: Likewise.
2043 * config/ia64/fde-vms.c: Likewise.
2044 * config/ia64/unwind-ia64.c: Likewise.
2045 * config/libbid/bid_gcc_intrinsics.h: Likewise.
2046 * config/rs6000/darwin-fallback.c: Likewise.
2047 * config/stormy16/lib2funcs.c: Likewise.
2048 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2049 * crtstuff.c: Likewise.
2050 * dfp-bit.h: Likewise.
2051 * emutls.c: Likewise.
2052 * fixed-bit.c: Likewise.
2053 * fp-bit.c: Likewise.
2054 * generic-morestack-thread.c: Likewise.
2055 * generic-morestack.c: Likewise.
2056 * libgcc2.c: Likewise.
2057 * libgcov.c: Likewise.
2058 * unwind-dw2-fde-dip.c: Likewise.
2059 * unwind-dw2-fde.c: Likewise.
2060 * unwind-dw2.c: Likewise.
2061 * unwind-sjlj.c: Likewise.
2063 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2065 * configure.ac: Include ../config/picflag.m4.
2066 (GCC_PICFLAG): Call it.
2068 * configure: Regenerate.
2069 * Makefile.in (gcc_srcdir): Remove.
2070 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2071 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2072 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2073 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2074 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2077 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2078 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2079 to refer to libgcc2.c.
2081 * config/darwin-64.c: New file.
2082 * config/darwin-crt3.c: Remove comment.
2083 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2084 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2085 config/udivmodsi4.c: New files.
2086 * config/memcmp.c, config/memcpy.c, config/memmove.c,
2087 config/memset.c: New files.
2088 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2089 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2090 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2091 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2092 * config/t-openbsd-thread: New file.
2093 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2094 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2095 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2096 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2099 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2100 to refer to gthr-posix.c.
2101 * config/alpha/t-vms (LIB2ADD): Set.
2102 * config/alpha/vms-gcc_shell_handler.c: New file.
2103 * config/arm/bpabi.c, config/arm/fp16.c,
2104 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2105 config/arm/unaligned-funcs.c: New files.
2106 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2107 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2108 * config/arm/t-linux: Likewise.
2109 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2110 * config/arm/t-netbsd: New file.
2111 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2112 * config/arm/t-symbian (LIB2ADD_ST): Set.
2113 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2114 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2115 * config/bfin/t-elf: New file.
2116 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2117 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2118 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2119 config/c6x/ltf.c: New files.
2120 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2121 (HOST_LIBGCC2_CFLAGS): Set.
2122 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2123 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2124 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2126 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2127 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2128 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2129 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2130 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2132 * config/frv/t-frv (LIB2ADD): Set.
2133 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2134 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2135 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2136 config/h8300/popcounthi2.c: New files.
2137 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2138 * config/i386/gthr-win32.c: New file.
2139 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2140 * config/i386/t-cygwin: Likewise.
2141 * config/i386/t-darwin, config/i386/t-darwin64,
2142 config/i386/t-gthr-win32, config/i386/t-interix: New files.
2143 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2144 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2145 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2146 * config/ia64/quadlib.c: New file.
2147 * config/ia64/t-hpux (LIB2ADD): Set.
2148 * config/ia64/t-ia64: Add comment.
2149 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2150 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2151 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2152 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2153 * config/m32c/t-m32c (LIB2ADD): Set.
2154 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2155 * config/m32r/t-m32r: Likewise.
2156 * config/m68k/fpgnulib.c: New file.
2157 * config/m68k/t-floatlib (LIB2ADD): Set.
2158 (xfgnulib.c): New target.
2159 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2160 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2161 * config/mep/t-mep (LIB2ADD): Set.
2162 * config/microblaze/divsi3.asm: Rename to divsi3.S.
2163 * config/microblaze/moddi3.asm: Rename to moddi3.S.
2164 * config/microblaze/modsi3.asm: Rename to modsi3.S.
2165 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2166 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2167 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2168 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2169 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2170 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2171 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2173 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2174 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2175 * config/pa/fptr.c, config/pa/lib2funcs.S,
2176 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2177 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2178 (LIB2ADD, LIB2ADD_ST): Set.
2179 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2180 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2182 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2183 * config/pdp11/t-pdp11: New file.
2184 * config/picochip/libgccExtras/adddi3.S,
2185 config/picochip/libgccExtras/ashlsi3.S,
2186 config/picochip/libgccExtras/ashrsi3.S,
2187 config/picochip/libgccExtras/clzsi2.S,
2188 config/picochip/libgccExtras/cmpsi2.S,
2189 config/picochip/libgccExtras/divmod15.S,
2190 config/picochip/libgccExtras/divmodhi4.S,
2191 config/picochip/libgccExtras/divmodsi4.S,
2192 config/picochip/libgccExtras/lshrsi3.S,
2193 config/picochip/libgccExtras/parityhi2.S,
2194 config/picochip/libgccExtras/popcounthi2.S,
2195 config/picochip/libgccExtras/subdi3.S,
2196 config/picochip/libgccExtras/ucmpsi2.S,
2197 config/picochip/libgccExtras/udivmodhi4.S,
2198 config/picochip/libgccExtras/udivmodsi4.S: New files.
2199 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2200 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2201 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2202 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2203 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2204 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2205 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
2206 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2208 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2209 (HOST_LIBGCC2_CFLAGS): Set.
2210 * config/rs6000/t-darwin64: New file.
2211 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2212 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2213 * config/rs6000/t-ppccomm (LIB2ADD): Add
2214 $(srcdir)/config/rs6000/tramp.S.
2215 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2216 Add $(srcdir)/config/rs6000/eabi.S.
2217 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2218 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2219 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2220 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2221 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2222 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2223 * config/rs6000/tramp.S: New file.
2224 * config/s390/t-tpf: Remove.
2225 * config/sh/linux-atomic.S: New file.
2226 * config/sh/t-linux (LIB2ADD): Set.
2227 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2228 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2229 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2231 (HOST_LIBGCC2_CFLAGS): Set.
2232 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2233 * config/spu/divmodti4.c, config/spu/divv2df3.c,
2234 config/spu/float_disf.c, config/spu/float_unsdidf.c,
2235 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2236 config/spu/mfc_multi_tag_release.c,
2237 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2238 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2239 config/spu/multi3.c: New files.
2240 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2241 (HOST_LIBGCC2_CFLAGS): Set.
2242 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2243 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2244 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2245 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2246 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2247 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2248 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2249 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2250 config/stormy16/umodsi3.c: New files.
2251 * config/xtensa/lib2funcs.S: New file.
2252 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2253 * config/xtensa/t-xtensa (LIB2ADD): Set.
2254 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2255 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2256 Add t-freebsd-thread to tmake_file for posix threads.
2257 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2258 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2259 (*-*-lynxos*): Likewise.
2260 (*-*-netbsd*): Likewise.
2261 (*-*-openbsd*): Likewise.
2262 Add t-openbsd-thread to tmake_file for posix threads.
2263 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2264 (*-*-vxworks*): Set tmake_file.
2265 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2266 (alpha*-*-freebsd*): Likewise.
2267 (alpha*-*-netbsd*): Likewise.
2268 (alpha*-*-openbsd*): Likewise.
2269 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2270 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2271 (alpha*-dec-*vms*): Likewise.
2272 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2273 (bfin*-elf*): Add bfin/t-elf to tmake_file.
2274 (bfin*-uclinux*): Likewise.
2275 (bfin*-linux-uclibc*): Likewise.
2276 (crisv32-*-elf): Add cris/t-cris to tmake_file.
2277 (crisv32-*-none): Likewise.
2278 (cris-*-elf): Likewise.
2279 (cris-*-none): Likewise.
2280 (cris-*-linux*, crisv32-*-linux*): Likewise.
2281 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2283 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2285 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2286 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2287 (x86_64-*-elf*): Likewise.
2288 (i[34567]86-*-nto-qnx*): Likewise.
2289 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2291 (x86_64-*-mingw*): Likewise.
2292 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2293 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2294 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2295 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2296 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2298 (mipsisa64sr71k-*-elf*): Likewise.
2299 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2300 (mips-*-elf*, mipsel-*-elf*): Likewise.
2301 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2302 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2303 (mips*-*-rtems*): Likewise.
2304 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2306 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2307 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2308 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2309 (spu-*-elf*): Likewise.
2310 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2312 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2314 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2315 $(srcdir) to refer to $(LIB1ASMSRC).
2317 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2318 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2319 config/arm/lib1funcs.S: New files.
2320 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2321 * config/arm/t-arm: New file.
2322 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2323 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2324 config/arm/t-strongarm-elf: New files.
2325 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2326 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2327 * config/avr/lib1funcs.S: New file.
2328 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2329 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2330 * config/c6x/lib1funcs.S: New file.
2331 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2332 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2333 * config/frv/lib1funcs.S: New file.
2334 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2335 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2336 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2337 * config/ia64/__divxf3.asm: Rename to ...
2338 * config/ia64/__divxf3.S: ... this.
2339 Adapt lib1funcs.asm filename.
2340 * config/ia64/_fixtfdi.asm: Rename to ...
2341 * config/ia64/_fixtfdi.S: ... this.
2342 Adapt lib1funcs.asm filename.
2343 * config/ia64/_fixunstfdi.asm: Rename to ...
2344 * config/ia64/_fixunstfdi.S: ... this.
2345 Adapt lib1funcs.asm filename.
2346 * config/ia64/_floatditf.asm: Rename to ...
2347 * config/ia64/_floatditf.S: ... this.
2348 Adapt lib1funcs.asm filename.
2349 * config/ia64/lib1funcs.S: New file.
2350 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2351 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2352 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2353 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2354 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2355 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2356 * config/mep/lib1funcs.S: New file.
2357 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2358 * config/mips/mips16.S: New file.
2359 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2360 * config/pa/milli64.S: New file.
2361 * config/pa/t-linux, config/pa/t-linux64: New files.
2362 * config/picochip/lib1funcs.S: New file.
2363 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2364 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2365 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2366 * config/sh/t-netbsd: New file.
2367 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2368 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2369 * config/sh/t-sh64: New file.
2370 * config/sparc/lb1spc.S: New file.
2371 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2373 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2374 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2375 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2376 config/xtensa/lib1funcs.S: New files.
2377 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2378 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2380 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2381 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2382 (arm*-*-linux*): Likewise.
2383 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2384 arm*-*-linux-*eabi, add arm/t-linux otherwise.
2385 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2386 (arm*-*-ecos-elf): Likewise.
2387 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2388 (arm*-*-rtems*): Likewise.
2389 (arm*-*-elf): Likewise.
2390 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2391 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2392 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2393 (bfin*-uclinux*): Likewise.
2394 (bfin*-linux-uclibc*): Likewise.
2395 (bfin*-rtems*): Likewise.
2396 (bfin*-*): Likewise.
2397 (fido-*-elf): Merge into m68k-*-elf*.
2398 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2399 (frv-*-*linux*): Add frv/t-frv to tmake_file.
2400 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2401 (h8300-*-elf*): Likewise.
2402 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2403 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2404 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2405 (i[34567]86-*-mingw*): Likewise.
2406 (x86_64-*-mingw*): Likewise.
2407 (i[34567]86-*-interix3*): Likewise.
2408 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2409 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2410 (m68k-*-elf*): Also handle fido-*-elf.
2411 Add m68k/t-floatlib to tmake_file.
2412 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2413 (m68k-*-linux*): Likewise.
2414 (m68k-*-rtems*): Likewise.
2415 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2416 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2418 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2419 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2420 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2421 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2422 sh/t-netbsd to tmake_file.
2423 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2424 (sh-*-rtems*): Add sh/t-sh to tmake_file.
2425 (sh-wrs-vxworks): Likewise.
2426 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2428 (v850*-*-*): Add v850/t-v850 to tmake_file.
2429 (vax-*-linux*): Add vax/t-linux to tmake_file.
2430 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2432 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2434 * crtstuff.c: New file.
2435 * Makefile.in (CRTSTUFF_CFLAGS): Define.
2436 (CRTSTUFF_T_CFLAGS): Define.
2437 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2438 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2439 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2442 (crtbeginT.o): Use $(objext).
2443 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2444 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2445 (gcc-extra-parts): Remove.
2446 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2448 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2449 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2450 Add t-crtstuff-pic to tmake_file.
2451 (*-*-lynxos*): New case.
2452 Set tmake_file, extra_parts.
2453 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2454 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2455 *-*-netbsdelf[2-9]*.
2456 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2457 (*-*-rtems*): Set extra_parts.
2458 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2459 (*-*-uclinux*): New case.
2461 (*-*-vms*): New case.
2462 Set tmake_file, extra_parts.
2463 (*-*-elf): Set extra_parts.
2464 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2465 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2468 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2470 (arm*-*-freebsd*): Add t-crtin to tmake_file.
2471 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2472 (arm-wrs-vxworks): Append to tmake_file.
2474 (arm*-*-uclinux*): Set extra_parts.
2475 (arm*-*-ecos-elf): Likewise.
2476 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2478 (arm*-*-rtems*): Set extra_parts.
2479 (arm*-*-elf): Likewise.
2480 (avr-*-rtems*): Clear extra_parts.
2481 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2483 (bfin*-uclinux*): Likewise.
2484 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2485 (bfin*-rtems*): Append to tmake_file.
2487 (bfin*-*): Likewise.
2488 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2489 (crisv32-*-elf): ... this.
2490 (crisv32-*-none): ... this.
2491 (cris-*-elf, cris-*-none): New cases.
2492 Add cris/t-elfmulti to tmake_file.
2493 (fr30-*-elf): Append to tmake_file.
2495 (frv-*-elf): Append to tmake_file, add frv/t-frv.
2497 (h8300-*-rtems*): Append to tmake_file.
2499 (h8300-*-elf*): Likewise.
2500 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2502 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2504 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2505 (x86_64-*-elf*): Likewise.
2506 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2507 (x86_64-*-freebsd*): Likewise.
2508 (x86_64-*-netbsd*): Likewise.
2509 (i[34567]86-*-linux*): Likewise.
2510 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2511 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2512 (x86_64-*-linux*): Likewise.
2513 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2514 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2517 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2518 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2519 Append to extra_parts, remove crtbegin.o, crtend.o.
2520 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2521 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2522 crtend.o, crtbeginS.o, crtendS.o.
2523 (ia64*-*-linux*): Comment extra_parts.
2524 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2526 (iq2000*-*-elf*): Clear extra_parts.
2527 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2528 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2529 (m32r-*-elf*, m32r-*-rtems*): Split off ...
2530 (m32r-*-rtems*): ... this.
2531 Add m32r/t-m32r to tmake_file.
2532 (m68k-*-elf*): Add t-crtin to tmake_file.
2533 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2534 (mcore-*-elf): Likewise.
2535 (microblaze*-*-*): Set extra_parts.
2536 (mips*-sde-elf*): New case.
2537 Set tmake_file, extra_parts.
2538 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2539 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2540 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2543 (mipsisa64sr71k-*-elf*): Likewise.
2544 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2545 (mips-*-elf*, mipsel-*-elf*): Likewise.
2546 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2547 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2548 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2549 (mips*-*-rtems*): Likewise.
2550 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2551 (moxie-*-*): Split into ...
2552 (moxie-*-elf, moxie-*-uclinux*): ... this.
2553 Add to extra_parts, remove crtbegin.o, crtend.o.
2554 (moxie-*-rtems*): New case.
2557 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2559 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2560 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2563 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2564 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2566 (powerpc-*-eabisim*): Likewise.
2567 (powerpc-*-elf*): Likewise.
2568 (powerpc-*-eabialtivec*): Likewise.
2569 (powerpc-xilinx-eabi*): Likewise.
2570 (powerpc-*-eabi*): Likewise.
2571 (powerpc-*-rtems*): Likewise.
2572 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2575 (powerpc-*-lynxos*): Add to tmake_file.
2576 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2577 rs6000/t-crtstuff, t-crtstuff-pic.
2579 (powerpcle-*-eabisim*): Likewise.
2580 (powerpcle-*-eabi*): Likewise.
2581 (rx-*-elf): Remove extra_parts.
2582 (s390x-ibm-tpf*): Set extra_parts.
2583 (score-*-elf): Set extra_parts.
2584 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2585 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2586 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2587 (sh64l*-*-netbsd*): Split into ...
2588 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2589 Add t-crtstuff-pic to tmake_file.
2591 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2593 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2594 (sparc-*-elf*): Remove t-crtin from tmake_file.
2595 Add to extra_parts, remove crtbegin.o, crtend.o.
2596 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2597 (sparc64-*-linux*): Likewise.
2598 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2599 Add to extra_parts, remove crtbegin.o, crtend.o.
2600 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2601 Add to extra_parts, remove crtbegin.o, crtend.o.
2602 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2603 Add to extra_parts, remove crtbegin.o, crtend.o.
2604 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2605 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2606 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2608 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2610 (tic6x-*-*): Change to ...
2611 (tic6x-*-elf): ... this.
2613 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2615 (am33_2.0-*-linux*): Add comment.
2616 (mep*-*-*): Add mep/t-mep to tmake_file.
2618 * config/alpha/t-vms: New file.
2619 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2620 * config/arm/crti.S, config/arm/crtn.S: New files.
2621 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2622 * config/bfin/crtlibid.S: New file.
2623 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2624 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2625 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2626 (crti.o, crtin.o): New rules.
2627 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2628 * config/c6x/t-uclinux: New file.
2629 * config/cris/t-elfmulti: New file.
2630 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2631 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2632 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2633 * config/frv/t-frv: New file.
2634 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2635 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2636 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2638 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2639 refer to cygming-crtbegin.c, cygming-crtend.c.
2641 * config/i386/t-nto: New file.
2642 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2643 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2644 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2645 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2648 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2649 (crtinitS.o): New rule.
2650 * config/ia64/vms-crtinit.S: New file.
2651 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2652 * config/m32r/initfini.c: New file.
2653 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2654 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2655 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2656 * config/mep/t-mep: New file.
2657 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2658 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2659 * config/mips/crti.S, config/mips/crtn.S: New files.
2660 * config/mips/t-crtstuff: New file.
2661 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2662 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2663 (CUSTOM_CRTIN): Set.
2664 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2666 Use $(srcdir) to refer to crti.S, crtn.S.
2667 Use .S extension, $<.
2668 * config/moxie/crti.asm: Rename to ...
2669 * config/moxie/crti.S: ... this.
2670 * config/moxie/crtn.asm: Rename to ...
2671 * config/moxie/crtn.S: ... this.
2672 * config/moxie/t-moxie: Remove.
2673 * config/pa/stublib.c: New file.
2674 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2675 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2676 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2677 * config/rs6000/t-crtstuff: New file.
2678 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2679 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2680 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2681 Make output file explicit.
2682 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2683 Make output file explicit.
2684 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2685 Make output file explicit.
2686 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2687 Make output file explicit.
2688 * config/score/crti.S, config/score/crtn.S: New files.
2689 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2690 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2692 * config/sh/t-sh, config/sh/t-superh: New files.
2693 * config/sparc/t-linux64: New file.
2694 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2695 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2696 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2697 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2698 * config/t-crtin: Remove.
2699 * config/t-crtstuff-pic: New file.
2700 * config/t-sol2 (CUSTOM_CRTIN): Set.
2701 (crti.o, crtn.o): New rules.
2702 * config/vms/t-vms: New file.
2703 * config/vms/vms-ucrt0.c: New file.
2704 * config/xtensa/t-elf: New file.
2706 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2708 * Makefile.in (SHLIB_NM_FLAGS): Set.
2709 * mkmap-flat.awk, mkmap-symver.awk: New files.
2710 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2712 * configure: Regenerate.
2713 * config/libgcc-glibc.ver: New file.
2714 * config/libgcc-libsystem.ver: New file.
2715 * config/t-libunwind (SHLIB_LC): Set.
2716 * config/t-linux: New file.
2717 * config/t-slibgcc (INSTALL_SHLIB): New.
2718 (SHLIB_INSTALL): Use it.
2719 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2720 to mkmap-symver.awk.
2721 (SHLIB_MAPFILES): Don't append, adapt pathname.
2722 (SHLIB_VERPFX): Set.
2723 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2724 to mkmap-symver.awk.
2725 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2726 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2727 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2728 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2730 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2731 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2732 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2733 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2734 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2735 * config/i386/libgcc-darwin.10.4.ver,
2736 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2738 * config/i386/t-darwin: Remove.
2739 * config/i386/t-darwin64: Likewise.
2740 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2741 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2742 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2743 * config/i386/t-linux: New file.
2744 * config/i386/t-mingw32: New file.
2745 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2746 * config/ia64/t-glibc: Rename to ...
2747 * config/ia64/t-linux: ... this.
2748 (SHLIB_MAPFILES): Set.
2749 * config/ia64/t-glibc-libunwind: Rename to ...
2750 * config/ia64/t-linux-libunwind: ... this.
2751 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2752 * config/ia64/t-slibgcc-hpux: New file.
2753 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2754 * config/m68k/t-slibgcc-elf-ver: New file.
2755 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2756 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2758 * config/pa/t-slibgcc-hpux: New file.
2759 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2761 * config/rs6000/libgcc-darwin.10.4.ver,
2762 config/rs6000/libgcc-darwin.10.5.ver: New files.
2763 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2764 config/rs6000/libgcc-glibc.ver.
2765 * config/rs6000/libgcc-ppc64.ver: Rename to
2766 config/rs6000/libgcc-ibm-ldouble.ver.
2767 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2768 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2769 * config/rs6000/t-ldbl128: Rename to ...
2770 * config/rs6000/t-linux: ... this.
2771 (SHLIB_MAPFILES): Adapt filename.
2772 * config/rs6000/t-slibgcc-aix: New file.
2773 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2774 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2775 libgcc-excl.ver, libgcc-glibc.ver.
2776 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2777 * config/sparc/libgcc-glibc.ver: New file.
2778 * config/sparc/t-linux: New file.
2779 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2780 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2781 t-slibgcc-elf-ver to tmake_file.
2782 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2784 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2785 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2786 t-slibgcc-elf-ver, t-linux to tmake_file.
2787 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2789 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2790 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2791 (alpha*-dec-*vms*): Likewise.
2792 (arm*-*-freebsd*): Append to tmake_file.
2793 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2794 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2796 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2797 tmake_file for arm*-*-symbianelf*.
2798 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2799 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2801 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2802 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2803 pa/t-slibgcc-dwarf-ver to tmake_file.
2804 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2805 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2806 (hppa*64*-*-hpux11*): Likewise.
2807 (hppa[12]*-*-hpux11*): Likewise.
2808 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2809 i386/t-crtpc, i386/t-crtfm.
2810 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2811 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2813 Add i386/t-cygwin to tmake_file.
2814 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2815 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2816 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2818 Add i386/t-mingw32 to tmake_file.
2819 (x86_64-*-mingw*): Likewise.
2820 (ia64*-*-freebsd*): Append to tmake_file.
2821 (ia64*-*-linux*): Append to tmake_file.
2822 Replace ia64/t-glibc by ia64/t-linux.
2823 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2825 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2826 t-slibgcc-hpux to tmake_file.
2827 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2828 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2829 (m32rle-*-linux*): Likewise.
2830 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2832 (microblaze*-linux*): New case.
2833 Append to tmake_file, add t-slibgcc-nolc-override.
2834 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2835 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2836 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2837 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2838 rs6000/t-slibgcc-aix to tmake_file.
2839 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2840 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2841 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2842 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2843 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2844 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2846 (sparc-*-linux*): Append to tmake_file for *-leon*.
2847 Add sparc/t-linux to tmake_file for non-Leon targets.
2848 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2849 (tic6x-*-uclinux): New case.
2850 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2851 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2852 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2853 (am33_2.0-*-linux*): Append to tmake_file.
2854 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2855 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2856 x86_64-*-kfreebsd*-gnu.
2857 Add i386/t-linux to tmake_file.
2859 2011-10-28 Ian Lance Taylor <iant@google.com>
2861 * config/i386/morestack.S: Correct CFI information to do proper
2862 returns throughout function. In 32-bit mode, save %ebx so that it
2863 is restored on unwind.
2865 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
2867 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2868 case where B3 isn't the return register.
2870 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2871 logic for doubleword pops.
2873 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
2875 * config/rs6000/t-freebsd: Add wildcard.
2877 2011-10-21 Paul Brook <paul@codesourcery.com>
2879 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2881 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
2882 Eric Botcazou <ebotcazou@adacore.com>
2885 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2886 fs->signal_frame to 1.
2888 2011-10-07 Ian Lance Taylor <iant@google.com>
2890 * generic-morestack-thread.c: #include <errno.h>.
2892 2011-10-07 Ian Lance Taylor <iant@google.com>
2895 * generic-morestack.c (__generic_morestack): Make sure the segment
2896 is large enough for both the stack frame and the copied
2899 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2902 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2905 2011-09-28 Nick Clifton <nickc@redhat.com>
2907 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2908 64-bit doubles are not enabled.
2909 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2910 and floatunsisf functions.
2912 2011-09-13 Paul Brook <paul@codesourcery.com>
2914 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2915 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2916 * unwind-arm-common.inc: New file.
2917 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2918 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2919 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2920 * config/c6x/libunwind.S: New file.
2921 * config/c6x/pr-support.c: New file.
2922 * config/c6x/unwind-c6x.c: New file.
2923 * config/c6x/unwind-c6x.h: New file.
2924 * config/c6x/t-c6x-elf: New file.
2926 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
2928 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2929 (ASM_DIVZERO): Ditto.
2930 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2932 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2934 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2936 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2939 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2940 instead of an assembly one.
2942 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
2945 * Makefile.in (install-unwind_h): Create
2946 $(gcc_objdir)/include/unwind.h atomically.
2948 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2950 * Makefile.in (install-unwind_h): Remove destination file first.
2952 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2955 * config/mips/t-mips16: New file.
2956 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2957 (mips*-*-linux*): Likewise.
2958 (mips*-sde-elf*): Likewise.
2959 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2960 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2961 Add mips/t-mips16 to tmake_file.
2962 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2963 (mips-*-elf*): Likewise.
2964 (mips64-*-elf*): Likewise.
2965 (mips64orion-*-elf*): Likewise.
2966 (mips*-*-rtems*): Likewise.
2967 (mipstx39-*-elf*): Likewise.
2968 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2969 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2971 Use $(srcdir) to refer to sync.c.
2973 ($(libgcc-sync-funcs-o)): Likewise.
2974 ($(libgcc-sync-size-funcs-s-o)): Likewise.
2975 ($(libgcc-sync-funcs-s-o)): Likewise.
2977 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2979 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2982 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
2985 * config/i386/value-unwind.h: New.
2987 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
2989 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2990 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2991 Add to tmake_file rather than overriding it.
2993 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2995 * config/t-softfp: Remove.
2996 * soft-fp: Moved from ../gcc/config.
2997 * soft-fp/README: Remove t-softfp reference.
2998 * soft-fp/t-softfp: Move to config/t-softfp.
2999 (softfp_machine_header): Remove.
3000 (softfp_file_list): Remove config subdir.
3001 (soft-fp-objects): New variable.
3002 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3003 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3004 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3005 * config/t-softfp-excl: New file.
3006 * config/t-softfp-sfdf: New file.
3007 * config/t-softfp-tf: New file.
3008 * config/no-sfp-machine.h: New file.
3009 * config/arm/sfp-machine.h: New file.
3010 * config/arm/t-softfp: New file.
3011 * config/c6x/sfp-machine.h: New file.
3012 * config/i386/32/t-fprules-softfp: Rename to ...
3013 * config/i386/32/t-softfp: ... this.
3014 (tifunctions, LIB2ADD): Remove.
3015 (softfp_int_modes): Override.
3016 * config/i386/64/t-softfp-compat (tf-functions): Remove config
3018 * config/i386/64/eqtf2.c: Likewise.
3019 * config/i386/64/getf2.c: Likewise.
3020 * config/i386/64/letf2.c: Likewise.
3021 * config/ia64/sft-machine.h: New file.
3022 * config/ia64/t-fprules-softfp: Rename to ...
3023 * config/ia64/t-softfp: ... this.
3024 * config/lm32/sfp-machine.h: New file.
3025 * config/moxie/t-moxie-softfp: Remove.
3026 * config/rs6000/ibm-ldouble-format: New file.
3027 * config/rs6000/ibm-ldouble.c: New file.
3028 * config/rs6000/libgcc-ppc-glibc.ver: New file
3029 * config/rs6000/libgcc-ppc64.ver: New file
3030 * config/rs6000/sfp-machine.h: New file.
3031 * config/rs6000/t-freebsd: New file.
3032 * config/rs6000/t-ibm-ldouble: New file.
3033 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3034 libgcc-ppc-glibc.ver.
3035 * config/rs6000/t-linux64: New file.
3036 * config/rs6000/t-ppccomm (LIB2ADD): Add
3037 $(srcdir)/config/rs6000/ibm-ldouble.c.
3038 * config/rs6000/t-ppccomm-ldbl: New file.
3039 * config/score/sfp-machine.h: New file.
3040 * config.host (sfp_machine_header): Explain.
3041 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3042 t-softfp to tmake_file.
3043 (arm*-*-uclinux*): Likewise.
3044 (arm*-*-ecos-elf): Likewise.
3045 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3046 (arm*-*-rtems*): Likewise.
3047 (arm*-*-elf): Likewise.
3048 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3050 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3051 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3052 (lm32-*-uclinux*): Likewise.
3053 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3054 t-softfp-excl, t-softfp.
3055 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3056 (powerpc64-*-darwin*): Likewise.
3057 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3059 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3061 (powerpc-*-eabisim*): Likewise.
3062 (powerpc-*-elf*): Likewise.
3063 (powerpc-*-eabialtivec*): Likewise.
3064 (powerpc-xilinx-eabi*): Likewise.
3065 (powerpc-*-rtems*): Likewise.
3066 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3067 t-softfp-excl, t-softfp to tmake_file.
3068 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3069 rs6000/t-ppccomm-ldbl to tmake_file.
3070 (powerpcle-*-elf*): Likewise.
3071 (powerpcle-*-eabisim*): Likewise.
3072 (powerpcle-*-eabi*): Likewise.
3073 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3074 rs6000/t-ibm-ldouble to tmake_file.
3075 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3076 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3077 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3078 (tic6x-*-*): Likewise.
3079 (i[34567]86-*-darwin*, x86_64-*-darwin*,
3080 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3081 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3082 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3083 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3084 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3085 t-softfp to tmake_file.
3086 * configure.ac (sfp_machine_header): Provide default if unset.
3088 Link sfp-machine.h to config/$sfp_machine_header.
3089 * configure: Regenerate.
3091 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3093 * Makefile.in (double_type_size, long_double_type_size): Set.
3094 Remove $(fpbit-in-libgcc) support.
3095 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3096 (fpbit-src): New variable.
3097 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3098 Compile with -DFLOAT $(FPBIT_CFLAGS).
3100 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3101 Compile with $(FPBIT_CFLAGS).
3103 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3104 Compile with -DFLOAT $(TPBIT_CFLAGS).
3106 * configure.ac (double_type_size, long_double_type_size):
3107 Determine and substitute.
3108 * configure: Regenerate.
3109 * fp-bit.c, fp-bit.h: New files.
3110 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3111 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3112 * config/mips/t-mips: New file.
3113 * config/mips/t-sdemtk: New file.
3114 * config/rs6000/ppc64-fp.c: New file.
3115 * config/rs6000/t-darwin (LIB2ADD): Add
3116 $(srcdir)/config/rs6000/ppc64-fp.c.
3117 * config/rs6000/t-ppc64-fp: New file.
3118 * config/rx/rx-lib.h: New file.
3119 * config/rx/t-rx (FPBIT): Set to true.
3120 ($(gcc_objdir)/fp-bit.c): Remove.
3121 (DPBIT): Set to true only with -m64bit-doubles.
3122 ($(gcc_objdir)/dp-bit.c): Remove.
3123 * config/sparc/t-softfp: Remove.
3124 * config/spu/t-elf: New file.
3125 * config/t-fdpbit, config/t-fpbit: New files.
3126 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3127 (mips*-*-*): Likewise.
3128 (arm-wrs-vxworks): Likewise.
3129 (arm*-*-freebsd*): Likewise.
3130 (avr-*-rtems*): Add t-fpbit to tmake_file.
3131 (avr-*-*): Likewise.
3132 (bfin*-elf*): Add t-fdpbit to tmake_file.
3133 (bfin*-uclinux*): Likewise.
3134 (bfin*-linux-uclibc*): Likewise.
3135 (bfin*-rtems*): New case.
3136 Add t-fdpbit to tmake_file.
3137 (bfin*-*): Add t-fdpbit to tmake_file.
3138 (crisv32-*-elf): Likewise.
3139 (cris-*-linux*): Likewise.
3140 (fr30-*-elf): Likewise.
3141 (frv-*-elf, frv-*-*linux*): Likewise.
3142 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3143 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3144 (m32r-*-elf*): Likewise.
3145 (m32rle-*-elf*): Likewise.
3146 (m32r-*-linux*): Likewise.
3147 (m32rle-*-linux*): Likewise.
3148 (mcore-*-elf): Add t-fdpbit to tmake_file.
3149 (microblaze*-*-*): Likewise.
3150 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3151 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3152 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3154 Add mips/t-tpbit to tmake-file.
3155 (mips*-*-linux*): Fix typo.
3156 (mips*-sde-elf*): New case
3157 Add mips/t-sdemtk unless using newlib.
3158 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3159 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3160 (mn10300-*-*): Likewise.
3161 (pdp11-*-*): Likewise.
3162 (picochip-*-*): Add t-fpbit to tmake_file.
3163 (powerpc-*-eabisimaltivec*): Likewise.
3164 (powerpc-*-eabisim*): Likewise.
3165 (powerpc-*-elf*): Likewise.
3166 (powerpc-*-eabialtivec*): Likewise.
3167 (powerpc-xilinx-eabi*): New case.
3168 Add t-fdpbit to tmake_file.
3169 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
3170 (powerpc-*-rtems*): Likewise.
3171 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3173 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3175 (powerpc-*-lynxos*): Likewise.
3176 (powerpcle-*-elf*): Likewise.
3177 (powerpcle-*-eabisim*): Likewise.
3178 (powerpcle-*-eabi*): Likewise.
3179 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3180 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3181 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3182 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3183 (rx-*-elf): Add t-fdpbit to tmake_file.
3184 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3185 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3186 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3187 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3189 (sh-*-rtems*): Add t-fdpbit to tmake_file.
3190 (sh-wrs-vxworks): Likewise.
3191 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3192 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3193 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3194 (sparc64-*-rtems*): ... new case.
3195 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3196 (spu-*-elf*): Likewise.
3197 Add spu/t-elf to tmake_file.
3198 (v850*-*-*): Add t-fdpbit to tmake_file.
3199 (xstormy16-*-elf): Likewise.
3200 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3201 (mep*-*-*): Likewise.
3203 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3205 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3207 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3208 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3209 (install-unwind_h): New target.
3210 (all): Depend on it.
3211 * config.host (unwind_header): New variable.
3212 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3213 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3214 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3215 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3216 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3218 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3220 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3222 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3224 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3225 (ia64*-*-freebsd*): Likewise.
3226 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3228 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3229 $with_system_libunwind.
3230 (ia64*-*-hpux*): Set tmake_file.
3231 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3232 (picochip-*-*): Set tmake_file.
3233 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3235 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3236 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3237 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3238 (xtensa*-*-elf*): Set tmake_file.
3239 (xtensa*-*-linux*): Likewise.
3240 * configure.ac: Include ../config/unwind_ipinfo.m4.
3241 Call GCC_CHECK_UNWIND_GETIPINFO.
3242 Link unwind.h to $unwind_header.
3243 * configure: Regenerate.
3244 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3245 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3246 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3247 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3248 * config/unwind-dw2-fde-darwin.c: New file.
3249 * config/arm/libunwind.S, config/arm/pr-support.c,
3250 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3251 config/arm/unwind-arm.h,: New files.
3252 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3253 config/ia64/t-eh-ia64, config/ia64/t-glibc,
3254 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3255 config/ia64/t-vms, config/ia64/unwind-ia64.c,
3256 config/ia64/unwind-ia64.h: New files.
3257 * config/picochip/t-picochip: New file.
3258 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3260 * config/rs6000/t-darwin (LIB2ADDEH): Set.
3261 * config/s390/t-tpf (LIB2ADDEH): Remove.
3262 * config/t-darwin (LIB2ADDEH): Set.
3263 * config/t-eh-dw2-dip: New file.
3264 * config/t-libunwind, config/t-libunwind-elf: New files.
3265 * config/t-sol2 (LIB2ADDEH): Remove.
3266 * config/xtensa/t-xtensa: New file.
3268 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
3270 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3271 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3272 long long to check rt_sigreturn syscall.
3274 2011-08-02 Alan Modra <amodra@gmail.com>
3276 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3277 Restore for indirect call bcrtl from correct stack slot, and only
3278 if cfa+40 isn't valid.
3280 2011-08-01 Julian Brown <julian@codesourcery.com>
3282 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3283 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3284 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3286 2011-08-01 Julian Brown <julian@codesourcery.com>
3288 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3289 (libgcc-std.ver.in): Use above.
3290 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3291 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
3293 * config/t-fixedpoint-gnu-prefix: New file.
3294 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3295 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3298 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
3300 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3301 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3302 for x86-64. Properly check __x86_64__ and __LP64__.
3304 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
3306 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3308 (_FP_WS_TYPE): Likewise.
3309 (_FP_I_TYPE): Likewise.
3311 2011-07-28 Alan Modra <amodra@gmail.com>
3313 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3314 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3315 in a plt call stub. Do restore r2 if stopped on bctrl.
3317 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3319 * config.host (i[3456x]86-*-netware*): Remove.
3320 * config/i386/netware-crt0.c, config/i386/t-nwld,
3321 config/i386/t-slibgcc-nwld: Remove.
3323 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
3325 * config.host: Handle tic6x-*-*.
3326 * config/c6x/c6x-abi.h: New file.
3328 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3330 * config/i386/crtprec.c: New file.
3331 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3332 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3333 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3334 (x86_64-*-darwin*): Likewise.
3335 (i[34567]86-*-solaris2*: Likewise.
3337 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3339 * config/alpha/crtfastmath.c: New file.
3340 * config/i386/crtfastmath.c: New file.
3341 * config/ia64/crtfastmath.c: New file.
3342 * config/mips/crtfastmath.c: New file.
3343 * config/sparc/crtfastmath.c: New file.
3345 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3347 Add -frandom-seed=gcc-crtfastmath.
3348 * config/alpha/t-crtfm: Remove.
3349 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3350 * config/ia64/t-ia64 (crtfastmath.o): Remove.
3352 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3353 (alpha*-dec-osf5.1*): Likewise.
3354 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3355 Add crtfastmath.o to extra_parts.
3356 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3357 Add crtfastmath.o to extra_parts.
3358 (x86_64-*-darwin*): Likewise.
3359 (x86_64-*-mingw*): Likewise.
3360 (ia64*-*-elf*): Add t-crtfm to tmake_file.
3361 (ia64*-*-freebsd*): Likewise.
3362 (ia64*-*-linux*): Likewise.
3363 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3364 Add crtfastmath.o to extra_parts.
3366 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3368 * config/darwin-crt3.o: New file.
3369 * config/rs6000/darwin-crt2.c: New file.
3370 * config/t-darwin: New file.
3371 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3373 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3374 (powerpc-*-darwin*): Add crt2.o to extra_parts.
3375 (powerpc64-*-darwin*): Likewise.
3377 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3379 * config/i386/netware-crt0.c: New file.
3380 * config/i386/t-nwld: Rename to ...
3381 * config/i386/t-slibgcc-nwld: ... this.
3382 * config/i386/t-nwld: New file.
3383 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3385 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3388 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3390 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3392 * configure: Regenerate.
3394 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3396 * dfp-bit.c, dfp-bit.h: New files.
3397 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3399 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3400 ($(d64pbit-o)): Likewise.
3401 ($(d128pbit-o)): Likewise.
3402 * config/t-dfprules: New file.
3403 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3404 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3405 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3406 (x86_64-*-linux*): Likewise.
3407 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3408 (i[34567]86-*-cygwin*): Likewise.
3409 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
3410 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3412 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3414 * Makfile.in (LIBGCOV): New variable.
3415 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3416 * libgcov.c: New file.
3418 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3420 * fixed-bit.c, fixed-bit.h: New files.
3421 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3422 refer to fixed-bit.c.
3424 2011-07-07 Joseph Myers <joseph@codesourcery.com>
3426 * config.host (*local*): Remove.
3428 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3431 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3432 like i?86-*-solaris2.1[0-9]*.
3433 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3434 * configure.ac (i?86-*-solaris2*): Likewise.
3435 * configure: Regenerate.
3437 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
3439 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3440 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3441 md_unwind_header by splitting out of...
3442 (i[34567]86-*-linux*): ... this.
3443 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3444 Remove md_unwind_header by splitting out of...
3445 (x86_64-*-linux*): ... this.
3447 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
3449 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3451 2011-06-28 Nick Clifton <nickc@redhat.com>
3453 * config.host: Recognize all V850 variants.
3455 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
3457 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3459 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3461 * shared-object.mk (c_flags-$o): Save c_flags.
3462 ($(base)$(objext)): Use it.
3463 ($(base)_s$(objext)): Likewise.
3465 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
3467 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3468 * libgcc-std.ver.in (GCC_4.7.0): New section.
3470 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
3474 * config/avr/t-avr: Fix line endings.
3475 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
3478 2011-06-14 Olivier Hainque <hainque@adacore.com>
3479 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3481 * config/mips/irix6-unwind.h: New file.
3482 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3484 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
3486 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3487 (sparc64_fallback_frame_state): Use it.
3488 (sparc64_frob_update_context): Further adjust context.
3489 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3490 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3491 * config/sparc/sol2-cn.S: Likewise.
3493 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3495 * enable-execute-stack-empty.c: New file.
3496 * enable-execute-stack-mprotect.c: New file.
3497 * config/i386/enable-execute-stack-mingw32.c: New file.
3498 * config.host (enable_execute_stack): New variable.
3499 Select appropriate variants.
3500 * configure.ac: Link enable-execute-stack.c to
3501 $enable_execute_stack.
3502 * configure: Regenerate.
3503 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3504 (lib2funcs): Remove _enable_execute_stack.
3506 2011-06-09 David S. Miller <davem@davemloft.net>
3507 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3509 * config.host (sparc-*-linux*): Correct md_unwind_header
3511 (s390x-ibm-tpf*): Fix typo.
3513 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3515 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3516 Add crtfastmath.o to extra_parts.
3517 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3519 * config/mips/t-crtfm: Remove.
3521 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3523 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3525 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
3527 * config.host (sh*-*-linux*): Fix typo.
3529 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3531 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3532 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3533 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3534 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3535 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3536 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3537 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3538 Wrap in !__MINGW64__.
3539 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3540 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3541 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3542 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3543 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3544 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3545 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3547 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3548 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3549 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3550 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3551 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3552 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3553 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3554 * config/no-unwind.h: New file.
3555 * config.host (md_unwind_header): Document.
3557 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3558 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3559 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3560 hppa[12]*-*-hpux11*): Set md_unwind_header.
3561 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3562 Set md_unwind_header.
3563 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3564 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3565 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3566 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3567 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3568 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3569 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3571 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3572 * configure: Regenerate.
3574 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3576 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3577 Set tmake_file, extra_parts.
3578 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3580 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3582 * config/mips/t-irix6: New file.
3583 * config/mips/t-slibgcc-irix: New file.
3585 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3587 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3588 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3590 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3592 * configure.ac (target_thread_file): Determine thread model.
3593 * configure: Regenerate.
3594 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3595 * config/alpha/t-alpha: New file.
3596 * config/alpha/t-crtfm: Use $<.
3597 * config/alpha/t-ieee: New file.
3598 * config/alpha/t-osf-pthread: New file.
3599 * config/alpha/t-slibgcc-osf: New file.
3600 * config/alpha/libgcc-osf5.ver: New file.
3602 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3604 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3606 Add crtfastmath.o to extra_parts.
3608 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3610 * config/gmon-sol2.c: Reindent.
3612 Remove, correct casts.
3613 Use STDERR_FILENO, NULL.
3614 (BASEADDRESS): Remove.
3616 (errno, sbrk): Remove declarations.
3617 (monstartup) [hp300]: Remove.
3620 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3622 * Makefile.in (cpu_type): Define.
3623 * config.host (i[34567]86-*-rtems*): Handle it.
3624 (i[34567]86-*-solaris2*): Move body ...
3625 (*-*-solaris2*): ... here.
3626 New case, generalize.
3627 (sparc-*-elf*): Handle it.
3628 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3629 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3630 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3632 (sparc*-*-solaris2*): ... this.
3634 (sparc64-*-elf*): Handle it.
3635 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3636 Merge ../gcc/config/i386/gmon-sol2.c.
3637 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3639 Merge ../gcc/config/i386/sol2-gc1.asm.
3640 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3642 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3644 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3645 * config/i386/t-crtstuff: New file.
3646 * config/i386/t-softfp: New file.
3647 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3648 $(T)crti.o, $(T)crtn.o): Remove.
3649 (gcrt1.o): New rule.
3650 (TARGET_LIBGCC2_CFLAGS): Remove.
3651 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3652 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3653 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3654 * config/sparc/t-sol2: New file.
3655 * config/sparc/t-crtfm: Move to ...
3656 * config/t-crtfm: ... this.
3657 Use $(cpu_type), $<.
3658 * config/t-crtin: New file.
3659 * config/sparc/t-softfp: New file.
3660 * config/sparc/t-softmul: New file.
3661 * config/t-rtems: New file.
3662 * config/t-slibgcc: New file.
3663 * config/t-slibgcc-elf-ver: New file.
3664 * config/t-slibgcc-gld: New file.
3665 * config/t-slibgcc-sld: New file.
3666 * config/t-sol2: New file.
3667 * configure.ac: Include ../config/lib-ld.m4.
3668 Call AC_LIB_PROG_LD_GNU.
3669 Substitute cpu_type.
3670 * configure: Regenerate.
3672 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
3675 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3676 libgcc-std.ver in the build directory.
3677 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3678 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3680 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
3682 * libgcc-std.ver.in: New file.
3683 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3685 (libgcc-std.ver): New rule.
3686 * config/t-gnu-prefix: New file.
3688 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3690 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3692 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3694 * config/i386/darwin-lib.h: New file.
3696 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3698 * config/arm/symbian-lib.h: New.
3700 2011-05-04 Chris Demetriou <cgd@google.com>
3702 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3703 (__x86.get_pc_thunk.bx): ...this.
3704 (__morestack): Adjust for rename, remove undef of __i686.
3706 2011-05-03 Chris Demetriou <cgd@google.com>
3708 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3710 2011-03-22 Joseph Myers <joseph@codesourcery.com>
3712 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3713 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3714 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3715 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3716 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3719 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
3721 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3722 Adjust copyright year.
3724 2011-03-07 Ian Lance Taylor <iant@google.com>
3726 * generic-morestack.c (__splitstack_find): Adjust returned stack
3727 pointer to include all registers pushed by __morestack.
3729 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
3732 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3733 (toolexecdir): Calculate and AC_SUBST.
3734 (toolexeclibdir): Likewise.
3735 * Makefile.in (target_noncanonical): Import.
3736 (toolexecdir): Likewise.
3737 (toolexeclibdir): Likewise.
3738 * configure: Regenerate.
3740 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
3743 * config/arm/bpabi.h: Rename to...
3744 * config/arm/bpabi-lib.h: ...this.
3746 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3748 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3750 * configure: Regenerate.
3752 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3754 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3755 __FLOAT_WORD_ORDER__.
3756 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3759 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3762 * Makefile.in (install-strip): New phony target.
3764 2010-11-07 Ian Lance Taylor <iant@google.com>
3767 * config/i386/morestack.S (__morestack_large_model): New
3770 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
3772 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3774 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3776 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
3778 * config/arm/bpabi.h: New file.
3779 * config/frv/frv-abi.h: New file.
3781 2010-10-01 Ian Lance Taylor <iant@google.com>
3783 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3784 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3786 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3789 * config.host: Add the missing `$'.
3791 2010-09-30 Michael Eager <eager@eagercon.com>
3793 * config.host: Add microblaze*-*-*.
3794 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3795 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3796 udivsi3.asm,umodsi3.asm}: New.
3798 2010-09-28 Ian Lance Taylor <iant@google.com>
3800 * configure.ac: Adjust CFI test to test assembler directly rather
3801 than checking gcc preprocessor macro.
3802 * configure: Rebuild.
3804 2010-09-27 Ian Lance Taylor <iant@google.com>
3806 * configure.ac: Test whether assembler supports CFI directives.
3807 * config.host: Only add t-stack and i386/t-stack-i386 to
3808 tmake_file if libgcc_cv_cfi is "yes".
3809 * configure: Rebuild.
3811 2010-09-27 Ian Lance Taylor <iant@google.com>
3813 * generic-morestack.h: New file.
3814 * generic-morestack.c: New file.
3815 * generic-morestack-thread.c: New file.
3816 * config/i386/morestack.S: New file.
3817 * config/t-stack: New file.
3818 * config/i386/t-stack-i386: New file.
3819 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3820 i386/t-stack-i386 to tmake_file.
3822 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
3824 * Makefile.in (libgcc-extra-parts): Check for static archives and
3825 invoke ranlib after installing them.
3826 (gcc-extra-parts): Likewise.
3827 (install-leaf): Likewise.
3829 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
3831 * configure: Regenerated.
3833 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
3835 * configure: Regenerated.
3837 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
3838 Andrew Pinski <pinskia@gmail.com>
3841 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3843 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
3846 * configure: Regenerated.
3848 2010-09-06 Andreas Schwab <schwab@redhat.com>
3850 * configure: Regenerate.
3852 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3854 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3856 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3859 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3860 Iain Sandoe <iains@gcc.gnu.org>
3863 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3864 LIB2FUNCS_EXCLUDE functions.
3866 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3868 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3870 * configure: Regenerate.
3872 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
3874 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3875 i386/t-freebsd to tmake_file.
3876 * config/i386/t-freebsd: New file.
3877 * config/i386/libgcc-bsd.ver: New file.
3879 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3881 * config.host (powerpc*-eabispe*): Set tmake_file.
3882 (powerpc*-eabi*): Likewise.
3883 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3884 crtbeginS, crtendS, crtbeginT.
3886 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
3888 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3889 to tmake_file. Add crtfastmath.o to extra_parts.
3890 * config/mips/t-crtfm: New.
3892 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3894 * config.host (sparc64-*-rtems*): New target.
3896 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3898 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3901 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3903 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3905 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3907 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3908 alpha-dec-osf5.0* support.
3910 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
3912 * config.host: Add lm32-*-rtems*.
3914 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3915 Uros Bizjak <ubizjak@gmail.com>
3918 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3919 like other remaining 32-bit x86 OSes.
3920 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3922 * config/i386/libgcc-sol2.ver: New file.
3923 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3925 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3928 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3929 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3930 is used and substitute set_use_emutls.
3931 * configure: Regenerated.
3933 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3935 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3937 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3940 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3942 ($(T)gcrt1.o): Likewise.
3943 ($(T)crt1.o): Likewise.
3944 ($(T)crti.o): Likewise.
3945 ($(T)crtn.o): Likewise.
3947 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3950 * Makefile.in (install): Use $(MAKE) string in rule, for
3953 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
3955 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3956 * config/mmix/t-mmix: New file.
3957 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3959 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
3962 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3965 2010-01-04 Anthony Green <green@moxielogic.com>
3967 * config/moxie/crti.asm, config/moxie/crtn.asm,
3968 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3969 config/moxie/t-moxie: New files.
3970 * config.host: Add t-moxie-softfp reference.
3972 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3975 * config/t-slibgcc-darwin: Fix embedded rpaths for
3976 --enable-version-specific-runtime-libs, build extension stub
3977 libs exposing features available from current libgcc_s.
3979 2009-11-11 Jon Beniston <jon@beniston.com>
3981 * config.host: Add lm32 targets.
3982 * config/lm32: New directory.
3983 * config/lm32/libgcc_lm32.h: New file.
3984 * config/lm32/_mulsi3.c: New file.
3985 * config/lm32/_udivmodsi4.c: New file.
3986 * config/lm32/_divsi3.c: New file.
3987 * config/lm32/_modsi3.c: New file.
3988 * config/lm32/_udivsi3.c: New file.
3989 * config/lm32/_umodsi3.c: New file.
3990 * config/lm32/_lshrsi3.S: New file.
3991 * config/lm32/_ashrsi3.S: New file.
3992 * config/lm32/_ashlsi3.S: New file.
3993 * config/lm32/crti.S: New file.
3994 * config/lm32/crtn.S: New file.
3995 * config/lm32/t-lm32: New file.
3996 * config/lm32/t-elf: New file.
3997 * config/lm32/t-uclinux: New file.
3999 2009-10-26 Nick Clifton <nickc@redhat.com>
4001 * config.host: Add support for RX target.
4002 * config/rx: New directory.
4003 * config/rx/rx-abi-functions.c: New file. Supplementary
4004 functions for libgcc to support the RX ABI.
4005 * config/rx/rx-abi.h: New file. Supplementary header file for
4006 libgcc RX ABI functions.
4007 * config/rx/t-rx: New file: Makefile fragment for building
4010 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
4012 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4013 constraint of y0 to "g".
4015 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4017 * config.host: Include the s390 makefile fragments.
4018 * config/s390/32/_fixdfdi.c: New file.
4019 * config/s390/32/_fixsfdi.c: New file.
4020 * config/s390/32/_fixtfdi.c: New file.
4021 * config/s390/32/_fixunsdfdi.c: New file.
4022 * config/s390/32/_fixunssfdi.c: New file.
4023 * config/s390/32/_fixunstfdi.c: New file.
4024 * config/s390/32/t-floattodi: New file.
4025 * config/s390/libgcc-glibc.ver: New file.
4026 * config/s390/t-crtstuff: New file.
4027 * config/s390/t-linux: New file.
4028 * config/s390/t-tpf: New file.
4030 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4032 * configure.ac (AC_PREREQ): Bump to 2.64.
4034 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
4036 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4038 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4040 * configure: Regenerate.
4042 2009-08-09 Douglas B Rupp <rupp@gnat.com>
4044 * config.host (ia64-hp-*vms*): New target.
4045 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4048 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4050 * configure.ac: Add snippet for maintainer-mode.
4051 * configure: Regenerate.
4052 * Makefile.in (AUTOCONF, configure_deps): New variables.
4053 ($(srcdir)/configure)): New rule, active only with maintainer
4056 2009-06-23 DJ Delorie <dj@redhat.com>
4059 * config.host: Add mep support.
4061 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
4063 * config.host: Add i386/${host_address}/t-fprules-softfp and
4064 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
4066 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4068 * config/i386/64/_multc3.c: Likewise.
4069 * config/i386/64/_powitf2.c: Likewise.
4070 * config/i386/64/eqtf2.c: Likewise.
4071 * config/i386/64/getf2.c: Likewise.
4072 * config/i386/64/letf2.c: Likewise.
4073 * config/i386/64/letf2.c: Likewise.
4074 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4075 unsigned long long for x64 mingw targets.
4076 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4077 (_FP_I_TYPE): Define as long long for x64 mingw target.
4079 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
4081 * config.host (vax-*-linux*): New.
4083 2009-05-31 Anthony Green <green@moxielogic.com>
4085 * config.host: Add moxie support.
4086 * config/moxie/t-moxie: New file.
4088 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
4090 * config.host: Add i386/${host_address}/t-fprules-softfp and
4091 t-softfp to tmake_file for i[34567]86-*-cygwin*.
4093 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
4095 * config.host: Add i386/${host_address}/t-fprules-softfp to
4096 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4098 2009-04-09 Nick Clifton <nickc@redhat.com>
4100 * config/ia64/tf-signs.c: Change copyright header to refer to
4101 version 3 of the GNU General Public License with version 3.1
4102 of the GCC Runtime Library Exception and to point readers at
4103 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4105 * config/i386/32/tf-signs.c: Likewise.
4106 * config/libbid/_addsub_dd.c: Likewise.
4107 * config/libbid/_addsub_sd.c: Likewise.
4108 * config/libbid/_addsub_td.c: Likewise.
4109 * config/libbid/_dd_to_df.c: Likewise.
4110 * config/libbid/_dd_to_di.c: Likewise.
4111 * config/libbid/_dd_to_sd.c: Likewise.
4112 * config/libbid/_dd_to_sf.c: Likewise.
4113 * config/libbid/_dd_to_si.c: Likewise.
4114 * config/libbid/_dd_to_td.c: Likewise.
4115 * config/libbid/_dd_to_tf.c: Likewise.
4116 * config/libbid/_dd_to_udi.c: Likewise.
4117 * config/libbid/_dd_to_usi.c: Likewise.
4118 * config/libbid/_dd_to_xf.c: Likewise.
4119 * config/libbid/_df_to_dd.c: Likewise.
4120 * config/libbid/_df_to_sd.c: Likewise.
4121 * config/libbid/_df_to_td.c: Likewise.
4122 * config/libbid/_di_to_dd.c: Likewise.
4123 * config/libbid/_di_to_sd.c: Likewise.
4124 * config/libbid/_di_to_td.c: Likewise.
4125 * config/libbid/_div_dd.c: Likewise.
4126 * config/libbid/_div_sd.c: Likewise.
4127 * config/libbid/_div_td.c: Likewise.
4128 * config/libbid/_eq_dd.c: Likewise.
4129 * config/libbid/_eq_sd.c: Likewise.
4130 * config/libbid/_eq_td.c: Likewise.
4131 * config/libbid/_ge_dd.c: Likewise.
4132 * config/libbid/_ge_sd.c: Likewise.
4133 * config/libbid/_ge_td.c: Likewise.
4134 * config/libbid/_gt_dd.c: Likewise.
4135 * config/libbid/_gt_sd.c: Likewise.
4136 * config/libbid/_gt_td.c: Likewise.
4137 * config/libbid/_isinfd128.c: Likewise.
4138 * config/libbid/_isinfd32.c: Likewise.
4139 * config/libbid/_isinfd64.c: Likewise.
4140 * config/libbid/_le_dd.c: Likewise.
4141 * config/libbid/_le_sd.c: Likewise.
4142 * config/libbid/_le_td.c: Likewise.
4143 * config/libbid/_lt_dd.c: Likewise.
4144 * config/libbid/_lt_sd.c: Likewise.
4145 * config/libbid/_lt_td.c: Likewise.
4146 * config/libbid/_mul_dd.c: Likewise.
4147 * config/libbid/_mul_sd.c: Likewise.
4148 * config/libbid/_mul_td.c: Likewise.
4149 * config/libbid/_ne_dd.c: Likewise.
4150 * config/libbid/_ne_sd.c: Likewise.
4151 * config/libbid/_ne_td.c: Likewise.
4152 * config/libbid/_sd_to_dd.c: Likewise.
4153 * config/libbid/_sd_to_df.c: Likewise.
4154 * config/libbid/_sd_to_di.c: Likewise.
4155 * config/libbid/_sd_to_sf.c: Likewise.
4156 * config/libbid/_sd_to_si.c: Likewise.
4157 * config/libbid/_sd_to_td.c: Likewise.
4158 * config/libbid/_sd_to_tf.c: Likewise.
4159 * config/libbid/_sd_to_udi.c: Likewise.
4160 * config/libbid/_sd_to_usi.c: Likewise.
4161 * config/libbid/_sd_to_xf.c: Likewise.
4162 * config/libbid/_sf_to_dd.c: Likewise.
4163 * config/libbid/_sf_to_sd.c: Likewise.
4164 * config/libbid/_sf_to_td.c: Likewise.
4165 * config/libbid/_si_to_dd.c: Likewise.
4166 * config/libbid/_si_to_sd.c: Likewise.
4167 * config/libbid/_si_to_td.c: Likewise.
4168 * config/libbid/_td_to_dd.c: Likewise.
4169 * config/libbid/_td_to_df.c: Likewise.
4170 * config/libbid/_td_to_di.c: Likewise.
4171 * config/libbid/_td_to_sd.c: Likewise.
4172 * config/libbid/_td_to_sf.c: Likewise.
4173 * config/libbid/_td_to_si.c: Likewise.
4174 * config/libbid/_td_to_tf.c: Likewise.
4175 * config/libbid/_td_to_udi.c: Likewise.
4176 * config/libbid/_td_to_usi.c: Likewise.
4177 * config/libbid/_td_to_xf.c: Likewise.
4178 * config/libbid/_tf_to_dd.c: Likewise.
4179 * config/libbid/_tf_to_sd.c: Likewise.
4180 * config/libbid/_tf_to_td.c: Likewise.
4181 * config/libbid/_udi_to_dd.c: Likewise.
4182 * config/libbid/_udi_to_sd.c: Likewise.
4183 * config/libbid/_udi_to_td.c: Likewise.
4184 * config/libbid/_unord_dd.c: Likewise.
4185 * config/libbid/_unord_sd.c: Likewise.
4186 * config/libbid/_unord_td.c: Likewise.
4187 * config/libbid/_usi_to_dd.c: Likewise.
4188 * config/libbid/_usi_to_sd.c: Likewise.
4189 * config/libbid/_usi_to_td.c: Likewise.
4190 * config/libbid/_xf_to_dd.c: Likewise.
4191 * config/libbid/_xf_to_sd.c: Likewise.
4192 * config/libbid/_xf_to_td.c: Likewise.
4193 * config/libbid/bid128.c: Likewise.
4194 * config/libbid/bid128_2_str.h: Likewise.
4195 * config/libbid/bid128_2_str_macros.h: Likewise.
4196 * config/libbid/bid128_2_str_tables.c: Likewise.
4197 * config/libbid/bid128_add.c: Likewise.
4198 * config/libbid/bid128_compare.c: Likewise.
4199 * config/libbid/bid128_div.c: Likewise.
4200 * config/libbid/bid128_fma.c: Likewise.
4201 * config/libbid/bid128_logb.c: Likewise.
4202 * config/libbid/bid128_minmax.c: Likewise.
4203 * config/libbid/bid128_mul.c: Likewise.
4204 * config/libbid/bid128_next.c: Likewise.
4205 * config/libbid/bid128_noncomp.c: Likewise.
4206 * config/libbid/bid128_quantize.c: Likewise.
4207 * config/libbid/bid128_rem.c: Likewise.
4208 * config/libbid/bid128_round_integral.c: Likewise.
4209 * config/libbid/bid128_scalb.c: Likewise.
4210 * config/libbid/bid128_sqrt.c: Likewise.
4211 * config/libbid/bid128_string.c: Likewise.
4212 * config/libbid/bid128_to_int16.c: Likewise.
4213 * config/libbid/bid128_to_int32.c: Likewise.
4214 * config/libbid/bid128_to_int64.c: Likewise.
4215 * config/libbid/bid128_to_int8.c: Likewise.
4216 * config/libbid/bid128_to_uint16.c: Likewise.
4217 * config/libbid/bid128_to_uint32.c: Likewise.
4218 * config/libbid/bid128_to_uint64.c: Likewise.
4219 * config/libbid/bid128_to_uint8.c: Likewise.
4220 * config/libbid/bid32_to_bid128.c: Likewise.
4221 * config/libbid/bid32_to_bid64.c: Likewise.
4222 * config/libbid/bid64_add.c: Likewise.
4223 * config/libbid/bid64_compare.c: Likewise.
4224 * config/libbid/bid64_div.c: Likewise.
4225 * config/libbid/bid64_fma.c: Likewise.
4226 * config/libbid/bid64_logb.c: Likewise.
4227 * config/libbid/bid64_minmax.c: Likewise.
4228 * config/libbid/bid64_mul.c: Likewise.
4229 * config/libbid/bid64_next.c: Likewise.
4230 * config/libbid/bid64_noncomp.c: Likewise.
4231 * config/libbid/bid64_quantize.c: Likewise.
4232 * config/libbid/bid64_rem.c: Likewise.
4233 * config/libbid/bid64_round_integral.c: Likewise.
4234 * config/libbid/bid64_scalb.c: Likewise.
4235 * config/libbid/bid64_sqrt.c: Likewise.
4236 * config/libbid/bid64_string.c: Likewise.
4237 * config/libbid/bid64_to_bid128.c: Likewise.
4238 * config/libbid/bid64_to_int16.c: Likewise.
4239 * config/libbid/bid64_to_int32.c: Likewise.
4240 * config/libbid/bid64_to_int64.c: Likewise.
4241 * config/libbid/bid64_to_int8.c: Likewise.
4242 * config/libbid/bid64_to_uint16.c: Likewise.
4243 * config/libbid/bid64_to_uint32.c: Likewise.
4244 * config/libbid/bid64_to_uint64.c: Likewise.
4245 * config/libbid/bid64_to_uint8.c: Likewise.
4246 * config/libbid/bid_b2d.h: Likewise.
4247 * config/libbid/bid_binarydecimal.c: Likewise.
4248 * config/libbid/bid_conf.h: Likewise.
4249 * config/libbid/bid_convert_data.c: Likewise.
4250 * config/libbid/bid_decimal_data.c: Likewise.
4251 * config/libbid/bid_decimal_globals.c: Likewise.
4252 * config/libbid/bid_div_macros.h: Likewise.
4253 * config/libbid/bid_dpd.c: Likewise.
4254 * config/libbid/bid_flag_operations.c: Likewise.
4255 * config/libbid/bid_from_int.c: Likewise.
4256 * config/libbid/bid_functions.h: Likewise.
4257 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4258 * config/libbid/bid_inline_add.h: Likewise.
4259 * config/libbid/bid_internal.h: Likewise.
4260 * config/libbid/bid_round.c: Likewise.
4261 * config/libbid/bid_sqrt_macros.h: Likewise.
4263 2009-04-09 Jakub Jelinek <jakub@redhat.com>
4265 * Makefile.in: Change copyright header to refer to version
4266 3 of the GNU General Public License and to point readers at the
4267 COPYING3 file and the FSF's license web page.
4268 * config.host: Likewise.
4270 2009-04-07 Alan Modra <amodra@bigpond.net.au>
4272 * config.host: Reorder and merge to match config.gcc change.
4274 2009-04-03 Alan Modra <amodra@bigpond.net.au>
4276 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4278 2009-03-28 Joseph Myers <joseph@codesourcery.com>
4280 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4281 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4282 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4283 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4285 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
4287 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4288 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4290 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
4292 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4293 ia64/t-softfp-compat to tmake_file.
4295 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4297 * config/ia64/__divxf3.asm: New.
4298 * config/ia64/_fixtfdi.asm: Likewise.
4299 * config/ia64/_fixunstfdi.asm: Likewise.
4300 * config/ia64/_floatditf.asm: Likewise.
4301 * config/ia64/t-fprules-softfp: Likewise.
4302 * config/ia64/t-softfp-compat: Likewise.
4303 * config/ia64/tf-signs.c: Likewise.
4305 2009-01-18 Ben Elliston <bje@au.ibm.com>
4307 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4309 2009-01-16 Ben Elliston <bje@au.ibm.com>
4311 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4314 2009-01-13 Ben Elliston <bje@au.ibm.com>
4316 * config/t-softfp: New file.
4317 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4318 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4320 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
4322 * config.host: Add m32r*-*-rtems*.
4324 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
4326 * config.host: Add m32c*-*-rtems*.
4328 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4331 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4332 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4333 * configure: Regenerate.
4334 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4335 tmake_file here from gcc/config.gcc.
4336 Move extra_parts here from gcc/config.gcc.
4337 * config/i386/t-sol2: Move here from gcc/config/i386.
4338 Use gcc_srcdir instead of srcdir.
4340 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
4342 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4345 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
4347 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4349 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
4351 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4353 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
4356 * config.host: Add picochip-*-*.
4358 2008-08-06 Bob Wilson <bob.wilson@acm.org>
4360 * config.host: Match more processor names for Xtensa.
4362 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
4364 * config/i386/64/t-softfp-compat: Update comments.
4366 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
4368 * config/i386/64/_divtc3-compat.c: Moved to ...
4369 * config/i386/64/_divtc3.c: Here.
4371 * config/i386/64/_multc3-compat.c: Moved to ...
4372 * config/i386/64/_multc3.c: Here.
4374 * config/i386/64/_powitf2-compat.c: Moved to ...
4375 * config/i386/64/_powitf2.c: Here.
4377 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4378 .c suffix instead of -compat.c.
4380 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
4382 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4383 (_FP_MUL_MEAT_D): Ditto.
4384 (_FP_DIV_MEAT_S): Ditto.
4385 (_FP_DIV_MEAT_D): Ditto.
4387 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
4389 * Makefile.in: Add support for __sync_* libgcc functions.
4391 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
4393 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4395 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4398 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4399 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
4401 * config/i386/64/t-fprules-softfp: Moved to ...
4402 * config/i386/64/t-softfp-compat: This. New.
4404 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
4406 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4407 Initialize f with 0.0.
4409 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4412 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4414 * config/i386/64/_divtc3-compat.c: New.
4415 * config/i386/64/_multc3-compat.c: Likewise.
4416 * config/i386/64/_powitf2-compat.c: Likewise.
4417 * config/i386/64/eqtf2.c: Likewise.
4418 * config/i386/64/getf2.c: Likewise.
4419 * config/i386/64/letf2.c: Likewise.
4420 * config/i386/64/t-fprules-softfp: Likewise.
4422 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4424 * config.host: Add i386/${host_address}/t-fprules-softfp to
4425 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4426 i[34567]86-*-linux*, x86_64-*-linux*.
4428 * configure.ac: Set host_address to 64 or 32 for x86.
4429 * configure: Regenerated.
4431 * Makefile.in (config.status): Also depend on
4432 $(srcdir)/config.host.
4434 * config/i386/32/t-fprules-softfp: New.
4435 * config/i386/32/tf-signs.c: Likewise.
4437 * config/i386/64/sfp-machine.h: New. Moved from gcc.
4439 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4440 Uros Bizjak <ubizjak@gmail.com>
4442 * config/i386/32/sfp-machine.h: New.
4444 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
4446 * config/rs6000/t-ppccomm: Remove rules that conflict with
4447 auto-generated rules.
4449 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4451 * configure.ac: sinclude override.m4.
4452 * configure: Regenerate.
4454 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
4456 * configure: Regenerate.
4458 2008-06-10 Joseph Myers <joseph@codesourcery.com>
4460 * Makefile.in (DECNUMINC): Remove
4461 -I$(MULTIBUILDTOP)../../libdecnumber.
4464 2008-06-07 Joseph Myers <joseph@codesourcery.com>
4466 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4467 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4468 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4469 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4470 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4471 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4472 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4473 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4474 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4475 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4476 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4477 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4478 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4479 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4481 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
4483 * config.host (sh2[lbe]*-*-linux*): Allow target.
4485 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
4487 * config/rs6000/t-ppccomm: Add build rules for new files.
4488 (LIB2ADD_ST): New variable.
4490 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
4494 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4495 * config/t-avr: New file. Build 16bit libgcc functions.
4497 2008-03-02 Jakub Jelinek <jakub@redhat.com>
4500 * config/t-slibgcc-darwin: Make install-leaf dependent on
4501 install-darwin-libgcc-stubs instead of install.
4503 2008-01-25 Joseph Myers <joseph@codesourcery.com>
4505 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4506 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4507 sh-*-rtemscoff*): Remove cases.
4509 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
4511 * Makefile.in (all): Use install-leaf rather than install.
4512 (install): Split most of the rule into...
4513 (install-leaf): ...this new one.
4515 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
4516 Paolo Bonzini <bonzini@gnu.org>
4519 * Makefile.in: Use @shlib_slibdir@ substitution to get
4520 correct install name on darwin.
4521 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4523 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
4525 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4526 cris-*-elf and cris-*-none.
4527 (crisv32-*-linux*): Similar, as cris-*-linux*.
4529 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
4531 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4533 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
4536 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4537 * configure: Regenerated.
4539 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
4541 * Makefile.in (dfp-filenames): Replace decimal_globals,
4542 decimal_data, binarydecimal and convert_data with
4543 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4544 and bid_convert_data, respectively.
4546 2007-09-17 Chao-ying Fu <fu@mips.com>
4547 Nigel Stephens <nigel@mips.com>
4549 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4550 * Makefile.in (fixed_point): Define.
4551 Check if fixed_point is yes to build support functions.
4552 * configure.ac: Check for fixed_point support.
4553 * configure: Regenerated.
4554 * gen-fixed.sh: New file to generate lists of fixed-point labels,
4555 funcs, modes, from, to.
4557 2007-09-11 Janis Johnson <janis187@us.ibm.com
4559 * Makefile.in (dfp-filenames): Add bid128_noncomp.
4561 2007-09-10 Janis Johnson <janis187@us.ibm.com>
4563 * Makefile.in (dfp-filenames): Remove decUtility, add
4564 decDouble, decPacked, decQuad, decSingle.
4566 2007-08-27 Hans Kester <hans.kester@ellips.nl>
4568 * config.host : Add x86_64-elf target.
4570 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4572 * configure.ac (set_have_cc_tls): Add a missing =.
4573 * configure: Regenerated.
4575 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4577 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4578 and x86_64-*-linux*.
4580 * config/t-tls: New file.
4582 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4584 * configure.ac: Include ../config/enable.m4 and
4585 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4586 supports TLS and substitute set_have_cc_tls.
4587 * configure: Regenerated.
4589 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4591 * Makefile.in: Use libbid for DFP when BID is enabled.
4593 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4595 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4596 extra_parts. Add config/i386/t-cygming to tmake_file.
4597 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4599 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
4600 Danny Smith <dannysmith@users.sourceforge.net>
4603 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4604 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4605 * config/i386/t-crtfm: Compile crtfastmath.o with
4606 -minline-all-stringops.
4608 2007-05-10 Richard Sandiford <richard@codesourcery.com>
4610 * config.host (sparc-wrs-vxworks): New target.
4612 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
4614 * config.host: Recognize fido.
4616 2007-04-04 Janis Johnson <janis187@us.ibm.com>
4618 * configure: Check host, not target, for decimal float support.
4620 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
4622 * config/i386/t-crtpc: New file.
4623 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4624 (x86_64-*-linux*): Ditto.
4626 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
4628 * config.host (x86_64-*-mingw*): New target.
4630 2007-03-23 Michael Meissner <michael.meissner@amd.com>
4631 H.J. Lu <hongjiu.lu@intel.com>
4633 * Makefile.in (enable_decimal_float): New.
4635 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4636 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4637 (decbits-filenames): This.
4638 (decbits-objects): New.
4639 (libgcc-objects): Add $(decbits-objects).
4641 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4642 Substitute enable_decimal_float.
4643 * configure: Regenerated.
4645 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
4647 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4649 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4651 * Makefile.in (install-info): New dummy target.
4653 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4655 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4657 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4659 * Makefile.in: Add install-html and install-pdf dummy
4662 2007-02-05 Roger Sayle <roger@eyesopen.com>
4663 Daniel Jacobowitz <dan@codesourcery.com>
4665 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4666 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4667 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4669 2007-01-29 Janis Johnson <janis187@us.ibm.com>
4671 * Makefile.in (dec-filenames): Add decExcept.
4673 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4676 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4679 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
4681 * configure.ac: Add --enable-version-specific-runtime-libs.
4682 Correct $slibdir default.
4683 * configure: Regenerated.
4685 2007-01-23 Joseph Myers <joseph@codesourcery.com>
4687 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4689 2007-01-21 Andrew Pinski <pinskia@gmail.com>
4692 * config.host (alpha*-*-linux*): Set extra_parts.
4694 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
4696 * config/sh/t-linux: New.
4697 * config.host (sh*-*-linux*): Set tmake_file.
4699 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4701 * Makefile.in (install): Handle multilibs.
4703 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4705 * Makefile.in: Added .PHONY entry for documentation targets.
4707 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4709 * Makefile.in: Add empty info, html, dvi, pdf targets.
4711 2007-01-04 Mike Stump <mrs@apple.com>
4713 * Makefile.in (MAKEINFO): Remove.
4716 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
4718 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4719 * configure: Regenerate.
4720 * Makefile.in (host_subdir): Substitute it.
4721 (gcc_objdir): Use it.
4723 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4725 * config.host (ia64*-*-linux*): Set tmake_file.
4727 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4729 * Makefile.in (version): Define.
4731 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4732 Paolo Bonzini <bonzini@gnu.org>
4734 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4735 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4736 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4737 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4738 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4739 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4740 * configure: Generated.