1 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
3 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6 2013-06-21 Joseph Myers <joseph@codesourcery.com>
9 * soft-fp/adddf3.c: Update from glibc.
10 * soft-fp/addsf3.c: Likewise.
11 * soft-fp/addtf3.c: Likewise.
12 * soft-fp/divdf3.c: Likewise.
13 * soft-fp/divsf3.c: Likewise.
14 * soft-fp/divtf3.c: Likewise.
15 * soft-fp/double.h: Likewise.
16 * soft-fp/eqdf2.c: Likewise.
17 * soft-fp/eqsf2.c: Likewise.
18 * soft-fp/eqtf2.c: Likewise.
19 * soft-fp/extenddftf2.c: Likewise.
20 * soft-fp/extended.h: Likewise.
21 * soft-fp/extendsfdf2.c: Likewise.
22 * soft-fp/extendsftf2.c: Likewise.
23 * soft-fp/fixdfdi.c: Likewise.
24 * soft-fp/fixdfsi.c: Likewise.
25 * soft-fp/fixsfdi.c: Likewise.
26 * soft-fp/fixsfsi.c: Likewise.
27 * soft-fp/fixtfdi.c: Likewise.
28 * soft-fp/fixtfsi.c: Likewise.
29 * soft-fp/fixunsdfdi.c: Likewise.
30 * soft-fp/fixunsdfsi.c: Likewise.
31 * soft-fp/fixunssfdi.c: Likewise.
32 * soft-fp/fixunssfsi.c: Likewise.
33 * soft-fp/fixunstfdi.c: Likewise.
34 * soft-fp/fixunstfsi.c: Likewise.
35 * soft-fp/floatdidf.c: Likewise.
36 * soft-fp/floatdisf.c: Likewise.
37 * soft-fp/floatditf.c: Likewise.
38 * soft-fp/floatsidf.c: Likewise.
39 * soft-fp/floatsisf.c: Likewise.
40 * soft-fp/floatsitf.c: Likewise.
41 * soft-fp/floatundidf.c: Likewise.
42 * soft-fp/floatundisf.c: Likewise.
43 * soft-fp/floatunditf.c: Likewise.
44 * soft-fp/floatunsidf.c: Likewise.
45 * soft-fp/floatunsisf.c: Likewise.
46 * soft-fp/floatunsitf.c: Likewise.
47 * soft-fp/gedf2.c: Likewise.
48 * soft-fp/gesf2.c: Likewise.
49 * soft-fp/getf2.c: Likewise.
50 * soft-fp/ledf2.c: Likewise.
51 * soft-fp/lesf2.c: Likewise.
52 * soft-fp/letf2.c: Likewise.
53 * soft-fp/muldf3.c: Likewise.
54 * soft-fp/mulsf3.c: Likewise.
55 * soft-fp/multf3.c: Likewise.
56 * soft-fp/negdf2.c: Likewise.
57 * soft-fp/negsf2.c: Likewise.
58 * soft-fp/negtf2.c: Likewise.
59 * soft-fp/op-1.h: Likewise.
60 * soft-fp/op-2.h: Likewise.
61 * soft-fp/op-4.h: Likewise.
62 * soft-fp/op-8.h: Likewise.
63 * soft-fp/op-common.h: Likewise.
64 * soft-fp/quad.h: Likewise.
65 * soft-fp/single.h: Likewise.
66 * soft-fp/soft-fp.h: Likewise.
67 * soft-fp/subdf3.c: Likewise.
68 * soft-fp/subsf3.c: Likewise.
69 * soft-fp/subtf3.c: Likewise.
70 * soft-fp/truncdfsf2.c: Likewise.
71 * soft-fp/trunctfdf2.c: Likewise.
72 * soft-fp/trunctfsf2.c: Likewise.
73 * soft-fp/unorddf2.c: Likewise.
74 * soft-fp/unordsf2.c: Likewise.
75 * soft-fp/unordtf2.c: Likewise.
76 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
77 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
78 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
79 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
80 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
81 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
82 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
83 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
84 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
85 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
86 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
87 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
89 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
91 * config/mips/lib2funcs.c: New file.
92 * config/mips/t-mips (LIB2ADD_ST): Add it.
94 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
97 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
98 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
100 2013-06-08 Walter Lee <walt@tilera.com>
102 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
103 Replace int64_t with long long. Add __extension__ where
105 * config/tilepro/atomic.c: Include config.h.
107 2013-06-06 Douglas B Rupp <rupp@adacore.com>
109 * config.host (arm-wrs-vxworks): Configure with other soft float.
111 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
113 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
114 (mips64r5900el-*-elf*): New configurations.
116 2013-06-04 Alan Modra <amodra@gmail.com>
118 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
120 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
122 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
124 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
126 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
127 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
128 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
130 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
132 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
133 (powerpc-wrs-vxworks): Likewise.
135 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
137 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
138 signal frames as well.
139 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
140 STACK_BIAS to the CFA offset.
142 2013-05-17 Richard Henderson <rth@redhat.com>
145 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
146 (execute_cfa_program): Use it when storing to fs->regs.
148 2013-05-08 Kai Tietz <ktietz@redhat.com>
150 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
151 (__deregister_frame_info): Likewise.
153 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
155 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
158 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
160 2013-04-25 Alan Modra <amodra@gmail.com>
162 * config.host: Match little-endian powerpc-linux.
164 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
166 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
167 as 'unsigned long long' instead of 'unsigned long'.
168 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
171 2013-04-10 Julian Brown <julian@codesourcery.com>
173 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
174 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
175 unsigned char/unsigned short.
176 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
178 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
181 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
183 2013-04-04 Meador Inge <meadori@codesourcery.com>
185 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
186 computing the location of the link register.
187 (aeabi_uldivmod): Ditto.
189 2013-03-27 Kai Tietz <ktietz@redhat.com>
191 * config.host: Add support for cygwin x64 target.
192 * configure: Regenerated.
194 2013-03-26 Walter Lee <walt@tilera.com>
196 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
197 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
199 2013-03-25 Kai Tietz <ktietz@redhat.com>
201 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
203 2013-03-20 Robert Mason <rbmj@verizon.net>
205 * config/vxlib-tls.c (__gthread_get_tsd_data,)
206 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
207 (__gthread_leave_tsd_dtor_context): Add prototypes.
208 (tls_delete_hook): Update.
210 2013-03-20 Catherine Moore <clm@codesourcery.com>
211 Joseph Myers <joseph@codesourcery.com>
212 Chao-ying Fu <fu@mips.com>
214 * config/mips/mips16.S: Don't build for microMIPS.
215 * config/mips/linux-unwind.h: Handle microMIPS frame.
216 * config/mips/crtn.S (fini, init): New labels.
218 2013-03-14 Jakub Jelinek <jakub@redhat.com>
220 PR tree-optimization/53265
221 * unwind-dw2.c (execute_cfa_program): Avoid
222 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
223 on targets with DWARF_FRAME_REGISTERS < 32.
225 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
228 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
229 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
231 2013-03-07 Sriraman Tallam <tmsriram@google.com>
233 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
234 sandybridge processors.
236 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
239 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
242 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
244 * config/microblaze/crti.S: Setup stack protection at entry
246 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
248 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
249 (__rotldi3): Shift bytewise if applicable.
251 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
253 * config/aarch64/sync-cache.c
254 (__aarch64_sync_cache_range): Silence warnings.
256 2013-02-25 Catherine Moore <clm@codesourcery.com>
259 2013-02-24 Catherine Moore <clm@codesourcery.com>
260 Joseph Myers <joseph@codesourcery.com>
261 Chao-ying Fu <fu@mips.com>
263 * config/mips/mips16.S: Don't build for microMIPS.
264 * config/mips/linux-unwind.h: Handle microMIPS frame.
265 * config/mips/crtn.S (fini, init): New labels.
267 2013-02-24 Catherine Moore <clm@codesourcery.com>
268 Joseph Myers <joseph@codesourcery.com>
269 Chao-ying Fu <fu@mips.com>
271 * config/mips/mips16.S: Don't build for microMIPS.
272 * config/mips/linux-unwind.h: Handle microMIPS frame.
273 * config/mips/crtn.S (fini, init): New labels.
275 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
276 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
279 2013-02-16 Alan Modra <amodra@gmail.com>
282 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
283 (ppc_fallback_frame_state): Always set up save locations for fp
284 and altivec. Don't bother with non-callee-saved regs, r0-r13
285 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
287 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
290 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
292 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
293 _ssmulha3, _usmulusa3, _ssmulsa3.
294 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
295 (__muldi3): XCALL __muldi3_6 instead of rcall.
296 (__umulsidi3, __mulsidi3): New functions.
297 (do_prologue_saves, do_epilogue_restores): New .macros.
298 (__divdi3_moddi3): Use them.
299 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
300 (__usmulusa3, __ssmulsa3): New functions.
302 2013-02-11 Iain Sandoe <iain@codesourcery.com>
303 Jack Howarth <howarth@bromo.med.uc.edu>
304 Patrick Marlier <patrick.marlier@gmail.com>
307 * config/darwin-crt-tm.c: Remove dummy functions hack.
309 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
312 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
313 * config/avr/lib2-object.mk: New iterator to build objects from it.
314 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
316 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
317 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
318 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
319 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
320 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
321 * config/avr/lib1funcs-fixed.S: Implement them.
323 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
325 Update copyright years.
327 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
330 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
331 Add crtcxa to extra_parts.
332 * config/rs6000/exit.h: New file.
333 * config/rs6000/cxa_atexit.c: New file.
334 * config/rs6000/cxa_finalize.c: New file.
335 * config/rs6000/crtcxa.c: New file.
336 * config/rs6000/t-aix-cxa: New file.
337 * config/rs6000/libgcc-aix-cxa.ver: New file.
339 2013-01-31 Nick Clifton <nickc@redhat.com>
341 * config/v850/lib1funcs.S: Add support for e3v5 architecture
344 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
347 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
348 _mulQQ, _mulHQ, _mulHA, _mulSA,
349 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
350 _divQQ, _divHQ, _divHA, _divSA,
351 _divUQQ, _divUHQ, _divUHA, _divUSA.
353 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
355 * config.host(microblaze*-linux*): tmake_file: Remove
356 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
357 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
358 to exclude functions from being built with libgcc.c and use
359 the microblaze assembly.
361 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
363 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
366 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
368 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
369 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
370 __UINTPTR_TYPE__; also cast 'base' to the same type before the
373 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
375 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
376 loop start address for cache clearing.
378 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
380 * config/avr/lib1funcs.S: Remove trailing blanks.
381 * config/avr/lib1funcs-fixed.S: Ditto.
383 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
385 * config/avr/avr-lib.h: Add GPL copyright notice.
387 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
389 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
390 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
391 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
392 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
394 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
396 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
397 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
399 2013-01-04 Nick Clifton <nickc@redhat.com>
401 * config/v850/lib1funcs.S: Only provide CALLT support functions if
402 the CALLT instruction is supported.
404 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
406 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
407 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
409 2012-12-13 John Tytgat <John@bass-software.com>
411 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
414 2012-12-12 Jakub Jelinek <jakub@redhat.com>
417 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
418 undefined signed overflows.
420 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
423 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
425 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
427 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
428 (FP_TRAPPING_EXCEPTIONS): Define.
429 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
430 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
432 2012-12-04 Richard Henderson <rth@redhat.com>
435 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
437 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
439 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
440 (FP_EX_SHIFT): Define.
441 (FP_TRAPPING_EXCEPTIONS): Define.
443 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
445 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
446 (FP_ROUNDMODE): Use FP_RND_MASK.
447 * config/aarch64/sfp-exceptions.c: New.
448 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
449 Use __sfp_handle_exceptions.
451 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
453 * config.host: (arm*-*-freebsd*): Remove.
454 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
455 (arm*-*-elf*): Remove.
456 (arm*-*-wince-pe*): Remove.
457 * arm/unwind-arm.c (struct fpa_reg): Delete.
458 (struct fpa_regs): Delete.
459 (phase1_vrs): Remove fpa element.
460 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
461 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
462 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
463 * ieee754-sf.S (floatundisf): Remove FPA support.
464 (floatdisf): Likewise.
465 * ieee75f-df.S (floatundidf): Likewise.
466 (floatdidf): Likewise.
468 2012-11-29 Kai Tietz <ktietz@redhat.com>
471 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
472 * unwind-generic.h: Likewise.
473 * unwind-seh.c: Likewise.
475 2012-11-28 Richard Henderson <rth@redhat.com>
478 * emutls.c (__emutls_get_address): Avoid race condition between
479 obj->loc.offset read and emutls_key initialization.
481 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
483 Adjust decimal point of signed accum mode to GCC default.
486 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
488 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
489 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
491 (__divqq3, __divha3, __divsa3): Adjust to new position of
492 decimal point of signed accum types.
494 (__mulusa3_round): New function.
496 (__divqq_helper): New function.
497 (__udivuqq3): Use it.
499 2012-11-20 Jakub Jelinek <jakub@redhat.com>
502 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
504 2012-11-18 Teresa Johnson <tejohnson@google.com>
507 * libgcov.c (gcov_exit): Remove merged program summary
508 comparison unless !GCOV_LOCKED.
510 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
512 * soft-fp: Updated from glibc upstream.
514 2012-11-06 Ian Lance Taylor <iant@google.com>
516 * generic-morestack.c (__generic_morestack): Align the returned
517 stack pointer to a 32 byte boundary.
518 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
519 increment the return address until we have decided that we don't
520 have a varargs function.
521 (__morestack) [32-bit]: Align stack correctly when calling C
523 (__morestack) [64-bit]: Likewise.
525 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
527 * configure: Regenerate.
529 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
532 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
533 * config/i386/sfp-machine.h: Guard exception handling
534 code with _SOFT_FLOAT.
535 * config/i386/32/sfp-machine.h: Guard rounding handling
536 code with _SOFT_FLOAT.
537 * config/i386/64/sfp-machine.h: Ditto.
539 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
541 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
544 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
546 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
547 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
548 when appropriate. Correct structure element types.
549 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
550 -minline-all-stringops from compile flags.
552 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
554 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
556 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
558 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
560 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
562 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
565 2012-10-23 Ian Bolton <ian.bolton@arm.com>
566 Jim MacArthur <jim.macarthur@arm.com>
567 Marcus Shawcroft <marcus.shawcroft@arm.com>
568 Nigel Stephens <nigel.stephens@arm.com>
569 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
570 Richard Earnshaw <rearnsha@arm.com>
571 Sofiane Naci <sofiane.naci@arm.com>
572 Stephen Thomas <stephen.thomas@arm.com>
573 Tejas Belagod <tejas.belagod@arm.com>
574 Yufeng Zhang <yufeng.zhang@arm.com>
576 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
577 * config/aarch64/crti.S: New file.
578 * config/aarch64/crtn.S: New file.
579 * config/aarch64/linux-unwind.h: New file.
580 * config/aarch64/sfp-machine.h: New file.
581 * config/aarch64/sync-cache.c: New file.
582 * config/aarch64/t-aarch64: New file.
583 * config/aarch64/t-softfp: New file.
585 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
587 * config/mmix/crti.S: Mark program and data addresses using PRELD.
588 Remove typo'd and unnecessary alignment-LOC for .data. Remove
589 no-longer-needed LDBU insns.
591 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
594 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
595 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
597 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
599 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
601 2012-10-15 Matthias Klose <doko@ubuntu.com>
603 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
605 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
607 * configure: Regenerate.
608 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
610 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
612 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
613 instructions for 64bit targets only.
615 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
617 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
618 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
619 * config/i386/32/sfp-machine.h: ... here.
620 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
621 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
624 2012-10-07 Matthias Klose <doko@ubuntu.com>
626 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
628 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
630 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
632 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
633 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
634 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
637 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
640 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
643 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
646 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
647 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
648 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
650 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
653 * config/sh/linux-atomic.S: Delete.
654 * config/sh/linux-atomic.c: New.
655 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
656 linux-atomic.c. Add cflags to disable warnings.
658 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
661 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
663 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
664 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
665 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
666 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
667 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
669 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
671 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
673 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
674 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
676 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
678 * config.host (hppa-*-openbsd*): New target.
679 * config/pa/t-openbsd: New file.
681 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
684 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
685 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
686 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
687 (__divsa3): Use __negsi2 to negate r_quoL.
688 * config/avr/lib1funcs.S (FALIAS): New macro.
689 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
690 (__negsi2): ...this new function.
691 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
692 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
693 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
694 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
695 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
696 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
698 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
701 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
702 (lshrsi3): Reimplement as lshrsi3_r0.
704 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
707 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
710 2012-09-07 Teresa Johnson <tejohnson@google.com>
712 PR gcov-profile/54487
713 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
716 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
719 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
720 not configured --with-avrlibc=no.
721 * config/avr/t-avrlibc: New file.
722 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
723 (DPBIT_FUNCS): Ditto.
724 (TPBIT_FUNCS): Ditto.
726 2012-09-04 Teresa Johnson <tejohnson@google.com>
728 * libgcov.c (struct gcov_summary_buffer): New structure.
729 (gcov_histogram_insert): New function.
730 (gcov_compute_histogram): Ditto.
731 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
732 histograms during summary merging.
734 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
736 * config.host (x86_64-*-openbsd*): New target.
738 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
740 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
743 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
746 * config/avr/t-avr (conv_X): Rename to func_X.
748 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
751 * config/avr/lib1funcs-fixed.S: New file.
752 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
754 (neg2, neg4): New macros.
755 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
756 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
757 (__umulhisi3): Speed up MUL variant if there is enough flash.
758 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
760 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
761 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
762 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
763 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
764 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
765 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
766 (LIB2FUNCS_EXCLUDE): Add supported functions.
768 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
770 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
771 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
773 * fixed-obj.mk: Only expand dependency if $o is not in
776 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
778 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
780 2012-08-22 Joseph Myers <joseph@codesourcery.com>
782 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
783 depend on --enable-shared.
784 ($(lib1asmfuncs-o)): Use %.vis files independent of
786 * static-object.mk ($(base)$(objext), $(base).vis)
787 ($(base)_s$(objext)): Use same rules for visibility handling as in
790 2012-08-21 Ian Lance Taylor <iant@google.com>
792 * config/i386/morestack.S (__morestack_non_split): Increase amount
793 of space allocated for non-split code stack.
795 2012-08-19 Joseph Myers <joseph@codesourcery.com>
797 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
798 even if inhibit_libc.
800 2012-08-17 Julian Brown <julian@codesourcery.com>
802 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
803 -fexceptions -fnon-call-exceptions if not defined.
804 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
805 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
807 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
809 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
812 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
814 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
815 rs6000/t-slibgcc-aix.
817 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
819 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
821 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
823 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
825 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
828 * Makefile.in (version): Replace top_srcdir with srcdir.
830 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
832 * Makefile.in (version): set to BASE-VER file from gcc directory.
834 2012-08-01 Nick Clifton <nickc@redhat.com>
836 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
837 Implements __clrsb for an HImode argument.
839 2012-07-31 Nick Clifton <nickc@redhat.com>
841 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
842 Implements __clrsb for an HImode argument.
843 * config/stormy16/clrsbhi2.c: New file:
844 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
846 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
848 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
850 2012-07-19 Tristan Gingold <gingold@adacore.com>
851 Richard Henderson <rth@redhat.com>
853 * unwind-seh.c: New file.
854 * unwind-generic.h: Include windows.h for SEH.
855 (_Unwind_Exception): Use 6 private fields for SEH.
856 (_GCC_specific_handler): Declare.
857 * unwind-c.c (__gcc_personality_seh0): New function.
859 * config/i386/libgcc-cygming.ver: New file.
860 * config/i386/t-seh-eh: New file.
861 * config.host (x86_64-*-mingw*): Default to seh.
863 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
865 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
867 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
869 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
870 __builtin_expect when checking for exceptions.
871 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
873 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
875 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
876 function declaration.
877 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
879 * config/ia64/sfp-exceptions.c: New.
880 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
882 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
884 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
885 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
886 * config/i386/64/sfp-machine: ... (delete here) ...
887 * config/i386/sfp-machine.h: ... to here.
888 (FP_EX_MASK): Remove.
890 (FP_INIT_ROUNDMODE): Declare asm as volatile.
892 2012-06-11 Sriraman Tallam <tmsriram@google.com>
894 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
895 * config/i386/libgcc-sol2.ver: Ditto.
896 * config/i386/libgcc-glibc.ver: Ditto.
898 2012-06-11 Roland McGrath <mcgrathr@google.com>
900 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
901 If __GLIBC__ is defined, refer to __pthread_key_create instead of
904 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
906 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
907 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
908 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
909 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
910 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
911 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
912 * config/i386/64/sfp-machine: ... (delete here) ...
913 * config/i386/sfp-machine.h: ... to here.
915 (__sfp_handle_exceptions): New function declaration.
916 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
917 * config/i386/sfp-exceptions.c: New.
918 * config/i386/t-softfp: New.
919 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
920 i386/t-softfp to tmake_file.
922 2012-06-03 David S. Miller <davem@davemloft.net>
924 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
927 2012-05-31 David S. Miller <davem@davemloft.net>
929 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
930 multiply and divide instructions on 32-bit when V9.
931 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
933 2012-05-29 Joseph Myers <joseph@codesourcery.com>
935 * config/arm/ieee754-df.S: Fix typos.
936 * config/arm/ieee754-sf.S: Fix typos.
937 * config/c6x/libunwind.S: Fix typos.
938 * config/epiphany/udivsi3-float.c: Fix typos.
939 * config/microblaze/muldi3_hard.S: Fix typos.
940 * config/picochip/adddi3.S: Fix typos.
941 * config/picochip/ashlsi3.S: Fix typos.
942 * config/picochip/ashrsi3.S: Fix typos.
943 * config/picochip/clzsi2.S: Fix typos.
944 * config/picochip/cmpsi2.S: Fix typos.
945 * config/picochip/divmod15.S: Fix typos.
946 * config/picochip/divmodhi4.S: Fix typos.
947 * config/picochip/divmodsi4.S: Fix typos.
948 * config/picochip/longjmp.S: Fix typos.
949 * config/picochip/lshrsi3.S: Fix typos.
950 * config/picochip/parityhi2.S: Fix typos.
951 * config/picochip/popcounthi2.S: Fix typos.
952 * config/picochip/setjmp.S: Fix typos.
953 * config/picochip/subdi3.S: Fix typos.
954 * config/picochip/ucmpsi2.S: Fix typos.
955 * config/picochip/udivmodhi4.S: Fix typos.
956 * config/picochip/udivmodsi4.S: Fix typos.
957 * config/spu/divv2df3.c: Fix typos.
958 * config/spu/mfc_multi_tag_release.c: Fix typos.
959 * config/spu/mfc_tag_release.c: Fix typos.
960 * configure.ac: Fix typos.
961 * configure: Regenerate.
963 2012-05-25 Ian Lance Taylor <iant@google.com>
965 * config/i386/morestack.S (__morestack_non_split): Check whether
966 caller is varargs and needs %bp to hold the stack frame on return.
968 2012-05-25 Olivier Hainque <hainque@adacore.com>
970 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
971 sequence in the non pic case on VxWorks.
973 2012-05-24 Olivier Hainque <hainque@adacore.com>
975 * Makefile.in: Move dependency on install-unwind_h from
976 "install-leaf" to "install".
978 2012-05-24 Olivier Hainque <hainque@adacore.com>
980 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
981 Use a separate command for stamp removals.
983 2012-05-21 Andrew Pinski <apinski@cavium.com>
986 * configure.ac: Define the default includes to being none.
987 * configure: Regenerate.
989 2012-05-16 Olivier Hainque <hainque@adacore.com>
991 * Makefile.in (install-unwind_h): Rename into ...
992 (install-unwind_h-forbuild): New target.
993 (all): Use it instead of the former install-unwind_h.
994 (install-unwind_h): Reinstate, copy to user install destination
995 for include files, not to the internal gcc object directory one.
996 (install-leaf): Depend on it.
998 2012-05-15 Olivier Hainque <hainque@adacore.com>
1000 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1001 register numbers. LR_REGNO replaces R_LR.
1002 (ucontext_for): New, helper for ...
1003 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1005 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1007 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1009 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1010 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1011 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1013 (i[34567]86-*-*, x86_64-*-*): ... here.
1015 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1016 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1018 * config/i386/i386-cpuinfo.c: Rename to ...
1019 * config/i386/cpuinfo.c: ... this.
1020 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1022 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1023 (libgcc_cv_init_priority): New test.
1024 * configure: Regenerate.
1025 * config.in: New file.
1026 * Makefile.in (clean): Rename config.h to auto-target.h.
1027 (config.h): Likewise.
1028 (stamp-h): Likewise.
1030 * config/i386/cpuinfo.c (auto-target.h): Include.
1031 (CONSTRUCTOR_PRIORITY): Define.
1032 (__cpu_indicator_init): Use it.
1034 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1036 * longlong.h: Use a URL instead of an FSF postal address.
1037 Replace spaces with tab.
1039 2012-05-08 Teresa Johnson <tejohnson@google.com>
1041 * libgcov.c (gcov_clear, __gcov_reset): New functions.
1042 (__gcov_dump): Ditto.
1043 (gcov_dump_complete): New global variable.
1044 (gcov_exit): Export hidden to enable use in L_gcov_dump.
1045 (__gcov_flush): Outline functionality now in gcov_clear.
1046 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1048 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
1050 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1051 (mips*-*-linux*): Include mips/t-tpbit when long double is
1054 2012-04-25 Sriraman Tallam <tmsriram@google.com>
1056 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1057 (get_available_features): New argument. Check for AVX2.
1058 (__cpu_indicator_init): Modify call to get_available_features.
1060 2012-04-25 Alan Modra <amodra@gmail.com>
1062 * config/rs6000/crtsavevr.S: New file.
1063 * config/rs6000/crtrestvr.S: New file.
1064 * config/rs6000/t-savresfgpr: Build the above.
1065 * config/rs6000/t-netbsd: Likewise.
1067 2012-04-24 Sriraman Tallam <tmsriram@google.com>
1069 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1071 2012-04-24 Sriraman Tallam <tmsriram@google.com>
1073 * libgcc/config/i386/i386-cpuinfo.c: New file.
1074 * libgcc/config/i386/t-cpuinfo: New file.
1075 * libgcc/config.host: Include t-cpuinfo.
1076 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1078 2012-04-24 Chao-ying Fu <fu@mips.com>
1080 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1082 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
1084 struct siginfo vs. siginfo_t
1086 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1087 siginfo_t instead of struct siginfo.
1088 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1089 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1090 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1091 (ia64_handle_unwabi): Likewise.
1092 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1093 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1094 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1095 (sh_fallback_frame_state): Likewise.
1096 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1097 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1099 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
1101 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1104 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
1106 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1107 if it hasn't been previously saved.
1109 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
1111 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1114 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
1117 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1118 instead of __AVR_HAVE_8BIT_SP__.
1120 2012-03-26 Tristan Gingold <gingold@adacore.com>
1122 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1123 (unw_table_entry): Use unw_word instead of unsigned long.
1124 (_Unwind_FindTableEntry): Likewise.
1125 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1126 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1127 (_Unwind_FindTableEntry): Likewise.
1128 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1129 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1130 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1131 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1132 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1133 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1134 (uw_init_context_1, uw_install_context): Likewise.
1135 (unw_word): Move to unwind-ia64.h
1137 2012-03-26 Tristan Gingold <gingold@adacore.com>
1139 * config/vms/vms-ucrt0.c: Update copyright years.
1141 (___gcc_main_flags): Declare.
1142 (__main): Check flags to remap argv and exit code.
1143 * config.host (*-*-*vms*): Adjust extra_parts.
1144 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1147 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
1149 * arm/lib1funcs.asm (ctzsi2): New function.
1150 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1151 * arm/t-linux (LIB1ASMFUNCS): Likewise.
1152 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1153 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1154 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1155 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1157 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
1159 * config.host: Add bits to support powerpc64-*-freebsd*.
1160 * config/rs6000/freebsd-unwind.h: New file.
1161 * config/rs6000/t-freebsd64: New file.
1163 2012-03-20 Richard Guenther <rguenther@suse.de>
1165 PR gcov-profile/52627
1166 * libgcov.c (init_mx): Fix mutex name.
1168 2012-03-16 Tristan Gingold <gingold@adacore.com>
1170 * config/ia64/vms-unwind.h: Remove ulong (and replace
1171 it by unw_reg where used). Define unw_reg with __int64.
1173 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1175 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1177 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1179 (sparc_is_sighandler): Likewise.
1181 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
1183 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1186 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1188 * config/arm/crtn.S: Fix typo.
1190 2012-03-13 Richard Guenther <rguenther@suse.de>
1192 * libgcov.c: Remove stdio.h include and NULL un-define.
1194 2012-03-13 Richard Guenther <rguenther@suse.de>
1197 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1199 2012-03-13 Richard Guenther <rguenther@suse.de>
1201 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1203 2012-03-13 Richard Guenther <rguenther@suse.de>
1205 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1206 and __gthread_mutex_init_function definitions.
1208 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1210 * config.host (mips*-*-openbsd*): Remove.
1212 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1214 * config.host: Remove alpha*-dec-osf5.1* handling.
1215 * config/alpha/gthr-posix.c: Remove.
1216 * config/alpha/libgcc-osf5.ver: Remove.
1217 * config/alpha/osf5-unwind.h: Remove.
1218 * config/alpha/t-osf-pthread: Remove.
1219 * config/alpha/t-slibgcc-osf: Remove.
1220 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1221 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1222 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1223 * mkmap-flat.awk: Remove osf_export handling.
1225 2012-03-12 Richard Guenther <rguenther@suse.de>
1227 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1228 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1229 (__gthread_mutex_init_function): New function.
1230 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1233 * libgcov.c: Include gthr.h.
1234 (__gcov_flush_mx): New global variable.
1235 (init_mx, init_mx_once): New functions.
1236 (__gcov_flush): Protect self with a mutex.
1237 (__gcov_fork): Re-initialize mutex after forking.
1238 * unwind-dw2-fde.c: Change condition under which to use
1239 __GTHREAD_MUTEX_INIT_FUNCTION.
1241 2012-03-12 Tristan Gingold <gingold@adacore.com>
1243 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1244 * config/ia64/t-vms: Likewise.
1246 2012-03-11 Michael Hope <michael.hope@linaro.org>
1248 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1251 2012-03-07 Walter Lee <walt@tilera.com>
1253 * config/tilepro/atomic.c: Rename "atomic_" prefix to
1255 (atomic_xor): Rename and move definition to
1256 config/tilepro/atomic.h.
1257 (atomic_nand): Ditto.
1258 * config/tilepro/atomic.h: Rename "atomic_" prefix to
1260 (arch_atomic_xor): Move from config/tilepro/atomic.c.
1261 (arch_atomic_nand): Ditto.
1263 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1266 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1268 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1271 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1274 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1278 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1279 if RAMPZ affects reading from RAM.
1280 (__tablejump_elpm__): Ditto.
1282 (__movmemx_hi): Ditto.
1283 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1284 (__do_global_dtors): Ditto.
1285 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1286 (__movmemx_hi): Ditto.
1288 2012-03-05 Richard Henderson <rth@redhat.com>
1290 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1291 [ARM] (count_trailing_zeros): Use the builtin.
1293 2012-03-01 Kai Tietz <ktietz@redhat.com>
1295 * soft-fp: Imported from glibc upstream.
1297 2012-02-28 Kai Tietz <ktietz@redhat.com>
1299 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1300 for mingw-targets as attribute gcc_struct.
1302 2012-02-28 Ian Lance Taylor <iant@google.com>
1304 * generic-morestack.c (__splitstack_releasecontext): Correct call
1305 to __morestack_release_segments.
1307 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1310 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1311 for __linux__ when removing signals from __morestack_fullmask.
1313 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
1316 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1318 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1320 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1321 instead of HAVE_INITFINI_ARRAY.
1322 * config/ia64/crtend.S: Likewise.
1324 2012-02-20 Kai Tietz <ktietz@redhat.com>
1327 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1329 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1330 to w32-unwind.h header.
1332 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1334 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1335 (mips*-*-linux*): Remove t-slibgcc-libgcc.
1336 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1337 * config/mips/mips16.S (__mips16_rdhwr): Delete.
1339 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1341 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1343 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1346 * config/darwin-crt-tm.c: Correct typo.
1348 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1349 Patrick Marlier <patrick.marlier@gmail.com>
1352 * config/darwin-crt-tm.c: Generate dummy functions.
1354 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1355 Patrick Marlier <patrick.marlier@gmail.com>
1358 * config/darwin-crt-tm.c (getTMCloneTable): New function.
1359 (__doTMRegistrations): Call it.
1360 (__doTMdeRegistrations): Likewise.
1362 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
1363 Anatoly Sokolov <aesok@post.ru>
1364 Eric Weddington <eric.weddington@atmel.com>
1367 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1368 (__epilogue_restores__): Ditto.
1370 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
1374 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1375 Solaris 11 and slightly reformat.
1376 (sparc_is_sighandler): Likewise.
1378 2012-02-14 Walter Lee <walt@tilera.com>
1380 * config.host: Handle tilegx and tilepro.
1381 * config/tilegx/sfp-machine.h: New file.
1382 * config/tilegx/sfp-machine32.h: New file.
1383 * config/tilegx/sfp-machine64.h: New file.
1384 * config/tilegx/t-crtstuff: New file.
1385 * config/tilegx/t-softfp: New file.
1386 * config/tilegx/t-tilegx: New file.
1387 * config/tilepro/atomic.c: New file.
1388 * config/tilepro/atomic.h: New file.
1389 * config/tilepro/linux-unwind.h: New file.
1390 * config/tilepro/sfp-machine.h: New file.
1391 * config/tilepro/softdivide.c: New file.
1392 * config/tilepro/softmpy.S: New file.
1393 * config/tilepro/t-crtstuff: New file.
1394 * config/tilepro/t-tilepro: New file.
1396 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1400 * gthr-posix.h: Allow static initializer macros to be disabled.
1401 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1403 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1405 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1406 Add t-slibgcc-libgcc to tmake_file.
1407 * config/mips/libgcc-mips16.ver: Revert previous patch.
1408 * config/mips/mips16.S (__mips16_rdhwr): Hide.
1410 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1411 Jayant R Sonar <jayant.sonar@kpitcummins.com>
1413 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1414 * config/cr16/crti.S: New file.
1415 * config/cr16/crtlibid.S: New file.
1416 * config/cr16/crtn.S: New file.
1417 * config/cr16/lib1funcs.S: New file.
1418 * config/cr16/t-cr16: New file.
1419 * config/cr16/t-crtlibid: New file.
1420 * config/cr16/unwind-dw2.h: New file.
1421 * config/cr16/unwind-cr16.c: New file.
1422 * config/cr16/divmodhi3.c: New file.
1424 2012-01-25 Alan Modra <amodra@gmail.com>
1426 * config/rs6000/t-linux64: Delete. Move..
1427 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1428 * config/rs6000/t-linux: ..and libgcc flags to here.
1430 2012-01-22 Douglas B Rupp <rupp@gnat.com>
1432 * config.host (i[34567]86-*-interix3*):
1433 Change triplet to i[34567]86-*-interix[3-9]*.
1434 * configure: Regenerate.
1436 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
1437 Richard Sandiford <rdsandiford@googlemail.com>
1439 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1440 * config/mips/mips16.S (__mips16_rdhwr): New function.
1441 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1443 2012-01-11 Nathan Sidwell <nathan@acm.org>
1445 * libgcov.c (__gcov_init): Ignore objects with no functions.
1447 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
1450 Extend __pgmx semantics to linearize memory.
1451 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1452 * config/avr/lib1funcs.S (__xload_1): New function.
1453 (__movmemx_qi, __movmemx_hi): New functions.
1454 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1457 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1459 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1460 purported sigacthandler address isn't null before dereferencing it.
1461 (sparc_is_sighandler): Likewise.
1463 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1466 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1467 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
1468 (sparc_is_sighandler): Likewise.
1469 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1471 2012-01-06 Tristan Gingold <gingold@adacore.com>
1473 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1474 compatibility thunks...
1475 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1476 (crtbeginS.o, crtendS.o): ... and these to ...
1477 * config/ia64/t-ia64-elf: ... this new file.
1478 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1479 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1481 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1483 * configure: Regenerate.
1484 * config/s390/t-crtstuff: Remove -fPIC.
1486 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1489 * enable-execute-stack-mprotect.c (getpagesize): Do not define
1492 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1495 * config/avr/lib1funcs.S: Remove FIXME comments.
1496 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1498 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1500 Implement light-weight DImode support.
1501 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1502 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1503 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1504 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1506 2011-12-30 Nathan Sidwell <nathan@acm.org>
1508 * libgcov.c (gcov_crc32): Remove global var.
1509 (free_fn_data): New function.
1510 (buffer_fn_data): Pass in filename, more robust error recovery.
1511 (crc32_unsigned): New function.
1512 (gcov_exit): More robust detection of new program. More robust
1514 (__gcov_init): Do not update program's crc here.
1516 2011-12-21 Tristan Gingold <gingold@adacore.com>
1518 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1520 2011-12-21 Ian Lance Taylor <iant@google.com>
1522 * config/i386/morestack.S: Simplify CFI opcodes throughout.
1524 2011-12-20 Ian Lance Taylor <iant@google.com>
1526 * config/i386/morestack.S (__morestack_non_split): If there is
1527 enough stack space already, don't split. Ask for more stack space
1530 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
1532 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1534 (_Unwind_DebugHook): New function.
1535 (uw_restore_core_regs): New define.
1536 (unwind_phase2): Use uw_restore_core_regs instead of
1538 (unwind_phase2_forced): Likewise.
1539 (__gnu_Unwind_Resume): Likewise.
1541 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
1543 * config/alpha/linux-unwind.h: Update copyright years.
1544 (MD_FROB_UPDATE_CONTEXT): New define.
1545 (alpha_frob_update_context): New function.
1547 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
1549 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1550 tmake_file rather replacing it.
1552 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
1554 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1555 function is not used for PPC64.
1556 (save_world): Amend comments. Update the VRsave mask to reflect the
1558 (rest_world): Update comments, do not clobber r10, do not use r8.
1559 (eh_rest_world_r10): Amend comments, do not use r8.
1560 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1561 no longer used, move restore of CR and target address to the end of
1564 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1566 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1567 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1569 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
1572 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1573 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1575 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1577 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1579 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
1582 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1583 * config/avr/lib1funcs.S (__muldi3): New function.
1585 2011-12-06 Andrew Pinski <apinski@cavium.com>
1587 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1589 (__frame_dummy_init_array_entry): Likewise.
1591 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
1593 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1597 * config/avr/lib1funcs.S (__prologue_saves__,
1598 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1599 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1601 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1603 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1605 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1608 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1609 (_ITM_deregisterTMCloneTable): Likewise.
1610 (__register_frame_info): Fix unused warning.
1611 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1612 pthread_default_stacksize_np): Likewise.
1613 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1615 2011-11-29 DJ Delorie <dj@redhat.com>
1617 * config.host (rl78-*-elf): New case.
1618 * config/rl78: New directory for the Renesas RL78.
1620 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1622 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1625 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1628 * config/rs6000/t-savresfgpr: New file.
1629 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1630 $(srcdir)/config/rs6000/eabi.S.
1631 * config/rs6000/t-ppccomm-ldbl: Remove.
1632 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1634 (powerpc-*-eabispe*): Likewise.
1635 (powerpc-*-eabi*): Likewise.
1636 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1637 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1638 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1639 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1641 (powerpc-*-eabisim*): Likewise.
1642 (powerpc-*-elf*): Likewise.
1643 (powerpc-*-eabialtivec*): Likewise.
1644 (powerpc-xilinx-eabi*): Likewise.
1645 (powerpc-*-rtems*): Likewise.
1646 (powerpcle-*-elf*): Likewise.
1647 (powerpcle-*-eabisim*): Likewise.
1648 (powerpcle-*-eabi*): Likewise.
1650 2011-11-27 Ian Lance Taylor <iant@google.com>
1652 * generic-morestack.c (__splitstack_find): Check for NULL old
1654 (__splitstack_resetcontext): New function.
1655 (__splitstack_releasecontext): New function.
1656 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1658 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1660 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1662 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1664 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1666 2011-11-26 Richard Henderson <rth@redhat.com>
1668 * config/m68k/linux-atomic.c: New file.
1669 * config/m68k/t-linux: New file.
1670 * config.host (m68k-uclinux, m68k-linux): Use it.
1672 2011-11-26 Richard Henderson <rth@redhat.com>
1674 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1675 (__TMC_END__): Only declare if hidden is available; in the definition,
1676 if hidden is unavailable add a null record.
1677 (deregister_tm_clones, register_tm_clones): New.
1678 (__do_global_dtors_aux, frame_dummy): Use them.
1679 (__do_global_dtors, __do_global_ctors_1): Likewise.
1681 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
1683 * config/darwin-crt-tm.c: New file.
1684 * config.host (darwin): Build crttms.o crttme.o to provide
1685 startup and shutdown for tm clones.
1686 * config/t-darwin (crttms.o): New build rule.
1687 (crttme.o): Likewise.
1689 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
1691 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1694 2011-11-21 Richard Henderson <rth@redhat.com>
1696 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1697 (__TMC_LIST__, __TMC_END__): New.
1698 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1699 (__do_global_dtors): Likewise.
1700 (frame_dummy): Call _ITM_registerTMCloneTable.
1701 (__do_global_ctors_1): Likewise.
1703 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1705 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1706 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1707 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1708 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1709 * config/i386/t-darwin64: Remove.
1710 * config/sh/t-netbsd (LIB2ADD): Remove.
1712 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
1715 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1716 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1717 * config/avr/lib1funcs.S (wmov): New assembler macro.
1718 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1719 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1720 (__udivmod64): New function.
1721 (__negdi2): New function.
1723 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
1725 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1726 *-*-freebsd*aout*): Remove.
1728 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
1730 * static-object.mk (c_flags-$o): Save c_flags.
1731 ($(base)$(objext)): Use it.
1733 2011-11-18 Steve Ellcey <sje@cup.hp.com>
1735 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1737 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
1740 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1741 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1744 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1746 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1748 (aeabi_uidivmod): Likewise.
1749 (umodsi3): Likewise.
1751 (aeabi_idivmod): Likewise.
1754 2011-11-16 Tristan Gingold <gingold@adacore.com>
1756 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1758 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
1761 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1762 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1764 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1766 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1768 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1769 * config/pa/t-stublib64: Delete.
1771 2011-11-12 Richard Henderson <rth@redhat.com>
1773 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1774 cast the pointer argument to _Unwind_SetGRPtr.
1776 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1778 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1780 2011-11-09 Ian Lance Taylor <iant@google.com>
1782 * generic-morestack.c: Include <string.h>.
1783 (uintptr_type): Define.
1784 (struct initial_sp): Add dont_block_signals field. Reduce size of
1786 (allocate_segment): Set prev field to NULL. Don't set
1787 __morestack_current_segment or __morestack_segments.
1788 (__generic_morestack): Update current->prev and *pp after calling
1790 (__morestack_block_signals): Don't do anything if
1791 dont_block_signals is set.
1792 (__morestack_unblock_signals): Likewise.
1793 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1795 (__splitstack_block_signals): New function.
1796 (enum __splitstack_content_offsets): Define.
1797 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1798 (__splitstack_makecontext): New function.
1799 (__splitstack_block_signals_context): New function.
1800 (__splitstack_find_context): New function.
1801 * config/i386/morestack.S (__morestack_get_guard): New function.
1802 (__morestack_set_guard, __morestack_make_guard): New functions.
1803 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1805 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1807 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1808 (i[34567]86-*-mingw*): ... here.
1809 (x86_64-*-mingw*): ... here.
1811 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1813 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1815 2011-11-07 Nathan Sidwell <nathan@acm.org>
1817 * libgcov.c (struct gcov_fn_buffer): New struct.
1818 (buffer_fn_data): New helper.
1819 (gcov_exit): Rework for new gcov data structures.
1821 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
1824 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1826 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1828 * config.host (tmake_file): Correct comment.
1829 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1831 (bfin*-uclinux*): Likewise.
1832 (bfin*-linux-uclibc*): Likewise.
1833 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1835 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1837 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1838 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1839 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1840 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1841 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1842 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1843 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1844 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1845 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1846 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1847 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1848 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1849 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1851 * config/bfin/t-elf: Remove.
1852 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1854 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1856 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1857 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1858 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1859 (lm32-*-elf*): ... this.
1860 (lm32-*-rtems*): ... and this.
1862 (m32r-*-rtems*): Add to tmake_file.
1863 (moxie-*-rtems*): Likewise.
1864 (sparc-*-rtems*): Likewise.
1865 Remove t-rtems from tmake_file.
1866 (sparc64-*-rtems*): Likewise.
1867 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1870 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1873 * config/gthr-posix.h: Move ...
1874 * gthr-posix.h: ... here.
1875 * config/gthr-lynx.h: Reflect this.
1876 * config/gthr-vxworks.h: Likewise.
1877 * config/rs6000/gthr-aix.h: Likewise.
1878 * configure.ac (target_thread_file): Likewise.
1879 * configure: Regenerate.
1881 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1883 * config.host (arm*-*-rtemseabi*): New target.
1885 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1888 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1891 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1893 * config.host (epiphany-*-elf*): New configuration.
1894 * config/epiphany: New Directory.
1896 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1898 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1899 * config/avr/t-rtems: New.
1900 Filter out _exit from LIB1ASMFUNCS.
1902 2011-11-04 David S. Miller <davem@davemloft.net>
1904 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1905 * configure: Rebuild.
1907 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1909 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1912 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
1915 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1916 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1918 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1921 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1923 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1925 * config/c6x/t-elf (LIB2ADDEH): Set.
1926 * config/c6x/t-c6x-elf: Remove.
1928 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1930 * config/i386/sol2-ci.S: Rename to ...
1931 * config/i386/crti.S: ... this.
1932 * config/i386/sol2-cn.S: Rename to ...
1933 * config/i386/crtn.S: ... this.
1934 * config/sparc/sol2-ci.S: Rename to ...
1935 * config/sparc/crti.S: ... this.
1936 * config/sparc/sol2-cn.S: Rename to ...
1937 * config/sparc/crtn.S: ... this.
1938 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1939 (crti.o, crtn.o): Remove.
1941 2011-11-04 Tristan Gingold <gingold@adacore.com>
1943 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1945 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
1947 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1949 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
1951 * config.host (crisv32-*-none, cris-*-none): Remove.
1952 (crisv32-*-elf): Append to tmake_file, don't just set it.
1953 (cris-*-elf): Add missing t-fdpbit to tmake_file.
1955 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1957 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1958 (ecrtn$(objext)): Likewise.
1959 (ncrti$(objext)): Likewise.
1960 (ncrtn$(objext)): Likewise.
1962 2011-11-03 Andreas Schwab <schwab@redhat.com>
1964 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1966 2011-11-02 David S. Miller <davem@davemloft.net>
1968 * configure.ac: Set host_address on sparc too.
1969 * configure: Regenerate.
1970 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1971 based upon host_address.
1972 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1974 2011-11-02 Jason Merrill <jason@redhat.com>
1976 * config/rs6000/t-ppccomm: Add missing \.
1978 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1980 * gthr-single.h, gthr.h: New files.
1981 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1982 config/gthr-vxworks.h, config/i386/gthr-win32.h,
1983 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1984 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1985 * config/i386/gthr-win32.c: Include "gthr-win32.h".
1986 * configure.ac (thread_header): New variable.
1987 Set it depending on target_thread_file.
1988 (gthr-default.h): Link from $thread_header.
1989 * configure: Regenerate.
1990 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1992 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1994 * configure.ac (tm_file_): New variable.
1995 Determine from tm_file.
1996 (tm_file, tm_defines): Substitute.
1997 * configure: Regenerate.
1998 * mkheader.sh: New file.
1999 * Makefile.in (clean): Remove libgcc_tm.h.
2000 ($(objects)): Depend on libgcc_tm.h.
2001 (libgcc_tm_defines, libgcc_tm_file): New variables.
2002 (libgcc_tm.h, libgcc_tm.stamp): New targets.
2003 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2004 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2005 ($(extra-parts)): Depend on libgcc_tm.h.
2006 * config.host (tm_defines, tm_file): New variable.
2007 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2008 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2009 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2010 (avr-*-rtems*): Likewise.
2011 (avr-*-*): Likewise.
2012 (frv-*-elf): Likewise.
2013 (frv-*-*linux*): Likewise.
2014 (h8300-*-rtems*): Likewise.
2015 (h8300-*-elf*): Likewise.
2016 (i[34567]86-*-darwin*): Likewise.
2017 (x86_64-*-darwin*): Likewise.
2018 (rx-*-elf): Likewise.
2019 (tic6x-*-uclinux): Likewise.
2020 (tic6x-*-elf): Likewise.
2021 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2022 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2023 * config/i386/cygming-crtbegin.c: Likewise.
2024 * config/i386/cygming-crtend.c: Likewise.
2025 * config/ia64/fde-vms.c: Likewise.
2026 * config/ia64/unwind-ia64.c: Likewise.
2027 * config/libbid/bid_gcc_intrinsics.h: Likewise.
2028 * config/rs6000/darwin-fallback.c: Likewise.
2029 * config/stormy16/lib2funcs.c: Likewise.
2030 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2031 * crtstuff.c: Likewise.
2032 * dfp-bit.h: Likewise.
2033 * emutls.c: Likewise.
2034 * fixed-bit.c: Likewise.
2035 * fp-bit.c: Likewise.
2036 * generic-morestack-thread.c: Likewise.
2037 * generic-morestack.c: Likewise.
2038 * libgcc2.c: Likewise.
2039 * libgcov.c: Likewise.
2040 * unwind-dw2-fde-dip.c: Likewise.
2041 * unwind-dw2-fde.c: Likewise.
2042 * unwind-dw2.c: Likewise.
2043 * unwind-sjlj.c: Likewise.
2045 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2047 * configure.ac: Include ../config/picflag.m4.
2048 (GCC_PICFLAG): Call it.
2050 * configure: Regenerate.
2051 * Makefile.in (gcc_srcdir): Remove.
2052 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2053 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2054 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2055 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2056 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2059 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2060 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2061 to refer to libgcc2.c.
2063 * config/darwin-64.c: New file.
2064 * config/darwin-crt3.c: Remove comment.
2065 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2066 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2067 config/udivmodsi4.c: New files.
2068 * config/memcmp.c, config/memcpy.c, config/memmove.c,
2069 config/memset.c: New files.
2070 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2071 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2072 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2073 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2074 * config/t-openbsd-thread: New file.
2075 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2076 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2077 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2078 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2081 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2082 to refer to gthr-posix.c.
2083 * config/alpha/t-vms (LIB2ADD): Set.
2084 * config/alpha/vms-gcc_shell_handler.c: New file.
2085 * config/arm/bpabi.c, config/arm/fp16.c,
2086 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2087 config/arm/unaligned-funcs.c: New files.
2088 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2089 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2090 * config/arm/t-linux: Likewise.
2091 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2092 * config/arm/t-netbsd: New file.
2093 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2094 * config/arm/t-symbian (LIB2ADD_ST): Set.
2095 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2096 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2097 * config/bfin/t-elf: New file.
2098 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2099 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2100 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2101 config/c6x/ltf.c: New files.
2102 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2103 (HOST_LIBGCC2_CFLAGS): Set.
2104 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2105 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2106 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2108 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2109 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2110 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2111 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2112 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2114 * config/frv/t-frv (LIB2ADD): Set.
2115 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2116 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2117 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2118 config/h8300/popcounthi2.c: New files.
2119 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2120 * config/i386/gthr-win32.c: New file.
2121 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2122 * config/i386/t-cygwin: Likewise.
2123 * config/i386/t-darwin, config/i386/t-darwin64,
2124 config/i386/t-gthr-win32, config/i386/t-interix: New files.
2125 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2126 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2127 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2128 * config/ia64/quadlib.c: New file.
2129 * config/ia64/t-hpux (LIB2ADD): Set.
2130 * config/ia64/t-ia64: Add comment.
2131 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2132 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2133 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2134 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2135 * config/m32c/t-m32c (LIB2ADD): Set.
2136 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2137 * config/m32r/t-m32r: Likewise.
2138 * config/m68k/fpgnulib.c: New file.
2139 * config/m68k/t-floatlib (LIB2ADD): Set.
2140 (xfgnulib.c): New target.
2141 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2142 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2143 * config/mep/t-mep (LIB2ADD): Set.
2144 * config/microblaze/divsi3.asm: Rename to divsi3.S.
2145 * config/microblaze/moddi3.asm: Rename to moddi3.S.
2146 * config/microblaze/modsi3.asm: Rename to modsi3.S.
2147 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2148 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2149 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2150 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2151 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2152 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2153 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2155 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2156 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2157 * config/pa/fptr.c, config/pa/lib2funcs.S,
2158 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2159 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2160 (LIB2ADD, LIB2ADD_ST): Set.
2161 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2162 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2164 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2165 * config/pdp11/t-pdp11: New file.
2166 * config/picochip/libgccExtras/adddi3.S,
2167 config/picochip/libgccExtras/ashlsi3.S,
2168 config/picochip/libgccExtras/ashrsi3.S,
2169 config/picochip/libgccExtras/clzsi2.S,
2170 config/picochip/libgccExtras/cmpsi2.S,
2171 config/picochip/libgccExtras/divmod15.S,
2172 config/picochip/libgccExtras/divmodhi4.S,
2173 config/picochip/libgccExtras/divmodsi4.S,
2174 config/picochip/libgccExtras/lshrsi3.S,
2175 config/picochip/libgccExtras/parityhi2.S,
2176 config/picochip/libgccExtras/popcounthi2.S,
2177 config/picochip/libgccExtras/subdi3.S,
2178 config/picochip/libgccExtras/ucmpsi2.S,
2179 config/picochip/libgccExtras/udivmodhi4.S,
2180 config/picochip/libgccExtras/udivmodsi4.S: New files.
2181 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2182 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2183 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2184 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2185 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2186 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2187 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
2188 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2190 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2191 (HOST_LIBGCC2_CFLAGS): Set.
2192 * config/rs6000/t-darwin64: New file.
2193 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2194 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2195 * config/rs6000/t-ppccomm (LIB2ADD): Add
2196 $(srcdir)/config/rs6000/tramp.S.
2197 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2198 Add $(srcdir)/config/rs6000/eabi.S.
2199 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2200 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2201 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2202 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2203 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2204 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2205 * config/rs6000/tramp.S: New file.
2206 * config/s390/t-tpf: Remove.
2207 * config/sh/linux-atomic.S: New file.
2208 * config/sh/t-linux (LIB2ADD): Set.
2209 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2210 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2211 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2213 (HOST_LIBGCC2_CFLAGS): Set.
2214 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2215 * config/spu/divmodti4.c, config/spu/divv2df3.c,
2216 config/spu/float_disf.c, config/spu/float_unsdidf.c,
2217 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2218 config/spu/mfc_multi_tag_release.c,
2219 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2220 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2221 config/spu/multi3.c: New files.
2222 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2223 (HOST_LIBGCC2_CFLAGS): Set.
2224 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2225 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2226 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2227 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2228 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2229 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2230 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2231 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2232 config/stormy16/umodsi3.c: New files.
2233 * config/xtensa/lib2funcs.S: New file.
2234 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2235 * config/xtensa/t-xtensa (LIB2ADD): Set.
2236 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2237 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2238 Add t-freebsd-thread to tmake_file for posix threads.
2239 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2240 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2241 (*-*-lynxos*): Likewise.
2242 (*-*-netbsd*): Likewise.
2243 (*-*-openbsd*): Likewise.
2244 Add t-openbsd-thread to tmake_file for posix threads.
2245 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2246 (*-*-vxworks*): Set tmake_file.
2247 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2248 (alpha*-*-freebsd*): Likewise.
2249 (alpha*-*-netbsd*): Likewise.
2250 (alpha*-*-openbsd*): Likewise.
2251 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2252 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2253 (alpha*-dec-*vms*): Likewise.
2254 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2255 (bfin*-elf*): Add bfin/t-elf to tmake_file.
2256 (bfin*-uclinux*): Likewise.
2257 (bfin*-linux-uclibc*): Likewise.
2258 (crisv32-*-elf): Add cris/t-cris to tmake_file.
2259 (crisv32-*-none): Likewise.
2260 (cris-*-elf): Likewise.
2261 (cris-*-none): Likewise.
2262 (cris-*-linux*, crisv32-*-linux*): Likewise.
2263 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2265 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2267 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2268 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2269 (x86_64-*-elf*): Likewise.
2270 (i[34567]86-*-nto-qnx*): Likewise.
2271 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2273 (x86_64-*-mingw*): Likewise.
2274 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2275 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2276 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2277 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2278 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2280 (mipsisa64sr71k-*-elf*): Likewise.
2281 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2282 (mips-*-elf*, mipsel-*-elf*): Likewise.
2283 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2284 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2285 (mips*-*-rtems*): Likewise.
2286 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2288 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2289 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2290 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2291 (spu-*-elf*): Likewise.
2292 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2294 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2296 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2297 $(srcdir) to refer to $(LIB1ASMSRC).
2299 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2300 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2301 config/arm/lib1funcs.S: New files.
2302 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2303 * config/arm/t-arm: New file.
2304 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2305 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2306 config/arm/t-strongarm-elf: New files.
2307 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2308 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2309 * config/avr/lib1funcs.S: New file.
2310 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2311 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2312 * config/c6x/lib1funcs.S: New file.
2313 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2314 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2315 * config/frv/lib1funcs.S: New file.
2316 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2317 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2318 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2319 * config/ia64/__divxf3.asm: Rename to ...
2320 * config/ia64/__divxf3.S: ... this.
2321 Adapt lib1funcs.asm filename.
2322 * config/ia64/_fixtfdi.asm: Rename to ...
2323 * config/ia64/_fixtfdi.S: ... this.
2324 Adapt lib1funcs.asm filename.
2325 * config/ia64/_fixunstfdi.asm: Rename to ...
2326 * config/ia64/_fixunstfdi.S: ... this.
2327 Adapt lib1funcs.asm filename.
2328 * config/ia64/_floatditf.asm: Rename to ...
2329 * config/ia64/_floatditf.S: ... this.
2330 Adapt lib1funcs.asm filename.
2331 * config/ia64/lib1funcs.S: New file.
2332 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2333 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2334 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2335 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2336 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2337 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2338 * config/mep/lib1funcs.S: New file.
2339 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2340 * config/mips/mips16.S: New file.
2341 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2342 * config/pa/milli64.S: New file.
2343 * config/pa/t-linux, config/pa/t-linux64: New files.
2344 * config/picochip/lib1funcs.S: New file.
2345 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2346 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2347 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2348 * config/sh/t-netbsd: New file.
2349 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2350 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2351 * config/sh/t-sh64: New file.
2352 * config/sparc/lb1spc.S: New file.
2353 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2355 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2356 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2357 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2358 config/xtensa/lib1funcs.S: New files.
2359 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2360 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2362 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2363 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2364 (arm*-*-linux*): Likewise.
2365 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2366 arm*-*-linux-*eabi, add arm/t-linux otherwise.
2367 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2368 (arm*-*-ecos-elf): Likewise.
2369 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2370 (arm*-*-rtems*): Likewise.
2371 (arm*-*-elf): Likewise.
2372 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2373 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2374 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2375 (bfin*-uclinux*): Likewise.
2376 (bfin*-linux-uclibc*): Likewise.
2377 (bfin*-rtems*): Likewise.
2378 (bfin*-*): Likewise.
2379 (fido-*-elf): Merge into m68k-*-elf*.
2380 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2381 (frv-*-*linux*): Add frv/t-frv to tmake_file.
2382 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2383 (h8300-*-elf*): Likewise.
2384 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2385 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2386 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2387 (i[34567]86-*-mingw*): Likewise.
2388 (x86_64-*-mingw*): Likewise.
2389 (i[34567]86-*-interix3*): Likewise.
2390 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2391 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2392 (m68k-*-elf*): Also handle fido-*-elf.
2393 Add m68k/t-floatlib to tmake_file.
2394 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2395 (m68k-*-linux*): Likewise.
2396 (m68k-*-rtems*): Likewise.
2397 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2398 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2400 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2401 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2402 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2403 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2404 sh/t-netbsd to tmake_file.
2405 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2406 (sh-*-rtems*): Add sh/t-sh to tmake_file.
2407 (sh-wrs-vxworks): Likewise.
2408 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2410 (v850*-*-*): Add v850/t-v850 to tmake_file.
2411 (vax-*-linux*): Add vax/t-linux to tmake_file.
2412 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2414 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2416 * crtstuff.c: New file.
2417 * Makefile.in (CRTSTUFF_CFLAGS): Define.
2418 (CRTSTUFF_T_CFLAGS): Define.
2419 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2420 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2421 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2424 (crtbeginT.o): Use $(objext).
2425 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2426 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2427 (gcc-extra-parts): Remove.
2428 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2430 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2431 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2432 Add t-crtstuff-pic to tmake_file.
2433 (*-*-lynxos*): New case.
2434 Set tmake_file, extra_parts.
2435 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2436 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2437 *-*-netbsdelf[2-9]*.
2438 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2439 (*-*-rtems*): Set extra_parts.
2440 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2441 (*-*-uclinux*): New case.
2443 (*-*-vms*): New case.
2444 Set tmake_file, extra_parts.
2445 (*-*-elf): Set extra_parts.
2446 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2447 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2450 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2452 (arm*-*-freebsd*): Add t-crtin to tmake_file.
2453 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2454 (arm-wrs-vxworks): Append to tmake_file.
2456 (arm*-*-uclinux*): Set extra_parts.
2457 (arm*-*-ecos-elf): Likewise.
2458 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2460 (arm*-*-rtems*): Set extra_parts.
2461 (arm*-*-elf): Likewise.
2462 (avr-*-rtems*): Clear extra_parts.
2463 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2465 (bfin*-uclinux*): Likewise.
2466 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2467 (bfin*-rtems*): Append to tmake_file.
2469 (bfin*-*): Likewise.
2470 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2471 (crisv32-*-elf): ... this.
2472 (crisv32-*-none): ... this.
2473 (cris-*-elf, cris-*-none): New cases.
2474 Add cris/t-elfmulti to tmake_file.
2475 (fr30-*-elf): Append to tmake_file.
2477 (frv-*-elf): Append to tmake_file, add frv/t-frv.
2479 (h8300-*-rtems*): Append to tmake_file.
2481 (h8300-*-elf*): Likewise.
2482 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2484 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2486 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2487 (x86_64-*-elf*): Likewise.
2488 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2489 (x86_64-*-freebsd*): Likewise.
2490 (x86_64-*-netbsd*): Likewise.
2491 (i[34567]86-*-linux*): Likewise.
2492 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2493 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2494 (x86_64-*-linux*): Likewise.
2495 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2496 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2499 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2500 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2501 Append to extra_parts, remove crtbegin.o, crtend.o.
2502 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2503 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2504 crtend.o, crtbeginS.o, crtendS.o.
2505 (ia64*-*-linux*): Comment extra_parts.
2506 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2508 (iq2000*-*-elf*): Clear extra_parts.
2509 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2510 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2511 (m32r-*-elf*, m32r-*-rtems*): Split off ...
2512 (m32r-*-rtems*): ... this.
2513 Add m32r/t-m32r to tmake_file.
2514 (m68k-*-elf*): Add t-crtin to tmake_file.
2515 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2516 (mcore-*-elf): Likewise.
2517 (microblaze*-*-*): Set extra_parts.
2518 (mips*-sde-elf*): New case.
2519 Set tmake_file, extra_parts.
2520 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2521 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2522 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2525 (mipsisa64sr71k-*-elf*): Likewise.
2526 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2527 (mips-*-elf*, mipsel-*-elf*): Likewise.
2528 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2529 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2530 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2531 (mips*-*-rtems*): Likewise.
2532 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2533 (moxie-*-*): Split into ...
2534 (moxie-*-elf, moxie-*-uclinux*): ... this.
2535 Add to extra_parts, remove crtbegin.o, crtend.o.
2536 (moxie-*-rtems*): New case.
2539 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2541 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2542 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2545 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2546 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2548 (powerpc-*-eabisim*): Likewise.
2549 (powerpc-*-elf*): Likewise.
2550 (powerpc-*-eabialtivec*): Likewise.
2551 (powerpc-xilinx-eabi*): Likewise.
2552 (powerpc-*-eabi*): Likewise.
2553 (powerpc-*-rtems*): Likewise.
2554 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2557 (powerpc-*-lynxos*): Add to tmake_file.
2558 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2559 rs6000/t-crtstuff, t-crtstuff-pic.
2561 (powerpcle-*-eabisim*): Likewise.
2562 (powerpcle-*-eabi*): Likewise.
2563 (rx-*-elf): Remove extra_parts.
2564 (s390x-ibm-tpf*): Set extra_parts.
2565 (score-*-elf): Set extra_parts.
2566 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2567 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2568 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2569 (sh64l*-*-netbsd*): Split into ...
2570 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2571 Add t-crtstuff-pic to tmake_file.
2573 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2575 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2576 (sparc-*-elf*): Remove t-crtin from tmake_file.
2577 Add to extra_parts, remove crtbegin.o, crtend.o.
2578 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2579 (sparc64-*-linux*): Likewise.
2580 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2581 Add to extra_parts, remove crtbegin.o, crtend.o.
2582 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2583 Add to extra_parts, remove crtbegin.o, crtend.o.
2584 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2585 Add to extra_parts, remove crtbegin.o, crtend.o.
2586 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2587 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2588 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2590 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2592 (tic6x-*-*): Change to ...
2593 (tic6x-*-elf): ... this.
2595 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2597 (am33_2.0-*-linux*): Add comment.
2598 (mep*-*-*): Add mep/t-mep to tmake_file.
2600 * config/alpha/t-vms: New file.
2601 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2602 * config/arm/crti.S, config/arm/crtn.S: New files.
2603 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2604 * config/bfin/crtlibid.S: New file.
2605 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2606 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2607 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2608 (crti.o, crtin.o): New rules.
2609 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2610 * config/c6x/t-uclinux: New file.
2611 * config/cris/t-elfmulti: New file.
2612 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2613 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2614 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2615 * config/frv/t-frv: New file.
2616 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2617 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2618 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2620 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2621 refer to cygming-crtbegin.c, cygming-crtend.c.
2623 * config/i386/t-nto: New file.
2624 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2625 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2626 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2627 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2630 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2631 (crtinitS.o): New rule.
2632 * config/ia64/vms-crtinit.S: New file.
2633 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2634 * config/m32r/initfini.c: New file.
2635 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2636 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2637 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2638 * config/mep/t-mep: New file.
2639 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2640 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2641 * config/mips/crti.S, config/mips/crtn.S: New files.
2642 * config/mips/t-crtstuff: New file.
2643 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2644 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2645 (CUSTOM_CRTIN): Set.
2646 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2648 Use $(srcdir) to refer to crti.S, crtn.S.
2649 Use .S extension, $<.
2650 * config/moxie/crti.asm: Rename to ...
2651 * config/moxie/crti.S: ... this.
2652 * config/moxie/crtn.asm: Rename to ...
2653 * config/moxie/crtn.S: ... this.
2654 * config/moxie/t-moxie: Remove.
2655 * config/pa/stublib.c: New file.
2656 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2657 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2658 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2659 * config/rs6000/t-crtstuff: New file.
2660 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2661 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2662 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2663 Make output file explicit.
2664 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2665 Make output file explicit.
2666 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2667 Make output file explicit.
2668 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2669 Make output file explicit.
2670 * config/score/crti.S, config/score/crtn.S: New files.
2671 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2672 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2674 * config/sh/t-sh, config/sh/t-superh: New files.
2675 * config/sparc/t-linux64: New file.
2676 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2677 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2678 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2679 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2680 * config/t-crtin: Remove.
2681 * config/t-crtstuff-pic: New file.
2682 * config/t-sol2 (CUSTOM_CRTIN): Set.
2683 (crti.o, crtn.o): New rules.
2684 * config/vms/t-vms: New file.
2685 * config/vms/vms-ucrt0.c: New file.
2686 * config/xtensa/t-elf: New file.
2688 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2690 * Makefile.in (SHLIB_NM_FLAGS): Set.
2691 * mkmap-flat.awk, mkmap-symver.awk: New files.
2692 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2694 * configure: Regenerate.
2695 * config/libgcc-glibc.ver: New file.
2696 * config/libgcc-libsystem.ver: New file.
2697 * config/t-libunwind (SHLIB_LC): Set.
2698 * config/t-linux: New file.
2699 * config/t-slibgcc (INSTALL_SHLIB): New.
2700 (SHLIB_INSTALL): Use it.
2701 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2702 to mkmap-symver.awk.
2703 (SHLIB_MAPFILES): Don't append, adapt pathname.
2704 (SHLIB_VERPFX): Set.
2705 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2706 to mkmap-symver.awk.
2707 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2708 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2709 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2710 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2712 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2713 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2714 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2715 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2716 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2717 * config/i386/libgcc-darwin.10.4.ver,
2718 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2720 * config/i386/t-darwin: Remove.
2721 * config/i386/t-darwin64: Likewise.
2722 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2723 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2724 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2725 * config/i386/t-linux: New file.
2726 * config/i386/t-mingw32: New file.
2727 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2728 * config/ia64/t-glibc: Rename to ...
2729 * config/ia64/t-linux: ... this.
2730 (SHLIB_MAPFILES): Set.
2731 * config/ia64/t-glibc-libunwind: Rename to ...
2732 * config/ia64/t-linux-libunwind: ... this.
2733 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2734 * config/ia64/t-slibgcc-hpux: New file.
2735 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2736 * config/m68k/t-slibgcc-elf-ver: New file.
2737 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2738 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2740 * config/pa/t-slibgcc-hpux: New file.
2741 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2743 * config/rs6000/libgcc-darwin.10.4.ver,
2744 config/rs6000/libgcc-darwin.10.5.ver: New files.
2745 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2746 config/rs6000/libgcc-glibc.ver.
2747 * config/rs6000/libgcc-ppc64.ver: Rename to
2748 config/rs6000/libgcc-ibm-ldouble.ver.
2749 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2750 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2751 * config/rs6000/t-ldbl128: Rename to ...
2752 * config/rs6000/t-linux: ... this.
2753 (SHLIB_MAPFILES): Adapt filename.
2754 * config/rs6000/t-slibgcc-aix: New file.
2755 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2756 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2757 libgcc-excl.ver, libgcc-glibc.ver.
2758 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2759 * config/sparc/libgcc-glibc.ver: New file.
2760 * config/sparc/t-linux: New file.
2761 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2762 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2763 t-slibgcc-elf-ver to tmake_file.
2764 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2766 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2767 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2768 t-slibgcc-elf-ver, t-linux to tmake_file.
2769 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2771 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2772 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2773 (alpha*-dec-*vms*): Likewise.
2774 (arm*-*-freebsd*): Append to tmake_file.
2775 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2776 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2778 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2779 tmake_file for arm*-*-symbianelf*.
2780 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2781 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2783 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2784 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2785 pa/t-slibgcc-dwarf-ver to tmake_file.
2786 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2787 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2788 (hppa*64*-*-hpux11*): Likewise.
2789 (hppa[12]*-*-hpux11*): Likewise.
2790 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2791 i386/t-crtpc, i386/t-crtfm.
2792 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2793 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2795 Add i386/t-cygwin to tmake_file.
2796 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2797 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2798 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2800 Add i386/t-mingw32 to tmake_file.
2801 (x86_64-*-mingw*): Likewise.
2802 (ia64*-*-freebsd*): Append to tmake_file.
2803 (ia64*-*-linux*): Append to tmake_file.
2804 Replace ia64/t-glibc by ia64/t-linux.
2805 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2807 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2808 t-slibgcc-hpux to tmake_file.
2809 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2810 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2811 (m32rle-*-linux*): Likewise.
2812 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2814 (microblaze*-linux*): New case.
2815 Append to tmake_file, add t-slibgcc-nolc-override.
2816 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2817 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2818 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2819 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2820 rs6000/t-slibgcc-aix to tmake_file.
2821 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2822 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2823 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2824 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2825 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2826 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2828 (sparc-*-linux*): Append to tmake_file for *-leon*.
2829 Add sparc/t-linux to tmake_file for non-Leon targets.
2830 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2831 (tic6x-*-uclinux): New case.
2832 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2833 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2834 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2835 (am33_2.0-*-linux*): Append to tmake_file.
2836 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2837 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2838 x86_64-*-kfreebsd*-gnu.
2839 Add i386/t-linux to tmake_file.
2841 2011-10-28 Ian Lance Taylor <iant@google.com>
2843 * config/i386/morestack.S: Correct CFI information to do proper
2844 returns throughout function. In 32-bit mode, save %ebx so that it
2845 is restored on unwind.
2847 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
2849 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2850 case where B3 isn't the return register.
2852 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2853 logic for doubleword pops.
2855 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
2857 * config/rs6000/t-freebsd: Add wildcard.
2859 2011-10-21 Paul Brook <paul@codesourcery.com>
2861 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2863 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
2864 Eric Botcazou <ebotcazou@adacore.com>
2867 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2868 fs->signal_frame to 1.
2870 2011-10-07 Ian Lance Taylor <iant@google.com>
2872 * generic-morestack-thread.c: #include <errno.h>.
2874 2011-10-07 Ian Lance Taylor <iant@google.com>
2877 * generic-morestack.c (__generic_morestack): Make sure the segment
2878 is large enough for both the stack frame and the copied
2881 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2884 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2887 2011-09-28 Nick Clifton <nickc@redhat.com>
2889 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2890 64-bit doubles are not enabled.
2891 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2892 and floatunsisf functions.
2894 2011-09-13 Paul Brook <paul@codesourcery.com>
2896 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2897 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2898 * unwind-arm-common.inc: New file.
2899 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2900 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2901 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2902 * config/c6x/libunwind.S: New file.
2903 * config/c6x/pr-support.c: New file.
2904 * config/c6x/unwind-c6x.c: New file.
2905 * config/c6x/unwind-c6x.h: New file.
2906 * config/c6x/t-c6x-elf: New file.
2908 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
2910 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2911 (ASM_DIVZERO): Ditto.
2912 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2914 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2916 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2918 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2921 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2922 instead of an assembly one.
2924 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
2927 * Makefile.in (install-unwind_h): Create
2928 $(gcc_objdir)/include/unwind.h atomically.
2930 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2932 * Makefile.in (install-unwind_h): Remove destination file first.
2934 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2937 * config/mips/t-mips16: New file.
2938 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2939 (mips*-*-linux*): Likewise.
2940 (mips*-sde-elf*): Likewise.
2941 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2942 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2943 Add mips/t-mips16 to tmake_file.
2944 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2945 (mips-*-elf*): Likewise.
2946 (mips64-*-elf*): Likewise.
2947 (mips64orion-*-elf*): Likewise.
2948 (mips*-*-rtems*): Likewise.
2949 (mipstx39-*-elf*): Likewise.
2950 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2951 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2953 Use $(srcdir) to refer to sync.c.
2955 ($(libgcc-sync-funcs-o)): Likewise.
2956 ($(libgcc-sync-size-funcs-s-o)): Likewise.
2957 ($(libgcc-sync-funcs-s-o)): Likewise.
2959 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2961 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2964 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
2967 * config/i386/value-unwind.h: New.
2969 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
2971 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2972 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2973 Add to tmake_file rather than overriding it.
2975 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2977 * config/t-softfp: Remove.
2978 * soft-fp: Moved from ../gcc/config.
2979 * soft-fp/README: Remove t-softfp reference.
2980 * soft-fp/t-softfp: Move to config/t-softfp.
2981 (softfp_machine_header): Remove.
2982 (softfp_file_list): Remove config subdir.
2983 (soft-fp-objects): New variable.
2984 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2985 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2986 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2987 * config/t-softfp-excl: New file.
2988 * config/t-softfp-sfdf: New file.
2989 * config/t-softfp-tf: New file.
2990 * config/no-sfp-machine.h: New file.
2991 * config/arm/sfp-machine.h: New file.
2992 * config/arm/t-softfp: New file.
2993 * config/c6x/sfp-machine.h: New file.
2994 * config/i386/32/t-fprules-softfp: Rename to ...
2995 * config/i386/32/t-softfp: ... this.
2996 (tifunctions, LIB2ADD): Remove.
2997 (softfp_int_modes): Override.
2998 * config/i386/64/t-softfp-compat (tf-functions): Remove config
3000 * config/i386/64/eqtf2.c: Likewise.
3001 * config/i386/64/getf2.c: Likewise.
3002 * config/i386/64/letf2.c: Likewise.
3003 * config/ia64/sft-machine.h: New file.
3004 * config/ia64/t-fprules-softfp: Rename to ...
3005 * config/ia64/t-softfp: ... this.
3006 * config/lm32/sfp-machine.h: New file.
3007 * config/moxie/t-moxie-softfp: Remove.
3008 * config/rs6000/ibm-ldouble-format: New file.
3009 * config/rs6000/ibm-ldouble.c: New file.
3010 * config/rs6000/libgcc-ppc-glibc.ver: New file
3011 * config/rs6000/libgcc-ppc64.ver: New file
3012 * config/rs6000/sfp-machine.h: New file.
3013 * config/rs6000/t-freebsd: New file.
3014 * config/rs6000/t-ibm-ldouble: New file.
3015 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3016 libgcc-ppc-glibc.ver.
3017 * config/rs6000/t-linux64: New file.
3018 * config/rs6000/t-ppccomm (LIB2ADD): Add
3019 $(srcdir)/config/rs6000/ibm-ldouble.c.
3020 * config/rs6000/t-ppccomm-ldbl: New file.
3021 * config/score/sfp-machine.h: New file.
3022 * config.host (sfp_machine_header): Explain.
3023 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3024 t-softfp to tmake_file.
3025 (arm*-*-uclinux*): Likewise.
3026 (arm*-*-ecos-elf): Likewise.
3027 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3028 (arm*-*-rtems*): Likewise.
3029 (arm*-*-elf): Likewise.
3030 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3032 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3033 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3034 (lm32-*-uclinux*): Likewise.
3035 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3036 t-softfp-excl, t-softfp.
3037 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3038 (powerpc64-*-darwin*): Likewise.
3039 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3041 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3043 (powerpc-*-eabisim*): Likewise.
3044 (powerpc-*-elf*): Likewise.
3045 (powerpc-*-eabialtivec*): Likewise.
3046 (powerpc-xilinx-eabi*): Likewise.
3047 (powerpc-*-rtems*): Likewise.
3048 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3049 t-softfp-excl, t-softfp to tmake_file.
3050 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3051 rs6000/t-ppccomm-ldbl to tmake_file.
3052 (powerpcle-*-elf*): Likewise.
3053 (powerpcle-*-eabisim*): Likewise.
3054 (powerpcle-*-eabi*): Likewise.
3055 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3056 rs6000/t-ibm-ldouble to tmake_file.
3057 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3058 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3059 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3060 (tic6x-*-*): Likewise.
3061 (i[34567]86-*-darwin*, x86_64-*-darwin*,
3062 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3063 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3064 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3065 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3066 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3067 t-softfp to tmake_file.
3068 * configure.ac (sfp_machine_header): Provide default if unset.
3070 Link sfp-machine.h to config/$sfp_machine_header.
3071 * configure: Regenerate.
3073 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3075 * Makefile.in (double_type_size, long_double_type_size): Set.
3076 Remove $(fpbit-in-libgcc) support.
3077 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3078 (fpbit-src): New variable.
3079 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3080 Compile with -DFLOAT $(FPBIT_CFLAGS).
3082 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3083 Compile with $(FPBIT_CFLAGS).
3085 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3086 Compile with -DFLOAT $(TPBIT_CFLAGS).
3088 * configure.ac (double_type_size, long_double_type_size):
3089 Determine and substitute.
3090 * configure: Regenerate.
3091 * fp-bit.c, fp-bit.h: New files.
3092 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3093 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3094 * config/mips/t-mips: New file.
3095 * config/mips/t-sdemtk: New file.
3096 * config/rs6000/ppc64-fp.c: New file.
3097 * config/rs6000/t-darwin (LIB2ADD): Add
3098 $(srcdir)/config/rs6000/ppc64-fp.c.
3099 * config/rs6000/t-ppc64-fp: New file.
3100 * config/rx/rx-lib.h: New file.
3101 * config/rx/t-rx (FPBIT): Set to true.
3102 ($(gcc_objdir)/fp-bit.c): Remove.
3103 (DPBIT): Set to true only with -m64bit-doubles.
3104 ($(gcc_objdir)/dp-bit.c): Remove.
3105 * config/sparc/t-softfp: Remove.
3106 * config/spu/t-elf: New file.
3107 * config/t-fdpbit, config/t-fpbit: New files.
3108 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3109 (mips*-*-*): Likewise.
3110 (arm-wrs-vxworks): Likewise.
3111 (arm*-*-freebsd*): Likewise.
3112 (avr-*-rtems*): Add t-fpbit to tmake_file.
3113 (avr-*-*): Likewise.
3114 (bfin*-elf*): Add t-fdpbit to tmake_file.
3115 (bfin*-uclinux*): Likewise.
3116 (bfin*-linux-uclibc*): Likewise.
3117 (bfin*-rtems*): New case.
3118 Add t-fdpbit to tmake_file.
3119 (bfin*-*): Add t-fdpbit to tmake_file.
3120 (crisv32-*-elf): Likewise.
3121 (cris-*-linux*): Likewise.
3122 (fr30-*-elf): Likewise.
3123 (frv-*-elf, frv-*-*linux*): Likewise.
3124 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3125 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3126 (m32r-*-elf*): Likewise.
3127 (m32rle-*-elf*): Likewise.
3128 (m32r-*-linux*): Likewise.
3129 (m32rle-*-linux*): Likewise.
3130 (mcore-*-elf): Add t-fdpbit to tmake_file.
3131 (microblaze*-*-*): Likewise.
3132 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3133 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3134 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3136 Add mips/t-tpbit to tmake-file.
3137 (mips*-*-linux*): Fix typo.
3138 (mips*-sde-elf*): New case
3139 Add mips/t-sdemtk unless using newlib.
3140 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3141 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3142 (mn10300-*-*): Likewise.
3143 (pdp11-*-*): Likewise.
3144 (picochip-*-*): Add t-fpbit to tmake_file.
3145 (powerpc-*-eabisimaltivec*): Likewise.
3146 (powerpc-*-eabisim*): Likewise.
3147 (powerpc-*-elf*): Likewise.
3148 (powerpc-*-eabialtivec*): Likewise.
3149 (powerpc-xilinx-eabi*): New case.
3150 Add t-fdpbit to tmake_file.
3151 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
3152 (powerpc-*-rtems*): Likewise.
3153 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3155 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3157 (powerpc-*-lynxos*): Likewise.
3158 (powerpcle-*-elf*): Likewise.
3159 (powerpcle-*-eabisim*): Likewise.
3160 (powerpcle-*-eabi*): Likewise.
3161 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3162 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3163 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3164 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3165 (rx-*-elf): Add t-fdpbit to tmake_file.
3166 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3167 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3168 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3169 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3171 (sh-*-rtems*): Add t-fdpbit to tmake_file.
3172 (sh-wrs-vxworks): Likewise.
3173 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3174 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3175 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3176 (sparc64-*-rtems*): ... new case.
3177 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3178 (spu-*-elf*): Likewise.
3179 Add spu/t-elf to tmake_file.
3180 (v850*-*-*): Add t-fdpbit to tmake_file.
3181 (xstormy16-*-elf): Likewise.
3182 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3183 (mep*-*-*): Likewise.
3185 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3187 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3189 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3190 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3191 (install-unwind_h): New target.
3192 (all): Depend on it.
3193 * config.host (unwind_header): New variable.
3194 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3195 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3196 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3197 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3198 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3200 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3202 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3204 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3206 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3207 (ia64*-*-freebsd*): Likewise.
3208 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3210 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3211 $with_system_libunwind.
3212 (ia64*-*-hpux*): Set tmake_file.
3213 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3214 (picochip-*-*): Set tmake_file.
3215 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3217 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3218 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3219 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3220 (xtensa*-*-elf*): Set tmake_file.
3221 (xtensa*-*-linux*): Likewise.
3222 * configure.ac: Include ../config/unwind_ipinfo.m4.
3223 Call GCC_CHECK_UNWIND_GETIPINFO.
3224 Link unwind.h to $unwind_header.
3225 * configure: Regenerate.
3226 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3227 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3228 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3229 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3230 * config/unwind-dw2-fde-darwin.c: New file.
3231 * config/arm/libunwind.S, config/arm/pr-support.c,
3232 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3233 config/arm/unwind-arm.h,: New files.
3234 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3235 config/ia64/t-eh-ia64, config/ia64/t-glibc,
3236 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3237 config/ia64/t-vms, config/ia64/unwind-ia64.c,
3238 config/ia64/unwind-ia64.h: New files.
3239 * config/picochip/t-picochip: New file.
3240 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3242 * config/rs6000/t-darwin (LIB2ADDEH): Set.
3243 * config/s390/t-tpf (LIB2ADDEH): Remove.
3244 * config/t-darwin (LIB2ADDEH): Set.
3245 * config/t-eh-dw2-dip: New file.
3246 * config/t-libunwind, config/t-libunwind-elf: New files.
3247 * config/t-sol2 (LIB2ADDEH): Remove.
3248 * config/xtensa/t-xtensa: New file.
3250 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
3252 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3253 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3254 long long to check rt_sigreturn syscall.
3256 2011-08-02 Alan Modra <amodra@gmail.com>
3258 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3259 Restore for indirect call bcrtl from correct stack slot, and only
3260 if cfa+40 isn't valid.
3262 2011-08-01 Julian Brown <julian@codesourcery.com>
3264 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3265 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3266 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3268 2011-08-01 Julian Brown <julian@codesourcery.com>
3270 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3271 (libgcc-std.ver.in): Use above.
3272 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3273 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
3275 * config/t-fixedpoint-gnu-prefix: New file.
3276 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3277 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3280 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
3282 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3283 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3284 for x86-64. Properly check __x86_64__ and __LP64__.
3286 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
3288 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3290 (_FP_WS_TYPE): Likewise.
3291 (_FP_I_TYPE): Likewise.
3293 2011-07-28 Alan Modra <amodra@gmail.com>
3295 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3296 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3297 in a plt call stub. Do restore r2 if stopped on bctrl.
3299 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3301 * config.host (i[3456x]86-*-netware*): Remove.
3302 * config/i386/netware-crt0.c, config/i386/t-nwld,
3303 config/i386/t-slibgcc-nwld: Remove.
3305 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
3307 * config.host: Handle tic6x-*-*.
3308 * config/c6x/c6x-abi.h: New file.
3310 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3312 * config/i386/crtprec.c: New file.
3313 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3314 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3315 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3316 (x86_64-*-darwin*): Likewise.
3317 (i[34567]86-*-solaris2*: Likewise.
3319 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3321 * config/alpha/crtfastmath.c: New file.
3322 * config/i386/crtfastmath.c: New file.
3323 * config/ia64/crtfastmath.c: New file.
3324 * config/mips/crtfastmath.c: New file.
3325 * config/sparc/crtfastmath.c: New file.
3327 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3329 Add -frandom-seed=gcc-crtfastmath.
3330 * config/alpha/t-crtfm: Remove.
3331 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3332 * config/ia64/t-ia64 (crtfastmath.o): Remove.
3334 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3335 (alpha*-dec-osf5.1*): Likewise.
3336 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3337 Add crtfastmath.o to extra_parts.
3338 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3339 Add crtfastmath.o to extra_parts.
3340 (x86_64-*-darwin*): Likewise.
3341 (x86_64-*-mingw*): Likewise.
3342 (ia64*-*-elf*): Add t-crtfm to tmake_file.
3343 (ia64*-*-freebsd*): Likewise.
3344 (ia64*-*-linux*): Likewise.
3345 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3346 Add crtfastmath.o to extra_parts.
3348 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3350 * config/darwin-crt3.o: New file.
3351 * config/rs6000/darwin-crt2.c: New file.
3352 * config/t-darwin: New file.
3353 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3355 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3356 (powerpc-*-darwin*): Add crt2.o to extra_parts.
3357 (powerpc64-*-darwin*): Likewise.
3359 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3361 * config/i386/netware-crt0.c: New file.
3362 * config/i386/t-nwld: Rename to ...
3363 * config/i386/t-slibgcc-nwld: ... this.
3364 * config/i386/t-nwld: New file.
3365 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3367 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3370 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3372 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3374 * configure: Regenerate.
3376 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3378 * dfp-bit.c, dfp-bit.h: New files.
3379 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3381 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3382 ($(d64pbit-o)): Likewise.
3383 ($(d128pbit-o)): Likewise.
3384 * config/t-dfprules: New file.
3385 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3386 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3387 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3388 (x86_64-*-linux*): Likewise.
3389 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3390 (i[34567]86-*-cygwin*): Likewise.
3391 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
3392 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3394 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3396 * Makfile.in (LIBGCOV): New variable.
3397 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3398 * libgcov.c: New file.
3400 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3402 * fixed-bit.c, fixed-bit.h: New files.
3403 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3404 refer to fixed-bit.c.
3406 2011-07-07 Joseph Myers <joseph@codesourcery.com>
3408 * config.host (*local*): Remove.
3410 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3413 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3414 like i?86-*-solaris2.1[0-9]*.
3415 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3416 * configure.ac (i?86-*-solaris2*): Likewise.
3417 * configure: Regenerate.
3419 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
3421 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3422 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3423 md_unwind_header by splitting out of...
3424 (i[34567]86-*-linux*): ... this.
3425 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3426 Remove md_unwind_header by splitting out of...
3427 (x86_64-*-linux*): ... this.
3429 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
3431 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3433 2011-06-28 Nick Clifton <nickc@redhat.com>
3435 * config.host: Recognize all V850 variants.
3437 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
3439 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3441 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3443 * shared-object.mk (c_flags-$o): Save c_flags.
3444 ($(base)$(objext)): Use it.
3445 ($(base)_s$(objext)): Likewise.
3447 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
3449 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3450 * libgcc-std.ver.in (GCC_4.7.0): New section.
3452 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
3456 * config/avr/t-avr: Fix line endings.
3457 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
3460 2011-06-14 Olivier Hainque <hainque@adacore.com>
3461 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3463 * config/mips/irix6-unwind.h: New file.
3464 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3466 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
3468 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3469 (sparc64_fallback_frame_state): Use it.
3470 (sparc64_frob_update_context): Further adjust context.
3471 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3472 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3473 * config/sparc/sol2-cn.S: Likewise.
3475 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3477 * enable-execute-stack-empty.c: New file.
3478 * enable-execute-stack-mprotect.c: New file.
3479 * config/i386/enable-execute-stack-mingw32.c: New file.
3480 * config.host (enable_execute_stack): New variable.
3481 Select appropriate variants.
3482 * configure.ac: Link enable-execute-stack.c to
3483 $enable_execute_stack.
3484 * configure: Regenerate.
3485 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3486 (lib2funcs): Remove _enable_execute_stack.
3488 2011-06-09 David S. Miller <davem@davemloft.net>
3489 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3491 * config.host (sparc-*-linux*): Correct md_unwind_header
3493 (s390x-ibm-tpf*): Fix typo.
3495 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3497 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3498 Add crtfastmath.o to extra_parts.
3499 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3501 * config/mips/t-crtfm: Remove.
3503 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3505 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3507 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
3509 * config.host (sh*-*-linux*): Fix typo.
3511 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3513 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3514 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3515 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3516 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3517 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3518 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3519 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3520 Wrap in !__MINGW64__.
3521 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3522 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3523 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3524 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3525 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3526 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3527 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3529 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3530 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3531 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3532 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3533 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3534 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3535 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3536 * config/no-unwind.h: New file.
3537 * config.host (md_unwind_header): Document.
3539 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3540 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3541 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3542 hppa[12]*-*-hpux11*): Set md_unwind_header.
3543 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3544 Set md_unwind_header.
3545 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3546 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3547 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3548 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3549 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3550 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3551 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3553 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3554 * configure: Regenerate.
3556 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3558 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3559 Set tmake_file, extra_parts.
3560 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3562 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3564 * config/mips/t-irix6: New file.
3565 * config/mips/t-slibgcc-irix: New file.
3567 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3569 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3570 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3572 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3574 * configure.ac (target_thread_file): Determine thread model.
3575 * configure: Regenerate.
3576 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3577 * config/alpha/t-alpha: New file.
3578 * config/alpha/t-crtfm: Use $<.
3579 * config/alpha/t-ieee: New file.
3580 * config/alpha/t-osf-pthread: New file.
3581 * config/alpha/t-slibgcc-osf: New file.
3582 * config/alpha/libgcc-osf5.ver: New file.
3584 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3586 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3588 Add crtfastmath.o to extra_parts.
3590 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3592 * config/gmon-sol2.c: Reindent.
3594 Remove, correct casts.
3595 Use STDERR_FILENO, NULL.
3596 (BASEADDRESS): Remove.
3598 (errno, sbrk): Remove declarations.
3599 (monstartup) [hp300]: Remove.
3602 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3604 * Makefile.in (cpu_type): Define.
3605 * config.host (i[34567]86-*-rtems*): Handle it.
3606 (i[34567]86-*-solaris2*): Move body ...
3607 (*-*-solaris2*): ... here.
3608 New case, generalize.
3609 (sparc-*-elf*): Handle it.
3610 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3611 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3612 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3614 (sparc*-*-solaris2*): ... this.
3616 (sparc64-*-elf*): Handle it.
3617 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3618 Merge ../gcc/config/i386/gmon-sol2.c.
3619 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3621 Merge ../gcc/config/i386/sol2-gc1.asm.
3622 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3624 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3626 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3627 * config/i386/t-crtstuff: New file.
3628 * config/i386/t-softfp: New file.
3629 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3630 $(T)crti.o, $(T)crtn.o): Remove.
3631 (gcrt1.o): New rule.
3632 (TARGET_LIBGCC2_CFLAGS): Remove.
3633 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3634 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3635 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3636 * config/sparc/t-sol2: New file.
3637 * config/sparc/t-crtfm: Move to ...
3638 * config/t-crtfm: ... this.
3639 Use $(cpu_type), $<.
3640 * config/t-crtin: New file.
3641 * config/sparc/t-softfp: New file.
3642 * config/sparc/t-softmul: New file.
3643 * config/t-rtems: New file.
3644 * config/t-slibgcc: New file.
3645 * config/t-slibgcc-elf-ver: New file.
3646 * config/t-slibgcc-gld: New file.
3647 * config/t-slibgcc-sld: New file.
3648 * config/t-sol2: New file.
3649 * configure.ac: Include ../config/lib-ld.m4.
3650 Call AC_LIB_PROG_LD_GNU.
3651 Substitute cpu_type.
3652 * configure: Regenerate.
3654 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
3657 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3658 libgcc-std.ver in the build directory.
3659 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3660 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3662 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
3664 * libgcc-std.ver.in: New file.
3665 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3667 (libgcc-std.ver): New rule.
3668 * config/t-gnu-prefix: New file.
3670 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3672 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3674 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3676 * config/i386/darwin-lib.h: New file.
3678 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3680 * config/arm/symbian-lib.h: New.
3682 2011-05-04 Chris Demetriou <cgd@google.com>
3684 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3685 (__x86.get_pc_thunk.bx): ...this.
3686 (__morestack): Adjust for rename, remove undef of __i686.
3688 2011-05-03 Chris Demetriou <cgd@google.com>
3690 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3692 2011-03-22 Joseph Myers <joseph@codesourcery.com>
3694 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3695 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3696 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3697 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3698 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3701 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
3703 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3704 Adjust copyright year.
3706 2011-03-07 Ian Lance Taylor <iant@google.com>
3708 * generic-morestack.c (__splitstack_find): Adjust returned stack
3709 pointer to include all registers pushed by __morestack.
3711 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
3714 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3715 (toolexecdir): Calculate and AC_SUBST.
3716 (toolexeclibdir): Likewise.
3717 * Makefile.in (target_noncanonical): Import.
3718 (toolexecdir): Likewise.
3719 (toolexeclibdir): Likewise.
3720 * configure: Regenerate.
3722 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
3725 * config/arm/bpabi.h: Rename to...
3726 * config/arm/bpabi-lib.h: ...this.
3728 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3730 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3732 * configure: Regenerate.
3734 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3736 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3737 __FLOAT_WORD_ORDER__.
3738 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3741 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3744 * Makefile.in (install-strip): New phony target.
3746 2010-11-07 Ian Lance Taylor <iant@google.com>
3749 * config/i386/morestack.S (__morestack_large_model): New
3752 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
3754 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3756 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3758 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
3760 * config/arm/bpabi.h: New file.
3761 * config/frv/frv-abi.h: New file.
3763 2010-10-01 Ian Lance Taylor <iant@google.com>
3765 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3766 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3768 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3771 * config.host: Add the missing `$'.
3773 2010-09-30 Michael Eager <eager@eagercon.com>
3775 * config.host: Add microblaze*-*-*.
3776 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3777 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3778 udivsi3.asm,umodsi3.asm}: New.
3780 2010-09-28 Ian Lance Taylor <iant@google.com>
3782 * configure.ac: Adjust CFI test to test assembler directly rather
3783 than checking gcc preprocessor macro.
3784 * configure: Rebuild.
3786 2010-09-27 Ian Lance Taylor <iant@google.com>
3788 * configure.ac: Test whether assembler supports CFI directives.
3789 * config.host: Only add t-stack and i386/t-stack-i386 to
3790 tmake_file if libgcc_cv_cfi is "yes".
3791 * configure: Rebuild.
3793 2010-09-27 Ian Lance Taylor <iant@google.com>
3795 * generic-morestack.h: New file.
3796 * generic-morestack.c: New file.
3797 * generic-morestack-thread.c: New file.
3798 * config/i386/morestack.S: New file.
3799 * config/t-stack: New file.
3800 * config/i386/t-stack-i386: New file.
3801 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3802 i386/t-stack-i386 to tmake_file.
3804 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
3806 * Makefile.in (libgcc-extra-parts): Check for static archives and
3807 invoke ranlib after installing them.
3808 (gcc-extra-parts): Likewise.
3809 (install-leaf): Likewise.
3811 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
3813 * configure: Regenerated.
3815 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
3817 * configure: Regenerated.
3819 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
3820 Andrew Pinski <pinskia@gmail.com>
3823 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3825 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
3828 * configure: Regenerated.
3830 2010-09-06 Andreas Schwab <schwab@redhat.com>
3832 * configure: Regenerate.
3834 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3836 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3838 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3841 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3842 Iain Sandoe <iains@gcc.gnu.org>
3845 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3846 LIB2FUNCS_EXCLUDE functions.
3848 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3850 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3852 * configure: Regenerate.
3854 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
3856 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3857 i386/t-freebsd to tmake_file.
3858 * config/i386/t-freebsd: New file.
3859 * config/i386/libgcc-bsd.ver: New file.
3861 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3863 * config.host (powerpc*-eabispe*): Set tmake_file.
3864 (powerpc*-eabi*): Likewise.
3865 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3866 crtbeginS, crtendS, crtbeginT.
3868 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
3870 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3871 to tmake_file. Add crtfastmath.o to extra_parts.
3872 * config/mips/t-crtfm: New.
3874 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3876 * config.host (sparc64-*-rtems*): New target.
3878 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3880 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3883 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3885 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3887 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3889 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3890 alpha-dec-osf5.0* support.
3892 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
3894 * config.host: Add lm32-*-rtems*.
3896 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3897 Uros Bizjak <ubizjak@gmail.com>
3900 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3901 like other remaining 32-bit x86 OSes.
3902 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3904 * config/i386/libgcc-sol2.ver: New file.
3905 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3907 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3910 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3911 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3912 is used and substitute set_use_emutls.
3913 * configure: Regenerated.
3915 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3917 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3919 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3922 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3924 ($(T)gcrt1.o): Likewise.
3925 ($(T)crt1.o): Likewise.
3926 ($(T)crti.o): Likewise.
3927 ($(T)crtn.o): Likewise.
3929 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3932 * Makefile.in (install): Use $(MAKE) string in rule, for
3935 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
3937 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3938 * config/mmix/t-mmix: New file.
3939 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3941 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
3944 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3947 2010-01-04 Anthony Green <green@moxielogic.com>
3949 * config/moxie/crti.asm, config/moxie/crtn.asm,
3950 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3951 config/moxie/t-moxie: New files.
3952 * config.host: Add t-moxie-softfp reference.
3954 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3957 * config/t-slibgcc-darwin: Fix embedded rpaths for
3958 --enable-version-specific-runtime-libs, build extension stub
3959 libs exposing features available from current libgcc_s.
3961 2009-11-11 Jon Beniston <jon@beniston.com>
3963 * config.host: Add lm32 targets.
3964 * config/lm32: New directory.
3965 * config/lm32/libgcc_lm32.h: New file.
3966 * config/lm32/_mulsi3.c: New file.
3967 * config/lm32/_udivmodsi4.c: New file.
3968 * config/lm32/_divsi3.c: New file.
3969 * config/lm32/_modsi3.c: New file.
3970 * config/lm32/_udivsi3.c: New file.
3971 * config/lm32/_umodsi3.c: New file.
3972 * config/lm32/_lshrsi3.S: New file.
3973 * config/lm32/_ashrsi3.S: New file.
3974 * config/lm32/_ashlsi3.S: New file.
3975 * config/lm32/crti.S: New file.
3976 * config/lm32/crtn.S: New file.
3977 * config/lm32/t-lm32: New file.
3978 * config/lm32/t-elf: New file.
3979 * config/lm32/t-uclinux: New file.
3981 2009-10-26 Nick Clifton <nickc@redhat.com>
3983 * config.host: Add support for RX target.
3984 * config/rx: New directory.
3985 * config/rx/rx-abi-functions.c: New file. Supplementary
3986 functions for libgcc to support the RX ABI.
3987 * config/rx/rx-abi.h: New file. Supplementary header file for
3988 libgcc RX ABI functions.
3989 * config/rx/t-rx: New file: Makefile fragment for building
3992 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
3994 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3995 constraint of y0 to "g".
3997 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3999 * config.host: Include the s390 makefile fragments.
4000 * config/s390/32/_fixdfdi.c: New file.
4001 * config/s390/32/_fixsfdi.c: New file.
4002 * config/s390/32/_fixtfdi.c: New file.
4003 * config/s390/32/_fixunsdfdi.c: New file.
4004 * config/s390/32/_fixunssfdi.c: New file.
4005 * config/s390/32/_fixunstfdi.c: New file.
4006 * config/s390/32/t-floattodi: New file.
4007 * config/s390/libgcc-glibc.ver: New file.
4008 * config/s390/t-crtstuff: New file.
4009 * config/s390/t-linux: New file.
4010 * config/s390/t-tpf: New file.
4012 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4014 * configure.ac (AC_PREREQ): Bump to 2.64.
4016 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
4018 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4020 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4022 * configure: Regenerate.
4024 2009-08-09 Douglas B Rupp <rupp@gnat.com>
4026 * config.host (ia64-hp-*vms*): New target.
4027 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4030 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4032 * configure.ac: Add snippet for maintainer-mode.
4033 * configure: Regenerate.
4034 * Makefile.in (AUTOCONF, configure_deps): New variables.
4035 ($(srcdir)/configure)): New rule, active only with maintainer
4038 2009-06-23 DJ Delorie <dj@redhat.com>
4041 * config.host: Add mep support.
4043 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
4045 * config.host: Add i386/${host_address}/t-fprules-softfp and
4046 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
4048 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4050 * config/i386/64/_multc3.c: Likewise.
4051 * config/i386/64/_powitf2.c: Likewise.
4052 * config/i386/64/eqtf2.c: Likewise.
4053 * config/i386/64/getf2.c: Likewise.
4054 * config/i386/64/letf2.c: Likewise.
4055 * config/i386/64/letf2.c: Likewise.
4056 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4057 unsigned long long for x64 mingw targets.
4058 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4059 (_FP_I_TYPE): Define as long long for x64 mingw target.
4061 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
4063 * config.host (vax-*-linux*): New.
4065 2009-05-31 Anthony Green <green@moxielogic.com>
4067 * config.host: Add moxie support.
4068 * config/moxie/t-moxie: New file.
4070 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
4072 * config.host: Add i386/${host_address}/t-fprules-softfp and
4073 t-softfp to tmake_file for i[34567]86-*-cygwin*.
4075 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
4077 * config.host: Add i386/${host_address}/t-fprules-softfp to
4078 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4080 2009-04-09 Nick Clifton <nickc@redhat.com>
4082 * config/ia64/tf-signs.c: Change copyright header to refer to
4083 version 3 of the GNU General Public License with version 3.1
4084 of the GCC Runtime Library Exception and to point readers at
4085 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4087 * config/i386/32/tf-signs.c: Likewise.
4088 * config/libbid/_addsub_dd.c: Likewise.
4089 * config/libbid/_addsub_sd.c: Likewise.
4090 * config/libbid/_addsub_td.c: Likewise.
4091 * config/libbid/_dd_to_df.c: Likewise.
4092 * config/libbid/_dd_to_di.c: Likewise.
4093 * config/libbid/_dd_to_sd.c: Likewise.
4094 * config/libbid/_dd_to_sf.c: Likewise.
4095 * config/libbid/_dd_to_si.c: Likewise.
4096 * config/libbid/_dd_to_td.c: Likewise.
4097 * config/libbid/_dd_to_tf.c: Likewise.
4098 * config/libbid/_dd_to_udi.c: Likewise.
4099 * config/libbid/_dd_to_usi.c: Likewise.
4100 * config/libbid/_dd_to_xf.c: Likewise.
4101 * config/libbid/_df_to_dd.c: Likewise.
4102 * config/libbid/_df_to_sd.c: Likewise.
4103 * config/libbid/_df_to_td.c: Likewise.
4104 * config/libbid/_di_to_dd.c: Likewise.
4105 * config/libbid/_di_to_sd.c: Likewise.
4106 * config/libbid/_di_to_td.c: Likewise.
4107 * config/libbid/_div_dd.c: Likewise.
4108 * config/libbid/_div_sd.c: Likewise.
4109 * config/libbid/_div_td.c: Likewise.
4110 * config/libbid/_eq_dd.c: Likewise.
4111 * config/libbid/_eq_sd.c: Likewise.
4112 * config/libbid/_eq_td.c: Likewise.
4113 * config/libbid/_ge_dd.c: Likewise.
4114 * config/libbid/_ge_sd.c: Likewise.
4115 * config/libbid/_ge_td.c: Likewise.
4116 * config/libbid/_gt_dd.c: Likewise.
4117 * config/libbid/_gt_sd.c: Likewise.
4118 * config/libbid/_gt_td.c: Likewise.
4119 * config/libbid/_isinfd128.c: Likewise.
4120 * config/libbid/_isinfd32.c: Likewise.
4121 * config/libbid/_isinfd64.c: Likewise.
4122 * config/libbid/_le_dd.c: Likewise.
4123 * config/libbid/_le_sd.c: Likewise.
4124 * config/libbid/_le_td.c: Likewise.
4125 * config/libbid/_lt_dd.c: Likewise.
4126 * config/libbid/_lt_sd.c: Likewise.
4127 * config/libbid/_lt_td.c: Likewise.
4128 * config/libbid/_mul_dd.c: Likewise.
4129 * config/libbid/_mul_sd.c: Likewise.
4130 * config/libbid/_mul_td.c: Likewise.
4131 * config/libbid/_ne_dd.c: Likewise.
4132 * config/libbid/_ne_sd.c: Likewise.
4133 * config/libbid/_ne_td.c: Likewise.
4134 * config/libbid/_sd_to_dd.c: Likewise.
4135 * config/libbid/_sd_to_df.c: Likewise.
4136 * config/libbid/_sd_to_di.c: Likewise.
4137 * config/libbid/_sd_to_sf.c: Likewise.
4138 * config/libbid/_sd_to_si.c: Likewise.
4139 * config/libbid/_sd_to_td.c: Likewise.
4140 * config/libbid/_sd_to_tf.c: Likewise.
4141 * config/libbid/_sd_to_udi.c: Likewise.
4142 * config/libbid/_sd_to_usi.c: Likewise.
4143 * config/libbid/_sd_to_xf.c: Likewise.
4144 * config/libbid/_sf_to_dd.c: Likewise.
4145 * config/libbid/_sf_to_sd.c: Likewise.
4146 * config/libbid/_sf_to_td.c: Likewise.
4147 * config/libbid/_si_to_dd.c: Likewise.
4148 * config/libbid/_si_to_sd.c: Likewise.
4149 * config/libbid/_si_to_td.c: Likewise.
4150 * config/libbid/_td_to_dd.c: Likewise.
4151 * config/libbid/_td_to_df.c: Likewise.
4152 * config/libbid/_td_to_di.c: Likewise.
4153 * config/libbid/_td_to_sd.c: Likewise.
4154 * config/libbid/_td_to_sf.c: Likewise.
4155 * config/libbid/_td_to_si.c: Likewise.
4156 * config/libbid/_td_to_tf.c: Likewise.
4157 * config/libbid/_td_to_udi.c: Likewise.
4158 * config/libbid/_td_to_usi.c: Likewise.
4159 * config/libbid/_td_to_xf.c: Likewise.
4160 * config/libbid/_tf_to_dd.c: Likewise.
4161 * config/libbid/_tf_to_sd.c: Likewise.
4162 * config/libbid/_tf_to_td.c: Likewise.
4163 * config/libbid/_udi_to_dd.c: Likewise.
4164 * config/libbid/_udi_to_sd.c: Likewise.
4165 * config/libbid/_udi_to_td.c: Likewise.
4166 * config/libbid/_unord_dd.c: Likewise.
4167 * config/libbid/_unord_sd.c: Likewise.
4168 * config/libbid/_unord_td.c: Likewise.
4169 * config/libbid/_usi_to_dd.c: Likewise.
4170 * config/libbid/_usi_to_sd.c: Likewise.
4171 * config/libbid/_usi_to_td.c: Likewise.
4172 * config/libbid/_xf_to_dd.c: Likewise.
4173 * config/libbid/_xf_to_sd.c: Likewise.
4174 * config/libbid/_xf_to_td.c: Likewise.
4175 * config/libbid/bid128.c: Likewise.
4176 * config/libbid/bid128_2_str.h: Likewise.
4177 * config/libbid/bid128_2_str_macros.h: Likewise.
4178 * config/libbid/bid128_2_str_tables.c: Likewise.
4179 * config/libbid/bid128_add.c: Likewise.
4180 * config/libbid/bid128_compare.c: Likewise.
4181 * config/libbid/bid128_div.c: Likewise.
4182 * config/libbid/bid128_fma.c: Likewise.
4183 * config/libbid/bid128_logb.c: Likewise.
4184 * config/libbid/bid128_minmax.c: Likewise.
4185 * config/libbid/bid128_mul.c: Likewise.
4186 * config/libbid/bid128_next.c: Likewise.
4187 * config/libbid/bid128_noncomp.c: Likewise.
4188 * config/libbid/bid128_quantize.c: Likewise.
4189 * config/libbid/bid128_rem.c: Likewise.
4190 * config/libbid/bid128_round_integral.c: Likewise.
4191 * config/libbid/bid128_scalb.c: Likewise.
4192 * config/libbid/bid128_sqrt.c: Likewise.
4193 * config/libbid/bid128_string.c: Likewise.
4194 * config/libbid/bid128_to_int16.c: Likewise.
4195 * config/libbid/bid128_to_int32.c: Likewise.
4196 * config/libbid/bid128_to_int64.c: Likewise.
4197 * config/libbid/bid128_to_int8.c: Likewise.
4198 * config/libbid/bid128_to_uint16.c: Likewise.
4199 * config/libbid/bid128_to_uint32.c: Likewise.
4200 * config/libbid/bid128_to_uint64.c: Likewise.
4201 * config/libbid/bid128_to_uint8.c: Likewise.
4202 * config/libbid/bid32_to_bid128.c: Likewise.
4203 * config/libbid/bid32_to_bid64.c: Likewise.
4204 * config/libbid/bid64_add.c: Likewise.
4205 * config/libbid/bid64_compare.c: Likewise.
4206 * config/libbid/bid64_div.c: Likewise.
4207 * config/libbid/bid64_fma.c: Likewise.
4208 * config/libbid/bid64_logb.c: Likewise.
4209 * config/libbid/bid64_minmax.c: Likewise.
4210 * config/libbid/bid64_mul.c: Likewise.
4211 * config/libbid/bid64_next.c: Likewise.
4212 * config/libbid/bid64_noncomp.c: Likewise.
4213 * config/libbid/bid64_quantize.c: Likewise.
4214 * config/libbid/bid64_rem.c: Likewise.
4215 * config/libbid/bid64_round_integral.c: Likewise.
4216 * config/libbid/bid64_scalb.c: Likewise.
4217 * config/libbid/bid64_sqrt.c: Likewise.
4218 * config/libbid/bid64_string.c: Likewise.
4219 * config/libbid/bid64_to_bid128.c: Likewise.
4220 * config/libbid/bid64_to_int16.c: Likewise.
4221 * config/libbid/bid64_to_int32.c: Likewise.
4222 * config/libbid/bid64_to_int64.c: Likewise.
4223 * config/libbid/bid64_to_int8.c: Likewise.
4224 * config/libbid/bid64_to_uint16.c: Likewise.
4225 * config/libbid/bid64_to_uint32.c: Likewise.
4226 * config/libbid/bid64_to_uint64.c: Likewise.
4227 * config/libbid/bid64_to_uint8.c: Likewise.
4228 * config/libbid/bid_b2d.h: Likewise.
4229 * config/libbid/bid_binarydecimal.c: Likewise.
4230 * config/libbid/bid_conf.h: Likewise.
4231 * config/libbid/bid_convert_data.c: Likewise.
4232 * config/libbid/bid_decimal_data.c: Likewise.
4233 * config/libbid/bid_decimal_globals.c: Likewise.
4234 * config/libbid/bid_div_macros.h: Likewise.
4235 * config/libbid/bid_dpd.c: Likewise.
4236 * config/libbid/bid_flag_operations.c: Likewise.
4237 * config/libbid/bid_from_int.c: Likewise.
4238 * config/libbid/bid_functions.h: Likewise.
4239 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4240 * config/libbid/bid_inline_add.h: Likewise.
4241 * config/libbid/bid_internal.h: Likewise.
4242 * config/libbid/bid_round.c: Likewise.
4243 * config/libbid/bid_sqrt_macros.h: Likewise.
4245 2009-04-09 Jakub Jelinek <jakub@redhat.com>
4247 * Makefile.in: Change copyright header to refer to version
4248 3 of the GNU General Public License and to point readers at the
4249 COPYING3 file and the FSF's license web page.
4250 * config.host: Likewise.
4252 2009-04-07 Alan Modra <amodra@bigpond.net.au>
4254 * config.host: Reorder and merge to match config.gcc change.
4256 2009-04-03 Alan Modra <amodra@bigpond.net.au>
4258 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4260 2009-03-28 Joseph Myers <joseph@codesourcery.com>
4262 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4263 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4264 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4265 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4267 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
4269 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4270 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4272 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
4274 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4275 ia64/t-softfp-compat to tmake_file.
4277 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4279 * config/ia64/__divxf3.asm: New.
4280 * config/ia64/_fixtfdi.asm: Likewise.
4281 * config/ia64/_fixunstfdi.asm: Likewise.
4282 * config/ia64/_floatditf.asm: Likewise.
4283 * config/ia64/t-fprules-softfp: Likewise.
4284 * config/ia64/t-softfp-compat: Likewise.
4285 * config/ia64/tf-signs.c: Likewise.
4287 2009-01-18 Ben Elliston <bje@au.ibm.com>
4289 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4291 2009-01-16 Ben Elliston <bje@au.ibm.com>
4293 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4296 2009-01-13 Ben Elliston <bje@au.ibm.com>
4298 * config/t-softfp: New file.
4299 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4300 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4302 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
4304 * config.host: Add m32r*-*-rtems*.
4306 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
4308 * config.host: Add m32c*-*-rtems*.
4310 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4313 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4314 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4315 * configure: Regenerate.
4316 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4317 tmake_file here from gcc/config.gcc.
4318 Move extra_parts here from gcc/config.gcc.
4319 * config/i386/t-sol2: Move here from gcc/config/i386.
4320 Use gcc_srcdir instead of srcdir.
4322 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
4324 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4327 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
4329 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4331 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
4333 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4335 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
4338 * config.host: Add picochip-*-*.
4340 2008-08-06 Bob Wilson <bob.wilson@acm.org>
4342 * config.host: Match more processor names for Xtensa.
4344 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
4346 * config/i386/64/t-softfp-compat: Update comments.
4348 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
4350 * config/i386/64/_divtc3-compat.c: Moved to ...
4351 * config/i386/64/_divtc3.c: Here.
4353 * config/i386/64/_multc3-compat.c: Moved to ...
4354 * config/i386/64/_multc3.c: Here.
4356 * config/i386/64/_powitf2-compat.c: Moved to ...
4357 * config/i386/64/_powitf2.c: Here.
4359 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4360 .c suffix instead of -compat.c.
4362 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
4364 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4365 (_FP_MUL_MEAT_D): Ditto.
4366 (_FP_DIV_MEAT_S): Ditto.
4367 (_FP_DIV_MEAT_D): Ditto.
4369 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
4371 * Makefile.in: Add support for __sync_* libgcc functions.
4373 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
4375 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4377 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4380 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4381 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
4383 * config/i386/64/t-fprules-softfp: Moved to ...
4384 * config/i386/64/t-softfp-compat: This. New.
4386 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
4388 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4389 Initialize f with 0.0.
4391 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4394 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4396 * config/i386/64/_divtc3-compat.c: New.
4397 * config/i386/64/_multc3-compat.c: Likewise.
4398 * config/i386/64/_powitf2-compat.c: Likewise.
4399 * config/i386/64/eqtf2.c: Likewise.
4400 * config/i386/64/getf2.c: Likewise.
4401 * config/i386/64/letf2.c: Likewise.
4402 * config/i386/64/t-fprules-softfp: Likewise.
4404 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4406 * config.host: Add i386/${host_address}/t-fprules-softfp to
4407 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4408 i[34567]86-*-linux*, x86_64-*-linux*.
4410 * configure.ac: Set host_address to 64 or 32 for x86.
4411 * configure: Regenerated.
4413 * Makefile.in (config.status): Also depend on
4414 $(srcdir)/config.host.
4416 * config/i386/32/t-fprules-softfp: New.
4417 * config/i386/32/tf-signs.c: Likewise.
4419 * config/i386/64/sfp-machine.h: New. Moved from gcc.
4421 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4422 Uros Bizjak <ubizjak@gmail.com>
4424 * config/i386/32/sfp-machine.h: New.
4426 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
4428 * config/rs6000/t-ppccomm: Remove rules that conflict with
4429 auto-generated rules.
4431 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4433 * configure.ac: sinclude override.m4.
4434 * configure: Regenerate.
4436 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
4438 * configure: Regenerate.
4440 2008-06-10 Joseph Myers <joseph@codesourcery.com>
4442 * Makefile.in (DECNUMINC): Remove
4443 -I$(MULTIBUILDTOP)../../libdecnumber.
4446 2008-06-07 Joseph Myers <joseph@codesourcery.com>
4448 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4449 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4450 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4451 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4452 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4453 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4454 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4455 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4456 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4457 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4458 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4459 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4460 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4461 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4463 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
4465 * config.host (sh2[lbe]*-*-linux*): Allow target.
4467 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
4469 * config/rs6000/t-ppccomm: Add build rules for new files.
4470 (LIB2ADD_ST): New variable.
4472 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
4476 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4477 * config/t-avr: New file. Build 16bit libgcc functions.
4479 2008-03-02 Jakub Jelinek <jakub@redhat.com>
4482 * config/t-slibgcc-darwin: Make install-leaf dependent on
4483 install-darwin-libgcc-stubs instead of install.
4485 2008-01-25 Joseph Myers <joseph@codesourcery.com>
4487 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4488 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4489 sh-*-rtemscoff*): Remove cases.
4491 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
4493 * Makefile.in (all): Use install-leaf rather than install.
4494 (install): Split most of the rule into...
4495 (install-leaf): ...this new one.
4497 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
4498 Paolo Bonzini <bonzini@gnu.org>
4501 * Makefile.in: Use @shlib_slibdir@ substitution to get
4502 correct install name on darwin.
4503 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4505 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
4507 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4508 cris-*-elf and cris-*-none.
4509 (crisv32-*-linux*): Similar, as cris-*-linux*.
4511 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
4513 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4515 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
4518 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4519 * configure: Regenerated.
4521 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
4523 * Makefile.in (dfp-filenames): Replace decimal_globals,
4524 decimal_data, binarydecimal and convert_data with
4525 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4526 and bid_convert_data, respectively.
4528 2007-09-17 Chao-ying Fu <fu@mips.com>
4529 Nigel Stephens <nigel@mips.com>
4531 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4532 * Makefile.in (fixed_point): Define.
4533 Check if fixed_point is yes to build support functions.
4534 * configure.ac: Check for fixed_point support.
4535 * configure: Regenerated.
4536 * gen-fixed.sh: New file to generate lists of fixed-point labels,
4537 funcs, modes, from, to.
4539 2007-09-11 Janis Johnson <janis187@us.ibm.com
4541 * Makefile.in (dfp-filenames): Add bid128_noncomp.
4543 2007-09-10 Janis Johnson <janis187@us.ibm.com>
4545 * Makefile.in (dfp-filenames): Remove decUtility, add
4546 decDouble, decPacked, decQuad, decSingle.
4548 2007-08-27 Hans Kester <hans.kester@ellips.nl>
4550 * config.host : Add x86_64-elf target.
4552 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4554 * configure.ac (set_have_cc_tls): Add a missing =.
4555 * configure: Regenerated.
4557 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4559 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4560 and x86_64-*-linux*.
4562 * config/t-tls: New file.
4564 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4566 * configure.ac: Include ../config/enable.m4 and
4567 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4568 supports TLS and substitute set_have_cc_tls.
4569 * configure: Regenerated.
4571 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4573 * Makefile.in: Use libbid for DFP when BID is enabled.
4575 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4577 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4578 extra_parts. Add config/i386/t-cygming to tmake_file.
4579 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4581 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
4582 Danny Smith <dannysmith@users.sourceforge.net>
4585 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4586 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4587 * config/i386/t-crtfm: Compile crtfastmath.o with
4588 -minline-all-stringops.
4590 2007-05-10 Richard Sandiford <richard@codesourcery.com>
4592 * config.host (sparc-wrs-vxworks): New target.
4594 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
4596 * config.host: Recognize fido.
4598 2007-04-04 Janis Johnson <janis187@us.ibm.com>
4600 * configure: Check host, not target, for decimal float support.
4602 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
4604 * config/i386/t-crtpc: New file.
4605 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4606 (x86_64-*-linux*): Ditto.
4608 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
4610 * config.host (x86_64-*-mingw*): New target.
4612 2007-03-23 Michael Meissner <michael.meissner@amd.com>
4613 H.J. Lu <hongjiu.lu@intel.com>
4615 * Makefile.in (enable_decimal_float): New.
4617 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4618 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4619 (decbits-filenames): This.
4620 (decbits-objects): New.
4621 (libgcc-objects): Add $(decbits-objects).
4623 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4624 Substitute enable_decimal_float.
4625 * configure: Regenerated.
4627 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
4629 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4631 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4633 * Makefile.in (install-info): New dummy target.
4635 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4637 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4639 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4641 * Makefile.in: Add install-html and install-pdf dummy
4644 2007-02-05 Roger Sayle <roger@eyesopen.com>
4645 Daniel Jacobowitz <dan@codesourcery.com>
4647 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4648 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4649 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4651 2007-01-29 Janis Johnson <janis187@us.ibm.com>
4653 * Makefile.in (dec-filenames): Add decExcept.
4655 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4658 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4661 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
4663 * configure.ac: Add --enable-version-specific-runtime-libs.
4664 Correct $slibdir default.
4665 * configure: Regenerated.
4667 2007-01-23 Joseph Myers <joseph@codesourcery.com>
4669 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4671 2007-01-21 Andrew Pinski <pinskia@gmail.com>
4674 * config.host (alpha*-*-linux*): Set extra_parts.
4676 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
4678 * config/sh/t-linux: New.
4679 * config.host (sh*-*-linux*): Set tmake_file.
4681 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4683 * Makefile.in (install): Handle multilibs.
4685 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4687 * Makefile.in: Added .PHONY entry for documentation targets.
4689 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4691 * Makefile.in: Add empty info, html, dvi, pdf targets.
4693 2007-01-04 Mike Stump <mrs@apple.com>
4695 * Makefile.in (MAKEINFO): Remove.
4698 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
4700 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4701 * configure: Regenerate.
4702 * Makefile.in (host_subdir): Substitute it.
4703 (gcc_objdir): Use it.
4705 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4707 * config.host (ia64*-*-linux*): Set tmake_file.
4709 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4711 * Makefile.in (version): Define.
4713 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4714 Paolo Bonzini <bonzini@gnu.org>
4716 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4717 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4718 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4719 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4720 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4721 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4722 * configure: Generated.