1 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
3 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6 GPL-3.0-with-GCC-exception.
8 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
10 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
13 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
16 mapping for FPRs when creating the fallback framestate.
18 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
21 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
22 (__round_s2_const, __round_u2_const)
23 (__round_s4_const, __round_u4_const, __round_x8):
24 Saturate result if addition result cannot be represented.
26 2013-07-15 Matthias Klose <doko@ubuntu.com>
28 * libgcc2.c: Don't include <limits.h>.
30 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
32 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
34 2013-07-06 Jakub Jelinek <jakub@redhat.com>
37 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
39 2013-06-28 Jakub Jelinek <jakub@redhat.com>
42 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
44 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
45 instead of table lookups.
46 (__popcountDI2): Likewise.
48 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
50 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
53 2013-06-21 Joseph Myers <joseph@codesourcery.com>
56 * soft-fp/adddf3.c: Update from glibc.
57 * soft-fp/addsf3.c: Likewise.
58 * soft-fp/addtf3.c: Likewise.
59 * soft-fp/divdf3.c: Likewise.
60 * soft-fp/divsf3.c: Likewise.
61 * soft-fp/divtf3.c: Likewise.
62 * soft-fp/double.h: Likewise.
63 * soft-fp/eqdf2.c: Likewise.
64 * soft-fp/eqsf2.c: Likewise.
65 * soft-fp/eqtf2.c: Likewise.
66 * soft-fp/extenddftf2.c: Likewise.
67 * soft-fp/extended.h: Likewise.
68 * soft-fp/extendsfdf2.c: Likewise.
69 * soft-fp/extendsftf2.c: Likewise.
70 * soft-fp/fixdfdi.c: Likewise.
71 * soft-fp/fixdfsi.c: Likewise.
72 * soft-fp/fixsfdi.c: Likewise.
73 * soft-fp/fixsfsi.c: Likewise.
74 * soft-fp/fixtfdi.c: Likewise.
75 * soft-fp/fixtfsi.c: Likewise.
76 * soft-fp/fixunsdfdi.c: Likewise.
77 * soft-fp/fixunsdfsi.c: Likewise.
78 * soft-fp/fixunssfdi.c: Likewise.
79 * soft-fp/fixunssfsi.c: Likewise.
80 * soft-fp/fixunstfdi.c: Likewise.
81 * soft-fp/fixunstfsi.c: Likewise.
82 * soft-fp/floatdidf.c: Likewise.
83 * soft-fp/floatdisf.c: Likewise.
84 * soft-fp/floatditf.c: Likewise.
85 * soft-fp/floatsidf.c: Likewise.
86 * soft-fp/floatsisf.c: Likewise.
87 * soft-fp/floatsitf.c: Likewise.
88 * soft-fp/floatundidf.c: Likewise.
89 * soft-fp/floatundisf.c: Likewise.
90 * soft-fp/floatunditf.c: Likewise.
91 * soft-fp/floatunsidf.c: Likewise.
92 * soft-fp/floatunsisf.c: Likewise.
93 * soft-fp/floatunsitf.c: Likewise.
94 * soft-fp/gedf2.c: Likewise.
95 * soft-fp/gesf2.c: Likewise.
96 * soft-fp/getf2.c: Likewise.
97 * soft-fp/ledf2.c: Likewise.
98 * soft-fp/lesf2.c: Likewise.
99 * soft-fp/letf2.c: Likewise.
100 * soft-fp/muldf3.c: Likewise.
101 * soft-fp/mulsf3.c: Likewise.
102 * soft-fp/multf3.c: Likewise.
103 * soft-fp/negdf2.c: Likewise.
104 * soft-fp/negsf2.c: Likewise.
105 * soft-fp/negtf2.c: Likewise.
106 * soft-fp/op-1.h: Likewise.
107 * soft-fp/op-2.h: Likewise.
108 * soft-fp/op-4.h: Likewise.
109 * soft-fp/op-8.h: Likewise.
110 * soft-fp/op-common.h: Likewise.
111 * soft-fp/quad.h: Likewise.
112 * soft-fp/single.h: Likewise.
113 * soft-fp/soft-fp.h: Likewise.
114 * soft-fp/subdf3.c: Likewise.
115 * soft-fp/subsf3.c: Likewise.
116 * soft-fp/subtf3.c: Likewise.
117 * soft-fp/truncdfsf2.c: Likewise.
118 * soft-fp/trunctfdf2.c: Likewise.
119 * soft-fp/trunctfsf2.c: Likewise.
120 * soft-fp/unorddf2.c: Likewise.
121 * soft-fp/unordsf2.c: Likewise.
122 * soft-fp/unordtf2.c: Likewise.
123 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
124 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
125 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
126 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
127 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
128 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
129 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
130 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
131 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
132 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
133 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
134 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
136 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
138 * config/mips/lib2funcs.c: New file.
139 * config/mips/t-mips (LIB2ADD_ST): Add it.
141 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
144 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
145 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
147 2013-06-08 Walter Lee <walt@tilera.com>
149 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
150 Replace int64_t with long long. Add __extension__ where
152 * config/tilepro/atomic.c: Include config.h.
154 2013-06-06 Douglas B Rupp <rupp@adacore.com>
156 * config.host (arm-wrs-vxworks): Configure with other soft float.
158 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
160 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
161 (mips64r5900el-*-elf*): New configurations.
163 2013-06-04 Alan Modra <amodra@gmail.com>
165 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
167 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
169 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
171 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
173 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
174 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
175 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
177 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
179 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
180 (powerpc-wrs-vxworks): Likewise.
182 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
184 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
185 signal frames as well.
186 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
187 STACK_BIAS to the CFA offset.
189 2013-05-17 Richard Henderson <rth@redhat.com>
192 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
193 (execute_cfa_program): Use it when storing to fs->regs.
195 2013-05-08 Kai Tietz <ktietz@redhat.com>
197 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
198 (__deregister_frame_info): Likewise.
200 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
202 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
205 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
207 2013-04-25 Alan Modra <amodra@gmail.com>
209 * config.host: Match little-endian powerpc-linux.
211 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
213 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
214 as 'unsigned long long' instead of 'unsigned long'.
215 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
218 2013-04-10 Julian Brown <julian@codesourcery.com>
220 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
221 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
222 unsigned char/unsigned short.
223 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
225 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
228 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
230 2013-04-04 Meador Inge <meadori@codesourcery.com>
232 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
233 computing the location of the link register.
234 (aeabi_uldivmod): Ditto.
236 2013-03-27 Kai Tietz <ktietz@redhat.com>
238 * config.host: Add support for cygwin x64 target.
239 * configure: Regenerated.
241 2013-03-26 Walter Lee <walt@tilera.com>
243 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
244 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
246 2013-03-25 Kai Tietz <ktietz@redhat.com>
248 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
250 2013-03-20 Robert Mason <rbmj@verizon.net>
252 * config/vxlib-tls.c (__gthread_get_tsd_data,)
253 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
254 (__gthread_leave_tsd_dtor_context): Add prototypes.
255 (tls_delete_hook): Update.
257 2013-03-20 Catherine Moore <clm@codesourcery.com>
258 Joseph Myers <joseph@codesourcery.com>
259 Chao-ying Fu <fu@mips.com>
261 * config/mips/mips16.S: Don't build for microMIPS.
262 * config/mips/linux-unwind.h: Handle microMIPS frame.
263 * config/mips/crtn.S (fini, init): New labels.
265 2013-03-14 Jakub Jelinek <jakub@redhat.com>
267 PR tree-optimization/53265
268 * unwind-dw2.c (execute_cfa_program): Avoid
269 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
270 on targets with DWARF_FRAME_REGISTERS < 32.
272 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
275 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
276 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
278 2013-03-07 Sriraman Tallam <tmsriram@google.com>
280 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
281 sandybridge processors.
283 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
286 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
289 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
291 * config/microblaze/crti.S: Setup stack protection at entry
293 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
295 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
296 (__rotldi3): Shift bytewise if applicable.
298 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
300 * config/aarch64/sync-cache.c
301 (__aarch64_sync_cache_range): Silence warnings.
303 2013-02-25 Catherine Moore <clm@codesourcery.com>
306 2013-02-24 Catherine Moore <clm@codesourcery.com>
307 Joseph Myers <joseph@codesourcery.com>
308 Chao-ying Fu <fu@mips.com>
310 * config/mips/mips16.S: Don't build for microMIPS.
311 * config/mips/linux-unwind.h: Handle microMIPS frame.
312 * config/mips/crtn.S (fini, init): New labels.
314 2013-02-24 Catherine Moore <clm@codesourcery.com>
315 Joseph Myers <joseph@codesourcery.com>
316 Chao-ying Fu <fu@mips.com>
318 * config/mips/mips16.S: Don't build for microMIPS.
319 * config/mips/linux-unwind.h: Handle microMIPS frame.
320 * config/mips/crtn.S (fini, init): New labels.
322 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
323 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
326 2013-02-16 Alan Modra <amodra@gmail.com>
329 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
330 (ppc_fallback_frame_state): Always set up save locations for fp
331 and altivec. Don't bother with non-callee-saved regs, r0-r13
332 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
334 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
337 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
339 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
340 _ssmulha3, _usmulusa3, _ssmulsa3.
341 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
342 (__muldi3): XCALL __muldi3_6 instead of rcall.
343 (__umulsidi3, __mulsidi3): New functions.
344 (do_prologue_saves, do_epilogue_restores): New .macros.
345 (__divdi3_moddi3): Use them.
346 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
347 (__usmulusa3, __ssmulsa3): New functions.
349 2013-02-11 Iain Sandoe <iain@codesourcery.com>
350 Jack Howarth <howarth@bromo.med.uc.edu>
351 Patrick Marlier <patrick.marlier@gmail.com>
354 * config/darwin-crt-tm.c: Remove dummy functions hack.
356 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
359 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
360 * config/avr/lib2-object.mk: New iterator to build objects from it.
361 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
363 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
364 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
365 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
366 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
367 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
368 * config/avr/lib1funcs-fixed.S: Implement them.
370 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
372 Update copyright years.
374 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
377 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
378 Add crtcxa to extra_parts.
379 * config/rs6000/exit.h: New file.
380 * config/rs6000/cxa_atexit.c: New file.
381 * config/rs6000/cxa_finalize.c: New file.
382 * config/rs6000/crtcxa.c: New file.
383 * config/rs6000/t-aix-cxa: New file.
384 * config/rs6000/libgcc-aix-cxa.ver: New file.
386 2013-01-31 Nick Clifton <nickc@redhat.com>
388 * config/v850/lib1funcs.S: Add support for e3v5 architecture
391 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
394 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
395 _mulQQ, _mulHQ, _mulHA, _mulSA,
396 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
397 _divQQ, _divHQ, _divHA, _divSA,
398 _divUQQ, _divUHQ, _divUHA, _divUSA.
400 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
402 * config.host(microblaze*-linux*): tmake_file: Remove
403 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
404 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
405 to exclude functions from being built with libgcc.c and use
406 the microblaze assembly.
408 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
410 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
413 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
415 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
416 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
417 __UINTPTR_TYPE__; also cast 'base' to the same type before the
420 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
422 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
423 loop start address for cache clearing.
425 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
427 * config/avr/lib1funcs.S: Remove trailing blanks.
428 * config/avr/lib1funcs-fixed.S: Ditto.
430 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
432 * config/avr/avr-lib.h: Add GPL copyright notice.
434 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
436 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
437 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
438 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
439 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
441 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
443 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
444 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
446 2013-01-04 Nick Clifton <nickc@redhat.com>
448 * config/v850/lib1funcs.S: Only provide CALLT support functions if
449 the CALLT instruction is supported.
451 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
453 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
454 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
456 2012-12-13 John Tytgat <John@bass-software.com>
458 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
461 2012-12-12 Jakub Jelinek <jakub@redhat.com>
464 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
465 undefined signed overflows.
467 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
470 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
472 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
474 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
475 (FP_TRAPPING_EXCEPTIONS): Define.
476 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
477 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
479 2012-12-04 Richard Henderson <rth@redhat.com>
482 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
484 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
486 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
487 (FP_EX_SHIFT): Define.
488 (FP_TRAPPING_EXCEPTIONS): Define.
490 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
492 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
493 (FP_ROUNDMODE): Use FP_RND_MASK.
494 * config/aarch64/sfp-exceptions.c: New.
495 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
496 Use __sfp_handle_exceptions.
498 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
500 * config.host: (arm*-*-freebsd*): Remove.
501 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
502 (arm*-*-elf*): Remove.
503 (arm*-*-wince-pe*): Remove.
504 * arm/unwind-arm.c (struct fpa_reg): Delete.
505 (struct fpa_regs): Delete.
506 (phase1_vrs): Remove fpa element.
507 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
508 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
509 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
510 * ieee754-sf.S (floatundisf): Remove FPA support.
511 (floatdisf): Likewise.
512 * ieee75f-df.S (floatundidf): Likewise.
513 (floatdidf): Likewise.
515 2012-11-29 Kai Tietz <ktietz@redhat.com>
518 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
519 * unwind-generic.h: Likewise.
520 * unwind-seh.c: Likewise.
522 2012-11-28 Richard Henderson <rth@redhat.com>
525 * emutls.c (__emutls_get_address): Avoid race condition between
526 obj->loc.offset read and emutls_key initialization.
528 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
530 Adjust decimal point of signed accum mode to GCC default.
533 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
535 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
536 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
538 (__divqq3, __divha3, __divsa3): Adjust to new position of
539 decimal point of signed accum types.
541 (__mulusa3_round): New function.
543 (__divqq_helper): New function.
544 (__udivuqq3): Use it.
546 2012-11-20 Jakub Jelinek <jakub@redhat.com>
549 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
551 2012-11-18 Teresa Johnson <tejohnson@google.com>
554 * libgcov.c (gcov_exit): Remove merged program summary
555 comparison unless !GCOV_LOCKED.
557 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
559 * soft-fp: Updated from glibc upstream.
561 2012-11-06 Ian Lance Taylor <iant@google.com>
563 * generic-morestack.c (__generic_morestack): Align the returned
564 stack pointer to a 32 byte boundary.
565 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
566 increment the return address until we have decided that we don't
567 have a varargs function.
568 (__morestack) [32-bit]: Align stack correctly when calling C
570 (__morestack) [64-bit]: Likewise.
572 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
574 * configure: Regenerate.
576 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
579 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
580 * config/i386/sfp-machine.h: Guard exception handling
581 code with _SOFT_FLOAT.
582 * config/i386/32/sfp-machine.h: Guard rounding handling
583 code with _SOFT_FLOAT.
584 * config/i386/64/sfp-machine.h: Ditto.
586 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
588 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
591 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
593 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
594 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
595 when appropriate. Correct structure element types.
596 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
597 -minline-all-stringops from compile flags.
599 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
601 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
603 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
605 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
607 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
609 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
612 2012-10-23 Ian Bolton <ian.bolton@arm.com>
613 Jim MacArthur <jim.macarthur@arm.com>
614 Marcus Shawcroft <marcus.shawcroft@arm.com>
615 Nigel Stephens <nigel.stephens@arm.com>
616 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
617 Richard Earnshaw <rearnsha@arm.com>
618 Sofiane Naci <sofiane.naci@arm.com>
619 Stephen Thomas <stephen.thomas@arm.com>
620 Tejas Belagod <tejas.belagod@arm.com>
621 Yufeng Zhang <yufeng.zhang@arm.com>
623 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
624 * config/aarch64/crti.S: New file.
625 * config/aarch64/crtn.S: New file.
626 * config/aarch64/linux-unwind.h: New file.
627 * config/aarch64/sfp-machine.h: New file.
628 * config/aarch64/sync-cache.c: New file.
629 * config/aarch64/t-aarch64: New file.
630 * config/aarch64/t-softfp: New file.
632 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
634 * config/mmix/crti.S: Mark program and data addresses using PRELD.
635 Remove typo'd and unnecessary alignment-LOC for .data. Remove
636 no-longer-needed LDBU insns.
638 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
641 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
642 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
644 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
646 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
648 2012-10-15 Matthias Klose <doko@ubuntu.com>
650 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
652 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
654 * configure: Regenerate.
655 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
657 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
659 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
660 instructions for 64bit targets only.
662 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
664 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
665 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
666 * config/i386/32/sfp-machine.h: ... here.
667 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
668 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
671 2012-10-07 Matthias Klose <doko@ubuntu.com>
673 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
675 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
677 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
679 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
680 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
681 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
684 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
687 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
690 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
693 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
694 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
695 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
697 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
700 * config/sh/linux-atomic.S: Delete.
701 * config/sh/linux-atomic.c: New.
702 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
703 linux-atomic.c. Add cflags to disable warnings.
705 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
708 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
710 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
711 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
712 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
713 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
714 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
716 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
718 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
720 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
721 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
723 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
725 * config.host (hppa-*-openbsd*): New target.
726 * config/pa/t-openbsd: New file.
728 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
731 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
732 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
733 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
734 (__divsa3): Use __negsi2 to negate r_quoL.
735 * config/avr/lib1funcs.S (FALIAS): New macro.
736 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
737 (__negsi2): ...this new function.
738 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
739 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
740 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
741 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
742 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
743 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
745 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
748 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
749 (lshrsi3): Reimplement as lshrsi3_r0.
751 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
754 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
757 2012-09-07 Teresa Johnson <tejohnson@google.com>
759 PR gcov-profile/54487
760 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
763 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
766 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
767 not configured --with-avrlibc=no.
768 * config/avr/t-avrlibc: New file.
769 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
770 (DPBIT_FUNCS): Ditto.
771 (TPBIT_FUNCS): Ditto.
773 2012-09-04 Teresa Johnson <tejohnson@google.com>
775 * libgcov.c (struct gcov_summary_buffer): New structure.
776 (gcov_histogram_insert): New function.
777 (gcov_compute_histogram): Ditto.
778 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
779 histograms during summary merging.
781 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
783 * config.host (x86_64-*-openbsd*): New target.
785 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
787 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
790 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
793 * config/avr/t-avr (conv_X): Rename to func_X.
795 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
798 * config/avr/lib1funcs-fixed.S: New file.
799 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
801 (neg2, neg4): New macros.
802 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
803 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
804 (__umulhisi3): Speed up MUL variant if there is enough flash.
805 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
807 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
808 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
809 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
810 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
811 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
812 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
813 (LIB2FUNCS_EXCLUDE): Add supported functions.
815 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
817 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
818 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
820 * fixed-obj.mk: Only expand dependency if $o is not in
823 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
825 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
827 2012-08-22 Joseph Myers <joseph@codesourcery.com>
829 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
830 depend on --enable-shared.
831 ($(lib1asmfuncs-o)): Use %.vis files independent of
833 * static-object.mk ($(base)$(objext), $(base).vis)
834 ($(base)_s$(objext)): Use same rules for visibility handling as in
837 2012-08-21 Ian Lance Taylor <iant@google.com>
839 * config/i386/morestack.S (__morestack_non_split): Increase amount
840 of space allocated for non-split code stack.
842 2012-08-19 Joseph Myers <joseph@codesourcery.com>
844 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
845 even if inhibit_libc.
847 2012-08-17 Julian Brown <julian@codesourcery.com>
849 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
850 -fexceptions -fnon-call-exceptions if not defined.
851 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
852 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
854 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
856 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
859 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
861 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
862 rs6000/t-slibgcc-aix.
864 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
866 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
868 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
870 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
872 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
875 * Makefile.in (version): Replace top_srcdir with srcdir.
877 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
879 * Makefile.in (version): set to BASE-VER file from gcc directory.
881 2012-08-01 Nick Clifton <nickc@redhat.com>
883 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
884 Implements __clrsb for an HImode argument.
886 2012-07-31 Nick Clifton <nickc@redhat.com>
888 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
889 Implements __clrsb for an HImode argument.
890 * config/stormy16/clrsbhi2.c: New file:
891 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
893 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
895 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
897 2012-07-19 Tristan Gingold <gingold@adacore.com>
898 Richard Henderson <rth@redhat.com>
900 * unwind-seh.c: New file.
901 * unwind-generic.h: Include windows.h for SEH.
902 (_Unwind_Exception): Use 6 private fields for SEH.
903 (_GCC_specific_handler): Declare.
904 * unwind-c.c (__gcc_personality_seh0): New function.
906 * config/i386/libgcc-cygming.ver: New file.
907 * config/i386/t-seh-eh: New file.
908 * config.host (x86_64-*-mingw*): Default to seh.
910 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
912 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
914 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
916 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
917 __builtin_expect when checking for exceptions.
918 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
920 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
922 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
923 function declaration.
924 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
926 * config/ia64/sfp-exceptions.c: New.
927 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
929 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
931 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
932 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
933 * config/i386/64/sfp-machine: ... (delete here) ...
934 * config/i386/sfp-machine.h: ... to here.
935 (FP_EX_MASK): Remove.
937 (FP_INIT_ROUNDMODE): Declare asm as volatile.
939 2012-06-11 Sriraman Tallam <tmsriram@google.com>
941 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
942 * config/i386/libgcc-sol2.ver: Ditto.
943 * config/i386/libgcc-glibc.ver: Ditto.
945 2012-06-11 Roland McGrath <mcgrathr@google.com>
947 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
948 If __GLIBC__ is defined, refer to __pthread_key_create instead of
951 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
953 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
954 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
955 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
956 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
957 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
958 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
959 * config/i386/64/sfp-machine: ... (delete here) ...
960 * config/i386/sfp-machine.h: ... to here.
962 (__sfp_handle_exceptions): New function declaration.
963 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
964 * config/i386/sfp-exceptions.c: New.
965 * config/i386/t-softfp: New.
966 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
967 i386/t-softfp to tmake_file.
969 2012-06-03 David S. Miller <davem@davemloft.net>
971 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
974 2012-05-31 David S. Miller <davem@davemloft.net>
976 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
977 multiply and divide instructions on 32-bit when V9.
978 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
980 2012-05-29 Joseph Myers <joseph@codesourcery.com>
982 * config/arm/ieee754-df.S: Fix typos.
983 * config/arm/ieee754-sf.S: Fix typos.
984 * config/c6x/libunwind.S: Fix typos.
985 * config/epiphany/udivsi3-float.c: Fix typos.
986 * config/microblaze/muldi3_hard.S: Fix typos.
987 * config/picochip/adddi3.S: Fix typos.
988 * config/picochip/ashlsi3.S: Fix typos.
989 * config/picochip/ashrsi3.S: Fix typos.
990 * config/picochip/clzsi2.S: Fix typos.
991 * config/picochip/cmpsi2.S: Fix typos.
992 * config/picochip/divmod15.S: Fix typos.
993 * config/picochip/divmodhi4.S: Fix typos.
994 * config/picochip/divmodsi4.S: Fix typos.
995 * config/picochip/longjmp.S: Fix typos.
996 * config/picochip/lshrsi3.S: Fix typos.
997 * config/picochip/parityhi2.S: Fix typos.
998 * config/picochip/popcounthi2.S: Fix typos.
999 * config/picochip/setjmp.S: Fix typos.
1000 * config/picochip/subdi3.S: Fix typos.
1001 * config/picochip/ucmpsi2.S: Fix typos.
1002 * config/picochip/udivmodhi4.S: Fix typos.
1003 * config/picochip/udivmodsi4.S: Fix typos.
1004 * config/spu/divv2df3.c: Fix typos.
1005 * config/spu/mfc_multi_tag_release.c: Fix typos.
1006 * config/spu/mfc_tag_release.c: Fix typos.
1007 * configure.ac: Fix typos.
1008 * configure: Regenerate.
1010 2012-05-25 Ian Lance Taylor <iant@google.com>
1012 * config/i386/morestack.S (__morestack_non_split): Check whether
1013 caller is varargs and needs %bp to hold the stack frame on return.
1015 2012-05-25 Olivier Hainque <hainque@adacore.com>
1017 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1018 sequence in the non pic case on VxWorks.
1020 2012-05-24 Olivier Hainque <hainque@adacore.com>
1022 * Makefile.in: Move dependency on install-unwind_h from
1023 "install-leaf" to "install".
1025 2012-05-24 Olivier Hainque <hainque@adacore.com>
1027 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
1028 Use a separate command for stamp removals.
1030 2012-05-21 Andrew Pinski <apinski@cavium.com>
1033 * configure.ac: Define the default includes to being none.
1034 * configure: Regenerate.
1036 2012-05-16 Olivier Hainque <hainque@adacore.com>
1038 * Makefile.in (install-unwind_h): Rename into ...
1039 (install-unwind_h-forbuild): New target.
1040 (all): Use it instead of the former install-unwind_h.
1041 (install-unwind_h): Reinstate, copy to user install destination
1042 for include files, not to the internal gcc object directory one.
1043 (install-leaf): Depend on it.
1045 2012-05-15 Olivier Hainque <hainque@adacore.com>
1047 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1048 register numbers. LR_REGNO replaces R_LR.
1049 (ucontext_for): New, helper for ...
1050 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1052 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1054 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1056 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1057 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1058 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1060 (i[34567]86-*-*, x86_64-*-*): ... here.
1062 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1063 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1065 * config/i386/i386-cpuinfo.c: Rename to ...
1066 * config/i386/cpuinfo.c: ... this.
1067 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1069 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1070 (libgcc_cv_init_priority): New test.
1071 * configure: Regenerate.
1072 * config.in: New file.
1073 * Makefile.in (clean): Rename config.h to auto-target.h.
1074 (config.h): Likewise.
1075 (stamp-h): Likewise.
1077 * config/i386/cpuinfo.c (auto-target.h): Include.
1078 (CONSTRUCTOR_PRIORITY): Define.
1079 (__cpu_indicator_init): Use it.
1081 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1083 * longlong.h: Use a URL instead of an FSF postal address.
1084 Replace spaces with tab.
1086 2012-05-08 Teresa Johnson <tejohnson@google.com>
1088 * libgcov.c (gcov_clear, __gcov_reset): New functions.
1089 (__gcov_dump): Ditto.
1090 (gcov_dump_complete): New global variable.
1091 (gcov_exit): Export hidden to enable use in L_gcov_dump.
1092 (__gcov_flush): Outline functionality now in gcov_clear.
1093 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1095 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
1097 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1098 (mips*-*-linux*): Include mips/t-tpbit when long double is
1101 2012-04-25 Sriraman Tallam <tmsriram@google.com>
1103 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1104 (get_available_features): New argument. Check for AVX2.
1105 (__cpu_indicator_init): Modify call to get_available_features.
1107 2012-04-25 Alan Modra <amodra@gmail.com>
1109 * config/rs6000/crtsavevr.S: New file.
1110 * config/rs6000/crtrestvr.S: New file.
1111 * config/rs6000/t-savresfgpr: Build the above.
1112 * config/rs6000/t-netbsd: Likewise.
1114 2012-04-24 Sriraman Tallam <tmsriram@google.com>
1116 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1118 2012-04-24 Sriraman Tallam <tmsriram@google.com>
1120 * libgcc/config/i386/i386-cpuinfo.c: New file.
1121 * libgcc/config/i386/t-cpuinfo: New file.
1122 * libgcc/config.host: Include t-cpuinfo.
1123 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1125 2012-04-24 Chao-ying Fu <fu@mips.com>
1127 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1129 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
1131 struct siginfo vs. siginfo_t
1133 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1134 siginfo_t instead of struct siginfo.
1135 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1136 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1137 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1138 (ia64_handle_unwabi): Likewise.
1139 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1140 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1141 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1142 (sh_fallback_frame_state): Likewise.
1143 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1144 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1146 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
1148 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1151 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
1153 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1154 if it hasn't been previously saved.
1156 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
1158 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1161 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
1164 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1165 instead of __AVR_HAVE_8BIT_SP__.
1167 2012-03-26 Tristan Gingold <gingold@adacore.com>
1169 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1170 (unw_table_entry): Use unw_word instead of unsigned long.
1171 (_Unwind_FindTableEntry): Likewise.
1172 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1173 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1174 (_Unwind_FindTableEntry): Likewise.
1175 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1176 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1177 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1178 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1179 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1180 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1181 (uw_init_context_1, uw_install_context): Likewise.
1182 (unw_word): Move to unwind-ia64.h
1184 2012-03-26 Tristan Gingold <gingold@adacore.com>
1186 * config/vms/vms-ucrt0.c: Update copyright years.
1188 (___gcc_main_flags): Declare.
1189 (__main): Check flags to remap argv and exit code.
1190 * config.host (*-*-*vms*): Adjust extra_parts.
1191 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1194 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
1196 * arm/lib1funcs.asm (ctzsi2): New function.
1197 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1198 * arm/t-linux (LIB1ASMFUNCS): Likewise.
1199 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1200 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1201 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1202 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1204 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
1206 * config.host: Add bits to support powerpc64-*-freebsd*.
1207 * config/rs6000/freebsd-unwind.h: New file.
1208 * config/rs6000/t-freebsd64: New file.
1210 2012-03-20 Richard Guenther <rguenther@suse.de>
1212 PR gcov-profile/52627
1213 * libgcov.c (init_mx): Fix mutex name.
1215 2012-03-16 Tristan Gingold <gingold@adacore.com>
1217 * config/ia64/vms-unwind.h: Remove ulong (and replace
1218 it by unw_reg where used). Define unw_reg with __int64.
1220 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1222 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1224 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1226 (sparc_is_sighandler): Likewise.
1228 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
1230 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1233 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1235 * config/arm/crtn.S: Fix typo.
1237 2012-03-13 Richard Guenther <rguenther@suse.de>
1239 * libgcov.c: Remove stdio.h include and NULL un-define.
1241 2012-03-13 Richard Guenther <rguenther@suse.de>
1244 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1246 2012-03-13 Richard Guenther <rguenther@suse.de>
1248 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1250 2012-03-13 Richard Guenther <rguenther@suse.de>
1252 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1253 and __gthread_mutex_init_function definitions.
1255 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1257 * config.host (mips*-*-openbsd*): Remove.
1259 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1261 * config.host: Remove alpha*-dec-osf5.1* handling.
1262 * config/alpha/gthr-posix.c: Remove.
1263 * config/alpha/libgcc-osf5.ver: Remove.
1264 * config/alpha/osf5-unwind.h: Remove.
1265 * config/alpha/t-osf-pthread: Remove.
1266 * config/alpha/t-slibgcc-osf: Remove.
1267 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1268 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1269 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1270 * mkmap-flat.awk: Remove osf_export handling.
1272 2012-03-12 Richard Guenther <rguenther@suse.de>
1274 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1275 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1276 (__gthread_mutex_init_function): New function.
1277 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1280 * libgcov.c: Include gthr.h.
1281 (__gcov_flush_mx): New global variable.
1282 (init_mx, init_mx_once): New functions.
1283 (__gcov_flush): Protect self with a mutex.
1284 (__gcov_fork): Re-initialize mutex after forking.
1285 * unwind-dw2-fde.c: Change condition under which to use
1286 __GTHREAD_MUTEX_INIT_FUNCTION.
1288 2012-03-12 Tristan Gingold <gingold@adacore.com>
1290 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1291 * config/ia64/t-vms: Likewise.
1293 2012-03-11 Michael Hope <michael.hope@linaro.org>
1295 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1298 2012-03-07 Walter Lee <walt@tilera.com>
1300 * config/tilepro/atomic.c: Rename "atomic_" prefix to
1302 (atomic_xor): Rename and move definition to
1303 config/tilepro/atomic.h.
1304 (atomic_nand): Ditto.
1305 * config/tilepro/atomic.h: Rename "atomic_" prefix to
1307 (arch_atomic_xor): Move from config/tilepro/atomic.c.
1308 (arch_atomic_nand): Ditto.
1310 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1313 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1315 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1318 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1321 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1325 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1326 if RAMPZ affects reading from RAM.
1327 (__tablejump_elpm__): Ditto.
1329 (__movmemx_hi): Ditto.
1330 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1331 (__do_global_dtors): Ditto.
1332 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1333 (__movmemx_hi): Ditto.
1335 2012-03-05 Richard Henderson <rth@redhat.com>
1337 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1338 [ARM] (count_trailing_zeros): Use the builtin.
1340 2012-03-01 Kai Tietz <ktietz@redhat.com>
1342 * soft-fp: Imported from glibc upstream.
1344 2012-02-28 Kai Tietz <ktietz@redhat.com>
1346 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1347 for mingw-targets as attribute gcc_struct.
1349 2012-02-28 Ian Lance Taylor <iant@google.com>
1351 * generic-morestack.c (__splitstack_releasecontext): Correct call
1352 to __morestack_release_segments.
1354 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1357 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1358 for __linux__ when removing signals from __morestack_fullmask.
1360 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
1363 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1365 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1367 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1368 instead of HAVE_INITFINI_ARRAY.
1369 * config/ia64/crtend.S: Likewise.
1371 2012-02-20 Kai Tietz <ktietz@redhat.com>
1374 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1376 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1377 to w32-unwind.h header.
1379 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1381 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1382 (mips*-*-linux*): Remove t-slibgcc-libgcc.
1383 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1384 * config/mips/mips16.S (__mips16_rdhwr): Delete.
1386 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1388 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1390 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1393 * config/darwin-crt-tm.c: Correct typo.
1395 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1396 Patrick Marlier <patrick.marlier@gmail.com>
1399 * config/darwin-crt-tm.c: Generate dummy functions.
1401 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1402 Patrick Marlier <patrick.marlier@gmail.com>
1405 * config/darwin-crt-tm.c (getTMCloneTable): New function.
1406 (__doTMRegistrations): Call it.
1407 (__doTMdeRegistrations): Likewise.
1409 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
1410 Anatoly Sokolov <aesok@post.ru>
1411 Eric Weddington <eric.weddington@atmel.com>
1414 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1415 (__epilogue_restores__): Ditto.
1417 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
1421 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1422 Solaris 11 and slightly reformat.
1423 (sparc_is_sighandler): Likewise.
1425 2012-02-14 Walter Lee <walt@tilera.com>
1427 * config.host: Handle tilegx and tilepro.
1428 * config/tilegx/sfp-machine.h: New file.
1429 * config/tilegx/sfp-machine32.h: New file.
1430 * config/tilegx/sfp-machine64.h: New file.
1431 * config/tilegx/t-crtstuff: New file.
1432 * config/tilegx/t-softfp: New file.
1433 * config/tilegx/t-tilegx: New file.
1434 * config/tilepro/atomic.c: New file.
1435 * config/tilepro/atomic.h: New file.
1436 * config/tilepro/linux-unwind.h: New file.
1437 * config/tilepro/sfp-machine.h: New file.
1438 * config/tilepro/softdivide.c: New file.
1439 * config/tilepro/softmpy.S: New file.
1440 * config/tilepro/t-crtstuff: New file.
1441 * config/tilepro/t-tilepro: New file.
1443 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1447 * gthr-posix.h: Allow static initializer macros to be disabled.
1448 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1450 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1452 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1453 Add t-slibgcc-libgcc to tmake_file.
1454 * config/mips/libgcc-mips16.ver: Revert previous patch.
1455 * config/mips/mips16.S (__mips16_rdhwr): Hide.
1457 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1458 Jayant R Sonar <jayant.sonar@kpitcummins.com>
1460 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1461 * config/cr16/crti.S: New file.
1462 * config/cr16/crtlibid.S: New file.
1463 * config/cr16/crtn.S: New file.
1464 * config/cr16/lib1funcs.S: New file.
1465 * config/cr16/t-cr16: New file.
1466 * config/cr16/t-crtlibid: New file.
1467 * config/cr16/unwind-dw2.h: New file.
1468 * config/cr16/unwind-cr16.c: New file.
1469 * config/cr16/divmodhi3.c: New file.
1471 2012-01-25 Alan Modra <amodra@gmail.com>
1473 * config/rs6000/t-linux64: Delete. Move..
1474 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1475 * config/rs6000/t-linux: ..and libgcc flags to here.
1477 2012-01-22 Douglas B Rupp <rupp@gnat.com>
1479 * config.host (i[34567]86-*-interix3*):
1480 Change triplet to i[34567]86-*-interix[3-9]*.
1481 * configure: Regenerate.
1483 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
1484 Richard Sandiford <rdsandiford@googlemail.com>
1486 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1487 * config/mips/mips16.S (__mips16_rdhwr): New function.
1488 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1490 2012-01-11 Nathan Sidwell <nathan@acm.org>
1492 * libgcov.c (__gcov_init): Ignore objects with no functions.
1494 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
1497 Extend __pgmx semantics to linearize memory.
1498 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1499 * config/avr/lib1funcs.S (__xload_1): New function.
1500 (__movmemx_qi, __movmemx_hi): New functions.
1501 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1504 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1506 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1507 purported sigacthandler address isn't null before dereferencing it.
1508 (sparc_is_sighandler): Likewise.
1510 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1513 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1514 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
1515 (sparc_is_sighandler): Likewise.
1516 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1518 2012-01-06 Tristan Gingold <gingold@adacore.com>
1520 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1521 compatibility thunks...
1522 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1523 (crtbeginS.o, crtendS.o): ... and these to ...
1524 * config/ia64/t-ia64-elf: ... this new file.
1525 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1526 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1528 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1530 * configure: Regenerate.
1531 * config/s390/t-crtstuff: Remove -fPIC.
1533 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1536 * enable-execute-stack-mprotect.c (getpagesize): Do not define
1539 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1542 * config/avr/lib1funcs.S: Remove FIXME comments.
1543 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1545 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1547 Implement light-weight DImode support.
1548 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1549 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1550 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1551 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1553 2011-12-30 Nathan Sidwell <nathan@acm.org>
1555 * libgcov.c (gcov_crc32): Remove global var.
1556 (free_fn_data): New function.
1557 (buffer_fn_data): Pass in filename, more robust error recovery.
1558 (crc32_unsigned): New function.
1559 (gcov_exit): More robust detection of new program. More robust
1561 (__gcov_init): Do not update program's crc here.
1563 2011-12-21 Tristan Gingold <gingold@adacore.com>
1565 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1567 2011-12-21 Ian Lance Taylor <iant@google.com>
1569 * config/i386/morestack.S: Simplify CFI opcodes throughout.
1571 2011-12-20 Ian Lance Taylor <iant@google.com>
1573 * config/i386/morestack.S (__morestack_non_split): If there is
1574 enough stack space already, don't split. Ask for more stack space
1577 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
1579 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1581 (_Unwind_DebugHook): New function.
1582 (uw_restore_core_regs): New define.
1583 (unwind_phase2): Use uw_restore_core_regs instead of
1585 (unwind_phase2_forced): Likewise.
1586 (__gnu_Unwind_Resume): Likewise.
1588 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
1590 * config/alpha/linux-unwind.h: Update copyright years.
1591 (MD_FROB_UPDATE_CONTEXT): New define.
1592 (alpha_frob_update_context): New function.
1594 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
1596 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1597 tmake_file rather replacing it.
1599 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
1601 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1602 function is not used for PPC64.
1603 (save_world): Amend comments. Update the VRsave mask to reflect the
1605 (rest_world): Update comments, do not clobber r10, do not use r8.
1606 (eh_rest_world_r10): Amend comments, do not use r8.
1607 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1608 no longer used, move restore of CR and target address to the end of
1611 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1613 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1614 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1616 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
1619 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1620 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1622 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1624 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1626 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
1629 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1630 * config/avr/lib1funcs.S (__muldi3): New function.
1632 2011-12-06 Andrew Pinski <apinski@cavium.com>
1634 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1636 (__frame_dummy_init_array_entry): Likewise.
1638 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
1640 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1644 * config/avr/lib1funcs.S (__prologue_saves__,
1645 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1646 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1648 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1650 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1652 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1655 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1656 (_ITM_deregisterTMCloneTable): Likewise.
1657 (__register_frame_info): Fix unused warning.
1658 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1659 pthread_default_stacksize_np): Likewise.
1660 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1662 2011-11-29 DJ Delorie <dj@redhat.com>
1664 * config.host (rl78-*-elf): New case.
1665 * config/rl78: New directory for the Renesas RL78.
1667 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1669 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1672 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1675 * config/rs6000/t-savresfgpr: New file.
1676 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1677 $(srcdir)/config/rs6000/eabi.S.
1678 * config/rs6000/t-ppccomm-ldbl: Remove.
1679 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1681 (powerpc-*-eabispe*): Likewise.
1682 (powerpc-*-eabi*): Likewise.
1683 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1684 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1685 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1686 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1688 (powerpc-*-eabisim*): Likewise.
1689 (powerpc-*-elf*): Likewise.
1690 (powerpc-*-eabialtivec*): Likewise.
1691 (powerpc-xilinx-eabi*): Likewise.
1692 (powerpc-*-rtems*): Likewise.
1693 (powerpcle-*-elf*): Likewise.
1694 (powerpcle-*-eabisim*): Likewise.
1695 (powerpcle-*-eabi*): Likewise.
1697 2011-11-27 Ian Lance Taylor <iant@google.com>
1699 * generic-morestack.c (__splitstack_find): Check for NULL old
1701 (__splitstack_resetcontext): New function.
1702 (__splitstack_releasecontext): New function.
1703 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1705 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1707 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1709 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1711 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1713 2011-11-26 Richard Henderson <rth@redhat.com>
1715 * config/m68k/linux-atomic.c: New file.
1716 * config/m68k/t-linux: New file.
1717 * config.host (m68k-uclinux, m68k-linux): Use it.
1719 2011-11-26 Richard Henderson <rth@redhat.com>
1721 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1722 (__TMC_END__): Only declare if hidden is available; in the definition,
1723 if hidden is unavailable add a null record.
1724 (deregister_tm_clones, register_tm_clones): New.
1725 (__do_global_dtors_aux, frame_dummy): Use them.
1726 (__do_global_dtors, __do_global_ctors_1): Likewise.
1728 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
1730 * config/darwin-crt-tm.c: New file.
1731 * config.host (darwin): Build crttms.o crttme.o to provide
1732 startup and shutdown for tm clones.
1733 * config/t-darwin (crttms.o): New build rule.
1734 (crttme.o): Likewise.
1736 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
1738 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1741 2011-11-21 Richard Henderson <rth@redhat.com>
1743 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1744 (__TMC_LIST__, __TMC_END__): New.
1745 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1746 (__do_global_dtors): Likewise.
1747 (frame_dummy): Call _ITM_registerTMCloneTable.
1748 (__do_global_ctors_1): Likewise.
1750 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1752 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1753 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1754 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1755 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1756 * config/i386/t-darwin64: Remove.
1757 * config/sh/t-netbsd (LIB2ADD): Remove.
1759 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
1762 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1763 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1764 * config/avr/lib1funcs.S (wmov): New assembler macro.
1765 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1766 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1767 (__udivmod64): New function.
1768 (__negdi2): New function.
1770 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
1772 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1773 *-*-freebsd*aout*): Remove.
1775 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
1777 * static-object.mk (c_flags-$o): Save c_flags.
1778 ($(base)$(objext)): Use it.
1780 2011-11-18 Steve Ellcey <sje@cup.hp.com>
1782 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1784 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
1787 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1788 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1791 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1793 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1795 (aeabi_uidivmod): Likewise.
1796 (umodsi3): Likewise.
1798 (aeabi_idivmod): Likewise.
1801 2011-11-16 Tristan Gingold <gingold@adacore.com>
1803 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1805 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
1808 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1809 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1811 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1813 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1815 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1816 * config/pa/t-stublib64: Delete.
1818 2011-11-12 Richard Henderson <rth@redhat.com>
1820 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1821 cast the pointer argument to _Unwind_SetGRPtr.
1823 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1825 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1827 2011-11-09 Ian Lance Taylor <iant@google.com>
1829 * generic-morestack.c: Include <string.h>.
1830 (uintptr_type): Define.
1831 (struct initial_sp): Add dont_block_signals field. Reduce size of
1833 (allocate_segment): Set prev field to NULL. Don't set
1834 __morestack_current_segment or __morestack_segments.
1835 (__generic_morestack): Update current->prev and *pp after calling
1837 (__morestack_block_signals): Don't do anything if
1838 dont_block_signals is set.
1839 (__morestack_unblock_signals): Likewise.
1840 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1842 (__splitstack_block_signals): New function.
1843 (enum __splitstack_content_offsets): Define.
1844 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1845 (__splitstack_makecontext): New function.
1846 (__splitstack_block_signals_context): New function.
1847 (__splitstack_find_context): New function.
1848 * config/i386/morestack.S (__morestack_get_guard): New function.
1849 (__morestack_set_guard, __morestack_make_guard): New functions.
1850 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1852 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1854 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1855 (i[34567]86-*-mingw*): ... here.
1856 (x86_64-*-mingw*): ... here.
1858 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1860 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1862 2011-11-07 Nathan Sidwell <nathan@acm.org>
1864 * libgcov.c (struct gcov_fn_buffer): New struct.
1865 (buffer_fn_data): New helper.
1866 (gcov_exit): Rework for new gcov data structures.
1868 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
1871 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1873 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1875 * config.host (tmake_file): Correct comment.
1876 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1878 (bfin*-uclinux*): Likewise.
1879 (bfin*-linux-uclibc*): Likewise.
1880 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1882 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1884 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1885 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1886 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1887 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1888 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1889 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1890 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1891 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1892 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1893 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1894 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1895 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1896 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1898 * config/bfin/t-elf: Remove.
1899 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1901 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1903 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1904 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1905 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1906 (lm32-*-elf*): ... this.
1907 (lm32-*-rtems*): ... and this.
1909 (m32r-*-rtems*): Add to tmake_file.
1910 (moxie-*-rtems*): Likewise.
1911 (sparc-*-rtems*): Likewise.
1912 Remove t-rtems from tmake_file.
1913 (sparc64-*-rtems*): Likewise.
1914 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1917 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1920 * config/gthr-posix.h: Move ...
1921 * gthr-posix.h: ... here.
1922 * config/gthr-lynx.h: Reflect this.
1923 * config/gthr-vxworks.h: Likewise.
1924 * config/rs6000/gthr-aix.h: Likewise.
1925 * configure.ac (target_thread_file): Likewise.
1926 * configure: Regenerate.
1928 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1930 * config.host (arm*-*-rtemseabi*): New target.
1932 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1935 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1938 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1940 * config.host (epiphany-*-elf*): New configuration.
1941 * config/epiphany: New Directory.
1943 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1945 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1946 * config/avr/t-rtems: New.
1947 Filter out _exit from LIB1ASMFUNCS.
1949 2011-11-04 David S. Miller <davem@davemloft.net>
1951 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1952 * configure: Rebuild.
1954 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1956 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1959 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
1962 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1963 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1965 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1968 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1970 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1972 * config/c6x/t-elf (LIB2ADDEH): Set.
1973 * config/c6x/t-c6x-elf: Remove.
1975 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1977 * config/i386/sol2-ci.S: Rename to ...
1978 * config/i386/crti.S: ... this.
1979 * config/i386/sol2-cn.S: Rename to ...
1980 * config/i386/crtn.S: ... this.
1981 * config/sparc/sol2-ci.S: Rename to ...
1982 * config/sparc/crti.S: ... this.
1983 * config/sparc/sol2-cn.S: Rename to ...
1984 * config/sparc/crtn.S: ... this.
1985 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1986 (crti.o, crtn.o): Remove.
1988 2011-11-04 Tristan Gingold <gingold@adacore.com>
1990 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1992 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
1994 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1996 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
1998 * config.host (crisv32-*-none, cris-*-none): Remove.
1999 (crisv32-*-elf): Append to tmake_file, don't just set it.
2000 (cris-*-elf): Add missing t-fdpbit to tmake_file.
2002 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2004 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
2005 (ecrtn$(objext)): Likewise.
2006 (ncrti$(objext)): Likewise.
2007 (ncrtn$(objext)): Likewise.
2009 2011-11-03 Andreas Schwab <schwab@redhat.com>
2011 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2013 2011-11-02 David S. Miller <davem@davemloft.net>
2015 * configure.ac: Set host_address on sparc too.
2016 * configure: Regenerate.
2017 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2018 based upon host_address.
2019 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
2021 2011-11-02 Jason Merrill <jason@redhat.com>
2023 * config/rs6000/t-ppccomm: Add missing \.
2025 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2027 * gthr-single.h, gthr.h: New files.
2028 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2029 config/gthr-vxworks.h, config/i386/gthr-win32.h,
2030 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2031 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2032 * config/i386/gthr-win32.c: Include "gthr-win32.h".
2033 * configure.ac (thread_header): New variable.
2034 Set it depending on target_thread_file.
2035 (gthr-default.h): Link from $thread_header.
2036 * configure: Regenerate.
2037 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2039 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2041 * configure.ac (tm_file_): New variable.
2042 Determine from tm_file.
2043 (tm_file, tm_defines): Substitute.
2044 * configure: Regenerate.
2045 * mkheader.sh: New file.
2046 * Makefile.in (clean): Remove libgcc_tm.h.
2047 ($(objects)): Depend on libgcc_tm.h.
2048 (libgcc_tm_defines, libgcc_tm_file): New variables.
2049 (libgcc_tm.h, libgcc_tm.stamp): New targets.
2050 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2051 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2052 ($(extra-parts)): Depend on libgcc_tm.h.
2053 * config.host (tm_defines, tm_file): New variable.
2054 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2055 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2056 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2057 (avr-*-rtems*): Likewise.
2058 (avr-*-*): Likewise.
2059 (frv-*-elf): Likewise.
2060 (frv-*-*linux*): Likewise.
2061 (h8300-*-rtems*): Likewise.
2062 (h8300-*-elf*): Likewise.
2063 (i[34567]86-*-darwin*): Likewise.
2064 (x86_64-*-darwin*): Likewise.
2065 (rx-*-elf): Likewise.
2066 (tic6x-*-uclinux): Likewise.
2067 (tic6x-*-elf): Likewise.
2068 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2069 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2070 * config/i386/cygming-crtbegin.c: Likewise.
2071 * config/i386/cygming-crtend.c: Likewise.
2072 * config/ia64/fde-vms.c: Likewise.
2073 * config/ia64/unwind-ia64.c: Likewise.
2074 * config/libbid/bid_gcc_intrinsics.h: Likewise.
2075 * config/rs6000/darwin-fallback.c: Likewise.
2076 * config/stormy16/lib2funcs.c: Likewise.
2077 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2078 * crtstuff.c: Likewise.
2079 * dfp-bit.h: Likewise.
2080 * emutls.c: Likewise.
2081 * fixed-bit.c: Likewise.
2082 * fp-bit.c: Likewise.
2083 * generic-morestack-thread.c: Likewise.
2084 * generic-morestack.c: Likewise.
2085 * libgcc2.c: Likewise.
2086 * libgcov.c: Likewise.
2087 * unwind-dw2-fde-dip.c: Likewise.
2088 * unwind-dw2-fde.c: Likewise.
2089 * unwind-dw2.c: Likewise.
2090 * unwind-sjlj.c: Likewise.
2092 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2094 * configure.ac: Include ../config/picflag.m4.
2095 (GCC_PICFLAG): Call it.
2097 * configure: Regenerate.
2098 * Makefile.in (gcc_srcdir): Remove.
2099 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2100 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2101 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2102 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2103 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2106 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2107 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2108 to refer to libgcc2.c.
2110 * config/darwin-64.c: New file.
2111 * config/darwin-crt3.c: Remove comment.
2112 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2113 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2114 config/udivmodsi4.c: New files.
2115 * config/memcmp.c, config/memcpy.c, config/memmove.c,
2116 config/memset.c: New files.
2117 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2118 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2119 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2120 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2121 * config/t-openbsd-thread: New file.
2122 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2123 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2124 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2125 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2128 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2129 to refer to gthr-posix.c.
2130 * config/alpha/t-vms (LIB2ADD): Set.
2131 * config/alpha/vms-gcc_shell_handler.c: New file.
2132 * config/arm/bpabi.c, config/arm/fp16.c,
2133 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2134 config/arm/unaligned-funcs.c: New files.
2135 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2136 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2137 * config/arm/t-linux: Likewise.
2138 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2139 * config/arm/t-netbsd: New file.
2140 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2141 * config/arm/t-symbian (LIB2ADD_ST): Set.
2142 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2143 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2144 * config/bfin/t-elf: New file.
2145 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2146 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2147 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2148 config/c6x/ltf.c: New files.
2149 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2150 (HOST_LIBGCC2_CFLAGS): Set.
2151 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2152 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2153 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2155 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2156 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2157 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2158 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2159 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2161 * config/frv/t-frv (LIB2ADD): Set.
2162 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2163 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2164 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2165 config/h8300/popcounthi2.c: New files.
2166 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2167 * config/i386/gthr-win32.c: New file.
2168 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2169 * config/i386/t-cygwin: Likewise.
2170 * config/i386/t-darwin, config/i386/t-darwin64,
2171 config/i386/t-gthr-win32, config/i386/t-interix: New files.
2172 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2173 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2174 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2175 * config/ia64/quadlib.c: New file.
2176 * config/ia64/t-hpux (LIB2ADD): Set.
2177 * config/ia64/t-ia64: Add comment.
2178 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2179 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2180 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2181 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2182 * config/m32c/t-m32c (LIB2ADD): Set.
2183 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2184 * config/m32r/t-m32r: Likewise.
2185 * config/m68k/fpgnulib.c: New file.
2186 * config/m68k/t-floatlib (LIB2ADD): Set.
2187 (xfgnulib.c): New target.
2188 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2189 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2190 * config/mep/t-mep (LIB2ADD): Set.
2191 * config/microblaze/divsi3.asm: Rename to divsi3.S.
2192 * config/microblaze/moddi3.asm: Rename to moddi3.S.
2193 * config/microblaze/modsi3.asm: Rename to modsi3.S.
2194 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2195 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2196 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2197 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2198 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2199 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2200 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2202 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2203 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2204 * config/pa/fptr.c, config/pa/lib2funcs.S,
2205 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2206 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2207 (LIB2ADD, LIB2ADD_ST): Set.
2208 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2209 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2211 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2212 * config/pdp11/t-pdp11: New file.
2213 * config/picochip/libgccExtras/adddi3.S,
2214 config/picochip/libgccExtras/ashlsi3.S,
2215 config/picochip/libgccExtras/ashrsi3.S,
2216 config/picochip/libgccExtras/clzsi2.S,
2217 config/picochip/libgccExtras/cmpsi2.S,
2218 config/picochip/libgccExtras/divmod15.S,
2219 config/picochip/libgccExtras/divmodhi4.S,
2220 config/picochip/libgccExtras/divmodsi4.S,
2221 config/picochip/libgccExtras/lshrsi3.S,
2222 config/picochip/libgccExtras/parityhi2.S,
2223 config/picochip/libgccExtras/popcounthi2.S,
2224 config/picochip/libgccExtras/subdi3.S,
2225 config/picochip/libgccExtras/ucmpsi2.S,
2226 config/picochip/libgccExtras/udivmodhi4.S,
2227 config/picochip/libgccExtras/udivmodsi4.S: New files.
2228 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2229 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2230 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2231 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2232 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2233 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2234 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
2235 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2237 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2238 (HOST_LIBGCC2_CFLAGS): Set.
2239 * config/rs6000/t-darwin64: New file.
2240 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2241 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2242 * config/rs6000/t-ppccomm (LIB2ADD): Add
2243 $(srcdir)/config/rs6000/tramp.S.
2244 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2245 Add $(srcdir)/config/rs6000/eabi.S.
2246 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2247 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2248 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2249 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2250 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2251 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2252 * config/rs6000/tramp.S: New file.
2253 * config/s390/t-tpf: Remove.
2254 * config/sh/linux-atomic.S: New file.
2255 * config/sh/t-linux (LIB2ADD): Set.
2256 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2257 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2258 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2260 (HOST_LIBGCC2_CFLAGS): Set.
2261 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2262 * config/spu/divmodti4.c, config/spu/divv2df3.c,
2263 config/spu/float_disf.c, config/spu/float_unsdidf.c,
2264 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2265 config/spu/mfc_multi_tag_release.c,
2266 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2267 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2268 config/spu/multi3.c: New files.
2269 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2270 (HOST_LIBGCC2_CFLAGS): Set.
2271 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2272 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2273 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2274 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2275 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2276 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2277 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2278 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2279 config/stormy16/umodsi3.c: New files.
2280 * config/xtensa/lib2funcs.S: New file.
2281 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2282 * config/xtensa/t-xtensa (LIB2ADD): Set.
2283 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2284 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2285 Add t-freebsd-thread to tmake_file for posix threads.
2286 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2287 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2288 (*-*-lynxos*): Likewise.
2289 (*-*-netbsd*): Likewise.
2290 (*-*-openbsd*): Likewise.
2291 Add t-openbsd-thread to tmake_file for posix threads.
2292 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2293 (*-*-vxworks*): Set tmake_file.
2294 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2295 (alpha*-*-freebsd*): Likewise.
2296 (alpha*-*-netbsd*): Likewise.
2297 (alpha*-*-openbsd*): Likewise.
2298 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2299 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2300 (alpha*-dec-*vms*): Likewise.
2301 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2302 (bfin*-elf*): Add bfin/t-elf to tmake_file.
2303 (bfin*-uclinux*): Likewise.
2304 (bfin*-linux-uclibc*): Likewise.
2305 (crisv32-*-elf): Add cris/t-cris to tmake_file.
2306 (crisv32-*-none): Likewise.
2307 (cris-*-elf): Likewise.
2308 (cris-*-none): Likewise.
2309 (cris-*-linux*, crisv32-*-linux*): Likewise.
2310 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2312 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2314 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2315 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2316 (x86_64-*-elf*): Likewise.
2317 (i[34567]86-*-nto-qnx*): Likewise.
2318 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2320 (x86_64-*-mingw*): Likewise.
2321 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2322 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2323 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2324 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2325 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2327 (mipsisa64sr71k-*-elf*): Likewise.
2328 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2329 (mips-*-elf*, mipsel-*-elf*): Likewise.
2330 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2331 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2332 (mips*-*-rtems*): Likewise.
2333 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2335 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2336 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2337 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2338 (spu-*-elf*): Likewise.
2339 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2341 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2343 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2344 $(srcdir) to refer to $(LIB1ASMSRC).
2346 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2347 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2348 config/arm/lib1funcs.S: New files.
2349 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2350 * config/arm/t-arm: New file.
2351 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2352 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2353 config/arm/t-strongarm-elf: New files.
2354 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2355 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2356 * config/avr/lib1funcs.S: New file.
2357 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2358 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2359 * config/c6x/lib1funcs.S: New file.
2360 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2361 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2362 * config/frv/lib1funcs.S: New file.
2363 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2364 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2365 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2366 * config/ia64/__divxf3.asm: Rename to ...
2367 * config/ia64/__divxf3.S: ... this.
2368 Adapt lib1funcs.asm filename.
2369 * config/ia64/_fixtfdi.asm: Rename to ...
2370 * config/ia64/_fixtfdi.S: ... this.
2371 Adapt lib1funcs.asm filename.
2372 * config/ia64/_fixunstfdi.asm: Rename to ...
2373 * config/ia64/_fixunstfdi.S: ... this.
2374 Adapt lib1funcs.asm filename.
2375 * config/ia64/_floatditf.asm: Rename to ...
2376 * config/ia64/_floatditf.S: ... this.
2377 Adapt lib1funcs.asm filename.
2378 * config/ia64/lib1funcs.S: New file.
2379 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2380 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2381 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2382 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2383 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2384 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2385 * config/mep/lib1funcs.S: New file.
2386 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2387 * config/mips/mips16.S: New file.
2388 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2389 * config/pa/milli64.S: New file.
2390 * config/pa/t-linux, config/pa/t-linux64: New files.
2391 * config/picochip/lib1funcs.S: New file.
2392 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2393 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2394 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2395 * config/sh/t-netbsd: New file.
2396 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2397 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2398 * config/sh/t-sh64: New file.
2399 * config/sparc/lb1spc.S: New file.
2400 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2402 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2403 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2404 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2405 config/xtensa/lib1funcs.S: New files.
2406 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2407 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2409 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2410 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2411 (arm*-*-linux*): Likewise.
2412 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2413 arm*-*-linux-*eabi, add arm/t-linux otherwise.
2414 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2415 (arm*-*-ecos-elf): Likewise.
2416 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2417 (arm*-*-rtems*): Likewise.
2418 (arm*-*-elf): Likewise.
2419 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2420 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2421 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2422 (bfin*-uclinux*): Likewise.
2423 (bfin*-linux-uclibc*): Likewise.
2424 (bfin*-rtems*): Likewise.
2425 (bfin*-*): Likewise.
2426 (fido-*-elf): Merge into m68k-*-elf*.
2427 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2428 (frv-*-*linux*): Add frv/t-frv to tmake_file.
2429 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2430 (h8300-*-elf*): Likewise.
2431 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2432 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2433 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2434 (i[34567]86-*-mingw*): Likewise.
2435 (x86_64-*-mingw*): Likewise.
2436 (i[34567]86-*-interix3*): Likewise.
2437 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2438 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2439 (m68k-*-elf*): Also handle fido-*-elf.
2440 Add m68k/t-floatlib to tmake_file.
2441 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2442 (m68k-*-linux*): Likewise.
2443 (m68k-*-rtems*): Likewise.
2444 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2445 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2447 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2448 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2449 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2450 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2451 sh/t-netbsd to tmake_file.
2452 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2453 (sh-*-rtems*): Add sh/t-sh to tmake_file.
2454 (sh-wrs-vxworks): Likewise.
2455 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2457 (v850*-*-*): Add v850/t-v850 to tmake_file.
2458 (vax-*-linux*): Add vax/t-linux to tmake_file.
2459 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2461 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2463 * crtstuff.c: New file.
2464 * Makefile.in (CRTSTUFF_CFLAGS): Define.
2465 (CRTSTUFF_T_CFLAGS): Define.
2466 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2467 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2468 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2471 (crtbeginT.o): Use $(objext).
2472 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2473 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2474 (gcc-extra-parts): Remove.
2475 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2477 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2478 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2479 Add t-crtstuff-pic to tmake_file.
2480 (*-*-lynxos*): New case.
2481 Set tmake_file, extra_parts.
2482 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2483 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2484 *-*-netbsdelf[2-9]*.
2485 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2486 (*-*-rtems*): Set extra_parts.
2487 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2488 (*-*-uclinux*): New case.
2490 (*-*-vms*): New case.
2491 Set tmake_file, extra_parts.
2492 (*-*-elf): Set extra_parts.
2493 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2494 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2497 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2499 (arm*-*-freebsd*): Add t-crtin to tmake_file.
2500 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2501 (arm-wrs-vxworks): Append to tmake_file.
2503 (arm*-*-uclinux*): Set extra_parts.
2504 (arm*-*-ecos-elf): Likewise.
2505 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2507 (arm*-*-rtems*): Set extra_parts.
2508 (arm*-*-elf): Likewise.
2509 (avr-*-rtems*): Clear extra_parts.
2510 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2512 (bfin*-uclinux*): Likewise.
2513 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2514 (bfin*-rtems*): Append to tmake_file.
2516 (bfin*-*): Likewise.
2517 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2518 (crisv32-*-elf): ... this.
2519 (crisv32-*-none): ... this.
2520 (cris-*-elf, cris-*-none): New cases.
2521 Add cris/t-elfmulti to tmake_file.
2522 (fr30-*-elf): Append to tmake_file.
2524 (frv-*-elf): Append to tmake_file, add frv/t-frv.
2526 (h8300-*-rtems*): Append to tmake_file.
2528 (h8300-*-elf*): Likewise.
2529 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2531 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2533 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2534 (x86_64-*-elf*): Likewise.
2535 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2536 (x86_64-*-freebsd*): Likewise.
2537 (x86_64-*-netbsd*): Likewise.
2538 (i[34567]86-*-linux*): Likewise.
2539 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2540 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2541 (x86_64-*-linux*): Likewise.
2542 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2543 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2546 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2547 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2548 Append to extra_parts, remove crtbegin.o, crtend.o.
2549 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2550 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2551 crtend.o, crtbeginS.o, crtendS.o.
2552 (ia64*-*-linux*): Comment extra_parts.
2553 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2555 (iq2000*-*-elf*): Clear extra_parts.
2556 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2557 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2558 (m32r-*-elf*, m32r-*-rtems*): Split off ...
2559 (m32r-*-rtems*): ... this.
2560 Add m32r/t-m32r to tmake_file.
2561 (m68k-*-elf*): Add t-crtin to tmake_file.
2562 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2563 (mcore-*-elf): Likewise.
2564 (microblaze*-*-*): Set extra_parts.
2565 (mips*-sde-elf*): New case.
2566 Set tmake_file, extra_parts.
2567 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2568 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2569 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2572 (mipsisa64sr71k-*-elf*): Likewise.
2573 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2574 (mips-*-elf*, mipsel-*-elf*): Likewise.
2575 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2576 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2577 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2578 (mips*-*-rtems*): Likewise.
2579 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2580 (moxie-*-*): Split into ...
2581 (moxie-*-elf, moxie-*-uclinux*): ... this.
2582 Add to extra_parts, remove crtbegin.o, crtend.o.
2583 (moxie-*-rtems*): New case.
2586 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2588 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2589 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2592 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2593 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2595 (powerpc-*-eabisim*): Likewise.
2596 (powerpc-*-elf*): Likewise.
2597 (powerpc-*-eabialtivec*): Likewise.
2598 (powerpc-xilinx-eabi*): Likewise.
2599 (powerpc-*-eabi*): Likewise.
2600 (powerpc-*-rtems*): Likewise.
2601 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2604 (powerpc-*-lynxos*): Add to tmake_file.
2605 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2606 rs6000/t-crtstuff, t-crtstuff-pic.
2608 (powerpcle-*-eabisim*): Likewise.
2609 (powerpcle-*-eabi*): Likewise.
2610 (rx-*-elf): Remove extra_parts.
2611 (s390x-ibm-tpf*): Set extra_parts.
2612 (score-*-elf): Set extra_parts.
2613 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2614 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2615 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2616 (sh64l*-*-netbsd*): Split into ...
2617 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2618 Add t-crtstuff-pic to tmake_file.
2620 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2622 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2623 (sparc-*-elf*): Remove t-crtin from tmake_file.
2624 Add to extra_parts, remove crtbegin.o, crtend.o.
2625 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2626 (sparc64-*-linux*): Likewise.
2627 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2628 Add to extra_parts, remove crtbegin.o, crtend.o.
2629 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2630 Add to extra_parts, remove crtbegin.o, crtend.o.
2631 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2632 Add to extra_parts, remove crtbegin.o, crtend.o.
2633 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2634 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2635 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2637 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2639 (tic6x-*-*): Change to ...
2640 (tic6x-*-elf): ... this.
2642 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2644 (am33_2.0-*-linux*): Add comment.
2645 (mep*-*-*): Add mep/t-mep to tmake_file.
2647 * config/alpha/t-vms: New file.
2648 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2649 * config/arm/crti.S, config/arm/crtn.S: New files.
2650 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2651 * config/bfin/crtlibid.S: New file.
2652 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2653 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2654 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2655 (crti.o, crtin.o): New rules.
2656 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2657 * config/c6x/t-uclinux: New file.
2658 * config/cris/t-elfmulti: New file.
2659 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2660 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2661 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2662 * config/frv/t-frv: New file.
2663 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2664 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2665 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2667 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2668 refer to cygming-crtbegin.c, cygming-crtend.c.
2670 * config/i386/t-nto: New file.
2671 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2672 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2673 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2674 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2677 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2678 (crtinitS.o): New rule.
2679 * config/ia64/vms-crtinit.S: New file.
2680 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2681 * config/m32r/initfini.c: New file.
2682 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2683 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2684 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2685 * config/mep/t-mep: New file.
2686 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2687 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2688 * config/mips/crti.S, config/mips/crtn.S: New files.
2689 * config/mips/t-crtstuff: New file.
2690 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2691 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2692 (CUSTOM_CRTIN): Set.
2693 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2695 Use $(srcdir) to refer to crti.S, crtn.S.
2696 Use .S extension, $<.
2697 * config/moxie/crti.asm: Rename to ...
2698 * config/moxie/crti.S: ... this.
2699 * config/moxie/crtn.asm: Rename to ...
2700 * config/moxie/crtn.S: ... this.
2701 * config/moxie/t-moxie: Remove.
2702 * config/pa/stublib.c: New file.
2703 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2704 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2705 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2706 * config/rs6000/t-crtstuff: New file.
2707 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2708 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2709 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2710 Make output file explicit.
2711 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2712 Make output file explicit.
2713 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2714 Make output file explicit.
2715 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2716 Make output file explicit.
2717 * config/score/crti.S, config/score/crtn.S: New files.
2718 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2719 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2721 * config/sh/t-sh, config/sh/t-superh: New files.
2722 * config/sparc/t-linux64: New file.
2723 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2724 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2725 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2726 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2727 * config/t-crtin: Remove.
2728 * config/t-crtstuff-pic: New file.
2729 * config/t-sol2 (CUSTOM_CRTIN): Set.
2730 (crti.o, crtn.o): New rules.
2731 * config/vms/t-vms: New file.
2732 * config/vms/vms-ucrt0.c: New file.
2733 * config/xtensa/t-elf: New file.
2735 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2737 * Makefile.in (SHLIB_NM_FLAGS): Set.
2738 * mkmap-flat.awk, mkmap-symver.awk: New files.
2739 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2741 * configure: Regenerate.
2742 * config/libgcc-glibc.ver: New file.
2743 * config/libgcc-libsystem.ver: New file.
2744 * config/t-libunwind (SHLIB_LC): Set.
2745 * config/t-linux: New file.
2746 * config/t-slibgcc (INSTALL_SHLIB): New.
2747 (SHLIB_INSTALL): Use it.
2748 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2749 to mkmap-symver.awk.
2750 (SHLIB_MAPFILES): Don't append, adapt pathname.
2751 (SHLIB_VERPFX): Set.
2752 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2753 to mkmap-symver.awk.
2754 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2755 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2756 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2757 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2759 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2760 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2761 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2762 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2763 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2764 * config/i386/libgcc-darwin.10.4.ver,
2765 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2767 * config/i386/t-darwin: Remove.
2768 * config/i386/t-darwin64: Likewise.
2769 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2770 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2771 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2772 * config/i386/t-linux: New file.
2773 * config/i386/t-mingw32: New file.
2774 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2775 * config/ia64/t-glibc: Rename to ...
2776 * config/ia64/t-linux: ... this.
2777 (SHLIB_MAPFILES): Set.
2778 * config/ia64/t-glibc-libunwind: Rename to ...
2779 * config/ia64/t-linux-libunwind: ... this.
2780 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2781 * config/ia64/t-slibgcc-hpux: New file.
2782 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2783 * config/m68k/t-slibgcc-elf-ver: New file.
2784 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2785 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2787 * config/pa/t-slibgcc-hpux: New file.
2788 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2790 * config/rs6000/libgcc-darwin.10.4.ver,
2791 config/rs6000/libgcc-darwin.10.5.ver: New files.
2792 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2793 config/rs6000/libgcc-glibc.ver.
2794 * config/rs6000/libgcc-ppc64.ver: Rename to
2795 config/rs6000/libgcc-ibm-ldouble.ver.
2796 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2797 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2798 * config/rs6000/t-ldbl128: Rename to ...
2799 * config/rs6000/t-linux: ... this.
2800 (SHLIB_MAPFILES): Adapt filename.
2801 * config/rs6000/t-slibgcc-aix: New file.
2802 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2803 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2804 libgcc-excl.ver, libgcc-glibc.ver.
2805 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2806 * config/sparc/libgcc-glibc.ver: New file.
2807 * config/sparc/t-linux: New file.
2808 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2809 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2810 t-slibgcc-elf-ver to tmake_file.
2811 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2813 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2814 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2815 t-slibgcc-elf-ver, t-linux to tmake_file.
2816 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2818 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2819 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2820 (alpha*-dec-*vms*): Likewise.
2821 (arm*-*-freebsd*): Append to tmake_file.
2822 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2823 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2825 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2826 tmake_file for arm*-*-symbianelf*.
2827 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2828 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2830 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2831 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2832 pa/t-slibgcc-dwarf-ver to tmake_file.
2833 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2834 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2835 (hppa*64*-*-hpux11*): Likewise.
2836 (hppa[12]*-*-hpux11*): Likewise.
2837 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2838 i386/t-crtpc, i386/t-crtfm.
2839 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2840 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2842 Add i386/t-cygwin to tmake_file.
2843 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2844 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2845 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2847 Add i386/t-mingw32 to tmake_file.
2848 (x86_64-*-mingw*): Likewise.
2849 (ia64*-*-freebsd*): Append to tmake_file.
2850 (ia64*-*-linux*): Append to tmake_file.
2851 Replace ia64/t-glibc by ia64/t-linux.
2852 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2854 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2855 t-slibgcc-hpux to tmake_file.
2856 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2857 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2858 (m32rle-*-linux*): Likewise.
2859 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2861 (microblaze*-linux*): New case.
2862 Append to tmake_file, add t-slibgcc-nolc-override.
2863 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2864 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2865 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2866 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2867 rs6000/t-slibgcc-aix to tmake_file.
2868 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2869 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2870 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2871 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2872 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2873 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2875 (sparc-*-linux*): Append to tmake_file for *-leon*.
2876 Add sparc/t-linux to tmake_file for non-Leon targets.
2877 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2878 (tic6x-*-uclinux): New case.
2879 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2880 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2881 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2882 (am33_2.0-*-linux*): Append to tmake_file.
2883 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2884 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2885 x86_64-*-kfreebsd*-gnu.
2886 Add i386/t-linux to tmake_file.
2888 2011-10-28 Ian Lance Taylor <iant@google.com>
2890 * config/i386/morestack.S: Correct CFI information to do proper
2891 returns throughout function. In 32-bit mode, save %ebx so that it
2892 is restored on unwind.
2894 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
2896 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2897 case where B3 isn't the return register.
2899 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2900 logic for doubleword pops.
2902 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
2904 * config/rs6000/t-freebsd: Add wildcard.
2906 2011-10-21 Paul Brook <paul@codesourcery.com>
2908 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2910 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
2911 Eric Botcazou <ebotcazou@adacore.com>
2914 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2915 fs->signal_frame to 1.
2917 2011-10-07 Ian Lance Taylor <iant@google.com>
2919 * generic-morestack-thread.c: #include <errno.h>.
2921 2011-10-07 Ian Lance Taylor <iant@google.com>
2924 * generic-morestack.c (__generic_morestack): Make sure the segment
2925 is large enough for both the stack frame and the copied
2928 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2931 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2934 2011-09-28 Nick Clifton <nickc@redhat.com>
2936 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2937 64-bit doubles are not enabled.
2938 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2939 and floatunsisf functions.
2941 2011-09-13 Paul Brook <paul@codesourcery.com>
2943 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2944 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2945 * unwind-arm-common.inc: New file.
2946 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2947 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2948 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2949 * config/c6x/libunwind.S: New file.
2950 * config/c6x/pr-support.c: New file.
2951 * config/c6x/unwind-c6x.c: New file.
2952 * config/c6x/unwind-c6x.h: New file.
2953 * config/c6x/t-c6x-elf: New file.
2955 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
2957 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2958 (ASM_DIVZERO): Ditto.
2959 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2961 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2963 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2965 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2968 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2969 instead of an assembly one.
2971 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
2974 * Makefile.in (install-unwind_h): Create
2975 $(gcc_objdir)/include/unwind.h atomically.
2977 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2979 * Makefile.in (install-unwind_h): Remove destination file first.
2981 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2984 * config/mips/t-mips16: New file.
2985 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2986 (mips*-*-linux*): Likewise.
2987 (mips*-sde-elf*): Likewise.
2988 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2989 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2990 Add mips/t-mips16 to tmake_file.
2991 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2992 (mips-*-elf*): Likewise.
2993 (mips64-*-elf*): Likewise.
2994 (mips64orion-*-elf*): Likewise.
2995 (mips*-*-rtems*): Likewise.
2996 (mipstx39-*-elf*): Likewise.
2997 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2998 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
3000 Use $(srcdir) to refer to sync.c.
3002 ($(libgcc-sync-funcs-o)): Likewise.
3003 ($(libgcc-sync-size-funcs-s-o)): Likewise.
3004 ($(libgcc-sync-funcs-s-o)): Likewise.
3006 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
3008 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3011 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
3014 * config/i386/value-unwind.h: New.
3016 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
3018 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
3019 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
3020 Add to tmake_file rather than overriding it.
3022 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3024 * config/t-softfp: Remove.
3025 * soft-fp: Moved from ../gcc/config.
3026 * soft-fp/README: Remove t-softfp reference.
3027 * soft-fp/t-softfp: Move to config/t-softfp.
3028 (softfp_machine_header): Remove.
3029 (softfp_file_list): Remove config subdir.
3030 (soft-fp-objects): New variable.
3031 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3032 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3033 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3034 * config/t-softfp-excl: New file.
3035 * config/t-softfp-sfdf: New file.
3036 * config/t-softfp-tf: New file.
3037 * config/no-sfp-machine.h: New file.
3038 * config/arm/sfp-machine.h: New file.
3039 * config/arm/t-softfp: New file.
3040 * config/c6x/sfp-machine.h: New file.
3041 * config/i386/32/t-fprules-softfp: Rename to ...
3042 * config/i386/32/t-softfp: ... this.
3043 (tifunctions, LIB2ADD): Remove.
3044 (softfp_int_modes): Override.
3045 * config/i386/64/t-softfp-compat (tf-functions): Remove config
3047 * config/i386/64/eqtf2.c: Likewise.
3048 * config/i386/64/getf2.c: Likewise.
3049 * config/i386/64/letf2.c: Likewise.
3050 * config/ia64/sft-machine.h: New file.
3051 * config/ia64/t-fprules-softfp: Rename to ...
3052 * config/ia64/t-softfp: ... this.
3053 * config/lm32/sfp-machine.h: New file.
3054 * config/moxie/t-moxie-softfp: Remove.
3055 * config/rs6000/ibm-ldouble-format: New file.
3056 * config/rs6000/ibm-ldouble.c: New file.
3057 * config/rs6000/libgcc-ppc-glibc.ver: New file
3058 * config/rs6000/libgcc-ppc64.ver: New file
3059 * config/rs6000/sfp-machine.h: New file.
3060 * config/rs6000/t-freebsd: New file.
3061 * config/rs6000/t-ibm-ldouble: New file.
3062 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3063 libgcc-ppc-glibc.ver.
3064 * config/rs6000/t-linux64: New file.
3065 * config/rs6000/t-ppccomm (LIB2ADD): Add
3066 $(srcdir)/config/rs6000/ibm-ldouble.c.
3067 * config/rs6000/t-ppccomm-ldbl: New file.
3068 * config/score/sfp-machine.h: New file.
3069 * config.host (sfp_machine_header): Explain.
3070 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3071 t-softfp to tmake_file.
3072 (arm*-*-uclinux*): Likewise.
3073 (arm*-*-ecos-elf): Likewise.
3074 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3075 (arm*-*-rtems*): Likewise.
3076 (arm*-*-elf): Likewise.
3077 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3079 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3080 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3081 (lm32-*-uclinux*): Likewise.
3082 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3083 t-softfp-excl, t-softfp.
3084 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3085 (powerpc64-*-darwin*): Likewise.
3086 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3088 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3090 (powerpc-*-eabisim*): Likewise.
3091 (powerpc-*-elf*): Likewise.
3092 (powerpc-*-eabialtivec*): Likewise.
3093 (powerpc-xilinx-eabi*): Likewise.
3094 (powerpc-*-rtems*): Likewise.
3095 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3096 t-softfp-excl, t-softfp to tmake_file.
3097 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3098 rs6000/t-ppccomm-ldbl to tmake_file.
3099 (powerpcle-*-elf*): Likewise.
3100 (powerpcle-*-eabisim*): Likewise.
3101 (powerpcle-*-eabi*): Likewise.
3102 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3103 rs6000/t-ibm-ldouble to tmake_file.
3104 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3105 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3106 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3107 (tic6x-*-*): Likewise.
3108 (i[34567]86-*-darwin*, x86_64-*-darwin*,
3109 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3110 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3111 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3112 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3113 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3114 t-softfp to tmake_file.
3115 * configure.ac (sfp_machine_header): Provide default if unset.
3117 Link sfp-machine.h to config/$sfp_machine_header.
3118 * configure: Regenerate.
3120 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3122 * Makefile.in (double_type_size, long_double_type_size): Set.
3123 Remove $(fpbit-in-libgcc) support.
3124 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3125 (fpbit-src): New variable.
3126 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3127 Compile with -DFLOAT $(FPBIT_CFLAGS).
3129 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3130 Compile with $(FPBIT_CFLAGS).
3132 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3133 Compile with -DFLOAT $(TPBIT_CFLAGS).
3135 * configure.ac (double_type_size, long_double_type_size):
3136 Determine and substitute.
3137 * configure: Regenerate.
3138 * fp-bit.c, fp-bit.h: New files.
3139 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3140 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3141 * config/mips/t-mips: New file.
3142 * config/mips/t-sdemtk: New file.
3143 * config/rs6000/ppc64-fp.c: New file.
3144 * config/rs6000/t-darwin (LIB2ADD): Add
3145 $(srcdir)/config/rs6000/ppc64-fp.c.
3146 * config/rs6000/t-ppc64-fp: New file.
3147 * config/rx/rx-lib.h: New file.
3148 * config/rx/t-rx (FPBIT): Set to true.
3149 ($(gcc_objdir)/fp-bit.c): Remove.
3150 (DPBIT): Set to true only with -m64bit-doubles.
3151 ($(gcc_objdir)/dp-bit.c): Remove.
3152 * config/sparc/t-softfp: Remove.
3153 * config/spu/t-elf: New file.
3154 * config/t-fdpbit, config/t-fpbit: New files.
3155 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3156 (mips*-*-*): Likewise.
3157 (arm-wrs-vxworks): Likewise.
3158 (arm*-*-freebsd*): Likewise.
3159 (avr-*-rtems*): Add t-fpbit to tmake_file.
3160 (avr-*-*): Likewise.
3161 (bfin*-elf*): Add t-fdpbit to tmake_file.
3162 (bfin*-uclinux*): Likewise.
3163 (bfin*-linux-uclibc*): Likewise.
3164 (bfin*-rtems*): New case.
3165 Add t-fdpbit to tmake_file.
3166 (bfin*-*): Add t-fdpbit to tmake_file.
3167 (crisv32-*-elf): Likewise.
3168 (cris-*-linux*): Likewise.
3169 (fr30-*-elf): Likewise.
3170 (frv-*-elf, frv-*-*linux*): Likewise.
3171 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3172 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3173 (m32r-*-elf*): Likewise.
3174 (m32rle-*-elf*): Likewise.
3175 (m32r-*-linux*): Likewise.
3176 (m32rle-*-linux*): Likewise.
3177 (mcore-*-elf): Add t-fdpbit to tmake_file.
3178 (microblaze*-*-*): Likewise.
3179 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3180 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3181 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3183 Add mips/t-tpbit to tmake-file.
3184 (mips*-*-linux*): Fix typo.
3185 (mips*-sde-elf*): New case
3186 Add mips/t-sdemtk unless using newlib.
3187 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3188 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3189 (mn10300-*-*): Likewise.
3190 (pdp11-*-*): Likewise.
3191 (picochip-*-*): Add t-fpbit to tmake_file.
3192 (powerpc-*-eabisimaltivec*): Likewise.
3193 (powerpc-*-eabisim*): Likewise.
3194 (powerpc-*-elf*): Likewise.
3195 (powerpc-*-eabialtivec*): Likewise.
3196 (powerpc-xilinx-eabi*): New case.
3197 Add t-fdpbit to tmake_file.
3198 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
3199 (powerpc-*-rtems*): Likewise.
3200 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3202 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3204 (powerpc-*-lynxos*): Likewise.
3205 (powerpcle-*-elf*): Likewise.
3206 (powerpcle-*-eabisim*): Likewise.
3207 (powerpcle-*-eabi*): Likewise.
3208 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3209 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3210 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3211 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3212 (rx-*-elf): Add t-fdpbit to tmake_file.
3213 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3214 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3215 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3216 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3218 (sh-*-rtems*): Add t-fdpbit to tmake_file.
3219 (sh-wrs-vxworks): Likewise.
3220 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3221 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3222 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3223 (sparc64-*-rtems*): ... new case.
3224 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3225 (spu-*-elf*): Likewise.
3226 Add spu/t-elf to tmake_file.
3227 (v850*-*-*): Add t-fdpbit to tmake_file.
3228 (xstormy16-*-elf): Likewise.
3229 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3230 (mep*-*-*): Likewise.
3232 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3234 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3236 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3237 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3238 (install-unwind_h): New target.
3239 (all): Depend on it.
3240 * config.host (unwind_header): New variable.
3241 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3242 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3243 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3244 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3245 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3247 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3249 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3251 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3253 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3254 (ia64*-*-freebsd*): Likewise.
3255 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3257 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3258 $with_system_libunwind.
3259 (ia64*-*-hpux*): Set tmake_file.
3260 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3261 (picochip-*-*): Set tmake_file.
3262 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3264 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3265 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3266 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3267 (xtensa*-*-elf*): Set tmake_file.
3268 (xtensa*-*-linux*): Likewise.
3269 * configure.ac: Include ../config/unwind_ipinfo.m4.
3270 Call GCC_CHECK_UNWIND_GETIPINFO.
3271 Link unwind.h to $unwind_header.
3272 * configure: Regenerate.
3273 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3274 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3275 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3276 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3277 * config/unwind-dw2-fde-darwin.c: New file.
3278 * config/arm/libunwind.S, config/arm/pr-support.c,
3279 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3280 config/arm/unwind-arm.h,: New files.
3281 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3282 config/ia64/t-eh-ia64, config/ia64/t-glibc,
3283 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3284 config/ia64/t-vms, config/ia64/unwind-ia64.c,
3285 config/ia64/unwind-ia64.h: New files.
3286 * config/picochip/t-picochip: New file.
3287 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3289 * config/rs6000/t-darwin (LIB2ADDEH): Set.
3290 * config/s390/t-tpf (LIB2ADDEH): Remove.
3291 * config/t-darwin (LIB2ADDEH): Set.
3292 * config/t-eh-dw2-dip: New file.
3293 * config/t-libunwind, config/t-libunwind-elf: New files.
3294 * config/t-sol2 (LIB2ADDEH): Remove.
3295 * config/xtensa/t-xtensa: New file.
3297 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
3299 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3300 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3301 long long to check rt_sigreturn syscall.
3303 2011-08-02 Alan Modra <amodra@gmail.com>
3305 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3306 Restore for indirect call bcrtl from correct stack slot, and only
3307 if cfa+40 isn't valid.
3309 2011-08-01 Julian Brown <julian@codesourcery.com>
3311 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3312 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3313 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3315 2011-08-01 Julian Brown <julian@codesourcery.com>
3317 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3318 (libgcc-std.ver.in): Use above.
3319 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3320 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
3322 * config/t-fixedpoint-gnu-prefix: New file.
3323 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3324 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3327 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
3329 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3330 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3331 for x86-64. Properly check __x86_64__ and __LP64__.
3333 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
3335 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3337 (_FP_WS_TYPE): Likewise.
3338 (_FP_I_TYPE): Likewise.
3340 2011-07-28 Alan Modra <amodra@gmail.com>
3342 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3343 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3344 in a plt call stub. Do restore r2 if stopped on bctrl.
3346 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3348 * config.host (i[3456x]86-*-netware*): Remove.
3349 * config/i386/netware-crt0.c, config/i386/t-nwld,
3350 config/i386/t-slibgcc-nwld: Remove.
3352 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
3354 * config.host: Handle tic6x-*-*.
3355 * config/c6x/c6x-abi.h: New file.
3357 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3359 * config/i386/crtprec.c: New file.
3360 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3361 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3362 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3363 (x86_64-*-darwin*): Likewise.
3364 (i[34567]86-*-solaris2*: Likewise.
3366 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3368 * config/alpha/crtfastmath.c: New file.
3369 * config/i386/crtfastmath.c: New file.
3370 * config/ia64/crtfastmath.c: New file.
3371 * config/mips/crtfastmath.c: New file.
3372 * config/sparc/crtfastmath.c: New file.
3374 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3376 Add -frandom-seed=gcc-crtfastmath.
3377 * config/alpha/t-crtfm: Remove.
3378 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3379 * config/ia64/t-ia64 (crtfastmath.o): Remove.
3381 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3382 (alpha*-dec-osf5.1*): Likewise.
3383 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3384 Add crtfastmath.o to extra_parts.
3385 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3386 Add crtfastmath.o to extra_parts.
3387 (x86_64-*-darwin*): Likewise.
3388 (x86_64-*-mingw*): Likewise.
3389 (ia64*-*-elf*): Add t-crtfm to tmake_file.
3390 (ia64*-*-freebsd*): Likewise.
3391 (ia64*-*-linux*): Likewise.
3392 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3393 Add crtfastmath.o to extra_parts.
3395 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3397 * config/darwin-crt3.o: New file.
3398 * config/rs6000/darwin-crt2.c: New file.
3399 * config/t-darwin: New file.
3400 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3402 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3403 (powerpc-*-darwin*): Add crt2.o to extra_parts.
3404 (powerpc64-*-darwin*): Likewise.
3406 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3408 * config/i386/netware-crt0.c: New file.
3409 * config/i386/t-nwld: Rename to ...
3410 * config/i386/t-slibgcc-nwld: ... this.
3411 * config/i386/t-nwld: New file.
3412 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3414 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3417 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3419 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3421 * configure: Regenerate.
3423 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3425 * dfp-bit.c, dfp-bit.h: New files.
3426 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3428 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3429 ($(d64pbit-o)): Likewise.
3430 ($(d128pbit-o)): Likewise.
3431 * config/t-dfprules: New file.
3432 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3433 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3434 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3435 (x86_64-*-linux*): Likewise.
3436 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3437 (i[34567]86-*-cygwin*): Likewise.
3438 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
3439 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3441 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3443 * Makfile.in (LIBGCOV): New variable.
3444 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3445 * libgcov.c: New file.
3447 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3449 * fixed-bit.c, fixed-bit.h: New files.
3450 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3451 refer to fixed-bit.c.
3453 2011-07-07 Joseph Myers <joseph@codesourcery.com>
3455 * config.host (*local*): Remove.
3457 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3460 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3461 like i?86-*-solaris2.1[0-9]*.
3462 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3463 * configure.ac (i?86-*-solaris2*): Likewise.
3464 * configure: Regenerate.
3466 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
3468 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3469 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3470 md_unwind_header by splitting out of...
3471 (i[34567]86-*-linux*): ... this.
3472 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3473 Remove md_unwind_header by splitting out of...
3474 (x86_64-*-linux*): ... this.
3476 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
3478 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3480 2011-06-28 Nick Clifton <nickc@redhat.com>
3482 * config.host: Recognize all V850 variants.
3484 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
3486 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3488 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3490 * shared-object.mk (c_flags-$o): Save c_flags.
3491 ($(base)$(objext)): Use it.
3492 ($(base)_s$(objext)): Likewise.
3494 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
3496 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3497 * libgcc-std.ver.in (GCC_4.7.0): New section.
3499 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
3503 * config/avr/t-avr: Fix line endings.
3504 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
3507 2011-06-14 Olivier Hainque <hainque@adacore.com>
3508 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3510 * config/mips/irix6-unwind.h: New file.
3511 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3513 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
3515 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3516 (sparc64_fallback_frame_state): Use it.
3517 (sparc64_frob_update_context): Further adjust context.
3518 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3519 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3520 * config/sparc/sol2-cn.S: Likewise.
3522 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3524 * enable-execute-stack-empty.c: New file.
3525 * enable-execute-stack-mprotect.c: New file.
3526 * config/i386/enable-execute-stack-mingw32.c: New file.
3527 * config.host (enable_execute_stack): New variable.
3528 Select appropriate variants.
3529 * configure.ac: Link enable-execute-stack.c to
3530 $enable_execute_stack.
3531 * configure: Regenerate.
3532 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3533 (lib2funcs): Remove _enable_execute_stack.
3535 2011-06-09 David S. Miller <davem@davemloft.net>
3536 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3538 * config.host (sparc-*-linux*): Correct md_unwind_header
3540 (s390x-ibm-tpf*): Fix typo.
3542 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3544 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3545 Add crtfastmath.o to extra_parts.
3546 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3548 * config/mips/t-crtfm: Remove.
3550 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3552 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3554 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
3556 * config.host (sh*-*-linux*): Fix typo.
3558 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3560 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3561 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3562 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3563 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3564 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3565 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3566 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3567 Wrap in !__MINGW64__.
3568 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3569 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3570 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3571 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3572 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3573 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3574 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3576 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3577 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3578 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3579 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3580 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3581 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3582 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3583 * config/no-unwind.h: New file.
3584 * config.host (md_unwind_header): Document.
3586 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3587 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3588 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3589 hppa[12]*-*-hpux11*): Set md_unwind_header.
3590 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3591 Set md_unwind_header.
3592 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3593 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3594 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3595 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3596 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3597 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3598 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3600 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3601 * configure: Regenerate.
3603 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3605 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3606 Set tmake_file, extra_parts.
3607 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3609 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3611 * config/mips/t-irix6: New file.
3612 * config/mips/t-slibgcc-irix: New file.
3614 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3616 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3617 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3619 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3621 * configure.ac (target_thread_file): Determine thread model.
3622 * configure: Regenerate.
3623 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3624 * config/alpha/t-alpha: New file.
3625 * config/alpha/t-crtfm: Use $<.
3626 * config/alpha/t-ieee: New file.
3627 * config/alpha/t-osf-pthread: New file.
3628 * config/alpha/t-slibgcc-osf: New file.
3629 * config/alpha/libgcc-osf5.ver: New file.
3631 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3633 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3635 Add crtfastmath.o to extra_parts.
3637 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3639 * config/gmon-sol2.c: Reindent.
3641 Remove, correct casts.
3642 Use STDERR_FILENO, NULL.
3643 (BASEADDRESS): Remove.
3645 (errno, sbrk): Remove declarations.
3646 (monstartup) [hp300]: Remove.
3649 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3651 * Makefile.in (cpu_type): Define.
3652 * config.host (i[34567]86-*-rtems*): Handle it.
3653 (i[34567]86-*-solaris2*): Move body ...
3654 (*-*-solaris2*): ... here.
3655 New case, generalize.
3656 (sparc-*-elf*): Handle it.
3657 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3658 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3659 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3661 (sparc*-*-solaris2*): ... this.
3663 (sparc64-*-elf*): Handle it.
3664 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3665 Merge ../gcc/config/i386/gmon-sol2.c.
3666 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3668 Merge ../gcc/config/i386/sol2-gc1.asm.
3669 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3671 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3673 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3674 * config/i386/t-crtstuff: New file.
3675 * config/i386/t-softfp: New file.
3676 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3677 $(T)crti.o, $(T)crtn.o): Remove.
3678 (gcrt1.o): New rule.
3679 (TARGET_LIBGCC2_CFLAGS): Remove.
3680 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3681 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3682 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3683 * config/sparc/t-sol2: New file.
3684 * config/sparc/t-crtfm: Move to ...
3685 * config/t-crtfm: ... this.
3686 Use $(cpu_type), $<.
3687 * config/t-crtin: New file.
3688 * config/sparc/t-softfp: New file.
3689 * config/sparc/t-softmul: New file.
3690 * config/t-rtems: New file.
3691 * config/t-slibgcc: New file.
3692 * config/t-slibgcc-elf-ver: New file.
3693 * config/t-slibgcc-gld: New file.
3694 * config/t-slibgcc-sld: New file.
3695 * config/t-sol2: New file.
3696 * configure.ac: Include ../config/lib-ld.m4.
3697 Call AC_LIB_PROG_LD_GNU.
3698 Substitute cpu_type.
3699 * configure: Regenerate.
3701 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
3704 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3705 libgcc-std.ver in the build directory.
3706 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3707 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3709 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
3711 * libgcc-std.ver.in: New file.
3712 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3714 (libgcc-std.ver): New rule.
3715 * config/t-gnu-prefix: New file.
3717 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3719 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3721 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3723 * config/i386/darwin-lib.h: New file.
3725 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3727 * config/arm/symbian-lib.h: New.
3729 2011-05-04 Chris Demetriou <cgd@google.com>
3731 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3732 (__x86.get_pc_thunk.bx): ...this.
3733 (__morestack): Adjust for rename, remove undef of __i686.
3735 2011-05-03 Chris Demetriou <cgd@google.com>
3737 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3739 2011-03-22 Joseph Myers <joseph@codesourcery.com>
3741 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3742 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3743 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3744 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3745 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3748 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
3750 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3751 Adjust copyright year.
3753 2011-03-07 Ian Lance Taylor <iant@google.com>
3755 * generic-morestack.c (__splitstack_find): Adjust returned stack
3756 pointer to include all registers pushed by __morestack.
3758 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
3761 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3762 (toolexecdir): Calculate and AC_SUBST.
3763 (toolexeclibdir): Likewise.
3764 * Makefile.in (target_noncanonical): Import.
3765 (toolexecdir): Likewise.
3766 (toolexeclibdir): Likewise.
3767 * configure: Regenerate.
3769 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
3772 * config/arm/bpabi.h: Rename to...
3773 * config/arm/bpabi-lib.h: ...this.
3775 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3777 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3779 * configure: Regenerate.
3781 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3783 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3784 __FLOAT_WORD_ORDER__.
3785 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3788 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3791 * Makefile.in (install-strip): New phony target.
3793 2010-11-07 Ian Lance Taylor <iant@google.com>
3796 * config/i386/morestack.S (__morestack_large_model): New
3799 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
3801 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3803 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3805 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
3807 * config/arm/bpabi.h: New file.
3808 * config/frv/frv-abi.h: New file.
3810 2010-10-01 Ian Lance Taylor <iant@google.com>
3812 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3813 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3815 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3818 * config.host: Add the missing `$'.
3820 2010-09-30 Michael Eager <eager@eagercon.com>
3822 * config.host: Add microblaze*-*-*.
3823 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3824 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3825 udivsi3.asm,umodsi3.asm}: New.
3827 2010-09-28 Ian Lance Taylor <iant@google.com>
3829 * configure.ac: Adjust CFI test to test assembler directly rather
3830 than checking gcc preprocessor macro.
3831 * configure: Rebuild.
3833 2010-09-27 Ian Lance Taylor <iant@google.com>
3835 * configure.ac: Test whether assembler supports CFI directives.
3836 * config.host: Only add t-stack and i386/t-stack-i386 to
3837 tmake_file if libgcc_cv_cfi is "yes".
3838 * configure: Rebuild.
3840 2010-09-27 Ian Lance Taylor <iant@google.com>
3842 * generic-morestack.h: New file.
3843 * generic-morestack.c: New file.
3844 * generic-morestack-thread.c: New file.
3845 * config/i386/morestack.S: New file.
3846 * config/t-stack: New file.
3847 * config/i386/t-stack-i386: New file.
3848 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3849 i386/t-stack-i386 to tmake_file.
3851 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
3853 * Makefile.in (libgcc-extra-parts): Check for static archives and
3854 invoke ranlib after installing them.
3855 (gcc-extra-parts): Likewise.
3856 (install-leaf): Likewise.
3858 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
3860 * configure: Regenerated.
3862 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
3864 * configure: Regenerated.
3866 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
3867 Andrew Pinski <pinskia@gmail.com>
3870 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3872 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
3875 * configure: Regenerated.
3877 2010-09-06 Andreas Schwab <schwab@redhat.com>
3879 * configure: Regenerate.
3881 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3883 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3885 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3888 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3889 Iain Sandoe <iains@gcc.gnu.org>
3892 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3893 LIB2FUNCS_EXCLUDE functions.
3895 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3897 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3899 * configure: Regenerate.
3901 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
3903 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3904 i386/t-freebsd to tmake_file.
3905 * config/i386/t-freebsd: New file.
3906 * config/i386/libgcc-bsd.ver: New file.
3908 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3910 * config.host (powerpc*-eabispe*): Set tmake_file.
3911 (powerpc*-eabi*): Likewise.
3912 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3913 crtbeginS, crtendS, crtbeginT.
3915 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
3917 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3918 to tmake_file. Add crtfastmath.o to extra_parts.
3919 * config/mips/t-crtfm: New.
3921 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3923 * config.host (sparc64-*-rtems*): New target.
3925 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3927 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3930 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3932 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3934 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3936 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3937 alpha-dec-osf5.0* support.
3939 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
3941 * config.host: Add lm32-*-rtems*.
3943 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3944 Uros Bizjak <ubizjak@gmail.com>
3947 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3948 like other remaining 32-bit x86 OSes.
3949 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3951 * config/i386/libgcc-sol2.ver: New file.
3952 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3954 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3957 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3958 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3959 is used and substitute set_use_emutls.
3960 * configure: Regenerated.
3962 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3964 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3966 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3969 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3971 ($(T)gcrt1.o): Likewise.
3972 ($(T)crt1.o): Likewise.
3973 ($(T)crti.o): Likewise.
3974 ($(T)crtn.o): Likewise.
3976 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3979 * Makefile.in (install): Use $(MAKE) string in rule, for
3982 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
3984 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3985 * config/mmix/t-mmix: New file.
3986 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3988 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
3991 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3994 2010-01-04 Anthony Green <green@moxielogic.com>
3996 * config/moxie/crti.asm, config/moxie/crtn.asm,
3997 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3998 config/moxie/t-moxie: New files.
3999 * config.host: Add t-moxie-softfp reference.
4001 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
4004 * config/t-slibgcc-darwin: Fix embedded rpaths for
4005 --enable-version-specific-runtime-libs, build extension stub
4006 libs exposing features available from current libgcc_s.
4008 2009-11-11 Jon Beniston <jon@beniston.com>
4010 * config.host: Add lm32 targets.
4011 * config/lm32: New directory.
4012 * config/lm32/libgcc_lm32.h: New file.
4013 * config/lm32/_mulsi3.c: New file.
4014 * config/lm32/_udivmodsi4.c: New file.
4015 * config/lm32/_divsi3.c: New file.
4016 * config/lm32/_modsi3.c: New file.
4017 * config/lm32/_udivsi3.c: New file.
4018 * config/lm32/_umodsi3.c: New file.
4019 * config/lm32/_lshrsi3.S: New file.
4020 * config/lm32/_ashrsi3.S: New file.
4021 * config/lm32/_ashlsi3.S: New file.
4022 * config/lm32/crti.S: New file.
4023 * config/lm32/crtn.S: New file.
4024 * config/lm32/t-lm32: New file.
4025 * config/lm32/t-elf: New file.
4026 * config/lm32/t-uclinux: New file.
4028 2009-10-26 Nick Clifton <nickc@redhat.com>
4030 * config.host: Add support for RX target.
4031 * config/rx: New directory.
4032 * config/rx/rx-abi-functions.c: New file. Supplementary
4033 functions for libgcc to support the RX ABI.
4034 * config/rx/rx-abi.h: New file. Supplementary header file for
4035 libgcc RX ABI functions.
4036 * config/rx/t-rx: New file: Makefile fragment for building
4039 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
4041 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4042 constraint of y0 to "g".
4044 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4046 * config.host: Include the s390 makefile fragments.
4047 * config/s390/32/_fixdfdi.c: New file.
4048 * config/s390/32/_fixsfdi.c: New file.
4049 * config/s390/32/_fixtfdi.c: New file.
4050 * config/s390/32/_fixunsdfdi.c: New file.
4051 * config/s390/32/_fixunssfdi.c: New file.
4052 * config/s390/32/_fixunstfdi.c: New file.
4053 * config/s390/32/t-floattodi: New file.
4054 * config/s390/libgcc-glibc.ver: New file.
4055 * config/s390/t-crtstuff: New file.
4056 * config/s390/t-linux: New file.
4057 * config/s390/t-tpf: New file.
4059 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4061 * configure.ac (AC_PREREQ): Bump to 2.64.
4063 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
4065 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4067 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4069 * configure: Regenerate.
4071 2009-08-09 Douglas B Rupp <rupp@gnat.com>
4073 * config.host (ia64-hp-*vms*): New target.
4074 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4077 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4079 * configure.ac: Add snippet for maintainer-mode.
4080 * configure: Regenerate.
4081 * Makefile.in (AUTOCONF, configure_deps): New variables.
4082 ($(srcdir)/configure)): New rule, active only with maintainer
4085 2009-06-23 DJ Delorie <dj@redhat.com>
4088 * config.host: Add mep support.
4090 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
4092 * config.host: Add i386/${host_address}/t-fprules-softfp and
4093 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
4095 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4097 * config/i386/64/_multc3.c: Likewise.
4098 * config/i386/64/_powitf2.c: Likewise.
4099 * config/i386/64/eqtf2.c: Likewise.
4100 * config/i386/64/getf2.c: Likewise.
4101 * config/i386/64/letf2.c: Likewise.
4102 * config/i386/64/letf2.c: Likewise.
4103 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4104 unsigned long long for x64 mingw targets.
4105 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4106 (_FP_I_TYPE): Define as long long for x64 mingw target.
4108 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
4110 * config.host (vax-*-linux*): New.
4112 2009-05-31 Anthony Green <green@moxielogic.com>
4114 * config.host: Add moxie support.
4115 * config/moxie/t-moxie: New file.
4117 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
4119 * config.host: Add i386/${host_address}/t-fprules-softfp and
4120 t-softfp to tmake_file for i[34567]86-*-cygwin*.
4122 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
4124 * config.host: Add i386/${host_address}/t-fprules-softfp to
4125 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4127 2009-04-09 Nick Clifton <nickc@redhat.com>
4129 * config/ia64/tf-signs.c: Change copyright header to refer to
4130 version 3 of the GNU General Public License with version 3.1
4131 of the GCC Runtime Library Exception and to point readers at
4132 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4134 * config/i386/32/tf-signs.c: Likewise.
4135 * config/libbid/_addsub_dd.c: Likewise.
4136 * config/libbid/_addsub_sd.c: Likewise.
4137 * config/libbid/_addsub_td.c: Likewise.
4138 * config/libbid/_dd_to_df.c: Likewise.
4139 * config/libbid/_dd_to_di.c: Likewise.
4140 * config/libbid/_dd_to_sd.c: Likewise.
4141 * config/libbid/_dd_to_sf.c: Likewise.
4142 * config/libbid/_dd_to_si.c: Likewise.
4143 * config/libbid/_dd_to_td.c: Likewise.
4144 * config/libbid/_dd_to_tf.c: Likewise.
4145 * config/libbid/_dd_to_udi.c: Likewise.
4146 * config/libbid/_dd_to_usi.c: Likewise.
4147 * config/libbid/_dd_to_xf.c: Likewise.
4148 * config/libbid/_df_to_dd.c: Likewise.
4149 * config/libbid/_df_to_sd.c: Likewise.
4150 * config/libbid/_df_to_td.c: Likewise.
4151 * config/libbid/_di_to_dd.c: Likewise.
4152 * config/libbid/_di_to_sd.c: Likewise.
4153 * config/libbid/_di_to_td.c: Likewise.
4154 * config/libbid/_div_dd.c: Likewise.
4155 * config/libbid/_div_sd.c: Likewise.
4156 * config/libbid/_div_td.c: Likewise.
4157 * config/libbid/_eq_dd.c: Likewise.
4158 * config/libbid/_eq_sd.c: Likewise.
4159 * config/libbid/_eq_td.c: Likewise.
4160 * config/libbid/_ge_dd.c: Likewise.
4161 * config/libbid/_ge_sd.c: Likewise.
4162 * config/libbid/_ge_td.c: Likewise.
4163 * config/libbid/_gt_dd.c: Likewise.
4164 * config/libbid/_gt_sd.c: Likewise.
4165 * config/libbid/_gt_td.c: Likewise.
4166 * config/libbid/_isinfd128.c: Likewise.
4167 * config/libbid/_isinfd32.c: Likewise.
4168 * config/libbid/_isinfd64.c: Likewise.
4169 * config/libbid/_le_dd.c: Likewise.
4170 * config/libbid/_le_sd.c: Likewise.
4171 * config/libbid/_le_td.c: Likewise.
4172 * config/libbid/_lt_dd.c: Likewise.
4173 * config/libbid/_lt_sd.c: Likewise.
4174 * config/libbid/_lt_td.c: Likewise.
4175 * config/libbid/_mul_dd.c: Likewise.
4176 * config/libbid/_mul_sd.c: Likewise.
4177 * config/libbid/_mul_td.c: Likewise.
4178 * config/libbid/_ne_dd.c: Likewise.
4179 * config/libbid/_ne_sd.c: Likewise.
4180 * config/libbid/_ne_td.c: Likewise.
4181 * config/libbid/_sd_to_dd.c: Likewise.
4182 * config/libbid/_sd_to_df.c: Likewise.
4183 * config/libbid/_sd_to_di.c: Likewise.
4184 * config/libbid/_sd_to_sf.c: Likewise.
4185 * config/libbid/_sd_to_si.c: Likewise.
4186 * config/libbid/_sd_to_td.c: Likewise.
4187 * config/libbid/_sd_to_tf.c: Likewise.
4188 * config/libbid/_sd_to_udi.c: Likewise.
4189 * config/libbid/_sd_to_usi.c: Likewise.
4190 * config/libbid/_sd_to_xf.c: Likewise.
4191 * config/libbid/_sf_to_dd.c: Likewise.
4192 * config/libbid/_sf_to_sd.c: Likewise.
4193 * config/libbid/_sf_to_td.c: Likewise.
4194 * config/libbid/_si_to_dd.c: Likewise.
4195 * config/libbid/_si_to_sd.c: Likewise.
4196 * config/libbid/_si_to_td.c: Likewise.
4197 * config/libbid/_td_to_dd.c: Likewise.
4198 * config/libbid/_td_to_df.c: Likewise.
4199 * config/libbid/_td_to_di.c: Likewise.
4200 * config/libbid/_td_to_sd.c: Likewise.
4201 * config/libbid/_td_to_sf.c: Likewise.
4202 * config/libbid/_td_to_si.c: Likewise.
4203 * config/libbid/_td_to_tf.c: Likewise.
4204 * config/libbid/_td_to_udi.c: Likewise.
4205 * config/libbid/_td_to_usi.c: Likewise.
4206 * config/libbid/_td_to_xf.c: Likewise.
4207 * config/libbid/_tf_to_dd.c: Likewise.
4208 * config/libbid/_tf_to_sd.c: Likewise.
4209 * config/libbid/_tf_to_td.c: Likewise.
4210 * config/libbid/_udi_to_dd.c: Likewise.
4211 * config/libbid/_udi_to_sd.c: Likewise.
4212 * config/libbid/_udi_to_td.c: Likewise.
4213 * config/libbid/_unord_dd.c: Likewise.
4214 * config/libbid/_unord_sd.c: Likewise.
4215 * config/libbid/_unord_td.c: Likewise.
4216 * config/libbid/_usi_to_dd.c: Likewise.
4217 * config/libbid/_usi_to_sd.c: Likewise.
4218 * config/libbid/_usi_to_td.c: Likewise.
4219 * config/libbid/_xf_to_dd.c: Likewise.
4220 * config/libbid/_xf_to_sd.c: Likewise.
4221 * config/libbid/_xf_to_td.c: Likewise.
4222 * config/libbid/bid128.c: Likewise.
4223 * config/libbid/bid128_2_str.h: Likewise.
4224 * config/libbid/bid128_2_str_macros.h: Likewise.
4225 * config/libbid/bid128_2_str_tables.c: Likewise.
4226 * config/libbid/bid128_add.c: Likewise.
4227 * config/libbid/bid128_compare.c: Likewise.
4228 * config/libbid/bid128_div.c: Likewise.
4229 * config/libbid/bid128_fma.c: Likewise.
4230 * config/libbid/bid128_logb.c: Likewise.
4231 * config/libbid/bid128_minmax.c: Likewise.
4232 * config/libbid/bid128_mul.c: Likewise.
4233 * config/libbid/bid128_next.c: Likewise.
4234 * config/libbid/bid128_noncomp.c: Likewise.
4235 * config/libbid/bid128_quantize.c: Likewise.
4236 * config/libbid/bid128_rem.c: Likewise.
4237 * config/libbid/bid128_round_integral.c: Likewise.
4238 * config/libbid/bid128_scalb.c: Likewise.
4239 * config/libbid/bid128_sqrt.c: Likewise.
4240 * config/libbid/bid128_string.c: Likewise.
4241 * config/libbid/bid128_to_int16.c: Likewise.
4242 * config/libbid/bid128_to_int32.c: Likewise.
4243 * config/libbid/bid128_to_int64.c: Likewise.
4244 * config/libbid/bid128_to_int8.c: Likewise.
4245 * config/libbid/bid128_to_uint16.c: Likewise.
4246 * config/libbid/bid128_to_uint32.c: Likewise.
4247 * config/libbid/bid128_to_uint64.c: Likewise.
4248 * config/libbid/bid128_to_uint8.c: Likewise.
4249 * config/libbid/bid32_to_bid128.c: Likewise.
4250 * config/libbid/bid32_to_bid64.c: Likewise.
4251 * config/libbid/bid64_add.c: Likewise.
4252 * config/libbid/bid64_compare.c: Likewise.
4253 * config/libbid/bid64_div.c: Likewise.
4254 * config/libbid/bid64_fma.c: Likewise.
4255 * config/libbid/bid64_logb.c: Likewise.
4256 * config/libbid/bid64_minmax.c: Likewise.
4257 * config/libbid/bid64_mul.c: Likewise.
4258 * config/libbid/bid64_next.c: Likewise.
4259 * config/libbid/bid64_noncomp.c: Likewise.
4260 * config/libbid/bid64_quantize.c: Likewise.
4261 * config/libbid/bid64_rem.c: Likewise.
4262 * config/libbid/bid64_round_integral.c: Likewise.
4263 * config/libbid/bid64_scalb.c: Likewise.
4264 * config/libbid/bid64_sqrt.c: Likewise.
4265 * config/libbid/bid64_string.c: Likewise.
4266 * config/libbid/bid64_to_bid128.c: Likewise.
4267 * config/libbid/bid64_to_int16.c: Likewise.
4268 * config/libbid/bid64_to_int32.c: Likewise.
4269 * config/libbid/bid64_to_int64.c: Likewise.
4270 * config/libbid/bid64_to_int8.c: Likewise.
4271 * config/libbid/bid64_to_uint16.c: Likewise.
4272 * config/libbid/bid64_to_uint32.c: Likewise.
4273 * config/libbid/bid64_to_uint64.c: Likewise.
4274 * config/libbid/bid64_to_uint8.c: Likewise.
4275 * config/libbid/bid_b2d.h: Likewise.
4276 * config/libbid/bid_binarydecimal.c: Likewise.
4277 * config/libbid/bid_conf.h: Likewise.
4278 * config/libbid/bid_convert_data.c: Likewise.
4279 * config/libbid/bid_decimal_data.c: Likewise.
4280 * config/libbid/bid_decimal_globals.c: Likewise.
4281 * config/libbid/bid_div_macros.h: Likewise.
4282 * config/libbid/bid_dpd.c: Likewise.
4283 * config/libbid/bid_flag_operations.c: Likewise.
4284 * config/libbid/bid_from_int.c: Likewise.
4285 * config/libbid/bid_functions.h: Likewise.
4286 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4287 * config/libbid/bid_inline_add.h: Likewise.
4288 * config/libbid/bid_internal.h: Likewise.
4289 * config/libbid/bid_round.c: Likewise.
4290 * config/libbid/bid_sqrt_macros.h: Likewise.
4292 2009-04-09 Jakub Jelinek <jakub@redhat.com>
4294 * Makefile.in: Change copyright header to refer to version
4295 3 of the GNU General Public License and to point readers at the
4296 COPYING3 file and the FSF's license web page.
4297 * config.host: Likewise.
4299 2009-04-07 Alan Modra <amodra@bigpond.net.au>
4301 * config.host: Reorder and merge to match config.gcc change.
4303 2009-04-03 Alan Modra <amodra@bigpond.net.au>
4305 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4307 2009-03-28 Joseph Myers <joseph@codesourcery.com>
4309 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4310 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4311 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4312 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4314 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
4316 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4317 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4319 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
4321 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4322 ia64/t-softfp-compat to tmake_file.
4324 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4326 * config/ia64/__divxf3.asm: New.
4327 * config/ia64/_fixtfdi.asm: Likewise.
4328 * config/ia64/_fixunstfdi.asm: Likewise.
4329 * config/ia64/_floatditf.asm: Likewise.
4330 * config/ia64/t-fprules-softfp: Likewise.
4331 * config/ia64/t-softfp-compat: Likewise.
4332 * config/ia64/tf-signs.c: Likewise.
4334 2009-01-18 Ben Elliston <bje@au.ibm.com>
4336 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4338 2009-01-16 Ben Elliston <bje@au.ibm.com>
4340 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4343 2009-01-13 Ben Elliston <bje@au.ibm.com>
4345 * config/t-softfp: New file.
4346 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4347 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4349 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
4351 * config.host: Add m32r*-*-rtems*.
4353 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
4355 * config.host: Add m32c*-*-rtems*.
4357 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4360 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4361 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4362 * configure: Regenerate.
4363 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4364 tmake_file here from gcc/config.gcc.
4365 Move extra_parts here from gcc/config.gcc.
4366 * config/i386/t-sol2: Move here from gcc/config/i386.
4367 Use gcc_srcdir instead of srcdir.
4369 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
4371 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4374 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
4376 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4378 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
4380 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4382 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
4385 * config.host: Add picochip-*-*.
4387 2008-08-06 Bob Wilson <bob.wilson@acm.org>
4389 * config.host: Match more processor names for Xtensa.
4391 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
4393 * config/i386/64/t-softfp-compat: Update comments.
4395 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
4397 * config/i386/64/_divtc3-compat.c: Moved to ...
4398 * config/i386/64/_divtc3.c: Here.
4400 * config/i386/64/_multc3-compat.c: Moved to ...
4401 * config/i386/64/_multc3.c: Here.
4403 * config/i386/64/_powitf2-compat.c: Moved to ...
4404 * config/i386/64/_powitf2.c: Here.
4406 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4407 .c suffix instead of -compat.c.
4409 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
4411 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4412 (_FP_MUL_MEAT_D): Ditto.
4413 (_FP_DIV_MEAT_S): Ditto.
4414 (_FP_DIV_MEAT_D): Ditto.
4416 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
4418 * Makefile.in: Add support for __sync_* libgcc functions.
4420 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
4422 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4424 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4427 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4428 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
4430 * config/i386/64/t-fprules-softfp: Moved to ...
4431 * config/i386/64/t-softfp-compat: This. New.
4433 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
4435 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4436 Initialize f with 0.0.
4438 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4441 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4443 * config/i386/64/_divtc3-compat.c: New.
4444 * config/i386/64/_multc3-compat.c: Likewise.
4445 * config/i386/64/_powitf2-compat.c: Likewise.
4446 * config/i386/64/eqtf2.c: Likewise.
4447 * config/i386/64/getf2.c: Likewise.
4448 * config/i386/64/letf2.c: Likewise.
4449 * config/i386/64/t-fprules-softfp: Likewise.
4451 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4453 * config.host: Add i386/${host_address}/t-fprules-softfp to
4454 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4455 i[34567]86-*-linux*, x86_64-*-linux*.
4457 * configure.ac: Set host_address to 64 or 32 for x86.
4458 * configure: Regenerated.
4460 * Makefile.in (config.status): Also depend on
4461 $(srcdir)/config.host.
4463 * config/i386/32/t-fprules-softfp: New.
4464 * config/i386/32/tf-signs.c: Likewise.
4466 * config/i386/64/sfp-machine.h: New. Moved from gcc.
4468 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4469 Uros Bizjak <ubizjak@gmail.com>
4471 * config/i386/32/sfp-machine.h: New.
4473 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
4475 * config/rs6000/t-ppccomm: Remove rules that conflict with
4476 auto-generated rules.
4478 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4480 * configure.ac: sinclude override.m4.
4481 * configure: Regenerate.
4483 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
4485 * configure: Regenerate.
4487 2008-06-10 Joseph Myers <joseph@codesourcery.com>
4489 * Makefile.in (DECNUMINC): Remove
4490 -I$(MULTIBUILDTOP)../../libdecnumber.
4493 2008-06-07 Joseph Myers <joseph@codesourcery.com>
4495 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4496 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4497 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4498 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4499 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4500 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4501 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4502 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4503 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4504 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4505 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4506 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4507 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4508 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4510 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
4512 * config.host (sh2[lbe]*-*-linux*): Allow target.
4514 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
4516 * config/rs6000/t-ppccomm: Add build rules for new files.
4517 (LIB2ADD_ST): New variable.
4519 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
4523 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4524 * config/t-avr: New file. Build 16bit libgcc functions.
4526 2008-03-02 Jakub Jelinek <jakub@redhat.com>
4529 * config/t-slibgcc-darwin: Make install-leaf dependent on
4530 install-darwin-libgcc-stubs instead of install.
4532 2008-01-25 Joseph Myers <joseph@codesourcery.com>
4534 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4535 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4536 sh-*-rtemscoff*): Remove cases.
4538 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
4540 * Makefile.in (all): Use install-leaf rather than install.
4541 (install): Split most of the rule into...
4542 (install-leaf): ...this new one.
4544 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
4545 Paolo Bonzini <bonzini@gnu.org>
4548 * Makefile.in: Use @shlib_slibdir@ substitution to get
4549 correct install name on darwin.
4550 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4552 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
4554 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4555 cris-*-elf and cris-*-none.
4556 (crisv32-*-linux*): Similar, as cris-*-linux*.
4558 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
4560 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4562 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
4565 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4566 * configure: Regenerated.
4568 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
4570 * Makefile.in (dfp-filenames): Replace decimal_globals,
4571 decimal_data, binarydecimal and convert_data with
4572 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4573 and bid_convert_data, respectively.
4575 2007-09-17 Chao-ying Fu <fu@mips.com>
4576 Nigel Stephens <nigel@mips.com>
4578 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4579 * Makefile.in (fixed_point): Define.
4580 Check if fixed_point is yes to build support functions.
4581 * configure.ac: Check for fixed_point support.
4582 * configure: Regenerated.
4583 * gen-fixed.sh: New file to generate lists of fixed-point labels,
4584 funcs, modes, from, to.
4586 2007-09-11 Janis Johnson <janis187@us.ibm.com
4588 * Makefile.in (dfp-filenames): Add bid128_noncomp.
4590 2007-09-10 Janis Johnson <janis187@us.ibm.com>
4592 * Makefile.in (dfp-filenames): Remove decUtility, add
4593 decDouble, decPacked, decQuad, decSingle.
4595 2007-08-27 Hans Kester <hans.kester@ellips.nl>
4597 * config.host : Add x86_64-elf target.
4599 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4601 * configure.ac (set_have_cc_tls): Add a missing =.
4602 * configure: Regenerated.
4604 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4606 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4607 and x86_64-*-linux*.
4609 * config/t-tls: New file.
4611 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4613 * configure.ac: Include ../config/enable.m4 and
4614 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4615 supports TLS and substitute set_have_cc_tls.
4616 * configure: Regenerated.
4618 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4620 * Makefile.in: Use libbid for DFP when BID is enabled.
4622 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4624 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4625 extra_parts. Add config/i386/t-cygming to tmake_file.
4626 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4628 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
4629 Danny Smith <dannysmith@users.sourceforge.net>
4632 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4633 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4634 * config/i386/t-crtfm: Compile crtfastmath.o with
4635 -minline-all-stringops.
4637 2007-05-10 Richard Sandiford <richard@codesourcery.com>
4639 * config.host (sparc-wrs-vxworks): New target.
4641 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
4643 * config.host: Recognize fido.
4645 2007-04-04 Janis Johnson <janis187@us.ibm.com>
4647 * configure: Check host, not target, for decimal float support.
4649 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
4651 * config/i386/t-crtpc: New file.
4652 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4653 (x86_64-*-linux*): Ditto.
4655 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
4657 * config.host (x86_64-*-mingw*): New target.
4659 2007-03-23 Michael Meissner <michael.meissner@amd.com>
4660 H.J. Lu <hongjiu.lu@intel.com>
4662 * Makefile.in (enable_decimal_float): New.
4664 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4665 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4666 (decbits-filenames): This.
4667 (decbits-objects): New.
4668 (libgcc-objects): Add $(decbits-objects).
4670 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4671 Substitute enable_decimal_float.
4672 * configure: Regenerated.
4674 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
4676 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4678 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4680 * Makefile.in (install-info): New dummy target.
4682 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4684 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4686 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4688 * Makefile.in: Add install-html and install-pdf dummy
4691 2007-02-05 Roger Sayle <roger@eyesopen.com>
4692 Daniel Jacobowitz <dan@codesourcery.com>
4694 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4695 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4696 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4698 2007-01-29 Janis Johnson <janis187@us.ibm.com>
4700 * Makefile.in (dec-filenames): Add decExcept.
4702 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4705 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4708 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
4710 * configure.ac: Add --enable-version-specific-runtime-libs.
4711 Correct $slibdir default.
4712 * configure: Regenerated.
4714 2007-01-23 Joseph Myers <joseph@codesourcery.com>
4716 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4718 2007-01-21 Andrew Pinski <pinskia@gmail.com>
4721 * config.host (alpha*-*-linux*): Set extra_parts.
4723 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
4725 * config/sh/t-linux: New.
4726 * config.host (sh*-*-linux*): Set tmake_file.
4728 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4730 * Makefile.in (install): Handle multilibs.
4732 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4734 * Makefile.in: Added .PHONY entry for documentation targets.
4736 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4738 * Makefile.in: Add empty info, html, dvi, pdf targets.
4740 2007-01-04 Mike Stump <mrs@apple.com>
4742 * Makefile.in (MAKEINFO): Remove.
4745 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
4747 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4748 * configure: Regenerate.
4749 * Makefile.in (host_subdir): Substitute it.
4750 (gcc_objdir): Use it.
4752 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4754 * config.host (ia64*-*-linux*): Set tmake_file.
4756 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4758 * Makefile.in (version): Define.
4760 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4761 Paolo Bonzini <bonzini@gnu.org>
4763 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4764 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4765 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4766 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4767 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4768 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4769 * configure: Generated.