1 2013-08-06 Caroline Tice <cmtice@google.com>
3 config.host (extra_parts): Add vtv_start.o, vtv_end.o
4 vtv_start_preinit.o and vtv_end_preinit.o.
5 configure.ac: Add code to check/set enable_vtable_verify.
6 Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8 vtv_start_preinit.c: New file.
9 vtv_end_preinit.c: New file.
10 vtv_start.c: New file.
12 configure: Regenerated.
14 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
16 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
17 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
18 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
19 GPL-3.0-with-GCC-exception.
21 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
23 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
26 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
29 mapping for FPRs when creating the fallback framestate.
31 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
34 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
35 (__round_s2_const, __round_u2_const)
36 (__round_s4_const, __round_u4_const, __round_x8):
37 Saturate result if addition result cannot be represented.
39 2013-07-15 Matthias Klose <doko@ubuntu.com>
41 * libgcc2.c: Don't include <limits.h>.
43 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
45 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
47 2013-07-06 Jakub Jelinek <jakub@redhat.com>
50 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
52 2013-06-28 Jakub Jelinek <jakub@redhat.com>
55 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
57 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
58 instead of table lookups.
59 (__popcountDI2): Likewise.
61 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
63 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
66 2013-06-21 Joseph Myers <joseph@codesourcery.com>
69 * soft-fp/adddf3.c: Update from glibc.
70 * soft-fp/addsf3.c: Likewise.
71 * soft-fp/addtf3.c: Likewise.
72 * soft-fp/divdf3.c: Likewise.
73 * soft-fp/divsf3.c: Likewise.
74 * soft-fp/divtf3.c: Likewise.
75 * soft-fp/double.h: Likewise.
76 * soft-fp/eqdf2.c: Likewise.
77 * soft-fp/eqsf2.c: Likewise.
78 * soft-fp/eqtf2.c: Likewise.
79 * soft-fp/extenddftf2.c: Likewise.
80 * soft-fp/extended.h: Likewise.
81 * soft-fp/extendsfdf2.c: Likewise.
82 * soft-fp/extendsftf2.c: Likewise.
83 * soft-fp/fixdfdi.c: Likewise.
84 * soft-fp/fixdfsi.c: Likewise.
85 * soft-fp/fixsfdi.c: Likewise.
86 * soft-fp/fixsfsi.c: Likewise.
87 * soft-fp/fixtfdi.c: Likewise.
88 * soft-fp/fixtfsi.c: Likewise.
89 * soft-fp/fixunsdfdi.c: Likewise.
90 * soft-fp/fixunsdfsi.c: Likewise.
91 * soft-fp/fixunssfdi.c: Likewise.
92 * soft-fp/fixunssfsi.c: Likewise.
93 * soft-fp/fixunstfdi.c: Likewise.
94 * soft-fp/fixunstfsi.c: Likewise.
95 * soft-fp/floatdidf.c: Likewise.
96 * soft-fp/floatdisf.c: Likewise.
97 * soft-fp/floatditf.c: Likewise.
98 * soft-fp/floatsidf.c: Likewise.
99 * soft-fp/floatsisf.c: Likewise.
100 * soft-fp/floatsitf.c: Likewise.
101 * soft-fp/floatundidf.c: Likewise.
102 * soft-fp/floatundisf.c: Likewise.
103 * soft-fp/floatunditf.c: Likewise.
104 * soft-fp/floatunsidf.c: Likewise.
105 * soft-fp/floatunsisf.c: Likewise.
106 * soft-fp/floatunsitf.c: Likewise.
107 * soft-fp/gedf2.c: Likewise.
108 * soft-fp/gesf2.c: Likewise.
109 * soft-fp/getf2.c: Likewise.
110 * soft-fp/ledf2.c: Likewise.
111 * soft-fp/lesf2.c: Likewise.
112 * soft-fp/letf2.c: Likewise.
113 * soft-fp/muldf3.c: Likewise.
114 * soft-fp/mulsf3.c: Likewise.
115 * soft-fp/multf3.c: Likewise.
116 * soft-fp/negdf2.c: Likewise.
117 * soft-fp/negsf2.c: Likewise.
118 * soft-fp/negtf2.c: Likewise.
119 * soft-fp/op-1.h: Likewise.
120 * soft-fp/op-2.h: Likewise.
121 * soft-fp/op-4.h: Likewise.
122 * soft-fp/op-8.h: Likewise.
123 * soft-fp/op-common.h: Likewise.
124 * soft-fp/quad.h: Likewise.
125 * soft-fp/single.h: Likewise.
126 * soft-fp/soft-fp.h: Likewise.
127 * soft-fp/subdf3.c: Likewise.
128 * soft-fp/subsf3.c: Likewise.
129 * soft-fp/subtf3.c: Likewise.
130 * soft-fp/truncdfsf2.c: Likewise.
131 * soft-fp/trunctfdf2.c: Likewise.
132 * soft-fp/trunctfsf2.c: Likewise.
133 * soft-fp/unorddf2.c: Likewise.
134 * soft-fp/unordsf2.c: Likewise.
135 * soft-fp/unordtf2.c: Likewise.
136 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
137 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
138 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
139 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
140 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
141 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
142 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
143 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
144 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
145 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
146 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
147 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
149 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
151 * config/mips/lib2funcs.c: New file.
152 * config/mips/t-mips (LIB2ADD_ST): Add it.
154 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
157 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
158 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
160 2013-06-08 Walter Lee <walt@tilera.com>
162 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
163 Replace int64_t with long long. Add __extension__ where
165 * config/tilepro/atomic.c: Include config.h.
167 2013-06-06 Douglas B Rupp <rupp@adacore.com>
169 * config.host (arm-wrs-vxworks): Configure with other soft float.
171 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
173 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
174 (mips64r5900el-*-elf*): New configurations.
176 2013-06-04 Alan Modra <amodra@gmail.com>
178 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
180 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
182 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
184 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
186 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
187 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
188 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
190 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
192 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
193 (powerpc-wrs-vxworks): Likewise.
195 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
197 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
198 signal frames as well.
199 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
200 STACK_BIAS to the CFA offset.
202 2013-05-17 Richard Henderson <rth@redhat.com>
205 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
206 (execute_cfa_program): Use it when storing to fs->regs.
208 2013-05-08 Kai Tietz <ktietz@redhat.com>
210 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
211 (__deregister_frame_info): Likewise.
213 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
215 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
218 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
220 2013-04-25 Alan Modra <amodra@gmail.com>
222 * config.host: Match little-endian powerpc-linux.
224 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
226 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
227 as 'unsigned long long' instead of 'unsigned long'.
228 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
231 2013-04-10 Julian Brown <julian@codesourcery.com>
233 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
234 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
235 unsigned char/unsigned short.
236 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
238 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
241 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
243 2013-04-04 Meador Inge <meadori@codesourcery.com>
245 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
246 computing the location of the link register.
247 (aeabi_uldivmod): Ditto.
249 2013-03-27 Kai Tietz <ktietz@redhat.com>
251 * config.host: Add support for cygwin x64 target.
252 * configure: Regenerated.
254 2013-03-26 Walter Lee <walt@tilera.com>
256 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
257 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
259 2013-03-25 Kai Tietz <ktietz@redhat.com>
261 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
263 2013-03-20 Robert Mason <rbmj@verizon.net>
265 * config/vxlib-tls.c (__gthread_get_tsd_data,)
266 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
267 (__gthread_leave_tsd_dtor_context): Add prototypes.
268 (tls_delete_hook): Update.
270 2013-03-20 Catherine Moore <clm@codesourcery.com>
271 Joseph Myers <joseph@codesourcery.com>
272 Chao-ying Fu <fu@mips.com>
274 * config/mips/mips16.S: Don't build for microMIPS.
275 * config/mips/linux-unwind.h: Handle microMIPS frame.
276 * config/mips/crtn.S (fini, init): New labels.
278 2013-03-14 Jakub Jelinek <jakub@redhat.com>
280 PR tree-optimization/53265
281 * unwind-dw2.c (execute_cfa_program): Avoid
282 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
283 on targets with DWARF_FRAME_REGISTERS < 32.
285 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
288 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
289 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
291 2013-03-07 Sriraman Tallam <tmsriram@google.com>
293 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
294 sandybridge processors.
296 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
299 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
302 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
304 * config/microblaze/crti.S: Setup stack protection at entry
306 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
308 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
309 (__rotldi3): Shift bytewise if applicable.
311 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
313 * config/aarch64/sync-cache.c
314 (__aarch64_sync_cache_range): Silence warnings.
316 2013-02-25 Catherine Moore <clm@codesourcery.com>
319 2013-02-24 Catherine Moore <clm@codesourcery.com>
320 Joseph Myers <joseph@codesourcery.com>
321 Chao-ying Fu <fu@mips.com>
323 * config/mips/mips16.S: Don't build for microMIPS.
324 * config/mips/linux-unwind.h: Handle microMIPS frame.
325 * config/mips/crtn.S (fini, init): New labels.
327 2013-02-24 Catherine Moore <clm@codesourcery.com>
328 Joseph Myers <joseph@codesourcery.com>
329 Chao-ying Fu <fu@mips.com>
331 * config/mips/mips16.S: Don't build for microMIPS.
332 * config/mips/linux-unwind.h: Handle microMIPS frame.
333 * config/mips/crtn.S (fini, init): New labels.
335 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
336 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
339 2013-02-16 Alan Modra <amodra@gmail.com>
342 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
343 (ppc_fallback_frame_state): Always set up save locations for fp
344 and altivec. Don't bother with non-callee-saved regs, r0-r13
345 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
347 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
350 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
352 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
353 _ssmulha3, _usmulusa3, _ssmulsa3.
354 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
355 (__muldi3): XCALL __muldi3_6 instead of rcall.
356 (__umulsidi3, __mulsidi3): New functions.
357 (do_prologue_saves, do_epilogue_restores): New .macros.
358 (__divdi3_moddi3): Use them.
359 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
360 (__usmulusa3, __ssmulsa3): New functions.
362 2013-02-11 Iain Sandoe <iain@codesourcery.com>
363 Jack Howarth <howarth@bromo.med.uc.edu>
364 Patrick Marlier <patrick.marlier@gmail.com>
367 * config/darwin-crt-tm.c: Remove dummy functions hack.
369 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
372 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
373 * config/avr/lib2-object.mk: New iterator to build objects from it.
374 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
376 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
377 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
378 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
379 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
380 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
381 * config/avr/lib1funcs-fixed.S: Implement them.
383 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
385 Update copyright years.
387 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
390 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
391 Add crtcxa to extra_parts.
392 * config/rs6000/exit.h: New file.
393 * config/rs6000/cxa_atexit.c: New file.
394 * config/rs6000/cxa_finalize.c: New file.
395 * config/rs6000/crtcxa.c: New file.
396 * config/rs6000/t-aix-cxa: New file.
397 * config/rs6000/libgcc-aix-cxa.ver: New file.
399 2013-01-31 Nick Clifton <nickc@redhat.com>
401 * config/v850/lib1funcs.S: Add support for e3v5 architecture
404 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
407 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
408 _mulQQ, _mulHQ, _mulHA, _mulSA,
409 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
410 _divQQ, _divHQ, _divHA, _divSA,
411 _divUQQ, _divUHQ, _divUHA, _divUSA.
413 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
415 * config.host(microblaze*-linux*): tmake_file: Remove
416 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
417 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
418 to exclude functions from being built with libgcc.c and use
419 the microblaze assembly.
421 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
423 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
426 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
428 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
429 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
430 __UINTPTR_TYPE__; also cast 'base' to the same type before the
433 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
435 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
436 loop start address for cache clearing.
438 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
440 * config/avr/lib1funcs.S: Remove trailing blanks.
441 * config/avr/lib1funcs-fixed.S: Ditto.
443 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
445 * config/avr/avr-lib.h: Add GPL copyright notice.
447 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
449 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
450 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
451 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
452 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
454 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
456 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
457 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
459 2013-01-04 Nick Clifton <nickc@redhat.com>
461 * config/v850/lib1funcs.S: Only provide CALLT support functions if
462 the CALLT instruction is supported.
464 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
466 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
467 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
469 2012-12-13 John Tytgat <John@bass-software.com>
471 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
474 2012-12-12 Jakub Jelinek <jakub@redhat.com>
477 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
478 undefined signed overflows.
480 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
483 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
485 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
487 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
488 (FP_TRAPPING_EXCEPTIONS): Define.
489 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
490 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
492 2012-12-04 Richard Henderson <rth@redhat.com>
495 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
497 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
499 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
500 (FP_EX_SHIFT): Define.
501 (FP_TRAPPING_EXCEPTIONS): Define.
503 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
505 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
506 (FP_ROUNDMODE): Use FP_RND_MASK.
507 * config/aarch64/sfp-exceptions.c: New.
508 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
509 Use __sfp_handle_exceptions.
511 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
513 * config.host: (arm*-*-freebsd*): Remove.
514 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
515 (arm*-*-elf*): Remove.
516 (arm*-*-wince-pe*): Remove.
517 * arm/unwind-arm.c (struct fpa_reg): Delete.
518 (struct fpa_regs): Delete.
519 (phase1_vrs): Remove fpa element.
520 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
521 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
522 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
523 * ieee754-sf.S (floatundisf): Remove FPA support.
524 (floatdisf): Likewise.
525 * ieee75f-df.S (floatundidf): Likewise.
526 (floatdidf): Likewise.
528 2012-11-29 Kai Tietz <ktietz@redhat.com>
531 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
532 * unwind-generic.h: Likewise.
533 * unwind-seh.c: Likewise.
535 2012-11-28 Richard Henderson <rth@redhat.com>
538 * emutls.c (__emutls_get_address): Avoid race condition between
539 obj->loc.offset read and emutls_key initialization.
541 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
543 Adjust decimal point of signed accum mode to GCC default.
546 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
548 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
549 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
551 (__divqq3, __divha3, __divsa3): Adjust to new position of
552 decimal point of signed accum types.
554 (__mulusa3_round): New function.
556 (__divqq_helper): New function.
557 (__udivuqq3): Use it.
559 2012-11-20 Jakub Jelinek <jakub@redhat.com>
562 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
564 2012-11-18 Teresa Johnson <tejohnson@google.com>
567 * libgcov.c (gcov_exit): Remove merged program summary
568 comparison unless !GCOV_LOCKED.
570 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
572 * soft-fp: Updated from glibc upstream.
574 2012-11-06 Ian Lance Taylor <iant@google.com>
576 * generic-morestack.c (__generic_morestack): Align the returned
577 stack pointer to a 32 byte boundary.
578 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
579 increment the return address until we have decided that we don't
580 have a varargs function.
581 (__morestack) [32-bit]: Align stack correctly when calling C
583 (__morestack) [64-bit]: Likewise.
585 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
587 * configure: Regenerate.
589 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
592 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
593 * config/i386/sfp-machine.h: Guard exception handling
594 code with _SOFT_FLOAT.
595 * config/i386/32/sfp-machine.h: Guard rounding handling
596 code with _SOFT_FLOAT.
597 * config/i386/64/sfp-machine.h: Ditto.
599 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
601 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
604 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
606 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
607 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
608 when appropriate. Correct structure element types.
609 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
610 -minline-all-stringops from compile flags.
612 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
614 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
616 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
618 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
620 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
622 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
625 2012-10-23 Ian Bolton <ian.bolton@arm.com>
626 Jim MacArthur <jim.macarthur@arm.com>
627 Marcus Shawcroft <marcus.shawcroft@arm.com>
628 Nigel Stephens <nigel.stephens@arm.com>
629 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
630 Richard Earnshaw <rearnsha@arm.com>
631 Sofiane Naci <sofiane.naci@arm.com>
632 Stephen Thomas <stephen.thomas@arm.com>
633 Tejas Belagod <tejas.belagod@arm.com>
634 Yufeng Zhang <yufeng.zhang@arm.com>
636 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
637 * config/aarch64/crti.S: New file.
638 * config/aarch64/crtn.S: New file.
639 * config/aarch64/linux-unwind.h: New file.
640 * config/aarch64/sfp-machine.h: New file.
641 * config/aarch64/sync-cache.c: New file.
642 * config/aarch64/t-aarch64: New file.
643 * config/aarch64/t-softfp: New file.
645 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
647 * config/mmix/crti.S: Mark program and data addresses using PRELD.
648 Remove typo'd and unnecessary alignment-LOC for .data. Remove
649 no-longer-needed LDBU insns.
651 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
654 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
655 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
657 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
659 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
661 2012-10-15 Matthias Klose <doko@ubuntu.com>
663 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
665 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
667 * configure: Regenerate.
668 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
670 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
672 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
673 instructions for 64bit targets only.
675 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
677 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
678 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
679 * config/i386/32/sfp-machine.h: ... here.
680 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
681 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
684 2012-10-07 Matthias Klose <doko@ubuntu.com>
686 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
688 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
690 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
692 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
693 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
694 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
697 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
700 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
703 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
706 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
707 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
708 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
710 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
713 * config/sh/linux-atomic.S: Delete.
714 * config/sh/linux-atomic.c: New.
715 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
716 linux-atomic.c. Add cflags to disable warnings.
718 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
721 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
723 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
724 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
725 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
726 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
727 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
729 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
731 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
733 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
734 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
736 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
738 * config.host (hppa-*-openbsd*): New target.
739 * config/pa/t-openbsd: New file.
741 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
744 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
745 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
746 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
747 (__divsa3): Use __negsi2 to negate r_quoL.
748 * config/avr/lib1funcs.S (FALIAS): New macro.
749 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
750 (__negsi2): ...this new function.
751 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
752 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
753 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
754 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
755 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
756 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
758 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
761 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
762 (lshrsi3): Reimplement as lshrsi3_r0.
764 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
767 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
770 2012-09-07 Teresa Johnson <tejohnson@google.com>
772 PR gcov-profile/54487
773 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
776 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
779 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
780 not configured --with-avrlibc=no.
781 * config/avr/t-avrlibc: New file.
782 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
783 (DPBIT_FUNCS): Ditto.
784 (TPBIT_FUNCS): Ditto.
786 2012-09-04 Teresa Johnson <tejohnson@google.com>
788 * libgcov.c (struct gcov_summary_buffer): New structure.
789 (gcov_histogram_insert): New function.
790 (gcov_compute_histogram): Ditto.
791 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
792 histograms during summary merging.
794 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
796 * config.host (x86_64-*-openbsd*): New target.
798 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
800 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
803 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
806 * config/avr/t-avr (conv_X): Rename to func_X.
808 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
811 * config/avr/lib1funcs-fixed.S: New file.
812 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
814 (neg2, neg4): New macros.
815 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
816 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
817 (__umulhisi3): Speed up MUL variant if there is enough flash.
818 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
820 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
821 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
822 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
823 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
824 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
825 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
826 (LIB2FUNCS_EXCLUDE): Add supported functions.
828 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
830 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
831 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
833 * fixed-obj.mk: Only expand dependency if $o is not in
836 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
838 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
840 2012-08-22 Joseph Myers <joseph@codesourcery.com>
842 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
843 depend on --enable-shared.
844 ($(lib1asmfuncs-o)): Use %.vis files independent of
846 * static-object.mk ($(base)$(objext), $(base).vis)
847 ($(base)_s$(objext)): Use same rules for visibility handling as in
850 2012-08-21 Ian Lance Taylor <iant@google.com>
852 * config/i386/morestack.S (__morestack_non_split): Increase amount
853 of space allocated for non-split code stack.
855 2012-08-19 Joseph Myers <joseph@codesourcery.com>
857 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
858 even if inhibit_libc.
860 2012-08-17 Julian Brown <julian@codesourcery.com>
862 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
863 -fexceptions -fnon-call-exceptions if not defined.
864 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
865 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
867 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
869 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
872 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
874 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
875 rs6000/t-slibgcc-aix.
877 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
879 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
881 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
883 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
885 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
888 * Makefile.in (version): Replace top_srcdir with srcdir.
890 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
892 * Makefile.in (version): set to BASE-VER file from gcc directory.
894 2012-08-01 Nick Clifton <nickc@redhat.com>
896 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
897 Implements __clrsb for an HImode argument.
899 2012-07-31 Nick Clifton <nickc@redhat.com>
901 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
902 Implements __clrsb for an HImode argument.
903 * config/stormy16/clrsbhi2.c: New file:
904 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
906 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
908 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
910 2012-07-19 Tristan Gingold <gingold@adacore.com>
911 Richard Henderson <rth@redhat.com>
913 * unwind-seh.c: New file.
914 * unwind-generic.h: Include windows.h for SEH.
915 (_Unwind_Exception): Use 6 private fields for SEH.
916 (_GCC_specific_handler): Declare.
917 * unwind-c.c (__gcc_personality_seh0): New function.
919 * config/i386/libgcc-cygming.ver: New file.
920 * config/i386/t-seh-eh: New file.
921 * config.host (x86_64-*-mingw*): Default to seh.
923 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
925 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
927 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
929 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
930 __builtin_expect when checking for exceptions.
931 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
933 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
935 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
936 function declaration.
937 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
939 * config/ia64/sfp-exceptions.c: New.
940 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
942 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
944 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
945 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
946 * config/i386/64/sfp-machine: ... (delete here) ...
947 * config/i386/sfp-machine.h: ... to here.
948 (FP_EX_MASK): Remove.
950 (FP_INIT_ROUNDMODE): Declare asm as volatile.
952 2012-06-11 Sriraman Tallam <tmsriram@google.com>
954 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
955 * config/i386/libgcc-sol2.ver: Ditto.
956 * config/i386/libgcc-glibc.ver: Ditto.
958 2012-06-11 Roland McGrath <mcgrathr@google.com>
960 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
961 If __GLIBC__ is defined, refer to __pthread_key_create instead of
964 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
966 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
967 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
968 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
969 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
970 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
971 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
972 * config/i386/64/sfp-machine: ... (delete here) ...
973 * config/i386/sfp-machine.h: ... to here.
975 (__sfp_handle_exceptions): New function declaration.
976 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
977 * config/i386/sfp-exceptions.c: New.
978 * config/i386/t-softfp: New.
979 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
980 i386/t-softfp to tmake_file.
982 2012-06-03 David S. Miller <davem@davemloft.net>
984 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
987 2012-05-31 David S. Miller <davem@davemloft.net>
989 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
990 multiply and divide instructions on 32-bit when V9.
991 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
993 2012-05-29 Joseph Myers <joseph@codesourcery.com>
995 * config/arm/ieee754-df.S: Fix typos.
996 * config/arm/ieee754-sf.S: Fix typos.
997 * config/c6x/libunwind.S: Fix typos.
998 * config/epiphany/udivsi3-float.c: Fix typos.
999 * config/microblaze/muldi3_hard.S: Fix typos.
1000 * config/picochip/adddi3.S: Fix typos.
1001 * config/picochip/ashlsi3.S: Fix typos.
1002 * config/picochip/ashrsi3.S: Fix typos.
1003 * config/picochip/clzsi2.S: Fix typos.
1004 * config/picochip/cmpsi2.S: Fix typos.
1005 * config/picochip/divmod15.S: Fix typos.
1006 * config/picochip/divmodhi4.S: Fix typos.
1007 * config/picochip/divmodsi4.S: Fix typos.
1008 * config/picochip/longjmp.S: Fix typos.
1009 * config/picochip/lshrsi3.S: Fix typos.
1010 * config/picochip/parityhi2.S: Fix typos.
1011 * config/picochip/popcounthi2.S: Fix typos.
1012 * config/picochip/setjmp.S: Fix typos.
1013 * config/picochip/subdi3.S: Fix typos.
1014 * config/picochip/ucmpsi2.S: Fix typos.
1015 * config/picochip/udivmodhi4.S: Fix typos.
1016 * config/picochip/udivmodsi4.S: Fix typos.
1017 * config/spu/divv2df3.c: Fix typos.
1018 * config/spu/mfc_multi_tag_release.c: Fix typos.
1019 * config/spu/mfc_tag_release.c: Fix typos.
1020 * configure.ac: Fix typos.
1021 * configure: Regenerate.
1023 2012-05-25 Ian Lance Taylor <iant@google.com>
1025 * config/i386/morestack.S (__morestack_non_split): Check whether
1026 caller is varargs and needs %bp to hold the stack frame on return.
1028 2012-05-25 Olivier Hainque <hainque@adacore.com>
1030 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1031 sequence in the non pic case on VxWorks.
1033 2012-05-24 Olivier Hainque <hainque@adacore.com>
1035 * Makefile.in: Move dependency on install-unwind_h from
1036 "install-leaf" to "install".
1038 2012-05-24 Olivier Hainque <hainque@adacore.com>
1040 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
1041 Use a separate command for stamp removals.
1043 2012-05-21 Andrew Pinski <apinski@cavium.com>
1046 * configure.ac: Define the default includes to being none.
1047 * configure: Regenerate.
1049 2012-05-16 Olivier Hainque <hainque@adacore.com>
1051 * Makefile.in (install-unwind_h): Rename into ...
1052 (install-unwind_h-forbuild): New target.
1053 (all): Use it instead of the former install-unwind_h.
1054 (install-unwind_h): Reinstate, copy to user install destination
1055 for include files, not to the internal gcc object directory one.
1056 (install-leaf): Depend on it.
1058 2012-05-15 Olivier Hainque <hainque@adacore.com>
1060 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1061 register numbers. LR_REGNO replaces R_LR.
1062 (ucontext_for): New, helper for ...
1063 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1065 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1067 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1069 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1070 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1071 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1073 (i[34567]86-*-*, x86_64-*-*): ... here.
1075 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1076 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1078 * config/i386/i386-cpuinfo.c: Rename to ...
1079 * config/i386/cpuinfo.c: ... this.
1080 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1082 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1083 (libgcc_cv_init_priority): New test.
1084 * configure: Regenerate.
1085 * config.in: New file.
1086 * Makefile.in (clean): Rename config.h to auto-target.h.
1087 (config.h): Likewise.
1088 (stamp-h): Likewise.
1090 * config/i386/cpuinfo.c (auto-target.h): Include.
1091 (CONSTRUCTOR_PRIORITY): Define.
1092 (__cpu_indicator_init): Use it.
1094 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1096 * longlong.h: Use a URL instead of an FSF postal address.
1097 Replace spaces with tab.
1099 2012-05-08 Teresa Johnson <tejohnson@google.com>
1101 * libgcov.c (gcov_clear, __gcov_reset): New functions.
1102 (__gcov_dump): Ditto.
1103 (gcov_dump_complete): New global variable.
1104 (gcov_exit): Export hidden to enable use in L_gcov_dump.
1105 (__gcov_flush): Outline functionality now in gcov_clear.
1106 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1108 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
1110 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1111 (mips*-*-linux*): Include mips/t-tpbit when long double is
1114 2012-04-25 Sriraman Tallam <tmsriram@google.com>
1116 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1117 (get_available_features): New argument. Check for AVX2.
1118 (__cpu_indicator_init): Modify call to get_available_features.
1120 2012-04-25 Alan Modra <amodra@gmail.com>
1122 * config/rs6000/crtsavevr.S: New file.
1123 * config/rs6000/crtrestvr.S: New file.
1124 * config/rs6000/t-savresfgpr: Build the above.
1125 * config/rs6000/t-netbsd: Likewise.
1127 2012-04-24 Sriraman Tallam <tmsriram@google.com>
1129 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1131 2012-04-24 Sriraman Tallam <tmsriram@google.com>
1133 * libgcc/config/i386/i386-cpuinfo.c: New file.
1134 * libgcc/config/i386/t-cpuinfo: New file.
1135 * libgcc/config.host: Include t-cpuinfo.
1136 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1138 2012-04-24 Chao-ying Fu <fu@mips.com>
1140 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1142 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
1144 struct siginfo vs. siginfo_t
1146 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1147 siginfo_t instead of struct siginfo.
1148 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1149 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1150 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1151 (ia64_handle_unwabi): Likewise.
1152 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1153 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1154 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1155 (sh_fallback_frame_state): Likewise.
1156 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1157 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1159 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
1161 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1164 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
1166 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1167 if it hasn't been previously saved.
1169 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
1171 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1174 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
1177 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1178 instead of __AVR_HAVE_8BIT_SP__.
1180 2012-03-26 Tristan Gingold <gingold@adacore.com>
1182 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1183 (unw_table_entry): Use unw_word instead of unsigned long.
1184 (_Unwind_FindTableEntry): Likewise.
1185 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1186 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1187 (_Unwind_FindTableEntry): Likewise.
1188 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1189 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1190 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1191 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1192 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1193 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1194 (uw_init_context_1, uw_install_context): Likewise.
1195 (unw_word): Move to unwind-ia64.h
1197 2012-03-26 Tristan Gingold <gingold@adacore.com>
1199 * config/vms/vms-ucrt0.c: Update copyright years.
1201 (___gcc_main_flags): Declare.
1202 (__main): Check flags to remap argv and exit code.
1203 * config.host (*-*-*vms*): Adjust extra_parts.
1204 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1207 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
1209 * arm/lib1funcs.asm (ctzsi2): New function.
1210 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1211 * arm/t-linux (LIB1ASMFUNCS): Likewise.
1212 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1213 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1214 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1215 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1217 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
1219 * config.host: Add bits to support powerpc64-*-freebsd*.
1220 * config/rs6000/freebsd-unwind.h: New file.
1221 * config/rs6000/t-freebsd64: New file.
1223 2012-03-20 Richard Guenther <rguenther@suse.de>
1225 PR gcov-profile/52627
1226 * libgcov.c (init_mx): Fix mutex name.
1228 2012-03-16 Tristan Gingold <gingold@adacore.com>
1230 * config/ia64/vms-unwind.h: Remove ulong (and replace
1231 it by unw_reg where used). Define unw_reg with __int64.
1233 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1235 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1237 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1239 (sparc_is_sighandler): Likewise.
1241 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
1243 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1246 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1248 * config/arm/crtn.S: Fix typo.
1250 2012-03-13 Richard Guenther <rguenther@suse.de>
1252 * libgcov.c: Remove stdio.h include and NULL un-define.
1254 2012-03-13 Richard Guenther <rguenther@suse.de>
1257 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1259 2012-03-13 Richard Guenther <rguenther@suse.de>
1261 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1263 2012-03-13 Richard Guenther <rguenther@suse.de>
1265 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1266 and __gthread_mutex_init_function definitions.
1268 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1270 * config.host (mips*-*-openbsd*): Remove.
1272 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1274 * config.host: Remove alpha*-dec-osf5.1* handling.
1275 * config/alpha/gthr-posix.c: Remove.
1276 * config/alpha/libgcc-osf5.ver: Remove.
1277 * config/alpha/osf5-unwind.h: Remove.
1278 * config/alpha/t-osf-pthread: Remove.
1279 * config/alpha/t-slibgcc-osf: Remove.
1280 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1281 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1282 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1283 * mkmap-flat.awk: Remove osf_export handling.
1285 2012-03-12 Richard Guenther <rguenther@suse.de>
1287 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1288 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1289 (__gthread_mutex_init_function): New function.
1290 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1293 * libgcov.c: Include gthr.h.
1294 (__gcov_flush_mx): New global variable.
1295 (init_mx, init_mx_once): New functions.
1296 (__gcov_flush): Protect self with a mutex.
1297 (__gcov_fork): Re-initialize mutex after forking.
1298 * unwind-dw2-fde.c: Change condition under which to use
1299 __GTHREAD_MUTEX_INIT_FUNCTION.
1301 2012-03-12 Tristan Gingold <gingold@adacore.com>
1303 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1304 * config/ia64/t-vms: Likewise.
1306 2012-03-11 Michael Hope <michael.hope@linaro.org>
1308 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1311 2012-03-07 Walter Lee <walt@tilera.com>
1313 * config/tilepro/atomic.c: Rename "atomic_" prefix to
1315 (atomic_xor): Rename and move definition to
1316 config/tilepro/atomic.h.
1317 (atomic_nand): Ditto.
1318 * config/tilepro/atomic.h: Rename "atomic_" prefix to
1320 (arch_atomic_xor): Move from config/tilepro/atomic.c.
1321 (arch_atomic_nand): Ditto.
1323 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1326 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1328 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1331 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1334 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1338 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1339 if RAMPZ affects reading from RAM.
1340 (__tablejump_elpm__): Ditto.
1342 (__movmemx_hi): Ditto.
1343 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1344 (__do_global_dtors): Ditto.
1345 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1346 (__movmemx_hi): Ditto.
1348 2012-03-05 Richard Henderson <rth@redhat.com>
1350 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1351 [ARM] (count_trailing_zeros): Use the builtin.
1353 2012-03-01 Kai Tietz <ktietz@redhat.com>
1355 * soft-fp: Imported from glibc upstream.
1357 2012-02-28 Kai Tietz <ktietz@redhat.com>
1359 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1360 for mingw-targets as attribute gcc_struct.
1362 2012-02-28 Ian Lance Taylor <iant@google.com>
1364 * generic-morestack.c (__splitstack_releasecontext): Correct call
1365 to __morestack_release_segments.
1367 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1370 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1371 for __linux__ when removing signals from __morestack_fullmask.
1373 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
1376 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1378 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1380 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1381 instead of HAVE_INITFINI_ARRAY.
1382 * config/ia64/crtend.S: Likewise.
1384 2012-02-20 Kai Tietz <ktietz@redhat.com>
1387 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1389 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1390 to w32-unwind.h header.
1392 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1394 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1395 (mips*-*-linux*): Remove t-slibgcc-libgcc.
1396 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1397 * config/mips/mips16.S (__mips16_rdhwr): Delete.
1399 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1401 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1403 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1406 * config/darwin-crt-tm.c: Correct typo.
1408 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1409 Patrick Marlier <patrick.marlier@gmail.com>
1412 * config/darwin-crt-tm.c: Generate dummy functions.
1414 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1415 Patrick Marlier <patrick.marlier@gmail.com>
1418 * config/darwin-crt-tm.c (getTMCloneTable): New function.
1419 (__doTMRegistrations): Call it.
1420 (__doTMdeRegistrations): Likewise.
1422 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
1423 Anatoly Sokolov <aesok@post.ru>
1424 Eric Weddington <eric.weddington@atmel.com>
1427 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1428 (__epilogue_restores__): Ditto.
1430 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
1434 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1435 Solaris 11 and slightly reformat.
1436 (sparc_is_sighandler): Likewise.
1438 2012-02-14 Walter Lee <walt@tilera.com>
1440 * config.host: Handle tilegx and tilepro.
1441 * config/tilegx/sfp-machine.h: New file.
1442 * config/tilegx/sfp-machine32.h: New file.
1443 * config/tilegx/sfp-machine64.h: New file.
1444 * config/tilegx/t-crtstuff: New file.
1445 * config/tilegx/t-softfp: New file.
1446 * config/tilegx/t-tilegx: New file.
1447 * config/tilepro/atomic.c: New file.
1448 * config/tilepro/atomic.h: New file.
1449 * config/tilepro/linux-unwind.h: New file.
1450 * config/tilepro/sfp-machine.h: New file.
1451 * config/tilepro/softdivide.c: New file.
1452 * config/tilepro/softmpy.S: New file.
1453 * config/tilepro/t-crtstuff: New file.
1454 * config/tilepro/t-tilepro: New file.
1456 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1460 * gthr-posix.h: Allow static initializer macros to be disabled.
1461 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1463 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1465 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1466 Add t-slibgcc-libgcc to tmake_file.
1467 * config/mips/libgcc-mips16.ver: Revert previous patch.
1468 * config/mips/mips16.S (__mips16_rdhwr): Hide.
1470 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1471 Jayant R Sonar <jayant.sonar@kpitcummins.com>
1473 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1474 * config/cr16/crti.S: New file.
1475 * config/cr16/crtlibid.S: New file.
1476 * config/cr16/crtn.S: New file.
1477 * config/cr16/lib1funcs.S: New file.
1478 * config/cr16/t-cr16: New file.
1479 * config/cr16/t-crtlibid: New file.
1480 * config/cr16/unwind-dw2.h: New file.
1481 * config/cr16/unwind-cr16.c: New file.
1482 * config/cr16/divmodhi3.c: New file.
1484 2012-01-25 Alan Modra <amodra@gmail.com>
1486 * config/rs6000/t-linux64: Delete. Move..
1487 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1488 * config/rs6000/t-linux: ..and libgcc flags to here.
1490 2012-01-22 Douglas B Rupp <rupp@gnat.com>
1492 * config.host (i[34567]86-*-interix3*):
1493 Change triplet to i[34567]86-*-interix[3-9]*.
1494 * configure: Regenerate.
1496 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
1497 Richard Sandiford <rdsandiford@googlemail.com>
1499 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1500 * config/mips/mips16.S (__mips16_rdhwr): New function.
1501 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1503 2012-01-11 Nathan Sidwell <nathan@acm.org>
1505 * libgcov.c (__gcov_init): Ignore objects with no functions.
1507 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
1510 Extend __pgmx semantics to linearize memory.
1511 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1512 * config/avr/lib1funcs.S (__xload_1): New function.
1513 (__movmemx_qi, __movmemx_hi): New functions.
1514 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1517 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1519 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1520 purported sigacthandler address isn't null before dereferencing it.
1521 (sparc_is_sighandler): Likewise.
1523 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1526 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1527 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
1528 (sparc_is_sighandler): Likewise.
1529 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1531 2012-01-06 Tristan Gingold <gingold@adacore.com>
1533 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1534 compatibility thunks...
1535 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1536 (crtbeginS.o, crtendS.o): ... and these to ...
1537 * config/ia64/t-ia64-elf: ... this new file.
1538 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1539 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1541 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1543 * configure: Regenerate.
1544 * config/s390/t-crtstuff: Remove -fPIC.
1546 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1549 * enable-execute-stack-mprotect.c (getpagesize): Do not define
1552 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1555 * config/avr/lib1funcs.S: Remove FIXME comments.
1556 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1558 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1560 Implement light-weight DImode support.
1561 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1562 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1563 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1564 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1566 2011-12-30 Nathan Sidwell <nathan@acm.org>
1568 * libgcov.c (gcov_crc32): Remove global var.
1569 (free_fn_data): New function.
1570 (buffer_fn_data): Pass in filename, more robust error recovery.
1571 (crc32_unsigned): New function.
1572 (gcov_exit): More robust detection of new program. More robust
1574 (__gcov_init): Do not update program's crc here.
1576 2011-12-21 Tristan Gingold <gingold@adacore.com>
1578 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1580 2011-12-21 Ian Lance Taylor <iant@google.com>
1582 * config/i386/morestack.S: Simplify CFI opcodes throughout.
1584 2011-12-20 Ian Lance Taylor <iant@google.com>
1586 * config/i386/morestack.S (__morestack_non_split): If there is
1587 enough stack space already, don't split. Ask for more stack space
1590 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
1592 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1594 (_Unwind_DebugHook): New function.
1595 (uw_restore_core_regs): New define.
1596 (unwind_phase2): Use uw_restore_core_regs instead of
1598 (unwind_phase2_forced): Likewise.
1599 (__gnu_Unwind_Resume): Likewise.
1601 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
1603 * config/alpha/linux-unwind.h: Update copyright years.
1604 (MD_FROB_UPDATE_CONTEXT): New define.
1605 (alpha_frob_update_context): New function.
1607 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
1609 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1610 tmake_file rather replacing it.
1612 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
1614 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1615 function is not used for PPC64.
1616 (save_world): Amend comments. Update the VRsave mask to reflect the
1618 (rest_world): Update comments, do not clobber r10, do not use r8.
1619 (eh_rest_world_r10): Amend comments, do not use r8.
1620 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1621 no longer used, move restore of CR and target address to the end of
1624 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1626 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1627 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1629 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
1632 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1633 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1635 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1637 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1639 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
1642 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1643 * config/avr/lib1funcs.S (__muldi3): New function.
1645 2011-12-06 Andrew Pinski <apinski@cavium.com>
1647 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1649 (__frame_dummy_init_array_entry): Likewise.
1651 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
1653 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1657 * config/avr/lib1funcs.S (__prologue_saves__,
1658 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1659 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1661 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1663 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1665 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1668 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1669 (_ITM_deregisterTMCloneTable): Likewise.
1670 (__register_frame_info): Fix unused warning.
1671 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1672 pthread_default_stacksize_np): Likewise.
1673 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1675 2011-11-29 DJ Delorie <dj@redhat.com>
1677 * config.host (rl78-*-elf): New case.
1678 * config/rl78: New directory for the Renesas RL78.
1680 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1682 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1685 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1688 * config/rs6000/t-savresfgpr: New file.
1689 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1690 $(srcdir)/config/rs6000/eabi.S.
1691 * config/rs6000/t-ppccomm-ldbl: Remove.
1692 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1694 (powerpc-*-eabispe*): Likewise.
1695 (powerpc-*-eabi*): Likewise.
1696 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1697 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1698 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1699 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1701 (powerpc-*-eabisim*): Likewise.
1702 (powerpc-*-elf*): Likewise.
1703 (powerpc-*-eabialtivec*): Likewise.
1704 (powerpc-xilinx-eabi*): Likewise.
1705 (powerpc-*-rtems*): Likewise.
1706 (powerpcle-*-elf*): Likewise.
1707 (powerpcle-*-eabisim*): Likewise.
1708 (powerpcle-*-eabi*): Likewise.
1710 2011-11-27 Ian Lance Taylor <iant@google.com>
1712 * generic-morestack.c (__splitstack_find): Check for NULL old
1714 (__splitstack_resetcontext): New function.
1715 (__splitstack_releasecontext): New function.
1716 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1718 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1720 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1722 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1724 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1726 2011-11-26 Richard Henderson <rth@redhat.com>
1728 * config/m68k/linux-atomic.c: New file.
1729 * config/m68k/t-linux: New file.
1730 * config.host (m68k-uclinux, m68k-linux): Use it.
1732 2011-11-26 Richard Henderson <rth@redhat.com>
1734 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1735 (__TMC_END__): Only declare if hidden is available; in the definition,
1736 if hidden is unavailable add a null record.
1737 (deregister_tm_clones, register_tm_clones): New.
1738 (__do_global_dtors_aux, frame_dummy): Use them.
1739 (__do_global_dtors, __do_global_ctors_1): Likewise.
1741 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
1743 * config/darwin-crt-tm.c: New file.
1744 * config.host (darwin): Build crttms.o crttme.o to provide
1745 startup and shutdown for tm clones.
1746 * config/t-darwin (crttms.o): New build rule.
1747 (crttme.o): Likewise.
1749 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
1751 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1754 2011-11-21 Richard Henderson <rth@redhat.com>
1756 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1757 (__TMC_LIST__, __TMC_END__): New.
1758 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1759 (__do_global_dtors): Likewise.
1760 (frame_dummy): Call _ITM_registerTMCloneTable.
1761 (__do_global_ctors_1): Likewise.
1763 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1765 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1766 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1767 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1768 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1769 * config/i386/t-darwin64: Remove.
1770 * config/sh/t-netbsd (LIB2ADD): Remove.
1772 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
1775 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1776 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1777 * config/avr/lib1funcs.S (wmov): New assembler macro.
1778 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1779 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1780 (__udivmod64): New function.
1781 (__negdi2): New function.
1783 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
1785 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1786 *-*-freebsd*aout*): Remove.
1788 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
1790 * static-object.mk (c_flags-$o): Save c_flags.
1791 ($(base)$(objext)): Use it.
1793 2011-11-18 Steve Ellcey <sje@cup.hp.com>
1795 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1797 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
1800 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1801 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1804 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1806 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1808 (aeabi_uidivmod): Likewise.
1809 (umodsi3): Likewise.
1811 (aeabi_idivmod): Likewise.
1814 2011-11-16 Tristan Gingold <gingold@adacore.com>
1816 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1818 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
1821 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1822 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1824 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1826 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1828 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1829 * config/pa/t-stublib64: Delete.
1831 2011-11-12 Richard Henderson <rth@redhat.com>
1833 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1834 cast the pointer argument to _Unwind_SetGRPtr.
1836 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1838 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1840 2011-11-09 Ian Lance Taylor <iant@google.com>
1842 * generic-morestack.c: Include <string.h>.
1843 (uintptr_type): Define.
1844 (struct initial_sp): Add dont_block_signals field. Reduce size of
1846 (allocate_segment): Set prev field to NULL. Don't set
1847 __morestack_current_segment or __morestack_segments.
1848 (__generic_morestack): Update current->prev and *pp after calling
1850 (__morestack_block_signals): Don't do anything if
1851 dont_block_signals is set.
1852 (__morestack_unblock_signals): Likewise.
1853 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1855 (__splitstack_block_signals): New function.
1856 (enum __splitstack_content_offsets): Define.
1857 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1858 (__splitstack_makecontext): New function.
1859 (__splitstack_block_signals_context): New function.
1860 (__splitstack_find_context): New function.
1861 * config/i386/morestack.S (__morestack_get_guard): New function.
1862 (__morestack_set_guard, __morestack_make_guard): New functions.
1863 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1865 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1867 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1868 (i[34567]86-*-mingw*): ... here.
1869 (x86_64-*-mingw*): ... here.
1871 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1873 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1875 2011-11-07 Nathan Sidwell <nathan@acm.org>
1877 * libgcov.c (struct gcov_fn_buffer): New struct.
1878 (buffer_fn_data): New helper.
1879 (gcov_exit): Rework for new gcov data structures.
1881 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
1884 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1886 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1888 * config.host (tmake_file): Correct comment.
1889 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1891 (bfin*-uclinux*): Likewise.
1892 (bfin*-linux-uclibc*): Likewise.
1893 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1895 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1897 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1898 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1899 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1900 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1901 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1902 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1903 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1904 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1905 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1906 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1907 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1908 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1909 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1911 * config/bfin/t-elf: Remove.
1912 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1914 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1916 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1917 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1918 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1919 (lm32-*-elf*): ... this.
1920 (lm32-*-rtems*): ... and this.
1922 (m32r-*-rtems*): Add to tmake_file.
1923 (moxie-*-rtems*): Likewise.
1924 (sparc-*-rtems*): Likewise.
1925 Remove t-rtems from tmake_file.
1926 (sparc64-*-rtems*): Likewise.
1927 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1930 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1933 * config/gthr-posix.h: Move ...
1934 * gthr-posix.h: ... here.
1935 * config/gthr-lynx.h: Reflect this.
1936 * config/gthr-vxworks.h: Likewise.
1937 * config/rs6000/gthr-aix.h: Likewise.
1938 * configure.ac (target_thread_file): Likewise.
1939 * configure: Regenerate.
1941 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1943 * config.host (arm*-*-rtemseabi*): New target.
1945 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1948 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1951 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1953 * config.host (epiphany-*-elf*): New configuration.
1954 * config/epiphany: New Directory.
1956 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1958 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1959 * config/avr/t-rtems: New.
1960 Filter out _exit from LIB1ASMFUNCS.
1962 2011-11-04 David S. Miller <davem@davemloft.net>
1964 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1965 * configure: Rebuild.
1967 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1969 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1972 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
1975 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1976 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1978 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1981 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1983 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1985 * config/c6x/t-elf (LIB2ADDEH): Set.
1986 * config/c6x/t-c6x-elf: Remove.
1988 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1990 * config/i386/sol2-ci.S: Rename to ...
1991 * config/i386/crti.S: ... this.
1992 * config/i386/sol2-cn.S: Rename to ...
1993 * config/i386/crtn.S: ... this.
1994 * config/sparc/sol2-ci.S: Rename to ...
1995 * config/sparc/crti.S: ... this.
1996 * config/sparc/sol2-cn.S: Rename to ...
1997 * config/sparc/crtn.S: ... this.
1998 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1999 (crti.o, crtn.o): Remove.
2001 2011-11-04 Tristan Gingold <gingold@adacore.com>
2003 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
2005 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
2007 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
2009 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
2011 * config.host (crisv32-*-none, cris-*-none): Remove.
2012 (crisv32-*-elf): Append to tmake_file, don't just set it.
2013 (cris-*-elf): Add missing t-fdpbit to tmake_file.
2015 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2017 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
2018 (ecrtn$(objext)): Likewise.
2019 (ncrti$(objext)): Likewise.
2020 (ncrtn$(objext)): Likewise.
2022 2011-11-03 Andreas Schwab <schwab@redhat.com>
2024 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2026 2011-11-02 David S. Miller <davem@davemloft.net>
2028 * configure.ac: Set host_address on sparc too.
2029 * configure: Regenerate.
2030 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2031 based upon host_address.
2032 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
2034 2011-11-02 Jason Merrill <jason@redhat.com>
2036 * config/rs6000/t-ppccomm: Add missing \.
2038 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2040 * gthr-single.h, gthr.h: New files.
2041 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2042 config/gthr-vxworks.h, config/i386/gthr-win32.h,
2043 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2044 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2045 * config/i386/gthr-win32.c: Include "gthr-win32.h".
2046 * configure.ac (thread_header): New variable.
2047 Set it depending on target_thread_file.
2048 (gthr-default.h): Link from $thread_header.
2049 * configure: Regenerate.
2050 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2052 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2054 * configure.ac (tm_file_): New variable.
2055 Determine from tm_file.
2056 (tm_file, tm_defines): Substitute.
2057 * configure: Regenerate.
2058 * mkheader.sh: New file.
2059 * Makefile.in (clean): Remove libgcc_tm.h.
2060 ($(objects)): Depend on libgcc_tm.h.
2061 (libgcc_tm_defines, libgcc_tm_file): New variables.
2062 (libgcc_tm.h, libgcc_tm.stamp): New targets.
2063 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2064 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2065 ($(extra-parts)): Depend on libgcc_tm.h.
2066 * config.host (tm_defines, tm_file): New variable.
2067 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2068 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2069 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2070 (avr-*-rtems*): Likewise.
2071 (avr-*-*): Likewise.
2072 (frv-*-elf): Likewise.
2073 (frv-*-*linux*): Likewise.
2074 (h8300-*-rtems*): Likewise.
2075 (h8300-*-elf*): Likewise.
2076 (i[34567]86-*-darwin*): Likewise.
2077 (x86_64-*-darwin*): Likewise.
2078 (rx-*-elf): Likewise.
2079 (tic6x-*-uclinux): Likewise.
2080 (tic6x-*-elf): Likewise.
2081 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2082 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2083 * config/i386/cygming-crtbegin.c: Likewise.
2084 * config/i386/cygming-crtend.c: Likewise.
2085 * config/ia64/fde-vms.c: Likewise.
2086 * config/ia64/unwind-ia64.c: Likewise.
2087 * config/libbid/bid_gcc_intrinsics.h: Likewise.
2088 * config/rs6000/darwin-fallback.c: Likewise.
2089 * config/stormy16/lib2funcs.c: Likewise.
2090 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2091 * crtstuff.c: Likewise.
2092 * dfp-bit.h: Likewise.
2093 * emutls.c: Likewise.
2094 * fixed-bit.c: Likewise.
2095 * fp-bit.c: Likewise.
2096 * generic-morestack-thread.c: Likewise.
2097 * generic-morestack.c: Likewise.
2098 * libgcc2.c: Likewise.
2099 * libgcov.c: Likewise.
2100 * unwind-dw2-fde-dip.c: Likewise.
2101 * unwind-dw2-fde.c: Likewise.
2102 * unwind-dw2.c: Likewise.
2103 * unwind-sjlj.c: Likewise.
2105 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2107 * configure.ac: Include ../config/picflag.m4.
2108 (GCC_PICFLAG): Call it.
2110 * configure: Regenerate.
2111 * Makefile.in (gcc_srcdir): Remove.
2112 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2113 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2114 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2115 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2116 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2119 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2120 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2121 to refer to libgcc2.c.
2123 * config/darwin-64.c: New file.
2124 * config/darwin-crt3.c: Remove comment.
2125 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2126 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2127 config/udivmodsi4.c: New files.
2128 * config/memcmp.c, config/memcpy.c, config/memmove.c,
2129 config/memset.c: New files.
2130 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2131 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2132 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2133 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2134 * config/t-openbsd-thread: New file.
2135 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2136 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2137 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2138 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2141 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2142 to refer to gthr-posix.c.
2143 * config/alpha/t-vms (LIB2ADD): Set.
2144 * config/alpha/vms-gcc_shell_handler.c: New file.
2145 * config/arm/bpabi.c, config/arm/fp16.c,
2146 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2147 config/arm/unaligned-funcs.c: New files.
2148 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2149 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2150 * config/arm/t-linux: Likewise.
2151 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2152 * config/arm/t-netbsd: New file.
2153 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2154 * config/arm/t-symbian (LIB2ADD_ST): Set.
2155 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2156 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2157 * config/bfin/t-elf: New file.
2158 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2159 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2160 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2161 config/c6x/ltf.c: New files.
2162 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2163 (HOST_LIBGCC2_CFLAGS): Set.
2164 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2165 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2166 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2168 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2169 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2170 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2171 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2172 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2174 * config/frv/t-frv (LIB2ADD): Set.
2175 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2176 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2177 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2178 config/h8300/popcounthi2.c: New files.
2179 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2180 * config/i386/gthr-win32.c: New file.
2181 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2182 * config/i386/t-cygwin: Likewise.
2183 * config/i386/t-darwin, config/i386/t-darwin64,
2184 config/i386/t-gthr-win32, config/i386/t-interix: New files.
2185 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2186 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2187 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2188 * config/ia64/quadlib.c: New file.
2189 * config/ia64/t-hpux (LIB2ADD): Set.
2190 * config/ia64/t-ia64: Add comment.
2191 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2192 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2193 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2194 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2195 * config/m32c/t-m32c (LIB2ADD): Set.
2196 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2197 * config/m32r/t-m32r: Likewise.
2198 * config/m68k/fpgnulib.c: New file.
2199 * config/m68k/t-floatlib (LIB2ADD): Set.
2200 (xfgnulib.c): New target.
2201 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2202 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2203 * config/mep/t-mep (LIB2ADD): Set.
2204 * config/microblaze/divsi3.asm: Rename to divsi3.S.
2205 * config/microblaze/moddi3.asm: Rename to moddi3.S.
2206 * config/microblaze/modsi3.asm: Rename to modsi3.S.
2207 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2208 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2209 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2210 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2211 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2212 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2213 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2215 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2216 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2217 * config/pa/fptr.c, config/pa/lib2funcs.S,
2218 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2219 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2220 (LIB2ADD, LIB2ADD_ST): Set.
2221 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2222 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2224 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2225 * config/pdp11/t-pdp11: New file.
2226 * config/picochip/libgccExtras/adddi3.S,
2227 config/picochip/libgccExtras/ashlsi3.S,
2228 config/picochip/libgccExtras/ashrsi3.S,
2229 config/picochip/libgccExtras/clzsi2.S,
2230 config/picochip/libgccExtras/cmpsi2.S,
2231 config/picochip/libgccExtras/divmod15.S,
2232 config/picochip/libgccExtras/divmodhi4.S,
2233 config/picochip/libgccExtras/divmodsi4.S,
2234 config/picochip/libgccExtras/lshrsi3.S,
2235 config/picochip/libgccExtras/parityhi2.S,
2236 config/picochip/libgccExtras/popcounthi2.S,
2237 config/picochip/libgccExtras/subdi3.S,
2238 config/picochip/libgccExtras/ucmpsi2.S,
2239 config/picochip/libgccExtras/udivmodhi4.S,
2240 config/picochip/libgccExtras/udivmodsi4.S: New files.
2241 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2242 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2243 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2244 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2245 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2246 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2247 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
2248 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2250 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2251 (HOST_LIBGCC2_CFLAGS): Set.
2252 * config/rs6000/t-darwin64: New file.
2253 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2254 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2255 * config/rs6000/t-ppccomm (LIB2ADD): Add
2256 $(srcdir)/config/rs6000/tramp.S.
2257 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2258 Add $(srcdir)/config/rs6000/eabi.S.
2259 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2260 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2261 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2262 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2263 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2264 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2265 * config/rs6000/tramp.S: New file.
2266 * config/s390/t-tpf: Remove.
2267 * config/sh/linux-atomic.S: New file.
2268 * config/sh/t-linux (LIB2ADD): Set.
2269 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2270 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2271 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2273 (HOST_LIBGCC2_CFLAGS): Set.
2274 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2275 * config/spu/divmodti4.c, config/spu/divv2df3.c,
2276 config/spu/float_disf.c, config/spu/float_unsdidf.c,
2277 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2278 config/spu/mfc_multi_tag_release.c,
2279 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2280 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2281 config/spu/multi3.c: New files.
2282 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2283 (HOST_LIBGCC2_CFLAGS): Set.
2284 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2285 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2286 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2287 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2288 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2289 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2290 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2291 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2292 config/stormy16/umodsi3.c: New files.
2293 * config/xtensa/lib2funcs.S: New file.
2294 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2295 * config/xtensa/t-xtensa (LIB2ADD): Set.
2296 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2297 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2298 Add t-freebsd-thread to tmake_file for posix threads.
2299 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2300 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2301 (*-*-lynxos*): Likewise.
2302 (*-*-netbsd*): Likewise.
2303 (*-*-openbsd*): Likewise.
2304 Add t-openbsd-thread to tmake_file for posix threads.
2305 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2306 (*-*-vxworks*): Set tmake_file.
2307 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2308 (alpha*-*-freebsd*): Likewise.
2309 (alpha*-*-netbsd*): Likewise.
2310 (alpha*-*-openbsd*): Likewise.
2311 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2312 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2313 (alpha*-dec-*vms*): Likewise.
2314 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2315 (bfin*-elf*): Add bfin/t-elf to tmake_file.
2316 (bfin*-uclinux*): Likewise.
2317 (bfin*-linux-uclibc*): Likewise.
2318 (crisv32-*-elf): Add cris/t-cris to tmake_file.
2319 (crisv32-*-none): Likewise.
2320 (cris-*-elf): Likewise.
2321 (cris-*-none): Likewise.
2322 (cris-*-linux*, crisv32-*-linux*): Likewise.
2323 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2325 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2327 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2328 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2329 (x86_64-*-elf*): Likewise.
2330 (i[34567]86-*-nto-qnx*): Likewise.
2331 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2333 (x86_64-*-mingw*): Likewise.
2334 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2335 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2336 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2337 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2338 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2340 (mipsisa64sr71k-*-elf*): Likewise.
2341 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2342 (mips-*-elf*, mipsel-*-elf*): Likewise.
2343 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2344 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2345 (mips*-*-rtems*): Likewise.
2346 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2348 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2349 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2350 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2351 (spu-*-elf*): Likewise.
2352 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2354 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2356 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2357 $(srcdir) to refer to $(LIB1ASMSRC).
2359 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2360 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2361 config/arm/lib1funcs.S: New files.
2362 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2363 * config/arm/t-arm: New file.
2364 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2365 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2366 config/arm/t-strongarm-elf: New files.
2367 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2368 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2369 * config/avr/lib1funcs.S: New file.
2370 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2371 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2372 * config/c6x/lib1funcs.S: New file.
2373 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2374 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2375 * config/frv/lib1funcs.S: New file.
2376 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2377 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2378 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2379 * config/ia64/__divxf3.asm: Rename to ...
2380 * config/ia64/__divxf3.S: ... this.
2381 Adapt lib1funcs.asm filename.
2382 * config/ia64/_fixtfdi.asm: Rename to ...
2383 * config/ia64/_fixtfdi.S: ... this.
2384 Adapt lib1funcs.asm filename.
2385 * config/ia64/_fixunstfdi.asm: Rename to ...
2386 * config/ia64/_fixunstfdi.S: ... this.
2387 Adapt lib1funcs.asm filename.
2388 * config/ia64/_floatditf.asm: Rename to ...
2389 * config/ia64/_floatditf.S: ... this.
2390 Adapt lib1funcs.asm filename.
2391 * config/ia64/lib1funcs.S: New file.
2392 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2393 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2394 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2395 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2396 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2397 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2398 * config/mep/lib1funcs.S: New file.
2399 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2400 * config/mips/mips16.S: New file.
2401 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2402 * config/pa/milli64.S: New file.
2403 * config/pa/t-linux, config/pa/t-linux64: New files.
2404 * config/picochip/lib1funcs.S: New file.
2405 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2406 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2407 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2408 * config/sh/t-netbsd: New file.
2409 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2410 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2411 * config/sh/t-sh64: New file.
2412 * config/sparc/lb1spc.S: New file.
2413 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2415 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2416 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2417 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2418 config/xtensa/lib1funcs.S: New files.
2419 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2420 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2422 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2423 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2424 (arm*-*-linux*): Likewise.
2425 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2426 arm*-*-linux-*eabi, add arm/t-linux otherwise.
2427 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2428 (arm*-*-ecos-elf): Likewise.
2429 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2430 (arm*-*-rtems*): Likewise.
2431 (arm*-*-elf): Likewise.
2432 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2433 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2434 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2435 (bfin*-uclinux*): Likewise.
2436 (bfin*-linux-uclibc*): Likewise.
2437 (bfin*-rtems*): Likewise.
2438 (bfin*-*): Likewise.
2439 (fido-*-elf): Merge into m68k-*-elf*.
2440 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2441 (frv-*-*linux*): Add frv/t-frv to tmake_file.
2442 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2443 (h8300-*-elf*): Likewise.
2444 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2445 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2446 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2447 (i[34567]86-*-mingw*): Likewise.
2448 (x86_64-*-mingw*): Likewise.
2449 (i[34567]86-*-interix3*): Likewise.
2450 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2451 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2452 (m68k-*-elf*): Also handle fido-*-elf.
2453 Add m68k/t-floatlib to tmake_file.
2454 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2455 (m68k-*-linux*): Likewise.
2456 (m68k-*-rtems*): Likewise.
2457 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2458 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2460 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2461 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2462 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2463 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2464 sh/t-netbsd to tmake_file.
2465 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2466 (sh-*-rtems*): Add sh/t-sh to tmake_file.
2467 (sh-wrs-vxworks): Likewise.
2468 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2470 (v850*-*-*): Add v850/t-v850 to tmake_file.
2471 (vax-*-linux*): Add vax/t-linux to tmake_file.
2472 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2474 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2476 * crtstuff.c: New file.
2477 * Makefile.in (CRTSTUFF_CFLAGS): Define.
2478 (CRTSTUFF_T_CFLAGS): Define.
2479 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2480 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2481 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2484 (crtbeginT.o): Use $(objext).
2485 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2486 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2487 (gcc-extra-parts): Remove.
2488 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2490 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2491 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2492 Add t-crtstuff-pic to tmake_file.
2493 (*-*-lynxos*): New case.
2494 Set tmake_file, extra_parts.
2495 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2496 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2497 *-*-netbsdelf[2-9]*.
2498 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2499 (*-*-rtems*): Set extra_parts.
2500 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2501 (*-*-uclinux*): New case.
2503 (*-*-vms*): New case.
2504 Set tmake_file, extra_parts.
2505 (*-*-elf): Set extra_parts.
2506 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2507 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2510 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2512 (arm*-*-freebsd*): Add t-crtin to tmake_file.
2513 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2514 (arm-wrs-vxworks): Append to tmake_file.
2516 (arm*-*-uclinux*): Set extra_parts.
2517 (arm*-*-ecos-elf): Likewise.
2518 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2520 (arm*-*-rtems*): Set extra_parts.
2521 (arm*-*-elf): Likewise.
2522 (avr-*-rtems*): Clear extra_parts.
2523 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2525 (bfin*-uclinux*): Likewise.
2526 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2527 (bfin*-rtems*): Append to tmake_file.
2529 (bfin*-*): Likewise.
2530 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2531 (crisv32-*-elf): ... this.
2532 (crisv32-*-none): ... this.
2533 (cris-*-elf, cris-*-none): New cases.
2534 Add cris/t-elfmulti to tmake_file.
2535 (fr30-*-elf): Append to tmake_file.
2537 (frv-*-elf): Append to tmake_file, add frv/t-frv.
2539 (h8300-*-rtems*): Append to tmake_file.
2541 (h8300-*-elf*): Likewise.
2542 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2544 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2546 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2547 (x86_64-*-elf*): Likewise.
2548 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2549 (x86_64-*-freebsd*): Likewise.
2550 (x86_64-*-netbsd*): Likewise.
2551 (i[34567]86-*-linux*): Likewise.
2552 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2553 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2554 (x86_64-*-linux*): Likewise.
2555 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2556 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2559 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2560 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2561 Append to extra_parts, remove crtbegin.o, crtend.o.
2562 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2563 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2564 crtend.o, crtbeginS.o, crtendS.o.
2565 (ia64*-*-linux*): Comment extra_parts.
2566 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2568 (iq2000*-*-elf*): Clear extra_parts.
2569 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2570 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2571 (m32r-*-elf*, m32r-*-rtems*): Split off ...
2572 (m32r-*-rtems*): ... this.
2573 Add m32r/t-m32r to tmake_file.
2574 (m68k-*-elf*): Add t-crtin to tmake_file.
2575 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2576 (mcore-*-elf): Likewise.
2577 (microblaze*-*-*): Set extra_parts.
2578 (mips*-sde-elf*): New case.
2579 Set tmake_file, extra_parts.
2580 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2581 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2582 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2585 (mipsisa64sr71k-*-elf*): Likewise.
2586 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2587 (mips-*-elf*, mipsel-*-elf*): Likewise.
2588 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2589 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2590 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2591 (mips*-*-rtems*): Likewise.
2592 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2593 (moxie-*-*): Split into ...
2594 (moxie-*-elf, moxie-*-uclinux*): ... this.
2595 Add to extra_parts, remove crtbegin.o, crtend.o.
2596 (moxie-*-rtems*): New case.
2599 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2601 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2602 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2605 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2606 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2608 (powerpc-*-eabisim*): Likewise.
2609 (powerpc-*-elf*): Likewise.
2610 (powerpc-*-eabialtivec*): Likewise.
2611 (powerpc-xilinx-eabi*): Likewise.
2612 (powerpc-*-eabi*): Likewise.
2613 (powerpc-*-rtems*): Likewise.
2614 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2617 (powerpc-*-lynxos*): Add to tmake_file.
2618 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2619 rs6000/t-crtstuff, t-crtstuff-pic.
2621 (powerpcle-*-eabisim*): Likewise.
2622 (powerpcle-*-eabi*): Likewise.
2623 (rx-*-elf): Remove extra_parts.
2624 (s390x-ibm-tpf*): Set extra_parts.
2625 (score-*-elf): Set extra_parts.
2626 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2627 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2628 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2629 (sh64l*-*-netbsd*): Split into ...
2630 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2631 Add t-crtstuff-pic to tmake_file.
2633 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2635 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2636 (sparc-*-elf*): Remove t-crtin from tmake_file.
2637 Add to extra_parts, remove crtbegin.o, crtend.o.
2638 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2639 (sparc64-*-linux*): Likewise.
2640 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2641 Add to extra_parts, remove crtbegin.o, crtend.o.
2642 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2643 Add to extra_parts, remove crtbegin.o, crtend.o.
2644 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2645 Add to extra_parts, remove crtbegin.o, crtend.o.
2646 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2647 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2648 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2650 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2652 (tic6x-*-*): Change to ...
2653 (tic6x-*-elf): ... this.
2655 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2657 (am33_2.0-*-linux*): Add comment.
2658 (mep*-*-*): Add mep/t-mep to tmake_file.
2660 * config/alpha/t-vms: New file.
2661 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2662 * config/arm/crti.S, config/arm/crtn.S: New files.
2663 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2664 * config/bfin/crtlibid.S: New file.
2665 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2666 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2667 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2668 (crti.o, crtin.o): New rules.
2669 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2670 * config/c6x/t-uclinux: New file.
2671 * config/cris/t-elfmulti: New file.
2672 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2673 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2674 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2675 * config/frv/t-frv: New file.
2676 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2677 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2678 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2680 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2681 refer to cygming-crtbegin.c, cygming-crtend.c.
2683 * config/i386/t-nto: New file.
2684 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2685 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2686 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2687 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2690 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2691 (crtinitS.o): New rule.
2692 * config/ia64/vms-crtinit.S: New file.
2693 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2694 * config/m32r/initfini.c: New file.
2695 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2696 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2697 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2698 * config/mep/t-mep: New file.
2699 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2700 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2701 * config/mips/crti.S, config/mips/crtn.S: New files.
2702 * config/mips/t-crtstuff: New file.
2703 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2704 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2705 (CUSTOM_CRTIN): Set.
2706 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2708 Use $(srcdir) to refer to crti.S, crtn.S.
2709 Use .S extension, $<.
2710 * config/moxie/crti.asm: Rename to ...
2711 * config/moxie/crti.S: ... this.
2712 * config/moxie/crtn.asm: Rename to ...
2713 * config/moxie/crtn.S: ... this.
2714 * config/moxie/t-moxie: Remove.
2715 * config/pa/stublib.c: New file.
2716 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2717 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2718 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2719 * config/rs6000/t-crtstuff: New file.
2720 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2721 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2722 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2723 Make output file explicit.
2724 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2725 Make output file explicit.
2726 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2727 Make output file explicit.
2728 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2729 Make output file explicit.
2730 * config/score/crti.S, config/score/crtn.S: New files.
2731 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2732 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2734 * config/sh/t-sh, config/sh/t-superh: New files.
2735 * config/sparc/t-linux64: New file.
2736 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2737 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2738 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2739 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2740 * config/t-crtin: Remove.
2741 * config/t-crtstuff-pic: New file.
2742 * config/t-sol2 (CUSTOM_CRTIN): Set.
2743 (crti.o, crtn.o): New rules.
2744 * config/vms/t-vms: New file.
2745 * config/vms/vms-ucrt0.c: New file.
2746 * config/xtensa/t-elf: New file.
2748 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2750 * Makefile.in (SHLIB_NM_FLAGS): Set.
2751 * mkmap-flat.awk, mkmap-symver.awk: New files.
2752 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2754 * configure: Regenerate.
2755 * config/libgcc-glibc.ver: New file.
2756 * config/libgcc-libsystem.ver: New file.
2757 * config/t-libunwind (SHLIB_LC): Set.
2758 * config/t-linux: New file.
2759 * config/t-slibgcc (INSTALL_SHLIB): New.
2760 (SHLIB_INSTALL): Use it.
2761 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2762 to mkmap-symver.awk.
2763 (SHLIB_MAPFILES): Don't append, adapt pathname.
2764 (SHLIB_VERPFX): Set.
2765 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2766 to mkmap-symver.awk.
2767 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2768 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2769 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2770 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2772 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2773 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2774 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2775 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2776 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2777 * config/i386/libgcc-darwin.10.4.ver,
2778 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2780 * config/i386/t-darwin: Remove.
2781 * config/i386/t-darwin64: Likewise.
2782 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2783 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2784 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2785 * config/i386/t-linux: New file.
2786 * config/i386/t-mingw32: New file.
2787 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2788 * config/ia64/t-glibc: Rename to ...
2789 * config/ia64/t-linux: ... this.
2790 (SHLIB_MAPFILES): Set.
2791 * config/ia64/t-glibc-libunwind: Rename to ...
2792 * config/ia64/t-linux-libunwind: ... this.
2793 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2794 * config/ia64/t-slibgcc-hpux: New file.
2795 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2796 * config/m68k/t-slibgcc-elf-ver: New file.
2797 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2798 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2800 * config/pa/t-slibgcc-hpux: New file.
2801 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2803 * config/rs6000/libgcc-darwin.10.4.ver,
2804 config/rs6000/libgcc-darwin.10.5.ver: New files.
2805 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2806 config/rs6000/libgcc-glibc.ver.
2807 * config/rs6000/libgcc-ppc64.ver: Rename to
2808 config/rs6000/libgcc-ibm-ldouble.ver.
2809 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2810 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2811 * config/rs6000/t-ldbl128: Rename to ...
2812 * config/rs6000/t-linux: ... this.
2813 (SHLIB_MAPFILES): Adapt filename.
2814 * config/rs6000/t-slibgcc-aix: New file.
2815 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2816 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2817 libgcc-excl.ver, libgcc-glibc.ver.
2818 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2819 * config/sparc/libgcc-glibc.ver: New file.
2820 * config/sparc/t-linux: New file.
2821 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2822 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2823 t-slibgcc-elf-ver to tmake_file.
2824 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2826 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2827 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2828 t-slibgcc-elf-ver, t-linux to tmake_file.
2829 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2831 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2832 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2833 (alpha*-dec-*vms*): Likewise.
2834 (arm*-*-freebsd*): Append to tmake_file.
2835 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2836 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2838 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2839 tmake_file for arm*-*-symbianelf*.
2840 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2841 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2843 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2844 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2845 pa/t-slibgcc-dwarf-ver to tmake_file.
2846 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2847 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2848 (hppa*64*-*-hpux11*): Likewise.
2849 (hppa[12]*-*-hpux11*): Likewise.
2850 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2851 i386/t-crtpc, i386/t-crtfm.
2852 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2853 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2855 Add i386/t-cygwin to tmake_file.
2856 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2857 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2858 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2860 Add i386/t-mingw32 to tmake_file.
2861 (x86_64-*-mingw*): Likewise.
2862 (ia64*-*-freebsd*): Append to tmake_file.
2863 (ia64*-*-linux*): Append to tmake_file.
2864 Replace ia64/t-glibc by ia64/t-linux.
2865 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2867 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2868 t-slibgcc-hpux to tmake_file.
2869 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2870 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2871 (m32rle-*-linux*): Likewise.
2872 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2874 (microblaze*-linux*): New case.
2875 Append to tmake_file, add t-slibgcc-nolc-override.
2876 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2877 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2878 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2879 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2880 rs6000/t-slibgcc-aix to tmake_file.
2881 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2882 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2883 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2884 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2885 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2886 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2888 (sparc-*-linux*): Append to tmake_file for *-leon*.
2889 Add sparc/t-linux to tmake_file for non-Leon targets.
2890 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2891 (tic6x-*-uclinux): New case.
2892 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2893 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2894 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2895 (am33_2.0-*-linux*): Append to tmake_file.
2896 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2897 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2898 x86_64-*-kfreebsd*-gnu.
2899 Add i386/t-linux to tmake_file.
2901 2011-10-28 Ian Lance Taylor <iant@google.com>
2903 * config/i386/morestack.S: Correct CFI information to do proper
2904 returns throughout function. In 32-bit mode, save %ebx so that it
2905 is restored on unwind.
2907 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
2909 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2910 case where B3 isn't the return register.
2912 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2913 logic for doubleword pops.
2915 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
2917 * config/rs6000/t-freebsd: Add wildcard.
2919 2011-10-21 Paul Brook <paul@codesourcery.com>
2921 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2923 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
2924 Eric Botcazou <ebotcazou@adacore.com>
2927 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2928 fs->signal_frame to 1.
2930 2011-10-07 Ian Lance Taylor <iant@google.com>
2932 * generic-morestack-thread.c: #include <errno.h>.
2934 2011-10-07 Ian Lance Taylor <iant@google.com>
2937 * generic-morestack.c (__generic_morestack): Make sure the segment
2938 is large enough for both the stack frame and the copied
2941 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2944 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2947 2011-09-28 Nick Clifton <nickc@redhat.com>
2949 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2950 64-bit doubles are not enabled.
2951 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2952 and floatunsisf functions.
2954 2011-09-13 Paul Brook <paul@codesourcery.com>
2956 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2957 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2958 * unwind-arm-common.inc: New file.
2959 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2960 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2961 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2962 * config/c6x/libunwind.S: New file.
2963 * config/c6x/pr-support.c: New file.
2964 * config/c6x/unwind-c6x.c: New file.
2965 * config/c6x/unwind-c6x.h: New file.
2966 * config/c6x/t-c6x-elf: New file.
2968 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
2970 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2971 (ASM_DIVZERO): Ditto.
2972 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2974 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2976 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2978 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2981 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2982 instead of an assembly one.
2984 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
2987 * Makefile.in (install-unwind_h): Create
2988 $(gcc_objdir)/include/unwind.h atomically.
2990 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2992 * Makefile.in (install-unwind_h): Remove destination file first.
2994 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2997 * config/mips/t-mips16: New file.
2998 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2999 (mips*-*-linux*): Likewise.
3000 (mips*-sde-elf*): Likewise.
3001 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
3002 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
3003 Add mips/t-mips16 to tmake_file.
3004 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
3005 (mips-*-elf*): Likewise.
3006 (mips64-*-elf*): Likewise.
3007 (mips64orion-*-elf*): Likewise.
3008 (mips*-*-rtems*): Likewise.
3009 (mipstx39-*-elf*): Likewise.
3010 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
3011 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
3013 Use $(srcdir) to refer to sync.c.
3015 ($(libgcc-sync-funcs-o)): Likewise.
3016 ($(libgcc-sync-size-funcs-s-o)): Likewise.
3017 ($(libgcc-sync-funcs-s-o)): Likewise.
3019 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
3021 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3024 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
3027 * config/i386/value-unwind.h: New.
3029 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
3031 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
3032 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
3033 Add to tmake_file rather than overriding it.
3035 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3037 * config/t-softfp: Remove.
3038 * soft-fp: Moved from ../gcc/config.
3039 * soft-fp/README: Remove t-softfp reference.
3040 * soft-fp/t-softfp: Move to config/t-softfp.
3041 (softfp_machine_header): Remove.
3042 (softfp_file_list): Remove config subdir.
3043 (soft-fp-objects): New variable.
3044 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3045 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3046 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3047 * config/t-softfp-excl: New file.
3048 * config/t-softfp-sfdf: New file.
3049 * config/t-softfp-tf: New file.
3050 * config/no-sfp-machine.h: New file.
3051 * config/arm/sfp-machine.h: New file.
3052 * config/arm/t-softfp: New file.
3053 * config/c6x/sfp-machine.h: New file.
3054 * config/i386/32/t-fprules-softfp: Rename to ...
3055 * config/i386/32/t-softfp: ... this.
3056 (tifunctions, LIB2ADD): Remove.
3057 (softfp_int_modes): Override.
3058 * config/i386/64/t-softfp-compat (tf-functions): Remove config
3060 * config/i386/64/eqtf2.c: Likewise.
3061 * config/i386/64/getf2.c: Likewise.
3062 * config/i386/64/letf2.c: Likewise.
3063 * config/ia64/sft-machine.h: New file.
3064 * config/ia64/t-fprules-softfp: Rename to ...
3065 * config/ia64/t-softfp: ... this.
3066 * config/lm32/sfp-machine.h: New file.
3067 * config/moxie/t-moxie-softfp: Remove.
3068 * config/rs6000/ibm-ldouble-format: New file.
3069 * config/rs6000/ibm-ldouble.c: New file.
3070 * config/rs6000/libgcc-ppc-glibc.ver: New file
3071 * config/rs6000/libgcc-ppc64.ver: New file
3072 * config/rs6000/sfp-machine.h: New file.
3073 * config/rs6000/t-freebsd: New file.
3074 * config/rs6000/t-ibm-ldouble: New file.
3075 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3076 libgcc-ppc-glibc.ver.
3077 * config/rs6000/t-linux64: New file.
3078 * config/rs6000/t-ppccomm (LIB2ADD): Add
3079 $(srcdir)/config/rs6000/ibm-ldouble.c.
3080 * config/rs6000/t-ppccomm-ldbl: New file.
3081 * config/score/sfp-machine.h: New file.
3082 * config.host (sfp_machine_header): Explain.
3083 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3084 t-softfp to tmake_file.
3085 (arm*-*-uclinux*): Likewise.
3086 (arm*-*-ecos-elf): Likewise.
3087 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3088 (arm*-*-rtems*): Likewise.
3089 (arm*-*-elf): Likewise.
3090 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3092 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3093 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3094 (lm32-*-uclinux*): Likewise.
3095 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3096 t-softfp-excl, t-softfp.
3097 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3098 (powerpc64-*-darwin*): Likewise.
3099 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3101 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3103 (powerpc-*-eabisim*): Likewise.
3104 (powerpc-*-elf*): Likewise.
3105 (powerpc-*-eabialtivec*): Likewise.
3106 (powerpc-xilinx-eabi*): Likewise.
3107 (powerpc-*-rtems*): Likewise.
3108 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3109 t-softfp-excl, t-softfp to tmake_file.
3110 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3111 rs6000/t-ppccomm-ldbl to tmake_file.
3112 (powerpcle-*-elf*): Likewise.
3113 (powerpcle-*-eabisim*): Likewise.
3114 (powerpcle-*-eabi*): Likewise.
3115 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3116 rs6000/t-ibm-ldouble to tmake_file.
3117 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3118 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3119 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3120 (tic6x-*-*): Likewise.
3121 (i[34567]86-*-darwin*, x86_64-*-darwin*,
3122 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3123 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3124 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3125 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3126 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3127 t-softfp to tmake_file.
3128 * configure.ac (sfp_machine_header): Provide default if unset.
3130 Link sfp-machine.h to config/$sfp_machine_header.
3131 * configure: Regenerate.
3133 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3135 * Makefile.in (double_type_size, long_double_type_size): Set.
3136 Remove $(fpbit-in-libgcc) support.
3137 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3138 (fpbit-src): New variable.
3139 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3140 Compile with -DFLOAT $(FPBIT_CFLAGS).
3142 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3143 Compile with $(FPBIT_CFLAGS).
3145 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3146 Compile with -DFLOAT $(TPBIT_CFLAGS).
3148 * configure.ac (double_type_size, long_double_type_size):
3149 Determine and substitute.
3150 * configure: Regenerate.
3151 * fp-bit.c, fp-bit.h: New files.
3152 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3153 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3154 * config/mips/t-mips: New file.
3155 * config/mips/t-sdemtk: New file.
3156 * config/rs6000/ppc64-fp.c: New file.
3157 * config/rs6000/t-darwin (LIB2ADD): Add
3158 $(srcdir)/config/rs6000/ppc64-fp.c.
3159 * config/rs6000/t-ppc64-fp: New file.
3160 * config/rx/rx-lib.h: New file.
3161 * config/rx/t-rx (FPBIT): Set to true.
3162 ($(gcc_objdir)/fp-bit.c): Remove.
3163 (DPBIT): Set to true only with -m64bit-doubles.
3164 ($(gcc_objdir)/dp-bit.c): Remove.
3165 * config/sparc/t-softfp: Remove.
3166 * config/spu/t-elf: New file.
3167 * config/t-fdpbit, config/t-fpbit: New files.
3168 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3169 (mips*-*-*): Likewise.
3170 (arm-wrs-vxworks): Likewise.
3171 (arm*-*-freebsd*): Likewise.
3172 (avr-*-rtems*): Add t-fpbit to tmake_file.
3173 (avr-*-*): Likewise.
3174 (bfin*-elf*): Add t-fdpbit to tmake_file.
3175 (bfin*-uclinux*): Likewise.
3176 (bfin*-linux-uclibc*): Likewise.
3177 (bfin*-rtems*): New case.
3178 Add t-fdpbit to tmake_file.
3179 (bfin*-*): Add t-fdpbit to tmake_file.
3180 (crisv32-*-elf): Likewise.
3181 (cris-*-linux*): Likewise.
3182 (fr30-*-elf): Likewise.
3183 (frv-*-elf, frv-*-*linux*): Likewise.
3184 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3185 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3186 (m32r-*-elf*): Likewise.
3187 (m32rle-*-elf*): Likewise.
3188 (m32r-*-linux*): Likewise.
3189 (m32rle-*-linux*): Likewise.
3190 (mcore-*-elf): Add t-fdpbit to tmake_file.
3191 (microblaze*-*-*): Likewise.
3192 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3193 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3194 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3196 Add mips/t-tpbit to tmake-file.
3197 (mips*-*-linux*): Fix typo.
3198 (mips*-sde-elf*): New case
3199 Add mips/t-sdemtk unless using newlib.
3200 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3201 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3202 (mn10300-*-*): Likewise.
3203 (pdp11-*-*): Likewise.
3204 (picochip-*-*): Add t-fpbit to tmake_file.
3205 (powerpc-*-eabisimaltivec*): Likewise.
3206 (powerpc-*-eabisim*): Likewise.
3207 (powerpc-*-elf*): Likewise.
3208 (powerpc-*-eabialtivec*): Likewise.
3209 (powerpc-xilinx-eabi*): New case.
3210 Add t-fdpbit to tmake_file.
3211 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
3212 (powerpc-*-rtems*): Likewise.
3213 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3215 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3217 (powerpc-*-lynxos*): Likewise.
3218 (powerpcle-*-elf*): Likewise.
3219 (powerpcle-*-eabisim*): Likewise.
3220 (powerpcle-*-eabi*): Likewise.
3221 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3222 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3223 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3224 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3225 (rx-*-elf): Add t-fdpbit to tmake_file.
3226 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3227 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3228 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3229 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3231 (sh-*-rtems*): Add t-fdpbit to tmake_file.
3232 (sh-wrs-vxworks): Likewise.
3233 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3234 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3235 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3236 (sparc64-*-rtems*): ... new case.
3237 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3238 (spu-*-elf*): Likewise.
3239 Add spu/t-elf to tmake_file.
3240 (v850*-*-*): Add t-fdpbit to tmake_file.
3241 (xstormy16-*-elf): Likewise.
3242 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3243 (mep*-*-*): Likewise.
3245 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3247 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3249 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3250 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3251 (install-unwind_h): New target.
3252 (all): Depend on it.
3253 * config.host (unwind_header): New variable.
3254 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3255 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3256 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3257 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3258 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3260 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3262 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3264 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3266 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3267 (ia64*-*-freebsd*): Likewise.
3268 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3270 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3271 $with_system_libunwind.
3272 (ia64*-*-hpux*): Set tmake_file.
3273 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3274 (picochip-*-*): Set tmake_file.
3275 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3277 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3278 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3279 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3280 (xtensa*-*-elf*): Set tmake_file.
3281 (xtensa*-*-linux*): Likewise.
3282 * configure.ac: Include ../config/unwind_ipinfo.m4.
3283 Call GCC_CHECK_UNWIND_GETIPINFO.
3284 Link unwind.h to $unwind_header.
3285 * configure: Regenerate.
3286 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3287 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3288 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3289 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3290 * config/unwind-dw2-fde-darwin.c: New file.
3291 * config/arm/libunwind.S, config/arm/pr-support.c,
3292 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3293 config/arm/unwind-arm.h,: New files.
3294 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3295 config/ia64/t-eh-ia64, config/ia64/t-glibc,
3296 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3297 config/ia64/t-vms, config/ia64/unwind-ia64.c,
3298 config/ia64/unwind-ia64.h: New files.
3299 * config/picochip/t-picochip: New file.
3300 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3302 * config/rs6000/t-darwin (LIB2ADDEH): Set.
3303 * config/s390/t-tpf (LIB2ADDEH): Remove.
3304 * config/t-darwin (LIB2ADDEH): Set.
3305 * config/t-eh-dw2-dip: New file.
3306 * config/t-libunwind, config/t-libunwind-elf: New files.
3307 * config/t-sol2 (LIB2ADDEH): Remove.
3308 * config/xtensa/t-xtensa: New file.
3310 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
3312 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3313 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3314 long long to check rt_sigreturn syscall.
3316 2011-08-02 Alan Modra <amodra@gmail.com>
3318 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3319 Restore for indirect call bcrtl from correct stack slot, and only
3320 if cfa+40 isn't valid.
3322 2011-08-01 Julian Brown <julian@codesourcery.com>
3324 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3325 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3326 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3328 2011-08-01 Julian Brown <julian@codesourcery.com>
3330 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3331 (libgcc-std.ver.in): Use above.
3332 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3333 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
3335 * config/t-fixedpoint-gnu-prefix: New file.
3336 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3337 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3340 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
3342 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3343 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3344 for x86-64. Properly check __x86_64__ and __LP64__.
3346 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
3348 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3350 (_FP_WS_TYPE): Likewise.
3351 (_FP_I_TYPE): Likewise.
3353 2011-07-28 Alan Modra <amodra@gmail.com>
3355 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3356 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3357 in a plt call stub. Do restore r2 if stopped on bctrl.
3359 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3361 * config.host (i[3456x]86-*-netware*): Remove.
3362 * config/i386/netware-crt0.c, config/i386/t-nwld,
3363 config/i386/t-slibgcc-nwld: Remove.
3365 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
3367 * config.host: Handle tic6x-*-*.
3368 * config/c6x/c6x-abi.h: New file.
3370 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3372 * config/i386/crtprec.c: New file.
3373 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3374 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3375 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3376 (x86_64-*-darwin*): Likewise.
3377 (i[34567]86-*-solaris2*: Likewise.
3379 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3381 * config/alpha/crtfastmath.c: New file.
3382 * config/i386/crtfastmath.c: New file.
3383 * config/ia64/crtfastmath.c: New file.
3384 * config/mips/crtfastmath.c: New file.
3385 * config/sparc/crtfastmath.c: New file.
3387 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3389 Add -frandom-seed=gcc-crtfastmath.
3390 * config/alpha/t-crtfm: Remove.
3391 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3392 * config/ia64/t-ia64 (crtfastmath.o): Remove.
3394 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3395 (alpha*-dec-osf5.1*): Likewise.
3396 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3397 Add crtfastmath.o to extra_parts.
3398 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3399 Add crtfastmath.o to extra_parts.
3400 (x86_64-*-darwin*): Likewise.
3401 (x86_64-*-mingw*): Likewise.
3402 (ia64*-*-elf*): Add t-crtfm to tmake_file.
3403 (ia64*-*-freebsd*): Likewise.
3404 (ia64*-*-linux*): Likewise.
3405 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3406 Add crtfastmath.o to extra_parts.
3408 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3410 * config/darwin-crt3.o: New file.
3411 * config/rs6000/darwin-crt2.c: New file.
3412 * config/t-darwin: New file.
3413 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3415 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3416 (powerpc-*-darwin*): Add crt2.o to extra_parts.
3417 (powerpc64-*-darwin*): Likewise.
3419 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3421 * config/i386/netware-crt0.c: New file.
3422 * config/i386/t-nwld: Rename to ...
3423 * config/i386/t-slibgcc-nwld: ... this.
3424 * config/i386/t-nwld: New file.
3425 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3427 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3430 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3432 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3434 * configure: Regenerate.
3436 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3438 * dfp-bit.c, dfp-bit.h: New files.
3439 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3441 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3442 ($(d64pbit-o)): Likewise.
3443 ($(d128pbit-o)): Likewise.
3444 * config/t-dfprules: New file.
3445 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3446 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3447 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3448 (x86_64-*-linux*): Likewise.
3449 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3450 (i[34567]86-*-cygwin*): Likewise.
3451 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
3452 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3454 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3456 * Makfile.in (LIBGCOV): New variable.
3457 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3458 * libgcov.c: New file.
3460 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3462 * fixed-bit.c, fixed-bit.h: New files.
3463 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3464 refer to fixed-bit.c.
3466 2011-07-07 Joseph Myers <joseph@codesourcery.com>
3468 * config.host (*local*): Remove.
3470 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3473 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3474 like i?86-*-solaris2.1[0-9]*.
3475 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3476 * configure.ac (i?86-*-solaris2*): Likewise.
3477 * configure: Regenerate.
3479 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
3481 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3482 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3483 md_unwind_header by splitting out of...
3484 (i[34567]86-*-linux*): ... this.
3485 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3486 Remove md_unwind_header by splitting out of...
3487 (x86_64-*-linux*): ... this.
3489 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
3491 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3493 2011-06-28 Nick Clifton <nickc@redhat.com>
3495 * config.host: Recognize all V850 variants.
3497 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
3499 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3501 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3503 * shared-object.mk (c_flags-$o): Save c_flags.
3504 ($(base)$(objext)): Use it.
3505 ($(base)_s$(objext)): Likewise.
3507 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
3509 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3510 * libgcc-std.ver.in (GCC_4.7.0): New section.
3512 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
3516 * config/avr/t-avr: Fix line endings.
3517 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
3520 2011-06-14 Olivier Hainque <hainque@adacore.com>
3521 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3523 * config/mips/irix6-unwind.h: New file.
3524 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3526 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
3528 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3529 (sparc64_fallback_frame_state): Use it.
3530 (sparc64_frob_update_context): Further adjust context.
3531 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3532 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3533 * config/sparc/sol2-cn.S: Likewise.
3535 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3537 * enable-execute-stack-empty.c: New file.
3538 * enable-execute-stack-mprotect.c: New file.
3539 * config/i386/enable-execute-stack-mingw32.c: New file.
3540 * config.host (enable_execute_stack): New variable.
3541 Select appropriate variants.
3542 * configure.ac: Link enable-execute-stack.c to
3543 $enable_execute_stack.
3544 * configure: Regenerate.
3545 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3546 (lib2funcs): Remove _enable_execute_stack.
3548 2011-06-09 David S. Miller <davem@davemloft.net>
3549 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3551 * config.host (sparc-*-linux*): Correct md_unwind_header
3553 (s390x-ibm-tpf*): Fix typo.
3555 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3557 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3558 Add crtfastmath.o to extra_parts.
3559 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3561 * config/mips/t-crtfm: Remove.
3563 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3565 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3567 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
3569 * config.host (sh*-*-linux*): Fix typo.
3571 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3573 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3574 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3575 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3576 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3577 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3578 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3579 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3580 Wrap in !__MINGW64__.
3581 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3582 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3583 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3584 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3585 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3586 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3587 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3589 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3590 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3591 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3592 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3593 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3594 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3595 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3596 * config/no-unwind.h: New file.
3597 * config.host (md_unwind_header): Document.
3599 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3600 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3601 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3602 hppa[12]*-*-hpux11*): Set md_unwind_header.
3603 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3604 Set md_unwind_header.
3605 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3606 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3607 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3608 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3609 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3610 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3611 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3613 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3614 * configure: Regenerate.
3616 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3618 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3619 Set tmake_file, extra_parts.
3620 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3622 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3624 * config/mips/t-irix6: New file.
3625 * config/mips/t-slibgcc-irix: New file.
3627 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3629 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3630 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3632 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3634 * configure.ac (target_thread_file): Determine thread model.
3635 * configure: Regenerate.
3636 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3637 * config/alpha/t-alpha: New file.
3638 * config/alpha/t-crtfm: Use $<.
3639 * config/alpha/t-ieee: New file.
3640 * config/alpha/t-osf-pthread: New file.
3641 * config/alpha/t-slibgcc-osf: New file.
3642 * config/alpha/libgcc-osf5.ver: New file.
3644 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3646 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3648 Add crtfastmath.o to extra_parts.
3650 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3652 * config/gmon-sol2.c: Reindent.
3654 Remove, correct casts.
3655 Use STDERR_FILENO, NULL.
3656 (BASEADDRESS): Remove.
3658 (errno, sbrk): Remove declarations.
3659 (monstartup) [hp300]: Remove.
3662 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3664 * Makefile.in (cpu_type): Define.
3665 * config.host (i[34567]86-*-rtems*): Handle it.
3666 (i[34567]86-*-solaris2*): Move body ...
3667 (*-*-solaris2*): ... here.
3668 New case, generalize.
3669 (sparc-*-elf*): Handle it.
3670 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3671 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3672 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3674 (sparc*-*-solaris2*): ... this.
3676 (sparc64-*-elf*): Handle it.
3677 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3678 Merge ../gcc/config/i386/gmon-sol2.c.
3679 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3681 Merge ../gcc/config/i386/sol2-gc1.asm.
3682 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3684 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3686 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3687 * config/i386/t-crtstuff: New file.
3688 * config/i386/t-softfp: New file.
3689 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3690 $(T)crti.o, $(T)crtn.o): Remove.
3691 (gcrt1.o): New rule.
3692 (TARGET_LIBGCC2_CFLAGS): Remove.
3693 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3694 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3695 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3696 * config/sparc/t-sol2: New file.
3697 * config/sparc/t-crtfm: Move to ...
3698 * config/t-crtfm: ... this.
3699 Use $(cpu_type), $<.
3700 * config/t-crtin: New file.
3701 * config/sparc/t-softfp: New file.
3702 * config/sparc/t-softmul: New file.
3703 * config/t-rtems: New file.
3704 * config/t-slibgcc: New file.
3705 * config/t-slibgcc-elf-ver: New file.
3706 * config/t-slibgcc-gld: New file.
3707 * config/t-slibgcc-sld: New file.
3708 * config/t-sol2: New file.
3709 * configure.ac: Include ../config/lib-ld.m4.
3710 Call AC_LIB_PROG_LD_GNU.
3711 Substitute cpu_type.
3712 * configure: Regenerate.
3714 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
3717 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3718 libgcc-std.ver in the build directory.
3719 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3720 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3722 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
3724 * libgcc-std.ver.in: New file.
3725 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3727 (libgcc-std.ver): New rule.
3728 * config/t-gnu-prefix: New file.
3730 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3732 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3734 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3736 * config/i386/darwin-lib.h: New file.
3738 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3740 * config/arm/symbian-lib.h: New.
3742 2011-05-04 Chris Demetriou <cgd@google.com>
3744 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3745 (__x86.get_pc_thunk.bx): ...this.
3746 (__morestack): Adjust for rename, remove undef of __i686.
3748 2011-05-03 Chris Demetriou <cgd@google.com>
3750 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3752 2011-03-22 Joseph Myers <joseph@codesourcery.com>
3754 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3755 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3756 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3757 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3758 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3761 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
3763 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3764 Adjust copyright year.
3766 2011-03-07 Ian Lance Taylor <iant@google.com>
3768 * generic-morestack.c (__splitstack_find): Adjust returned stack
3769 pointer to include all registers pushed by __morestack.
3771 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
3774 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3775 (toolexecdir): Calculate and AC_SUBST.
3776 (toolexeclibdir): Likewise.
3777 * Makefile.in (target_noncanonical): Import.
3778 (toolexecdir): Likewise.
3779 (toolexeclibdir): Likewise.
3780 * configure: Regenerate.
3782 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
3785 * config/arm/bpabi.h: Rename to...
3786 * config/arm/bpabi-lib.h: ...this.
3788 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3790 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3792 * configure: Regenerate.
3794 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3796 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3797 __FLOAT_WORD_ORDER__.
3798 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3801 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3804 * Makefile.in (install-strip): New phony target.
3806 2010-11-07 Ian Lance Taylor <iant@google.com>
3809 * config/i386/morestack.S (__morestack_large_model): New
3812 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
3814 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3816 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3818 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
3820 * config/arm/bpabi.h: New file.
3821 * config/frv/frv-abi.h: New file.
3823 2010-10-01 Ian Lance Taylor <iant@google.com>
3825 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3826 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3828 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3831 * config.host: Add the missing `$'.
3833 2010-09-30 Michael Eager <eager@eagercon.com>
3835 * config.host: Add microblaze*-*-*.
3836 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3837 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3838 udivsi3.asm,umodsi3.asm}: New.
3840 2010-09-28 Ian Lance Taylor <iant@google.com>
3842 * configure.ac: Adjust CFI test to test assembler directly rather
3843 than checking gcc preprocessor macro.
3844 * configure: Rebuild.
3846 2010-09-27 Ian Lance Taylor <iant@google.com>
3848 * configure.ac: Test whether assembler supports CFI directives.
3849 * config.host: Only add t-stack and i386/t-stack-i386 to
3850 tmake_file if libgcc_cv_cfi is "yes".
3851 * configure: Rebuild.
3853 2010-09-27 Ian Lance Taylor <iant@google.com>
3855 * generic-morestack.h: New file.
3856 * generic-morestack.c: New file.
3857 * generic-morestack-thread.c: New file.
3858 * config/i386/morestack.S: New file.
3859 * config/t-stack: New file.
3860 * config/i386/t-stack-i386: New file.
3861 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3862 i386/t-stack-i386 to tmake_file.
3864 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
3866 * Makefile.in (libgcc-extra-parts): Check for static archives and
3867 invoke ranlib after installing them.
3868 (gcc-extra-parts): Likewise.
3869 (install-leaf): Likewise.
3871 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
3873 * configure: Regenerated.
3875 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
3877 * configure: Regenerated.
3879 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
3880 Andrew Pinski <pinskia@gmail.com>
3883 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3885 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
3888 * configure: Regenerated.
3890 2010-09-06 Andreas Schwab <schwab@redhat.com>
3892 * configure: Regenerate.
3894 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3896 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3898 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3901 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3902 Iain Sandoe <iains@gcc.gnu.org>
3905 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3906 LIB2FUNCS_EXCLUDE functions.
3908 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3910 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3912 * configure: Regenerate.
3914 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
3916 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3917 i386/t-freebsd to tmake_file.
3918 * config/i386/t-freebsd: New file.
3919 * config/i386/libgcc-bsd.ver: New file.
3921 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3923 * config.host (powerpc*-eabispe*): Set tmake_file.
3924 (powerpc*-eabi*): Likewise.
3925 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3926 crtbeginS, crtendS, crtbeginT.
3928 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
3930 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3931 to tmake_file. Add crtfastmath.o to extra_parts.
3932 * config/mips/t-crtfm: New.
3934 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3936 * config.host (sparc64-*-rtems*): New target.
3938 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3940 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3943 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3945 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3947 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3949 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3950 alpha-dec-osf5.0* support.
3952 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
3954 * config.host: Add lm32-*-rtems*.
3956 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3957 Uros Bizjak <ubizjak@gmail.com>
3960 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3961 like other remaining 32-bit x86 OSes.
3962 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3964 * config/i386/libgcc-sol2.ver: New file.
3965 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3967 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3970 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3971 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3972 is used and substitute set_use_emutls.
3973 * configure: Regenerated.
3975 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3977 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3979 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3982 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3984 ($(T)gcrt1.o): Likewise.
3985 ($(T)crt1.o): Likewise.
3986 ($(T)crti.o): Likewise.
3987 ($(T)crtn.o): Likewise.
3989 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3992 * Makefile.in (install): Use $(MAKE) string in rule, for
3995 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
3997 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3998 * config/mmix/t-mmix: New file.
3999 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
4001 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
4004 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
4007 2010-01-04 Anthony Green <green@moxielogic.com>
4009 * config/moxie/crti.asm, config/moxie/crtn.asm,
4010 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
4011 config/moxie/t-moxie: New files.
4012 * config.host: Add t-moxie-softfp reference.
4014 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
4017 * config/t-slibgcc-darwin: Fix embedded rpaths for
4018 --enable-version-specific-runtime-libs, build extension stub
4019 libs exposing features available from current libgcc_s.
4021 2009-11-11 Jon Beniston <jon@beniston.com>
4023 * config.host: Add lm32 targets.
4024 * config/lm32: New directory.
4025 * config/lm32/libgcc_lm32.h: New file.
4026 * config/lm32/_mulsi3.c: New file.
4027 * config/lm32/_udivmodsi4.c: New file.
4028 * config/lm32/_divsi3.c: New file.
4029 * config/lm32/_modsi3.c: New file.
4030 * config/lm32/_udivsi3.c: New file.
4031 * config/lm32/_umodsi3.c: New file.
4032 * config/lm32/_lshrsi3.S: New file.
4033 * config/lm32/_ashrsi3.S: New file.
4034 * config/lm32/_ashlsi3.S: New file.
4035 * config/lm32/crti.S: New file.
4036 * config/lm32/crtn.S: New file.
4037 * config/lm32/t-lm32: New file.
4038 * config/lm32/t-elf: New file.
4039 * config/lm32/t-uclinux: New file.
4041 2009-10-26 Nick Clifton <nickc@redhat.com>
4043 * config.host: Add support for RX target.
4044 * config/rx: New directory.
4045 * config/rx/rx-abi-functions.c: New file. Supplementary
4046 functions for libgcc to support the RX ABI.
4047 * config/rx/rx-abi.h: New file. Supplementary header file for
4048 libgcc RX ABI functions.
4049 * config/rx/t-rx: New file: Makefile fragment for building
4052 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
4054 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4055 constraint of y0 to "g".
4057 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4059 * config.host: Include the s390 makefile fragments.
4060 * config/s390/32/_fixdfdi.c: New file.
4061 * config/s390/32/_fixsfdi.c: New file.
4062 * config/s390/32/_fixtfdi.c: New file.
4063 * config/s390/32/_fixunsdfdi.c: New file.
4064 * config/s390/32/_fixunssfdi.c: New file.
4065 * config/s390/32/_fixunstfdi.c: New file.
4066 * config/s390/32/t-floattodi: New file.
4067 * config/s390/libgcc-glibc.ver: New file.
4068 * config/s390/t-crtstuff: New file.
4069 * config/s390/t-linux: New file.
4070 * config/s390/t-tpf: New file.
4072 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4074 * configure.ac (AC_PREREQ): Bump to 2.64.
4076 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
4078 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4080 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4082 * configure: Regenerate.
4084 2009-08-09 Douglas B Rupp <rupp@gnat.com>
4086 * config.host (ia64-hp-*vms*): New target.
4087 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4090 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4092 * configure.ac: Add snippet for maintainer-mode.
4093 * configure: Regenerate.
4094 * Makefile.in (AUTOCONF, configure_deps): New variables.
4095 ($(srcdir)/configure)): New rule, active only with maintainer
4098 2009-06-23 DJ Delorie <dj@redhat.com>
4101 * config.host: Add mep support.
4103 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
4105 * config.host: Add i386/${host_address}/t-fprules-softfp and
4106 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
4108 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4110 * config/i386/64/_multc3.c: Likewise.
4111 * config/i386/64/_powitf2.c: Likewise.
4112 * config/i386/64/eqtf2.c: Likewise.
4113 * config/i386/64/getf2.c: Likewise.
4114 * config/i386/64/letf2.c: Likewise.
4115 * config/i386/64/letf2.c: Likewise.
4116 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4117 unsigned long long for x64 mingw targets.
4118 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4119 (_FP_I_TYPE): Define as long long for x64 mingw target.
4121 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
4123 * config.host (vax-*-linux*): New.
4125 2009-05-31 Anthony Green <green@moxielogic.com>
4127 * config.host: Add moxie support.
4128 * config/moxie/t-moxie: New file.
4130 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
4132 * config.host: Add i386/${host_address}/t-fprules-softfp and
4133 t-softfp to tmake_file for i[34567]86-*-cygwin*.
4135 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
4137 * config.host: Add i386/${host_address}/t-fprules-softfp to
4138 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4140 2009-04-09 Nick Clifton <nickc@redhat.com>
4142 * config/ia64/tf-signs.c: Change copyright header to refer to
4143 version 3 of the GNU General Public License with version 3.1
4144 of the GCC Runtime Library Exception and to point readers at
4145 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4147 * config/i386/32/tf-signs.c: Likewise.
4148 * config/libbid/_addsub_dd.c: Likewise.
4149 * config/libbid/_addsub_sd.c: Likewise.
4150 * config/libbid/_addsub_td.c: Likewise.
4151 * config/libbid/_dd_to_df.c: Likewise.
4152 * config/libbid/_dd_to_di.c: Likewise.
4153 * config/libbid/_dd_to_sd.c: Likewise.
4154 * config/libbid/_dd_to_sf.c: Likewise.
4155 * config/libbid/_dd_to_si.c: Likewise.
4156 * config/libbid/_dd_to_td.c: Likewise.
4157 * config/libbid/_dd_to_tf.c: Likewise.
4158 * config/libbid/_dd_to_udi.c: Likewise.
4159 * config/libbid/_dd_to_usi.c: Likewise.
4160 * config/libbid/_dd_to_xf.c: Likewise.
4161 * config/libbid/_df_to_dd.c: Likewise.
4162 * config/libbid/_df_to_sd.c: Likewise.
4163 * config/libbid/_df_to_td.c: Likewise.
4164 * config/libbid/_di_to_dd.c: Likewise.
4165 * config/libbid/_di_to_sd.c: Likewise.
4166 * config/libbid/_di_to_td.c: Likewise.
4167 * config/libbid/_div_dd.c: Likewise.
4168 * config/libbid/_div_sd.c: Likewise.
4169 * config/libbid/_div_td.c: Likewise.
4170 * config/libbid/_eq_dd.c: Likewise.
4171 * config/libbid/_eq_sd.c: Likewise.
4172 * config/libbid/_eq_td.c: Likewise.
4173 * config/libbid/_ge_dd.c: Likewise.
4174 * config/libbid/_ge_sd.c: Likewise.
4175 * config/libbid/_ge_td.c: Likewise.
4176 * config/libbid/_gt_dd.c: Likewise.
4177 * config/libbid/_gt_sd.c: Likewise.
4178 * config/libbid/_gt_td.c: Likewise.
4179 * config/libbid/_isinfd128.c: Likewise.
4180 * config/libbid/_isinfd32.c: Likewise.
4181 * config/libbid/_isinfd64.c: Likewise.
4182 * config/libbid/_le_dd.c: Likewise.
4183 * config/libbid/_le_sd.c: Likewise.
4184 * config/libbid/_le_td.c: Likewise.
4185 * config/libbid/_lt_dd.c: Likewise.
4186 * config/libbid/_lt_sd.c: Likewise.
4187 * config/libbid/_lt_td.c: Likewise.
4188 * config/libbid/_mul_dd.c: Likewise.
4189 * config/libbid/_mul_sd.c: Likewise.
4190 * config/libbid/_mul_td.c: Likewise.
4191 * config/libbid/_ne_dd.c: Likewise.
4192 * config/libbid/_ne_sd.c: Likewise.
4193 * config/libbid/_ne_td.c: Likewise.
4194 * config/libbid/_sd_to_dd.c: Likewise.
4195 * config/libbid/_sd_to_df.c: Likewise.
4196 * config/libbid/_sd_to_di.c: Likewise.
4197 * config/libbid/_sd_to_sf.c: Likewise.
4198 * config/libbid/_sd_to_si.c: Likewise.
4199 * config/libbid/_sd_to_td.c: Likewise.
4200 * config/libbid/_sd_to_tf.c: Likewise.
4201 * config/libbid/_sd_to_udi.c: Likewise.
4202 * config/libbid/_sd_to_usi.c: Likewise.
4203 * config/libbid/_sd_to_xf.c: Likewise.
4204 * config/libbid/_sf_to_dd.c: Likewise.
4205 * config/libbid/_sf_to_sd.c: Likewise.
4206 * config/libbid/_sf_to_td.c: Likewise.
4207 * config/libbid/_si_to_dd.c: Likewise.
4208 * config/libbid/_si_to_sd.c: Likewise.
4209 * config/libbid/_si_to_td.c: Likewise.
4210 * config/libbid/_td_to_dd.c: Likewise.
4211 * config/libbid/_td_to_df.c: Likewise.
4212 * config/libbid/_td_to_di.c: Likewise.
4213 * config/libbid/_td_to_sd.c: Likewise.
4214 * config/libbid/_td_to_sf.c: Likewise.
4215 * config/libbid/_td_to_si.c: Likewise.
4216 * config/libbid/_td_to_tf.c: Likewise.
4217 * config/libbid/_td_to_udi.c: Likewise.
4218 * config/libbid/_td_to_usi.c: Likewise.
4219 * config/libbid/_td_to_xf.c: Likewise.
4220 * config/libbid/_tf_to_dd.c: Likewise.
4221 * config/libbid/_tf_to_sd.c: Likewise.
4222 * config/libbid/_tf_to_td.c: Likewise.
4223 * config/libbid/_udi_to_dd.c: Likewise.
4224 * config/libbid/_udi_to_sd.c: Likewise.
4225 * config/libbid/_udi_to_td.c: Likewise.
4226 * config/libbid/_unord_dd.c: Likewise.
4227 * config/libbid/_unord_sd.c: Likewise.
4228 * config/libbid/_unord_td.c: Likewise.
4229 * config/libbid/_usi_to_dd.c: Likewise.
4230 * config/libbid/_usi_to_sd.c: Likewise.
4231 * config/libbid/_usi_to_td.c: Likewise.
4232 * config/libbid/_xf_to_dd.c: Likewise.
4233 * config/libbid/_xf_to_sd.c: Likewise.
4234 * config/libbid/_xf_to_td.c: Likewise.
4235 * config/libbid/bid128.c: Likewise.
4236 * config/libbid/bid128_2_str.h: Likewise.
4237 * config/libbid/bid128_2_str_macros.h: Likewise.
4238 * config/libbid/bid128_2_str_tables.c: Likewise.
4239 * config/libbid/bid128_add.c: Likewise.
4240 * config/libbid/bid128_compare.c: Likewise.
4241 * config/libbid/bid128_div.c: Likewise.
4242 * config/libbid/bid128_fma.c: Likewise.
4243 * config/libbid/bid128_logb.c: Likewise.
4244 * config/libbid/bid128_minmax.c: Likewise.
4245 * config/libbid/bid128_mul.c: Likewise.
4246 * config/libbid/bid128_next.c: Likewise.
4247 * config/libbid/bid128_noncomp.c: Likewise.
4248 * config/libbid/bid128_quantize.c: Likewise.
4249 * config/libbid/bid128_rem.c: Likewise.
4250 * config/libbid/bid128_round_integral.c: Likewise.
4251 * config/libbid/bid128_scalb.c: Likewise.
4252 * config/libbid/bid128_sqrt.c: Likewise.
4253 * config/libbid/bid128_string.c: Likewise.
4254 * config/libbid/bid128_to_int16.c: Likewise.
4255 * config/libbid/bid128_to_int32.c: Likewise.
4256 * config/libbid/bid128_to_int64.c: Likewise.
4257 * config/libbid/bid128_to_int8.c: Likewise.
4258 * config/libbid/bid128_to_uint16.c: Likewise.
4259 * config/libbid/bid128_to_uint32.c: Likewise.
4260 * config/libbid/bid128_to_uint64.c: Likewise.
4261 * config/libbid/bid128_to_uint8.c: Likewise.
4262 * config/libbid/bid32_to_bid128.c: Likewise.
4263 * config/libbid/bid32_to_bid64.c: Likewise.
4264 * config/libbid/bid64_add.c: Likewise.
4265 * config/libbid/bid64_compare.c: Likewise.
4266 * config/libbid/bid64_div.c: Likewise.
4267 * config/libbid/bid64_fma.c: Likewise.
4268 * config/libbid/bid64_logb.c: Likewise.
4269 * config/libbid/bid64_minmax.c: Likewise.
4270 * config/libbid/bid64_mul.c: Likewise.
4271 * config/libbid/bid64_next.c: Likewise.
4272 * config/libbid/bid64_noncomp.c: Likewise.
4273 * config/libbid/bid64_quantize.c: Likewise.
4274 * config/libbid/bid64_rem.c: Likewise.
4275 * config/libbid/bid64_round_integral.c: Likewise.
4276 * config/libbid/bid64_scalb.c: Likewise.
4277 * config/libbid/bid64_sqrt.c: Likewise.
4278 * config/libbid/bid64_string.c: Likewise.
4279 * config/libbid/bid64_to_bid128.c: Likewise.
4280 * config/libbid/bid64_to_int16.c: Likewise.
4281 * config/libbid/bid64_to_int32.c: Likewise.
4282 * config/libbid/bid64_to_int64.c: Likewise.
4283 * config/libbid/bid64_to_int8.c: Likewise.
4284 * config/libbid/bid64_to_uint16.c: Likewise.
4285 * config/libbid/bid64_to_uint32.c: Likewise.
4286 * config/libbid/bid64_to_uint64.c: Likewise.
4287 * config/libbid/bid64_to_uint8.c: Likewise.
4288 * config/libbid/bid_b2d.h: Likewise.
4289 * config/libbid/bid_binarydecimal.c: Likewise.
4290 * config/libbid/bid_conf.h: Likewise.
4291 * config/libbid/bid_convert_data.c: Likewise.
4292 * config/libbid/bid_decimal_data.c: Likewise.
4293 * config/libbid/bid_decimal_globals.c: Likewise.
4294 * config/libbid/bid_div_macros.h: Likewise.
4295 * config/libbid/bid_dpd.c: Likewise.
4296 * config/libbid/bid_flag_operations.c: Likewise.
4297 * config/libbid/bid_from_int.c: Likewise.
4298 * config/libbid/bid_functions.h: Likewise.
4299 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4300 * config/libbid/bid_inline_add.h: Likewise.
4301 * config/libbid/bid_internal.h: Likewise.
4302 * config/libbid/bid_round.c: Likewise.
4303 * config/libbid/bid_sqrt_macros.h: Likewise.
4305 2009-04-09 Jakub Jelinek <jakub@redhat.com>
4307 * Makefile.in: Change copyright header to refer to version
4308 3 of the GNU General Public License and to point readers at the
4309 COPYING3 file and the FSF's license web page.
4310 * config.host: Likewise.
4312 2009-04-07 Alan Modra <amodra@bigpond.net.au>
4314 * config.host: Reorder and merge to match config.gcc change.
4316 2009-04-03 Alan Modra <amodra@bigpond.net.au>
4318 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4320 2009-03-28 Joseph Myers <joseph@codesourcery.com>
4322 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4323 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4324 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4325 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4327 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
4329 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4330 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4332 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
4334 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4335 ia64/t-softfp-compat to tmake_file.
4337 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4339 * config/ia64/__divxf3.asm: New.
4340 * config/ia64/_fixtfdi.asm: Likewise.
4341 * config/ia64/_fixunstfdi.asm: Likewise.
4342 * config/ia64/_floatditf.asm: Likewise.
4343 * config/ia64/t-fprules-softfp: Likewise.
4344 * config/ia64/t-softfp-compat: Likewise.
4345 * config/ia64/tf-signs.c: Likewise.
4347 2009-01-18 Ben Elliston <bje@au.ibm.com>
4349 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4351 2009-01-16 Ben Elliston <bje@au.ibm.com>
4353 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4356 2009-01-13 Ben Elliston <bje@au.ibm.com>
4358 * config/t-softfp: New file.
4359 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4360 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4362 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
4364 * config.host: Add m32r*-*-rtems*.
4366 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
4368 * config.host: Add m32c*-*-rtems*.
4370 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4373 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4374 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4375 * configure: Regenerate.
4376 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4377 tmake_file here from gcc/config.gcc.
4378 Move extra_parts here from gcc/config.gcc.
4379 * config/i386/t-sol2: Move here from gcc/config/i386.
4380 Use gcc_srcdir instead of srcdir.
4382 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
4384 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4387 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
4389 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4391 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
4393 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4395 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
4398 * config.host: Add picochip-*-*.
4400 2008-08-06 Bob Wilson <bob.wilson@acm.org>
4402 * config.host: Match more processor names for Xtensa.
4404 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
4406 * config/i386/64/t-softfp-compat: Update comments.
4408 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
4410 * config/i386/64/_divtc3-compat.c: Moved to ...
4411 * config/i386/64/_divtc3.c: Here.
4413 * config/i386/64/_multc3-compat.c: Moved to ...
4414 * config/i386/64/_multc3.c: Here.
4416 * config/i386/64/_powitf2-compat.c: Moved to ...
4417 * config/i386/64/_powitf2.c: Here.
4419 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4420 .c suffix instead of -compat.c.
4422 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
4424 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4425 (_FP_MUL_MEAT_D): Ditto.
4426 (_FP_DIV_MEAT_S): Ditto.
4427 (_FP_DIV_MEAT_D): Ditto.
4429 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
4431 * Makefile.in: Add support for __sync_* libgcc functions.
4433 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
4435 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4437 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4440 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4441 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
4443 * config/i386/64/t-fprules-softfp: Moved to ...
4444 * config/i386/64/t-softfp-compat: This. New.
4446 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
4448 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4449 Initialize f with 0.0.
4451 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4454 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4456 * config/i386/64/_divtc3-compat.c: New.
4457 * config/i386/64/_multc3-compat.c: Likewise.
4458 * config/i386/64/_powitf2-compat.c: Likewise.
4459 * config/i386/64/eqtf2.c: Likewise.
4460 * config/i386/64/getf2.c: Likewise.
4461 * config/i386/64/letf2.c: Likewise.
4462 * config/i386/64/t-fprules-softfp: Likewise.
4464 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4466 * config.host: Add i386/${host_address}/t-fprules-softfp to
4467 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4468 i[34567]86-*-linux*, x86_64-*-linux*.
4470 * configure.ac: Set host_address to 64 or 32 for x86.
4471 * configure: Regenerated.
4473 * Makefile.in (config.status): Also depend on
4474 $(srcdir)/config.host.
4476 * config/i386/32/t-fprules-softfp: New.
4477 * config/i386/32/tf-signs.c: Likewise.
4479 * config/i386/64/sfp-machine.h: New. Moved from gcc.
4481 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4482 Uros Bizjak <ubizjak@gmail.com>
4484 * config/i386/32/sfp-machine.h: New.
4486 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
4488 * config/rs6000/t-ppccomm: Remove rules that conflict with
4489 auto-generated rules.
4491 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4493 * configure.ac: sinclude override.m4.
4494 * configure: Regenerate.
4496 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
4498 * configure: Regenerate.
4500 2008-06-10 Joseph Myers <joseph@codesourcery.com>
4502 * Makefile.in (DECNUMINC): Remove
4503 -I$(MULTIBUILDTOP)../../libdecnumber.
4506 2008-06-07 Joseph Myers <joseph@codesourcery.com>
4508 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4509 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4510 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4511 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4512 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4513 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4514 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4515 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4516 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4517 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4518 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4519 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4520 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4521 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4523 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
4525 * config.host (sh2[lbe]*-*-linux*): Allow target.
4527 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
4529 * config/rs6000/t-ppccomm: Add build rules for new files.
4530 (LIB2ADD_ST): New variable.
4532 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
4536 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4537 * config/t-avr: New file. Build 16bit libgcc functions.
4539 2008-03-02 Jakub Jelinek <jakub@redhat.com>
4542 * config/t-slibgcc-darwin: Make install-leaf dependent on
4543 install-darwin-libgcc-stubs instead of install.
4545 2008-01-25 Joseph Myers <joseph@codesourcery.com>
4547 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4548 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4549 sh-*-rtemscoff*): Remove cases.
4551 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
4553 * Makefile.in (all): Use install-leaf rather than install.
4554 (install): Split most of the rule into...
4555 (install-leaf): ...this new one.
4557 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
4558 Paolo Bonzini <bonzini@gnu.org>
4561 * Makefile.in: Use @shlib_slibdir@ substitution to get
4562 correct install name on darwin.
4563 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4565 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
4567 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4568 cris-*-elf and cris-*-none.
4569 (crisv32-*-linux*): Similar, as cris-*-linux*.
4571 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
4573 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4575 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
4578 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4579 * configure: Regenerated.
4581 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
4583 * Makefile.in (dfp-filenames): Replace decimal_globals,
4584 decimal_data, binarydecimal and convert_data with
4585 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4586 and bid_convert_data, respectively.
4588 2007-09-17 Chao-ying Fu <fu@mips.com>
4589 Nigel Stephens <nigel@mips.com>
4591 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4592 * Makefile.in (fixed_point): Define.
4593 Check if fixed_point is yes to build support functions.
4594 * configure.ac: Check for fixed_point support.
4595 * configure: Regenerated.
4596 * gen-fixed.sh: New file to generate lists of fixed-point labels,
4597 funcs, modes, from, to.
4599 2007-09-11 Janis Johnson <janis187@us.ibm.com
4601 * Makefile.in (dfp-filenames): Add bid128_noncomp.
4603 2007-09-10 Janis Johnson <janis187@us.ibm.com>
4605 * Makefile.in (dfp-filenames): Remove decUtility, add
4606 decDouble, decPacked, decQuad, decSingle.
4608 2007-08-27 Hans Kester <hans.kester@ellips.nl>
4610 * config.host : Add x86_64-elf target.
4612 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4614 * configure.ac (set_have_cc_tls): Add a missing =.
4615 * configure: Regenerated.
4617 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4619 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4620 and x86_64-*-linux*.
4622 * config/t-tls: New file.
4624 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4626 * configure.ac: Include ../config/enable.m4 and
4627 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4628 supports TLS and substitute set_have_cc_tls.
4629 * configure: Regenerated.
4631 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4633 * Makefile.in: Use libbid for DFP when BID is enabled.
4635 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4637 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4638 extra_parts. Add config/i386/t-cygming to tmake_file.
4639 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4641 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
4642 Danny Smith <dannysmith@users.sourceforge.net>
4645 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4646 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4647 * config/i386/t-crtfm: Compile crtfastmath.o with
4648 -minline-all-stringops.
4650 2007-05-10 Richard Sandiford <richard@codesourcery.com>
4652 * config.host (sparc-wrs-vxworks): New target.
4654 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
4656 * config.host: Recognize fido.
4658 2007-04-04 Janis Johnson <janis187@us.ibm.com>
4660 * configure: Check host, not target, for decimal float support.
4662 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
4664 * config/i386/t-crtpc: New file.
4665 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4666 (x86_64-*-linux*): Ditto.
4668 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
4670 * config.host (x86_64-*-mingw*): New target.
4672 2007-03-23 Michael Meissner <michael.meissner@amd.com>
4673 H.J. Lu <hongjiu.lu@intel.com>
4675 * Makefile.in (enable_decimal_float): New.
4677 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4678 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4679 (decbits-filenames): This.
4680 (decbits-objects): New.
4681 (libgcc-objects): Add $(decbits-objects).
4683 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4684 Substitute enable_decimal_float.
4685 * configure: Regenerated.
4687 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
4689 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4691 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4693 * Makefile.in (install-info): New dummy target.
4695 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4697 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4699 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4701 * Makefile.in: Add install-html and install-pdf dummy
4704 2007-02-05 Roger Sayle <roger@eyesopen.com>
4705 Daniel Jacobowitz <dan@codesourcery.com>
4707 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4708 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4709 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4711 2007-01-29 Janis Johnson <janis187@us.ibm.com>
4713 * Makefile.in (dec-filenames): Add decExcept.
4715 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4718 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4721 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
4723 * configure.ac: Add --enable-version-specific-runtime-libs.
4724 Correct $slibdir default.
4725 * configure: Regenerated.
4727 2007-01-23 Joseph Myers <joseph@codesourcery.com>
4729 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4731 2007-01-21 Andrew Pinski <pinskia@gmail.com>
4734 * config.host (alpha*-*-linux*): Set extra_parts.
4736 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
4738 * config/sh/t-linux: New.
4739 * config.host (sh*-*-linux*): Set tmake_file.
4741 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4743 * Makefile.in (install): Handle multilibs.
4745 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4747 * Makefile.in: Added .PHONY entry for documentation targets.
4749 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4751 * Makefile.in: Add empty info, html, dvi, pdf targets.
4753 2007-01-04 Mike Stump <mrs@apple.com>
4755 * Makefile.in (MAKEINFO): Remove.
4758 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
4760 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4761 * configure: Regenerate.
4762 * Makefile.in (host_subdir): Substitute it.
4763 (gcc_objdir): Use it.
4765 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4767 * config.host (ia64*-*-linux*): Set tmake_file.
4769 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4771 * Makefile.in (version): Define.
4773 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4774 Paolo Bonzini <bonzini@gnu.org>
4776 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4777 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4778 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4779 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4780 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4781 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4782 * configure: Generated.