1 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
3 * config.host <mips*-*-linux*>: Remove a stray comment.
5 2013-08-10 Jan Hubicka <jh@suse.cz>
7 Work around binutils PR14342
8 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
9 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
10 (L_gcov_indirect_call_profiler_v2): New.
12 2013-08-06 Jan Hubicka <jh@suse.cz>
14 * libgcov.c (__gcov_indirect_call_callee,
15 __gcov_indirect_call_counters): New global vars.
16 (__gcov_indirect_call_profiler): replace by ...
17 (__gcov_indirect_call_profiler_v2) ... this one.
19 2013-08-06 Caroline Tice <cmtice@google.com>
21 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
22 vtv_start_preinit.o and vtv_end_preinit.o.
23 * configure.ac: Add code to check/set enable_vtable_verify.
24 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
26 * vtv_start_preinit.c: New file.
27 * vtv_end_preinit.c: New file.
28 * vtv_start.c: New file.
29 * vtv_end.c: New file.
30 * configure: Regenerated.
32 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
34 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
35 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
36 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
37 GPL-3.0-with-GCC-exception.
39 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
41 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
44 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
47 mapping for FPRs when creating the fallback framestate.
49 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
52 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
53 (__round_s2_const, __round_u2_const)
54 (__round_s4_const, __round_u4_const, __round_x8):
55 Saturate result if addition result cannot be represented.
57 2013-07-15 Matthias Klose <doko@ubuntu.com>
59 * libgcc2.c: Don't include <limits.h>.
61 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
63 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
65 2013-07-06 Jakub Jelinek <jakub@redhat.com>
68 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
70 2013-06-28 Jakub Jelinek <jakub@redhat.com>
73 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
75 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
76 instead of table lookups.
77 (__popcountDI2): Likewise.
79 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
81 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
84 2013-06-21 Joseph Myers <joseph@codesourcery.com>
87 * soft-fp/adddf3.c: Update from glibc.
88 * soft-fp/addsf3.c: Likewise.
89 * soft-fp/addtf3.c: Likewise.
90 * soft-fp/divdf3.c: Likewise.
91 * soft-fp/divsf3.c: Likewise.
92 * soft-fp/divtf3.c: Likewise.
93 * soft-fp/double.h: Likewise.
94 * soft-fp/eqdf2.c: Likewise.
95 * soft-fp/eqsf2.c: Likewise.
96 * soft-fp/eqtf2.c: Likewise.
97 * soft-fp/extenddftf2.c: Likewise.
98 * soft-fp/extended.h: Likewise.
99 * soft-fp/extendsfdf2.c: Likewise.
100 * soft-fp/extendsftf2.c: Likewise.
101 * soft-fp/fixdfdi.c: Likewise.
102 * soft-fp/fixdfsi.c: Likewise.
103 * soft-fp/fixsfdi.c: Likewise.
104 * soft-fp/fixsfsi.c: Likewise.
105 * soft-fp/fixtfdi.c: Likewise.
106 * soft-fp/fixtfsi.c: Likewise.
107 * soft-fp/fixunsdfdi.c: Likewise.
108 * soft-fp/fixunsdfsi.c: Likewise.
109 * soft-fp/fixunssfdi.c: Likewise.
110 * soft-fp/fixunssfsi.c: Likewise.
111 * soft-fp/fixunstfdi.c: Likewise.
112 * soft-fp/fixunstfsi.c: Likewise.
113 * soft-fp/floatdidf.c: Likewise.
114 * soft-fp/floatdisf.c: Likewise.
115 * soft-fp/floatditf.c: Likewise.
116 * soft-fp/floatsidf.c: Likewise.
117 * soft-fp/floatsisf.c: Likewise.
118 * soft-fp/floatsitf.c: Likewise.
119 * soft-fp/floatundidf.c: Likewise.
120 * soft-fp/floatundisf.c: Likewise.
121 * soft-fp/floatunditf.c: Likewise.
122 * soft-fp/floatunsidf.c: Likewise.
123 * soft-fp/floatunsisf.c: Likewise.
124 * soft-fp/floatunsitf.c: Likewise.
125 * soft-fp/gedf2.c: Likewise.
126 * soft-fp/gesf2.c: Likewise.
127 * soft-fp/getf2.c: Likewise.
128 * soft-fp/ledf2.c: Likewise.
129 * soft-fp/lesf2.c: Likewise.
130 * soft-fp/letf2.c: Likewise.
131 * soft-fp/muldf3.c: Likewise.
132 * soft-fp/mulsf3.c: Likewise.
133 * soft-fp/multf3.c: Likewise.
134 * soft-fp/negdf2.c: Likewise.
135 * soft-fp/negsf2.c: Likewise.
136 * soft-fp/negtf2.c: Likewise.
137 * soft-fp/op-1.h: Likewise.
138 * soft-fp/op-2.h: Likewise.
139 * soft-fp/op-4.h: Likewise.
140 * soft-fp/op-8.h: Likewise.
141 * soft-fp/op-common.h: Likewise.
142 * soft-fp/quad.h: Likewise.
143 * soft-fp/single.h: Likewise.
144 * soft-fp/soft-fp.h: Likewise.
145 * soft-fp/subdf3.c: Likewise.
146 * soft-fp/subsf3.c: Likewise.
147 * soft-fp/subtf3.c: Likewise.
148 * soft-fp/truncdfsf2.c: Likewise.
149 * soft-fp/trunctfdf2.c: Likewise.
150 * soft-fp/trunctfsf2.c: Likewise.
151 * soft-fp/unorddf2.c: Likewise.
152 * soft-fp/unordsf2.c: Likewise.
153 * soft-fp/unordtf2.c: Likewise.
154 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
155 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
156 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
157 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
158 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
159 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
160 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
161 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
162 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
163 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
164 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
165 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
167 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
169 * config/mips/lib2funcs.c: New file.
170 * config/mips/t-mips (LIB2ADD_ST): Add it.
172 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
175 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
176 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
178 2013-06-08 Walter Lee <walt@tilera.com>
180 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
181 Replace int64_t with long long. Add __extension__ where
183 * config/tilepro/atomic.c: Include config.h.
185 2013-06-06 Douglas B Rupp <rupp@adacore.com>
187 * config.host (arm-wrs-vxworks): Configure with other soft float.
189 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
191 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
192 (mips64r5900el-*-elf*): New configurations.
194 2013-06-04 Alan Modra <amodra@gmail.com>
196 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
198 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
200 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
202 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
204 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
205 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
206 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
208 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
210 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
211 (powerpc-wrs-vxworks): Likewise.
213 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
215 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
216 signal frames as well.
217 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
218 STACK_BIAS to the CFA offset.
220 2013-05-17 Richard Henderson <rth@redhat.com>
223 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
224 (execute_cfa_program): Use it when storing to fs->regs.
226 2013-05-08 Kai Tietz <ktietz@redhat.com>
228 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
229 (__deregister_frame_info): Likewise.
231 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
233 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
236 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
238 2013-04-25 Alan Modra <amodra@gmail.com>
240 * config.host: Match little-endian powerpc-linux.
242 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
244 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
245 as 'unsigned long long' instead of 'unsigned long'.
246 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
249 2013-04-10 Julian Brown <julian@codesourcery.com>
251 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
252 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
253 unsigned char/unsigned short.
254 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
256 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
259 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
261 2013-04-04 Meador Inge <meadori@codesourcery.com>
263 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
264 computing the location of the link register.
265 (aeabi_uldivmod): Ditto.
267 2013-03-27 Kai Tietz <ktietz@redhat.com>
269 * config.host: Add support for cygwin x64 target.
270 * configure: Regenerated.
272 2013-03-26 Walter Lee <walt@tilera.com>
274 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
275 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
277 2013-03-25 Kai Tietz <ktietz@redhat.com>
279 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
281 2013-03-20 Robert Mason <rbmj@verizon.net>
283 * config/vxlib-tls.c (__gthread_get_tsd_data,)
284 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
285 (__gthread_leave_tsd_dtor_context): Add prototypes.
286 (tls_delete_hook): Update.
288 2013-03-20 Catherine Moore <clm@codesourcery.com>
289 Joseph Myers <joseph@codesourcery.com>
290 Chao-ying Fu <fu@mips.com>
292 * config/mips/mips16.S: Don't build for microMIPS.
293 * config/mips/linux-unwind.h: Handle microMIPS frame.
294 * config/mips/crtn.S (fini, init): New labels.
296 2013-03-14 Jakub Jelinek <jakub@redhat.com>
298 PR tree-optimization/53265
299 * unwind-dw2.c (execute_cfa_program): Avoid
300 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
301 on targets with DWARF_FRAME_REGISTERS < 32.
303 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
306 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
307 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
309 2013-03-07 Sriraman Tallam <tmsriram@google.com>
311 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
312 sandybridge processors.
314 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
317 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
320 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
322 * config/microblaze/crti.S: Setup stack protection at entry
324 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
326 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
327 (__rotldi3): Shift bytewise if applicable.
329 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
331 * config/aarch64/sync-cache.c
332 (__aarch64_sync_cache_range): Silence warnings.
334 2013-02-25 Catherine Moore <clm@codesourcery.com>
337 2013-02-24 Catherine Moore <clm@codesourcery.com>
338 Joseph Myers <joseph@codesourcery.com>
339 Chao-ying Fu <fu@mips.com>
341 * config/mips/mips16.S: Don't build for microMIPS.
342 * config/mips/linux-unwind.h: Handle microMIPS frame.
343 * config/mips/crtn.S (fini, init): New labels.
345 2013-02-24 Catherine Moore <clm@codesourcery.com>
346 Joseph Myers <joseph@codesourcery.com>
347 Chao-ying Fu <fu@mips.com>
349 * config/mips/mips16.S: Don't build for microMIPS.
350 * config/mips/linux-unwind.h: Handle microMIPS frame.
351 * config/mips/crtn.S (fini, init): New labels.
353 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
354 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
357 2013-02-16 Alan Modra <amodra@gmail.com>
360 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
361 (ppc_fallback_frame_state): Always set up save locations for fp
362 and altivec. Don't bother with non-callee-saved regs, r0-r13
363 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
365 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
368 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
370 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
371 _ssmulha3, _usmulusa3, _ssmulsa3.
372 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
373 (__muldi3): XCALL __muldi3_6 instead of rcall.
374 (__umulsidi3, __mulsidi3): New functions.
375 (do_prologue_saves, do_epilogue_restores): New .macros.
376 (__divdi3_moddi3): Use them.
377 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
378 (__usmulusa3, __ssmulsa3): New functions.
380 2013-02-11 Iain Sandoe <iain@codesourcery.com>
381 Jack Howarth <howarth@bromo.med.uc.edu>
382 Patrick Marlier <patrick.marlier@gmail.com>
385 * config/darwin-crt-tm.c: Remove dummy functions hack.
387 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
390 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
391 * config/avr/lib2-object.mk: New iterator to build objects from it.
392 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
394 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
395 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
396 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
397 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
398 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
399 * config/avr/lib1funcs-fixed.S: Implement them.
401 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
403 Update copyright years.
405 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
408 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
409 Add crtcxa to extra_parts.
410 * config/rs6000/exit.h: New file.
411 * config/rs6000/cxa_atexit.c: New file.
412 * config/rs6000/cxa_finalize.c: New file.
413 * config/rs6000/crtcxa.c: New file.
414 * config/rs6000/t-aix-cxa: New file.
415 * config/rs6000/libgcc-aix-cxa.ver: New file.
417 2013-01-31 Nick Clifton <nickc@redhat.com>
419 * config/v850/lib1funcs.S: Add support for e3v5 architecture
422 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
425 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
426 _mulQQ, _mulHQ, _mulHA, _mulSA,
427 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
428 _divQQ, _divHQ, _divHA, _divSA,
429 _divUQQ, _divUHQ, _divUHA, _divUSA.
431 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
433 * config.host(microblaze*-linux*): tmake_file: Remove
434 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
435 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
436 to exclude functions from being built with libgcc.c and use
437 the microblaze assembly.
439 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
441 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
444 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
446 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
447 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
448 __UINTPTR_TYPE__; also cast 'base' to the same type before the
451 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
453 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
454 loop start address for cache clearing.
456 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
458 * config/avr/lib1funcs.S: Remove trailing blanks.
459 * config/avr/lib1funcs-fixed.S: Ditto.
461 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
463 * config/avr/avr-lib.h: Add GPL copyright notice.
465 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
467 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
468 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
469 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
470 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
472 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
474 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
475 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
477 2013-01-04 Nick Clifton <nickc@redhat.com>
479 * config/v850/lib1funcs.S: Only provide CALLT support functions if
480 the CALLT instruction is supported.
482 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
484 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
485 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
487 2012-12-13 John Tytgat <John@bass-software.com>
489 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
492 2012-12-12 Jakub Jelinek <jakub@redhat.com>
495 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
496 undefined signed overflows.
498 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
501 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
503 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
505 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
506 (FP_TRAPPING_EXCEPTIONS): Define.
507 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
508 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
510 2012-12-04 Richard Henderson <rth@redhat.com>
513 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
515 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
517 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
518 (FP_EX_SHIFT): Define.
519 (FP_TRAPPING_EXCEPTIONS): Define.
521 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
523 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
524 (FP_ROUNDMODE): Use FP_RND_MASK.
525 * config/aarch64/sfp-exceptions.c: New.
526 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
527 Use __sfp_handle_exceptions.
529 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
531 * config.host: (arm*-*-freebsd*): Remove.
532 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
533 (arm*-*-elf*): Remove.
534 (arm*-*-wince-pe*): Remove.
535 * arm/unwind-arm.c (struct fpa_reg): Delete.
536 (struct fpa_regs): Delete.
537 (phase1_vrs): Remove fpa element.
538 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
539 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
540 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
541 * ieee754-sf.S (floatundisf): Remove FPA support.
542 (floatdisf): Likewise.
543 * ieee75f-df.S (floatundidf): Likewise.
544 (floatdidf): Likewise.
546 2012-11-29 Kai Tietz <ktietz@redhat.com>
549 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
550 * unwind-generic.h: Likewise.
551 * unwind-seh.c: Likewise.
553 2012-11-28 Richard Henderson <rth@redhat.com>
556 * emutls.c (__emutls_get_address): Avoid race condition between
557 obj->loc.offset read and emutls_key initialization.
559 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
561 Adjust decimal point of signed accum mode to GCC default.
564 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
566 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
567 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
569 (__divqq3, __divha3, __divsa3): Adjust to new position of
570 decimal point of signed accum types.
572 (__mulusa3_round): New function.
574 (__divqq_helper): New function.
575 (__udivuqq3): Use it.
577 2012-11-20 Jakub Jelinek <jakub@redhat.com>
580 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
582 2012-11-18 Teresa Johnson <tejohnson@google.com>
585 * libgcov.c (gcov_exit): Remove merged program summary
586 comparison unless !GCOV_LOCKED.
588 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
590 * soft-fp: Updated from glibc upstream.
592 2012-11-06 Ian Lance Taylor <iant@google.com>
594 * generic-morestack.c (__generic_morestack): Align the returned
595 stack pointer to a 32 byte boundary.
596 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
597 increment the return address until we have decided that we don't
598 have a varargs function.
599 (__morestack) [32-bit]: Align stack correctly when calling C
601 (__morestack) [64-bit]: Likewise.
603 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
605 * configure: Regenerate.
607 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
610 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
611 * config/i386/sfp-machine.h: Guard exception handling
612 code with _SOFT_FLOAT.
613 * config/i386/32/sfp-machine.h: Guard rounding handling
614 code with _SOFT_FLOAT.
615 * config/i386/64/sfp-machine.h: Ditto.
617 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
619 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
622 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
624 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
625 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
626 when appropriate. Correct structure element types.
627 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
628 -minline-all-stringops from compile flags.
630 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
632 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
634 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
636 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
638 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
640 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
643 2012-10-23 Ian Bolton <ian.bolton@arm.com>
644 Jim MacArthur <jim.macarthur@arm.com>
645 Marcus Shawcroft <marcus.shawcroft@arm.com>
646 Nigel Stephens <nigel.stephens@arm.com>
647 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
648 Richard Earnshaw <rearnsha@arm.com>
649 Sofiane Naci <sofiane.naci@arm.com>
650 Stephen Thomas <stephen.thomas@arm.com>
651 Tejas Belagod <tejas.belagod@arm.com>
652 Yufeng Zhang <yufeng.zhang@arm.com>
654 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
655 * config/aarch64/crti.S: New file.
656 * config/aarch64/crtn.S: New file.
657 * config/aarch64/linux-unwind.h: New file.
658 * config/aarch64/sfp-machine.h: New file.
659 * config/aarch64/sync-cache.c: New file.
660 * config/aarch64/t-aarch64: New file.
661 * config/aarch64/t-softfp: New file.
663 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
665 * config/mmix/crti.S: Mark program and data addresses using PRELD.
666 Remove typo'd and unnecessary alignment-LOC for .data. Remove
667 no-longer-needed LDBU insns.
669 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
672 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
673 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
675 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
677 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
679 2012-10-15 Matthias Klose <doko@ubuntu.com>
681 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
683 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
685 * configure: Regenerate.
686 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
688 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
690 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
691 instructions for 64bit targets only.
693 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
695 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
696 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
697 * config/i386/32/sfp-machine.h: ... here.
698 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
699 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
702 2012-10-07 Matthias Klose <doko@ubuntu.com>
704 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
706 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
708 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
710 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
711 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
712 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
715 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
718 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
721 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
724 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
725 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
726 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
728 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
731 * config/sh/linux-atomic.S: Delete.
732 * config/sh/linux-atomic.c: New.
733 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
734 linux-atomic.c. Add cflags to disable warnings.
736 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
739 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
741 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
742 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
743 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
744 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
745 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
747 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
749 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
751 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
752 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
754 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
756 * config.host (hppa-*-openbsd*): New target.
757 * config/pa/t-openbsd: New file.
759 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
762 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
763 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
764 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
765 (__divsa3): Use __negsi2 to negate r_quoL.
766 * config/avr/lib1funcs.S (FALIAS): New macro.
767 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
768 (__negsi2): ...this new function.
769 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
770 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
771 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
772 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
773 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
774 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
776 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
779 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
780 (lshrsi3): Reimplement as lshrsi3_r0.
782 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
785 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
788 2012-09-07 Teresa Johnson <tejohnson@google.com>
790 PR gcov-profile/54487
791 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
794 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
797 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
798 not configured --with-avrlibc=no.
799 * config/avr/t-avrlibc: New file.
800 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
801 (DPBIT_FUNCS): Ditto.
802 (TPBIT_FUNCS): Ditto.
804 2012-09-04 Teresa Johnson <tejohnson@google.com>
806 * libgcov.c (struct gcov_summary_buffer): New structure.
807 (gcov_histogram_insert): New function.
808 (gcov_compute_histogram): Ditto.
809 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
810 histograms during summary merging.
812 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
814 * config.host (x86_64-*-openbsd*): New target.
816 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
818 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
821 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
824 * config/avr/t-avr (conv_X): Rename to func_X.
826 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
829 * config/avr/lib1funcs-fixed.S: New file.
830 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
832 (neg2, neg4): New macros.
833 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
834 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
835 (__umulhisi3): Speed up MUL variant if there is enough flash.
836 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
838 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
839 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
840 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
841 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
842 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
843 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
844 (LIB2FUNCS_EXCLUDE): Add supported functions.
846 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
848 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
849 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
851 * fixed-obj.mk: Only expand dependency if $o is not in
854 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
856 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
858 2012-08-22 Joseph Myers <joseph@codesourcery.com>
860 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
861 depend on --enable-shared.
862 ($(lib1asmfuncs-o)): Use %.vis files independent of
864 * static-object.mk ($(base)$(objext), $(base).vis)
865 ($(base)_s$(objext)): Use same rules for visibility handling as in
868 2012-08-21 Ian Lance Taylor <iant@google.com>
870 * config/i386/morestack.S (__morestack_non_split): Increase amount
871 of space allocated for non-split code stack.
873 2012-08-19 Joseph Myers <joseph@codesourcery.com>
875 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
876 even if inhibit_libc.
878 2012-08-17 Julian Brown <julian@codesourcery.com>
880 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
881 -fexceptions -fnon-call-exceptions if not defined.
882 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
883 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
885 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
887 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
890 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
892 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
893 rs6000/t-slibgcc-aix.
895 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
897 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
899 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
901 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
903 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
906 * Makefile.in (version): Replace top_srcdir with srcdir.
908 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
910 * Makefile.in (version): set to BASE-VER file from gcc directory.
912 2012-08-01 Nick Clifton <nickc@redhat.com>
914 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
915 Implements __clrsb for an HImode argument.
917 2012-07-31 Nick Clifton <nickc@redhat.com>
919 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
920 Implements __clrsb for an HImode argument.
921 * config/stormy16/clrsbhi2.c: New file:
922 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
924 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
926 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
928 2012-07-19 Tristan Gingold <gingold@adacore.com>
929 Richard Henderson <rth@redhat.com>
931 * unwind-seh.c: New file.
932 * unwind-generic.h: Include windows.h for SEH.
933 (_Unwind_Exception): Use 6 private fields for SEH.
934 (_GCC_specific_handler): Declare.
935 * unwind-c.c (__gcc_personality_seh0): New function.
937 * config/i386/libgcc-cygming.ver: New file.
938 * config/i386/t-seh-eh: New file.
939 * config.host (x86_64-*-mingw*): Default to seh.
941 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
943 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
945 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
947 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
948 __builtin_expect when checking for exceptions.
949 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
951 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
953 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
954 function declaration.
955 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
957 * config/ia64/sfp-exceptions.c: New.
958 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
960 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
962 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
963 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
964 * config/i386/64/sfp-machine: ... (delete here) ...
965 * config/i386/sfp-machine.h: ... to here.
966 (FP_EX_MASK): Remove.
968 (FP_INIT_ROUNDMODE): Declare asm as volatile.
970 2012-06-11 Sriraman Tallam <tmsriram@google.com>
972 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
973 * config/i386/libgcc-sol2.ver: Ditto.
974 * config/i386/libgcc-glibc.ver: Ditto.
976 2012-06-11 Roland McGrath <mcgrathr@google.com>
978 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
979 If __GLIBC__ is defined, refer to __pthread_key_create instead of
982 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
984 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
985 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
986 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
987 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
988 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
989 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
990 * config/i386/64/sfp-machine: ... (delete here) ...
991 * config/i386/sfp-machine.h: ... to here.
993 (__sfp_handle_exceptions): New function declaration.
994 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
995 * config/i386/sfp-exceptions.c: New.
996 * config/i386/t-softfp: New.
997 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
998 i386/t-softfp to tmake_file.
1000 2012-06-03 David S. Miller <davem@davemloft.net>
1002 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
1005 2012-05-31 David S. Miller <davem@davemloft.net>
1007 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
1008 multiply and divide instructions on 32-bit when V9.
1009 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
1011 2012-05-29 Joseph Myers <joseph@codesourcery.com>
1013 * config/arm/ieee754-df.S: Fix typos.
1014 * config/arm/ieee754-sf.S: Fix typos.
1015 * config/c6x/libunwind.S: Fix typos.
1016 * config/epiphany/udivsi3-float.c: Fix typos.
1017 * config/microblaze/muldi3_hard.S: Fix typos.
1018 * config/picochip/adddi3.S: Fix typos.
1019 * config/picochip/ashlsi3.S: Fix typos.
1020 * config/picochip/ashrsi3.S: Fix typos.
1021 * config/picochip/clzsi2.S: Fix typos.
1022 * config/picochip/cmpsi2.S: Fix typos.
1023 * config/picochip/divmod15.S: Fix typos.
1024 * config/picochip/divmodhi4.S: Fix typos.
1025 * config/picochip/divmodsi4.S: Fix typos.
1026 * config/picochip/longjmp.S: Fix typos.
1027 * config/picochip/lshrsi3.S: Fix typos.
1028 * config/picochip/parityhi2.S: Fix typos.
1029 * config/picochip/popcounthi2.S: Fix typos.
1030 * config/picochip/setjmp.S: Fix typos.
1031 * config/picochip/subdi3.S: Fix typos.
1032 * config/picochip/ucmpsi2.S: Fix typos.
1033 * config/picochip/udivmodhi4.S: Fix typos.
1034 * config/picochip/udivmodsi4.S: Fix typos.
1035 * config/spu/divv2df3.c: Fix typos.
1036 * config/spu/mfc_multi_tag_release.c: Fix typos.
1037 * config/spu/mfc_tag_release.c: Fix typos.
1038 * configure.ac: Fix typos.
1039 * configure: Regenerate.
1041 2012-05-25 Ian Lance Taylor <iant@google.com>
1043 * config/i386/morestack.S (__morestack_non_split): Check whether
1044 caller is varargs and needs %bp to hold the stack frame on return.
1046 2012-05-25 Olivier Hainque <hainque@adacore.com>
1048 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1049 sequence in the non pic case on VxWorks.
1051 2012-05-24 Olivier Hainque <hainque@adacore.com>
1053 * Makefile.in: Move dependency on install-unwind_h from
1054 "install-leaf" to "install".
1056 2012-05-24 Olivier Hainque <hainque@adacore.com>
1058 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
1059 Use a separate command for stamp removals.
1061 2012-05-21 Andrew Pinski <apinski@cavium.com>
1064 * configure.ac: Define the default includes to being none.
1065 * configure: Regenerate.
1067 2012-05-16 Olivier Hainque <hainque@adacore.com>
1069 * Makefile.in (install-unwind_h): Rename into ...
1070 (install-unwind_h-forbuild): New target.
1071 (all): Use it instead of the former install-unwind_h.
1072 (install-unwind_h): Reinstate, copy to user install destination
1073 for include files, not to the internal gcc object directory one.
1074 (install-leaf): Depend on it.
1076 2012-05-15 Olivier Hainque <hainque@adacore.com>
1078 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1079 register numbers. LR_REGNO replaces R_LR.
1080 (ucontext_for): New, helper for ...
1081 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1083 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1085 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1087 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1088 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1089 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1091 (i[34567]86-*-*, x86_64-*-*): ... here.
1093 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1094 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1096 * config/i386/i386-cpuinfo.c: Rename to ...
1097 * config/i386/cpuinfo.c: ... this.
1098 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1100 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1101 (libgcc_cv_init_priority): New test.
1102 * configure: Regenerate.
1103 * config.in: New file.
1104 * Makefile.in (clean): Rename config.h to auto-target.h.
1105 (config.h): Likewise.
1106 (stamp-h): Likewise.
1108 * config/i386/cpuinfo.c (auto-target.h): Include.
1109 (CONSTRUCTOR_PRIORITY): Define.
1110 (__cpu_indicator_init): Use it.
1112 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1114 * longlong.h: Use a URL instead of an FSF postal address.
1115 Replace spaces with tab.
1117 2012-05-08 Teresa Johnson <tejohnson@google.com>
1119 * libgcov.c (gcov_clear, __gcov_reset): New functions.
1120 (__gcov_dump): Ditto.
1121 (gcov_dump_complete): New global variable.
1122 (gcov_exit): Export hidden to enable use in L_gcov_dump.
1123 (__gcov_flush): Outline functionality now in gcov_clear.
1124 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1126 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
1128 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1129 (mips*-*-linux*): Include mips/t-tpbit when long double is
1132 2012-04-25 Sriraman Tallam <tmsriram@google.com>
1134 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1135 (get_available_features): New argument. Check for AVX2.
1136 (__cpu_indicator_init): Modify call to get_available_features.
1138 2012-04-25 Alan Modra <amodra@gmail.com>
1140 * config/rs6000/crtsavevr.S: New file.
1141 * config/rs6000/crtrestvr.S: New file.
1142 * config/rs6000/t-savresfgpr: Build the above.
1143 * config/rs6000/t-netbsd: Likewise.
1145 2012-04-24 Sriraman Tallam <tmsriram@google.com>
1147 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1149 2012-04-24 Sriraman Tallam <tmsriram@google.com>
1151 * libgcc/config/i386/i386-cpuinfo.c: New file.
1152 * libgcc/config/i386/t-cpuinfo: New file.
1153 * libgcc/config.host: Include t-cpuinfo.
1154 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1156 2012-04-24 Chao-ying Fu <fu@mips.com>
1158 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1160 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
1162 struct siginfo vs. siginfo_t
1164 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1165 siginfo_t instead of struct siginfo.
1166 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1167 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1168 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1169 (ia64_handle_unwabi): Likewise.
1170 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1171 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1172 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1173 (sh_fallback_frame_state): Likewise.
1174 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1175 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1177 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
1179 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1182 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
1184 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1185 if it hasn't been previously saved.
1187 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
1189 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1192 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
1195 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1196 instead of __AVR_HAVE_8BIT_SP__.
1198 2012-03-26 Tristan Gingold <gingold@adacore.com>
1200 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1201 (unw_table_entry): Use unw_word instead of unsigned long.
1202 (_Unwind_FindTableEntry): Likewise.
1203 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1204 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1205 (_Unwind_FindTableEntry): Likewise.
1206 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1207 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1208 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1209 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1210 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1211 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1212 (uw_init_context_1, uw_install_context): Likewise.
1213 (unw_word): Move to unwind-ia64.h
1215 2012-03-26 Tristan Gingold <gingold@adacore.com>
1217 * config/vms/vms-ucrt0.c: Update copyright years.
1219 (___gcc_main_flags): Declare.
1220 (__main): Check flags to remap argv and exit code.
1221 * config.host (*-*-*vms*): Adjust extra_parts.
1222 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1225 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
1227 * arm/lib1funcs.asm (ctzsi2): New function.
1228 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1229 * arm/t-linux (LIB1ASMFUNCS): Likewise.
1230 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1231 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1232 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1233 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1235 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
1237 * config.host: Add bits to support powerpc64-*-freebsd*.
1238 * config/rs6000/freebsd-unwind.h: New file.
1239 * config/rs6000/t-freebsd64: New file.
1241 2012-03-20 Richard Guenther <rguenther@suse.de>
1243 PR gcov-profile/52627
1244 * libgcov.c (init_mx): Fix mutex name.
1246 2012-03-16 Tristan Gingold <gingold@adacore.com>
1248 * config/ia64/vms-unwind.h: Remove ulong (and replace
1249 it by unw_reg where used). Define unw_reg with __int64.
1251 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1253 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1255 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1257 (sparc_is_sighandler): Likewise.
1259 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
1261 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1264 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1266 * config/arm/crtn.S: Fix typo.
1268 2012-03-13 Richard Guenther <rguenther@suse.de>
1270 * libgcov.c: Remove stdio.h include and NULL un-define.
1272 2012-03-13 Richard Guenther <rguenther@suse.de>
1275 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1277 2012-03-13 Richard Guenther <rguenther@suse.de>
1279 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1281 2012-03-13 Richard Guenther <rguenther@suse.de>
1283 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1284 and __gthread_mutex_init_function definitions.
1286 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1288 * config.host (mips*-*-openbsd*): Remove.
1290 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1292 * config.host: Remove alpha*-dec-osf5.1* handling.
1293 * config/alpha/gthr-posix.c: Remove.
1294 * config/alpha/libgcc-osf5.ver: Remove.
1295 * config/alpha/osf5-unwind.h: Remove.
1296 * config/alpha/t-osf-pthread: Remove.
1297 * config/alpha/t-slibgcc-osf: Remove.
1298 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1299 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1300 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1301 * mkmap-flat.awk: Remove osf_export handling.
1303 2012-03-12 Richard Guenther <rguenther@suse.de>
1305 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1306 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1307 (__gthread_mutex_init_function): New function.
1308 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1311 * libgcov.c: Include gthr.h.
1312 (__gcov_flush_mx): New global variable.
1313 (init_mx, init_mx_once): New functions.
1314 (__gcov_flush): Protect self with a mutex.
1315 (__gcov_fork): Re-initialize mutex after forking.
1316 * unwind-dw2-fde.c: Change condition under which to use
1317 __GTHREAD_MUTEX_INIT_FUNCTION.
1319 2012-03-12 Tristan Gingold <gingold@adacore.com>
1321 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1322 * config/ia64/t-vms: Likewise.
1324 2012-03-11 Michael Hope <michael.hope@linaro.org>
1326 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1329 2012-03-07 Walter Lee <walt@tilera.com>
1331 * config/tilepro/atomic.c: Rename "atomic_" prefix to
1333 (atomic_xor): Rename and move definition to
1334 config/tilepro/atomic.h.
1335 (atomic_nand): Ditto.
1336 * config/tilepro/atomic.h: Rename "atomic_" prefix to
1338 (arch_atomic_xor): Move from config/tilepro/atomic.c.
1339 (arch_atomic_nand): Ditto.
1341 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1344 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1346 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1349 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1352 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
1356 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1357 if RAMPZ affects reading from RAM.
1358 (__tablejump_elpm__): Ditto.
1360 (__movmemx_hi): Ditto.
1361 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1362 (__do_global_dtors): Ditto.
1363 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1364 (__movmemx_hi): Ditto.
1366 2012-03-05 Richard Henderson <rth@redhat.com>
1368 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1369 [ARM] (count_trailing_zeros): Use the builtin.
1371 2012-03-01 Kai Tietz <ktietz@redhat.com>
1373 * soft-fp: Imported from glibc upstream.
1375 2012-02-28 Kai Tietz <ktietz@redhat.com>
1377 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1378 for mingw-targets as attribute gcc_struct.
1380 2012-02-28 Ian Lance Taylor <iant@google.com>
1382 * generic-morestack.c (__splitstack_releasecontext): Correct call
1383 to __morestack_release_segments.
1385 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1388 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1389 for __linux__ when removing signals from __morestack_fullmask.
1391 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
1394 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1396 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1398 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1399 instead of HAVE_INITFINI_ARRAY.
1400 * config/ia64/crtend.S: Likewise.
1402 2012-02-20 Kai Tietz <ktietz@redhat.com>
1405 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1407 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1408 to w32-unwind.h header.
1410 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1412 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1413 (mips*-*-linux*): Remove t-slibgcc-libgcc.
1414 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1415 * config/mips/mips16.S (__mips16_rdhwr): Delete.
1417 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
1419 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1421 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1424 * config/darwin-crt-tm.c: Correct typo.
1426 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1427 Patrick Marlier <patrick.marlier@gmail.com>
1430 * config/darwin-crt-tm.c: Generate dummy functions.
1432 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
1433 Patrick Marlier <patrick.marlier@gmail.com>
1436 * config/darwin-crt-tm.c (getTMCloneTable): New function.
1437 (__doTMRegistrations): Call it.
1438 (__doTMdeRegistrations): Likewise.
1440 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
1441 Anatoly Sokolov <aesok@post.ru>
1442 Eric Weddington <eric.weddington@atmel.com>
1445 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1446 (__epilogue_restores__): Ditto.
1448 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
1452 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1453 Solaris 11 and slightly reformat.
1454 (sparc_is_sighandler): Likewise.
1456 2012-02-14 Walter Lee <walt@tilera.com>
1458 * config.host: Handle tilegx and tilepro.
1459 * config/tilegx/sfp-machine.h: New file.
1460 * config/tilegx/sfp-machine32.h: New file.
1461 * config/tilegx/sfp-machine64.h: New file.
1462 * config/tilegx/t-crtstuff: New file.
1463 * config/tilegx/t-softfp: New file.
1464 * config/tilegx/t-tilegx: New file.
1465 * config/tilepro/atomic.c: New file.
1466 * config/tilepro/atomic.h: New file.
1467 * config/tilepro/linux-unwind.h: New file.
1468 * config/tilepro/sfp-machine.h: New file.
1469 * config/tilepro/softdivide.c: New file.
1470 * config/tilepro/softmpy.S: New file.
1471 * config/tilepro/t-crtstuff: New file.
1472 * config/tilepro/t-tilepro: New file.
1474 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
1478 * gthr-posix.h: Allow static initializer macros to be disabled.
1479 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1481 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1483 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1484 Add t-slibgcc-libgcc to tmake_file.
1485 * config/mips/libgcc-mips16.ver: Revert previous patch.
1486 * config/mips/mips16.S (__mips16_rdhwr): Hide.
1488 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
1489 Jayant R Sonar <jayant.sonar@kpitcummins.com>
1491 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1492 * config/cr16/crti.S: New file.
1493 * config/cr16/crtlibid.S: New file.
1494 * config/cr16/crtn.S: New file.
1495 * config/cr16/lib1funcs.S: New file.
1496 * config/cr16/t-cr16: New file.
1497 * config/cr16/t-crtlibid: New file.
1498 * config/cr16/unwind-dw2.h: New file.
1499 * config/cr16/unwind-cr16.c: New file.
1500 * config/cr16/divmodhi3.c: New file.
1502 2012-01-25 Alan Modra <amodra@gmail.com>
1504 * config/rs6000/t-linux64: Delete. Move..
1505 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1506 * config/rs6000/t-linux: ..and libgcc flags to here.
1508 2012-01-22 Douglas B Rupp <rupp@gnat.com>
1510 * config.host (i[34567]86-*-interix3*):
1511 Change triplet to i[34567]86-*-interix[3-9]*.
1512 * configure: Regenerate.
1514 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
1515 Richard Sandiford <rdsandiford@googlemail.com>
1517 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1518 * config/mips/mips16.S (__mips16_rdhwr): New function.
1519 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1521 2012-01-11 Nathan Sidwell <nathan@acm.org>
1523 * libgcov.c (__gcov_init): Ignore objects with no functions.
1525 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
1528 Extend __pgmx semantics to linearize memory.
1529 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1530 * config/avr/lib1funcs.S (__xload_1): New function.
1531 (__movmemx_qi, __movmemx_hi): New functions.
1532 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1535 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1537 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1538 purported sigacthandler address isn't null before dereferencing it.
1539 (sparc_is_sighandler): Likewise.
1541 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1544 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1545 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
1546 (sparc_is_sighandler): Likewise.
1547 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1549 2012-01-06 Tristan Gingold <gingold@adacore.com>
1551 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1552 compatibility thunks...
1553 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1554 (crtbeginS.o, crtendS.o): ... and these to ...
1555 * config/ia64/t-ia64-elf: ... this new file.
1556 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1557 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1559 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1561 * configure: Regenerate.
1562 * config/s390/t-crtstuff: Remove -fPIC.
1564 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1567 * enable-execute-stack-mprotect.c (getpagesize): Do not define
1570 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1573 * config/avr/lib1funcs.S: Remove FIXME comments.
1574 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1576 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1578 Implement light-weight DImode support.
1579 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1580 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1581 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1582 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1584 2011-12-30 Nathan Sidwell <nathan@acm.org>
1586 * libgcov.c (gcov_crc32): Remove global var.
1587 (free_fn_data): New function.
1588 (buffer_fn_data): Pass in filename, more robust error recovery.
1589 (crc32_unsigned): New function.
1590 (gcov_exit): More robust detection of new program. More robust
1592 (__gcov_init): Do not update program's crc here.
1594 2011-12-21 Tristan Gingold <gingold@adacore.com>
1596 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1598 2011-12-21 Ian Lance Taylor <iant@google.com>
1600 * config/i386/morestack.S: Simplify CFI opcodes throughout.
1602 2011-12-20 Ian Lance Taylor <iant@google.com>
1604 * config/i386/morestack.S (__morestack_non_split): If there is
1605 enough stack space already, don't split. Ask for more stack space
1608 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
1610 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1612 (_Unwind_DebugHook): New function.
1613 (uw_restore_core_regs): New define.
1614 (unwind_phase2): Use uw_restore_core_regs instead of
1616 (unwind_phase2_forced): Likewise.
1617 (__gnu_Unwind_Resume): Likewise.
1619 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
1621 * config/alpha/linux-unwind.h: Update copyright years.
1622 (MD_FROB_UPDATE_CONTEXT): New define.
1623 (alpha_frob_update_context): New function.
1625 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
1627 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1628 tmake_file rather replacing it.
1630 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
1632 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1633 function is not used for PPC64.
1634 (save_world): Amend comments. Update the VRsave mask to reflect the
1636 (rest_world): Update comments, do not clobber r10, do not use r8.
1637 (eh_rest_world_r10): Amend comments, do not use r8.
1638 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1639 no longer used, move restore of CR and target address to the end of
1642 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1644 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1645 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1647 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
1650 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1651 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1653 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1655 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1657 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
1660 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1661 * config/avr/lib1funcs.S (__muldi3): New function.
1663 2011-12-06 Andrew Pinski <apinski@cavium.com>
1665 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1667 (__frame_dummy_init_array_entry): Likewise.
1669 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
1671 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1675 * config/avr/lib1funcs.S (__prologue_saves__,
1676 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1677 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1679 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1681 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1683 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1686 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1687 (_ITM_deregisterTMCloneTable): Likewise.
1688 (__register_frame_info): Fix unused warning.
1689 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1690 pthread_default_stacksize_np): Likewise.
1691 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1693 2011-11-29 DJ Delorie <dj@redhat.com>
1695 * config.host (rl78-*-elf): New case.
1696 * config/rl78: New directory for the Renesas RL78.
1698 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1700 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1703 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1706 * config/rs6000/t-savresfgpr: New file.
1707 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1708 $(srcdir)/config/rs6000/eabi.S.
1709 * config/rs6000/t-ppccomm-ldbl: Remove.
1710 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1712 (powerpc-*-eabispe*): Likewise.
1713 (powerpc-*-eabi*): Likewise.
1714 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1715 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1716 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1717 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1719 (powerpc-*-eabisim*): Likewise.
1720 (powerpc-*-elf*): Likewise.
1721 (powerpc-*-eabialtivec*): Likewise.
1722 (powerpc-xilinx-eabi*): Likewise.
1723 (powerpc-*-rtems*): Likewise.
1724 (powerpcle-*-elf*): Likewise.
1725 (powerpcle-*-eabisim*): Likewise.
1726 (powerpcle-*-eabi*): Likewise.
1728 2011-11-27 Ian Lance Taylor <iant@google.com>
1730 * generic-morestack.c (__splitstack_find): Check for NULL old
1732 (__splitstack_resetcontext): New function.
1733 (__splitstack_releasecontext): New function.
1734 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1736 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1738 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1740 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1742 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1744 2011-11-26 Richard Henderson <rth@redhat.com>
1746 * config/m68k/linux-atomic.c: New file.
1747 * config/m68k/t-linux: New file.
1748 * config.host (m68k-uclinux, m68k-linux): Use it.
1750 2011-11-26 Richard Henderson <rth@redhat.com>
1752 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1753 (__TMC_END__): Only declare if hidden is available; in the definition,
1754 if hidden is unavailable add a null record.
1755 (deregister_tm_clones, register_tm_clones): New.
1756 (__do_global_dtors_aux, frame_dummy): Use them.
1757 (__do_global_dtors, __do_global_ctors_1): Likewise.
1759 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
1761 * config/darwin-crt-tm.c: New file.
1762 * config.host (darwin): Build crttms.o crttme.o to provide
1763 startup and shutdown for tm clones.
1764 * config/t-darwin (crttms.o): New build rule.
1765 (crttme.o): Likewise.
1767 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
1769 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1772 2011-11-21 Richard Henderson <rth@redhat.com>
1774 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1775 (__TMC_LIST__, __TMC_END__): New.
1776 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1777 (__do_global_dtors): Likewise.
1778 (frame_dummy): Call _ITM_registerTMCloneTable.
1779 (__do_global_ctors_1): Likewise.
1781 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1783 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1784 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1785 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1786 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1787 * config/i386/t-darwin64: Remove.
1788 * config/sh/t-netbsd (LIB2ADD): Remove.
1790 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
1793 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1794 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1795 * config/avr/lib1funcs.S (wmov): New assembler macro.
1796 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1797 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1798 (__udivmod64): New function.
1799 (__negdi2): New function.
1801 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
1803 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1804 *-*-freebsd*aout*): Remove.
1806 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
1808 * static-object.mk (c_flags-$o): Save c_flags.
1809 ($(base)$(objext)): Use it.
1811 2011-11-18 Steve Ellcey <sje@cup.hp.com>
1813 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1815 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
1818 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1819 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1822 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1824 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1826 (aeabi_uidivmod): Likewise.
1827 (umodsi3): Likewise.
1829 (aeabi_idivmod): Likewise.
1832 2011-11-16 Tristan Gingold <gingold@adacore.com>
1834 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1836 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
1839 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1840 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1842 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1844 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1846 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1847 * config/pa/t-stublib64: Delete.
1849 2011-11-12 Richard Henderson <rth@redhat.com>
1851 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1852 cast the pointer argument to _Unwind_SetGRPtr.
1854 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1856 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1858 2011-11-09 Ian Lance Taylor <iant@google.com>
1860 * generic-morestack.c: Include <string.h>.
1861 (uintptr_type): Define.
1862 (struct initial_sp): Add dont_block_signals field. Reduce size of
1864 (allocate_segment): Set prev field to NULL. Don't set
1865 __morestack_current_segment or __morestack_segments.
1866 (__generic_morestack): Update current->prev and *pp after calling
1868 (__morestack_block_signals): Don't do anything if
1869 dont_block_signals is set.
1870 (__morestack_unblock_signals): Likewise.
1871 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1873 (__splitstack_block_signals): New function.
1874 (enum __splitstack_content_offsets): Define.
1875 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1876 (__splitstack_makecontext): New function.
1877 (__splitstack_block_signals_context): New function.
1878 (__splitstack_find_context): New function.
1879 * config/i386/morestack.S (__morestack_get_guard): New function.
1880 (__morestack_set_guard, __morestack_make_guard): New functions.
1881 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1883 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1885 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1886 (i[34567]86-*-mingw*): ... here.
1887 (x86_64-*-mingw*): ... here.
1889 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1891 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1893 2011-11-07 Nathan Sidwell <nathan@acm.org>
1895 * libgcov.c (struct gcov_fn_buffer): New struct.
1896 (buffer_fn_data): New helper.
1897 (gcov_exit): Rework for new gcov data structures.
1899 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
1902 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1904 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1906 * config.host (tmake_file): Correct comment.
1907 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1909 (bfin*-uclinux*): Likewise.
1910 (bfin*-linux-uclibc*): Likewise.
1911 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1913 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1915 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1916 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1917 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1918 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1919 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1920 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1921 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1922 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1923 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1924 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1925 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1926 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1927 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1929 * config/bfin/t-elf: Remove.
1930 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1932 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1934 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1935 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1936 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1937 (lm32-*-elf*): ... this.
1938 (lm32-*-rtems*): ... and this.
1940 (m32r-*-rtems*): Add to tmake_file.
1941 (moxie-*-rtems*): Likewise.
1942 (sparc-*-rtems*): Likewise.
1943 Remove t-rtems from tmake_file.
1944 (sparc64-*-rtems*): Likewise.
1945 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1948 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1951 * config/gthr-posix.h: Move ...
1952 * gthr-posix.h: ... here.
1953 * config/gthr-lynx.h: Reflect this.
1954 * config/gthr-vxworks.h: Likewise.
1955 * config/rs6000/gthr-aix.h: Likewise.
1956 * configure.ac (target_thread_file): Likewise.
1957 * configure: Regenerate.
1959 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1961 * config.host (arm*-*-rtemseabi*): New target.
1963 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1966 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1969 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1971 * config.host (epiphany-*-elf*): New configuration.
1972 * config/epiphany: New Directory.
1974 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1976 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1977 * config/avr/t-rtems: New.
1978 Filter out _exit from LIB1ASMFUNCS.
1980 2011-11-04 David S. Miller <davem@davemloft.net>
1982 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1983 * configure: Rebuild.
1985 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1987 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1990 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
1993 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1994 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1996 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1999 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
2001 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2003 * config/c6x/t-elf (LIB2ADDEH): Set.
2004 * config/c6x/t-c6x-elf: Remove.
2006 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2008 * config/i386/sol2-ci.S: Rename to ...
2009 * config/i386/crti.S: ... this.
2010 * config/i386/sol2-cn.S: Rename to ...
2011 * config/i386/crtn.S: ... this.
2012 * config/sparc/sol2-ci.S: Rename to ...
2013 * config/sparc/crti.S: ... this.
2014 * config/sparc/sol2-cn.S: Rename to ...
2015 * config/sparc/crtn.S: ... this.
2016 * config/t-sol2 (CUSTOM_CRTIN): Remove.
2017 (crti.o, crtn.o): Remove.
2019 2011-11-04 Tristan Gingold <gingold@adacore.com>
2021 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
2023 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
2025 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
2027 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
2029 * config.host (crisv32-*-none, cris-*-none): Remove.
2030 (crisv32-*-elf): Append to tmake_file, don't just set it.
2031 (cris-*-elf): Add missing t-fdpbit to tmake_file.
2033 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2035 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
2036 (ecrtn$(objext)): Likewise.
2037 (ncrti$(objext)): Likewise.
2038 (ncrtn$(objext)): Likewise.
2040 2011-11-03 Andreas Schwab <schwab@redhat.com>
2042 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2044 2011-11-02 David S. Miller <davem@davemloft.net>
2046 * configure.ac: Set host_address on sparc too.
2047 * configure: Regenerate.
2048 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2049 based upon host_address.
2050 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
2052 2011-11-02 Jason Merrill <jason@redhat.com>
2054 * config/rs6000/t-ppccomm: Add missing \.
2056 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2058 * gthr-single.h, gthr.h: New files.
2059 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2060 config/gthr-vxworks.h, config/i386/gthr-win32.h,
2061 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2062 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2063 * config/i386/gthr-win32.c: Include "gthr-win32.h".
2064 * configure.ac (thread_header): New variable.
2065 Set it depending on target_thread_file.
2066 (gthr-default.h): Link from $thread_header.
2067 * configure: Regenerate.
2068 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2070 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2072 * configure.ac (tm_file_): New variable.
2073 Determine from tm_file.
2074 (tm_file, tm_defines): Substitute.
2075 * configure: Regenerate.
2076 * mkheader.sh: New file.
2077 * Makefile.in (clean): Remove libgcc_tm.h.
2078 ($(objects)): Depend on libgcc_tm.h.
2079 (libgcc_tm_defines, libgcc_tm_file): New variables.
2080 (libgcc_tm.h, libgcc_tm.stamp): New targets.
2081 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2082 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2083 ($(extra-parts)): Depend on libgcc_tm.h.
2084 * config.host (tm_defines, tm_file): New variable.
2085 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2086 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2087 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2088 (avr-*-rtems*): Likewise.
2089 (avr-*-*): Likewise.
2090 (frv-*-elf): Likewise.
2091 (frv-*-*linux*): Likewise.
2092 (h8300-*-rtems*): Likewise.
2093 (h8300-*-elf*): Likewise.
2094 (i[34567]86-*-darwin*): Likewise.
2095 (x86_64-*-darwin*): Likewise.
2096 (rx-*-elf): Likewise.
2097 (tic6x-*-uclinux): Likewise.
2098 (tic6x-*-elf): Likewise.
2099 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2100 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2101 * config/i386/cygming-crtbegin.c: Likewise.
2102 * config/i386/cygming-crtend.c: Likewise.
2103 * config/ia64/fde-vms.c: Likewise.
2104 * config/ia64/unwind-ia64.c: Likewise.
2105 * config/libbid/bid_gcc_intrinsics.h: Likewise.
2106 * config/rs6000/darwin-fallback.c: Likewise.
2107 * config/stormy16/lib2funcs.c: Likewise.
2108 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2109 * crtstuff.c: Likewise.
2110 * dfp-bit.h: Likewise.
2111 * emutls.c: Likewise.
2112 * fixed-bit.c: Likewise.
2113 * fp-bit.c: Likewise.
2114 * generic-morestack-thread.c: Likewise.
2115 * generic-morestack.c: Likewise.
2116 * libgcc2.c: Likewise.
2117 * libgcov.c: Likewise.
2118 * unwind-dw2-fde-dip.c: Likewise.
2119 * unwind-dw2-fde.c: Likewise.
2120 * unwind-dw2.c: Likewise.
2121 * unwind-sjlj.c: Likewise.
2123 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2125 * configure.ac: Include ../config/picflag.m4.
2126 (GCC_PICFLAG): Call it.
2128 * configure: Regenerate.
2129 * Makefile.in (gcc_srcdir): Remove.
2130 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2131 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2132 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2133 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2134 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2137 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2138 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2139 to refer to libgcc2.c.
2141 * config/darwin-64.c: New file.
2142 * config/darwin-crt3.c: Remove comment.
2143 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2144 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2145 config/udivmodsi4.c: New files.
2146 * config/memcmp.c, config/memcpy.c, config/memmove.c,
2147 config/memset.c: New files.
2148 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2149 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2150 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2151 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2152 * config/t-openbsd-thread: New file.
2153 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2154 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2155 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2156 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2159 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2160 to refer to gthr-posix.c.
2161 * config/alpha/t-vms (LIB2ADD): Set.
2162 * config/alpha/vms-gcc_shell_handler.c: New file.
2163 * config/arm/bpabi.c, config/arm/fp16.c,
2164 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2165 config/arm/unaligned-funcs.c: New files.
2166 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2167 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2168 * config/arm/t-linux: Likewise.
2169 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2170 * config/arm/t-netbsd: New file.
2171 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2172 * config/arm/t-symbian (LIB2ADD_ST): Set.
2173 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2174 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2175 * config/bfin/t-elf: New file.
2176 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2177 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2178 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2179 config/c6x/ltf.c: New files.
2180 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2181 (HOST_LIBGCC2_CFLAGS): Set.
2182 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2183 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2184 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2186 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2187 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2188 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2189 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2190 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2192 * config/frv/t-frv (LIB2ADD): Set.
2193 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2194 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2195 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2196 config/h8300/popcounthi2.c: New files.
2197 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2198 * config/i386/gthr-win32.c: New file.
2199 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2200 * config/i386/t-cygwin: Likewise.
2201 * config/i386/t-darwin, config/i386/t-darwin64,
2202 config/i386/t-gthr-win32, config/i386/t-interix: New files.
2203 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2204 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2205 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2206 * config/ia64/quadlib.c: New file.
2207 * config/ia64/t-hpux (LIB2ADD): Set.
2208 * config/ia64/t-ia64: Add comment.
2209 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2210 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2211 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2212 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2213 * config/m32c/t-m32c (LIB2ADD): Set.
2214 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2215 * config/m32r/t-m32r: Likewise.
2216 * config/m68k/fpgnulib.c: New file.
2217 * config/m68k/t-floatlib (LIB2ADD): Set.
2218 (xfgnulib.c): New target.
2219 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2220 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2221 * config/mep/t-mep (LIB2ADD): Set.
2222 * config/microblaze/divsi3.asm: Rename to divsi3.S.
2223 * config/microblaze/moddi3.asm: Rename to moddi3.S.
2224 * config/microblaze/modsi3.asm: Rename to modsi3.S.
2225 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2226 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2227 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2228 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2229 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2230 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2231 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2233 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2234 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2235 * config/pa/fptr.c, config/pa/lib2funcs.S,
2236 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2237 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2238 (LIB2ADD, LIB2ADD_ST): Set.
2239 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2240 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2242 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2243 * config/pdp11/t-pdp11: New file.
2244 * config/picochip/libgccExtras/adddi3.S,
2245 config/picochip/libgccExtras/ashlsi3.S,
2246 config/picochip/libgccExtras/ashrsi3.S,
2247 config/picochip/libgccExtras/clzsi2.S,
2248 config/picochip/libgccExtras/cmpsi2.S,
2249 config/picochip/libgccExtras/divmod15.S,
2250 config/picochip/libgccExtras/divmodhi4.S,
2251 config/picochip/libgccExtras/divmodsi4.S,
2252 config/picochip/libgccExtras/lshrsi3.S,
2253 config/picochip/libgccExtras/parityhi2.S,
2254 config/picochip/libgccExtras/popcounthi2.S,
2255 config/picochip/libgccExtras/subdi3.S,
2256 config/picochip/libgccExtras/ucmpsi2.S,
2257 config/picochip/libgccExtras/udivmodhi4.S,
2258 config/picochip/libgccExtras/udivmodsi4.S: New files.
2259 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2260 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2261 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2262 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2263 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2264 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2265 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
2266 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2268 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2269 (HOST_LIBGCC2_CFLAGS): Set.
2270 * config/rs6000/t-darwin64: New file.
2271 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2272 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2273 * config/rs6000/t-ppccomm (LIB2ADD): Add
2274 $(srcdir)/config/rs6000/tramp.S.
2275 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2276 Add $(srcdir)/config/rs6000/eabi.S.
2277 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2278 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2279 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2280 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2281 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2282 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2283 * config/rs6000/tramp.S: New file.
2284 * config/s390/t-tpf: Remove.
2285 * config/sh/linux-atomic.S: New file.
2286 * config/sh/t-linux (LIB2ADD): Set.
2287 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2288 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2289 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2291 (HOST_LIBGCC2_CFLAGS): Set.
2292 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2293 * config/spu/divmodti4.c, config/spu/divv2df3.c,
2294 config/spu/float_disf.c, config/spu/float_unsdidf.c,
2295 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2296 config/spu/mfc_multi_tag_release.c,
2297 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2298 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2299 config/spu/multi3.c: New files.
2300 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2301 (HOST_LIBGCC2_CFLAGS): Set.
2302 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2303 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2304 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2305 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2306 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2307 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2308 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2309 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2310 config/stormy16/umodsi3.c: New files.
2311 * config/xtensa/lib2funcs.S: New file.
2312 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2313 * config/xtensa/t-xtensa (LIB2ADD): Set.
2314 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2315 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2316 Add t-freebsd-thread to tmake_file for posix threads.
2317 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2318 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2319 (*-*-lynxos*): Likewise.
2320 (*-*-netbsd*): Likewise.
2321 (*-*-openbsd*): Likewise.
2322 Add t-openbsd-thread to tmake_file for posix threads.
2323 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2324 (*-*-vxworks*): Set tmake_file.
2325 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2326 (alpha*-*-freebsd*): Likewise.
2327 (alpha*-*-netbsd*): Likewise.
2328 (alpha*-*-openbsd*): Likewise.
2329 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2330 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2331 (alpha*-dec-*vms*): Likewise.
2332 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2333 (bfin*-elf*): Add bfin/t-elf to tmake_file.
2334 (bfin*-uclinux*): Likewise.
2335 (bfin*-linux-uclibc*): Likewise.
2336 (crisv32-*-elf): Add cris/t-cris to tmake_file.
2337 (crisv32-*-none): Likewise.
2338 (cris-*-elf): Likewise.
2339 (cris-*-none): Likewise.
2340 (cris-*-linux*, crisv32-*-linux*): Likewise.
2341 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2343 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2345 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2346 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2347 (x86_64-*-elf*): Likewise.
2348 (i[34567]86-*-nto-qnx*): Likewise.
2349 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2351 (x86_64-*-mingw*): Likewise.
2352 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2353 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2354 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2355 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2356 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2358 (mipsisa64sr71k-*-elf*): Likewise.
2359 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2360 (mips-*-elf*, mipsel-*-elf*): Likewise.
2361 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2362 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2363 (mips*-*-rtems*): Likewise.
2364 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2366 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2367 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2368 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2369 (spu-*-elf*): Likewise.
2370 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2372 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2374 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2375 $(srcdir) to refer to $(LIB1ASMSRC).
2377 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2378 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2379 config/arm/lib1funcs.S: New files.
2380 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2381 * config/arm/t-arm: New file.
2382 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2383 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2384 config/arm/t-strongarm-elf: New files.
2385 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2386 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2387 * config/avr/lib1funcs.S: New file.
2388 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2389 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2390 * config/c6x/lib1funcs.S: New file.
2391 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2392 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2393 * config/frv/lib1funcs.S: New file.
2394 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2395 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2396 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2397 * config/ia64/__divxf3.asm: Rename to ...
2398 * config/ia64/__divxf3.S: ... this.
2399 Adapt lib1funcs.asm filename.
2400 * config/ia64/_fixtfdi.asm: Rename to ...
2401 * config/ia64/_fixtfdi.S: ... this.
2402 Adapt lib1funcs.asm filename.
2403 * config/ia64/_fixunstfdi.asm: Rename to ...
2404 * config/ia64/_fixunstfdi.S: ... this.
2405 Adapt lib1funcs.asm filename.
2406 * config/ia64/_floatditf.asm: Rename to ...
2407 * config/ia64/_floatditf.S: ... this.
2408 Adapt lib1funcs.asm filename.
2409 * config/ia64/lib1funcs.S: New file.
2410 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2411 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2412 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2413 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2414 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2415 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2416 * config/mep/lib1funcs.S: New file.
2417 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2418 * config/mips/mips16.S: New file.
2419 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2420 * config/pa/milli64.S: New file.
2421 * config/pa/t-linux, config/pa/t-linux64: New files.
2422 * config/picochip/lib1funcs.S: New file.
2423 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2424 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2425 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2426 * config/sh/t-netbsd: New file.
2427 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2428 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2429 * config/sh/t-sh64: New file.
2430 * config/sparc/lb1spc.S: New file.
2431 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2433 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2434 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2435 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2436 config/xtensa/lib1funcs.S: New files.
2437 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2438 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2440 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2441 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2442 (arm*-*-linux*): Likewise.
2443 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2444 arm*-*-linux-*eabi, add arm/t-linux otherwise.
2445 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2446 (arm*-*-ecos-elf): Likewise.
2447 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2448 (arm*-*-rtems*): Likewise.
2449 (arm*-*-elf): Likewise.
2450 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2451 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2452 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2453 (bfin*-uclinux*): Likewise.
2454 (bfin*-linux-uclibc*): Likewise.
2455 (bfin*-rtems*): Likewise.
2456 (bfin*-*): Likewise.
2457 (fido-*-elf): Merge into m68k-*-elf*.
2458 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2459 (frv-*-*linux*): Add frv/t-frv to tmake_file.
2460 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2461 (h8300-*-elf*): Likewise.
2462 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2463 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2464 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2465 (i[34567]86-*-mingw*): Likewise.
2466 (x86_64-*-mingw*): Likewise.
2467 (i[34567]86-*-interix3*): Likewise.
2468 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2469 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2470 (m68k-*-elf*): Also handle fido-*-elf.
2471 Add m68k/t-floatlib to tmake_file.
2472 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2473 (m68k-*-linux*): Likewise.
2474 (m68k-*-rtems*): Likewise.
2475 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2476 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2478 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2479 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2480 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2481 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2482 sh/t-netbsd to tmake_file.
2483 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2484 (sh-*-rtems*): Add sh/t-sh to tmake_file.
2485 (sh-wrs-vxworks): Likewise.
2486 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2488 (v850*-*-*): Add v850/t-v850 to tmake_file.
2489 (vax-*-linux*): Add vax/t-linux to tmake_file.
2490 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2492 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2494 * crtstuff.c: New file.
2495 * Makefile.in (CRTSTUFF_CFLAGS): Define.
2496 (CRTSTUFF_T_CFLAGS): Define.
2497 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2498 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2499 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2502 (crtbeginT.o): Use $(objext).
2503 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2504 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2505 (gcc-extra-parts): Remove.
2506 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2508 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2509 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2510 Add t-crtstuff-pic to tmake_file.
2511 (*-*-lynxos*): New case.
2512 Set tmake_file, extra_parts.
2513 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2514 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2515 *-*-netbsdelf[2-9]*.
2516 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2517 (*-*-rtems*): Set extra_parts.
2518 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2519 (*-*-uclinux*): New case.
2521 (*-*-vms*): New case.
2522 Set tmake_file, extra_parts.
2523 (*-*-elf): Set extra_parts.
2524 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2525 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2528 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2530 (arm*-*-freebsd*): Add t-crtin to tmake_file.
2531 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2532 (arm-wrs-vxworks): Append to tmake_file.
2534 (arm*-*-uclinux*): Set extra_parts.
2535 (arm*-*-ecos-elf): Likewise.
2536 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2538 (arm*-*-rtems*): Set extra_parts.
2539 (arm*-*-elf): Likewise.
2540 (avr-*-rtems*): Clear extra_parts.
2541 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2543 (bfin*-uclinux*): Likewise.
2544 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2545 (bfin*-rtems*): Append to tmake_file.
2547 (bfin*-*): Likewise.
2548 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2549 (crisv32-*-elf): ... this.
2550 (crisv32-*-none): ... this.
2551 (cris-*-elf, cris-*-none): New cases.
2552 Add cris/t-elfmulti to tmake_file.
2553 (fr30-*-elf): Append to tmake_file.
2555 (frv-*-elf): Append to tmake_file, add frv/t-frv.
2557 (h8300-*-rtems*): Append to tmake_file.
2559 (h8300-*-elf*): Likewise.
2560 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2562 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2564 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2565 (x86_64-*-elf*): Likewise.
2566 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2567 (x86_64-*-freebsd*): Likewise.
2568 (x86_64-*-netbsd*): Likewise.
2569 (i[34567]86-*-linux*): Likewise.
2570 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2571 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2572 (x86_64-*-linux*): Likewise.
2573 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2574 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2577 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2578 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2579 Append to extra_parts, remove crtbegin.o, crtend.o.
2580 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2581 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2582 crtend.o, crtbeginS.o, crtendS.o.
2583 (ia64*-*-linux*): Comment extra_parts.
2584 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2586 (iq2000*-*-elf*): Clear extra_parts.
2587 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2588 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2589 (m32r-*-elf*, m32r-*-rtems*): Split off ...
2590 (m32r-*-rtems*): ... this.
2591 Add m32r/t-m32r to tmake_file.
2592 (m68k-*-elf*): Add t-crtin to tmake_file.
2593 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2594 (mcore-*-elf): Likewise.
2595 (microblaze*-*-*): Set extra_parts.
2596 (mips*-sde-elf*): New case.
2597 Set tmake_file, extra_parts.
2598 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2599 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2600 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2603 (mipsisa64sr71k-*-elf*): Likewise.
2604 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2605 (mips-*-elf*, mipsel-*-elf*): Likewise.
2606 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2607 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2608 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2609 (mips*-*-rtems*): Likewise.
2610 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2611 (moxie-*-*): Split into ...
2612 (moxie-*-elf, moxie-*-uclinux*): ... this.
2613 Add to extra_parts, remove crtbegin.o, crtend.o.
2614 (moxie-*-rtems*): New case.
2617 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2619 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2620 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2623 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2624 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2626 (powerpc-*-eabisim*): Likewise.
2627 (powerpc-*-elf*): Likewise.
2628 (powerpc-*-eabialtivec*): Likewise.
2629 (powerpc-xilinx-eabi*): Likewise.
2630 (powerpc-*-eabi*): Likewise.
2631 (powerpc-*-rtems*): Likewise.
2632 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2635 (powerpc-*-lynxos*): Add to tmake_file.
2636 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2637 rs6000/t-crtstuff, t-crtstuff-pic.
2639 (powerpcle-*-eabisim*): Likewise.
2640 (powerpcle-*-eabi*): Likewise.
2641 (rx-*-elf): Remove extra_parts.
2642 (s390x-ibm-tpf*): Set extra_parts.
2643 (score-*-elf): Set extra_parts.
2644 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2645 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2646 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2647 (sh64l*-*-netbsd*): Split into ...
2648 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2649 Add t-crtstuff-pic to tmake_file.
2651 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2653 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2654 (sparc-*-elf*): Remove t-crtin from tmake_file.
2655 Add to extra_parts, remove crtbegin.o, crtend.o.
2656 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2657 (sparc64-*-linux*): Likewise.
2658 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2659 Add to extra_parts, remove crtbegin.o, crtend.o.
2660 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2661 Add to extra_parts, remove crtbegin.o, crtend.o.
2662 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2663 Add to extra_parts, remove crtbegin.o, crtend.o.
2664 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2665 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2666 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2668 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2670 (tic6x-*-*): Change to ...
2671 (tic6x-*-elf): ... this.
2673 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2675 (am33_2.0-*-linux*): Add comment.
2676 (mep*-*-*): Add mep/t-mep to tmake_file.
2678 * config/alpha/t-vms: New file.
2679 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2680 * config/arm/crti.S, config/arm/crtn.S: New files.
2681 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2682 * config/bfin/crtlibid.S: New file.
2683 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2684 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2685 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2686 (crti.o, crtin.o): New rules.
2687 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2688 * config/c6x/t-uclinux: New file.
2689 * config/cris/t-elfmulti: New file.
2690 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2691 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2692 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2693 * config/frv/t-frv: New file.
2694 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2695 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2696 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2698 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2699 refer to cygming-crtbegin.c, cygming-crtend.c.
2701 * config/i386/t-nto: New file.
2702 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2703 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2704 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2705 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2708 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2709 (crtinitS.o): New rule.
2710 * config/ia64/vms-crtinit.S: New file.
2711 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2712 * config/m32r/initfini.c: New file.
2713 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2714 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2715 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2716 * config/mep/t-mep: New file.
2717 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2718 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2719 * config/mips/crti.S, config/mips/crtn.S: New files.
2720 * config/mips/t-crtstuff: New file.
2721 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2722 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2723 (CUSTOM_CRTIN): Set.
2724 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2726 Use $(srcdir) to refer to crti.S, crtn.S.
2727 Use .S extension, $<.
2728 * config/moxie/crti.asm: Rename to ...
2729 * config/moxie/crti.S: ... this.
2730 * config/moxie/crtn.asm: Rename to ...
2731 * config/moxie/crtn.S: ... this.
2732 * config/moxie/t-moxie: Remove.
2733 * config/pa/stublib.c: New file.
2734 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2735 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2736 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2737 * config/rs6000/t-crtstuff: New file.
2738 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2739 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2740 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2741 Make output file explicit.
2742 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2743 Make output file explicit.
2744 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2745 Make output file explicit.
2746 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2747 Make output file explicit.
2748 * config/score/crti.S, config/score/crtn.S: New files.
2749 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2750 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2752 * config/sh/t-sh, config/sh/t-superh: New files.
2753 * config/sparc/t-linux64: New file.
2754 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2755 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2756 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2757 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2758 * config/t-crtin: Remove.
2759 * config/t-crtstuff-pic: New file.
2760 * config/t-sol2 (CUSTOM_CRTIN): Set.
2761 (crti.o, crtn.o): New rules.
2762 * config/vms/t-vms: New file.
2763 * config/vms/vms-ucrt0.c: New file.
2764 * config/xtensa/t-elf: New file.
2766 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2768 * Makefile.in (SHLIB_NM_FLAGS): Set.
2769 * mkmap-flat.awk, mkmap-symver.awk: New files.
2770 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2772 * configure: Regenerate.
2773 * config/libgcc-glibc.ver: New file.
2774 * config/libgcc-libsystem.ver: New file.
2775 * config/t-libunwind (SHLIB_LC): Set.
2776 * config/t-linux: New file.
2777 * config/t-slibgcc (INSTALL_SHLIB): New.
2778 (SHLIB_INSTALL): Use it.
2779 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2780 to mkmap-symver.awk.
2781 (SHLIB_MAPFILES): Don't append, adapt pathname.
2782 (SHLIB_VERPFX): Set.
2783 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2784 to mkmap-symver.awk.
2785 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2786 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2787 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2788 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2790 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2791 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2792 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2793 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2794 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2795 * config/i386/libgcc-darwin.10.4.ver,
2796 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2798 * config/i386/t-darwin: Remove.
2799 * config/i386/t-darwin64: Likewise.
2800 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2801 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2802 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2803 * config/i386/t-linux: New file.
2804 * config/i386/t-mingw32: New file.
2805 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2806 * config/ia64/t-glibc: Rename to ...
2807 * config/ia64/t-linux: ... this.
2808 (SHLIB_MAPFILES): Set.
2809 * config/ia64/t-glibc-libunwind: Rename to ...
2810 * config/ia64/t-linux-libunwind: ... this.
2811 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2812 * config/ia64/t-slibgcc-hpux: New file.
2813 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2814 * config/m68k/t-slibgcc-elf-ver: New file.
2815 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2816 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2818 * config/pa/t-slibgcc-hpux: New file.
2819 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2821 * config/rs6000/libgcc-darwin.10.4.ver,
2822 config/rs6000/libgcc-darwin.10.5.ver: New files.
2823 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2824 config/rs6000/libgcc-glibc.ver.
2825 * config/rs6000/libgcc-ppc64.ver: Rename to
2826 config/rs6000/libgcc-ibm-ldouble.ver.
2827 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2828 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2829 * config/rs6000/t-ldbl128: Rename to ...
2830 * config/rs6000/t-linux: ... this.
2831 (SHLIB_MAPFILES): Adapt filename.
2832 * config/rs6000/t-slibgcc-aix: New file.
2833 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2834 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2835 libgcc-excl.ver, libgcc-glibc.ver.
2836 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2837 * config/sparc/libgcc-glibc.ver: New file.
2838 * config/sparc/t-linux: New file.
2839 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2840 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2841 t-slibgcc-elf-ver to tmake_file.
2842 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2844 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2845 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2846 t-slibgcc-elf-ver, t-linux to tmake_file.
2847 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2849 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2850 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2851 (alpha*-dec-*vms*): Likewise.
2852 (arm*-*-freebsd*): Append to tmake_file.
2853 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2854 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2856 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2857 tmake_file for arm*-*-symbianelf*.
2858 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2859 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2861 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2862 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2863 pa/t-slibgcc-dwarf-ver to tmake_file.
2864 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2865 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2866 (hppa*64*-*-hpux11*): Likewise.
2867 (hppa[12]*-*-hpux11*): Likewise.
2868 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2869 i386/t-crtpc, i386/t-crtfm.
2870 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2871 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2873 Add i386/t-cygwin to tmake_file.
2874 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2875 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2876 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2878 Add i386/t-mingw32 to tmake_file.
2879 (x86_64-*-mingw*): Likewise.
2880 (ia64*-*-freebsd*): Append to tmake_file.
2881 (ia64*-*-linux*): Append to tmake_file.
2882 Replace ia64/t-glibc by ia64/t-linux.
2883 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2885 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2886 t-slibgcc-hpux to tmake_file.
2887 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2888 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2889 (m32rle-*-linux*): Likewise.
2890 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2892 (microblaze*-linux*): New case.
2893 Append to tmake_file, add t-slibgcc-nolc-override.
2894 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2895 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2896 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2897 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2898 rs6000/t-slibgcc-aix to tmake_file.
2899 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2900 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2901 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2902 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2903 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2904 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2906 (sparc-*-linux*): Append to tmake_file for *-leon*.
2907 Add sparc/t-linux to tmake_file for non-Leon targets.
2908 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2909 (tic6x-*-uclinux): New case.
2910 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2911 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2912 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2913 (am33_2.0-*-linux*): Append to tmake_file.
2914 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2915 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2916 x86_64-*-kfreebsd*-gnu.
2917 Add i386/t-linux to tmake_file.
2919 2011-10-28 Ian Lance Taylor <iant@google.com>
2921 * config/i386/morestack.S: Correct CFI information to do proper
2922 returns throughout function. In 32-bit mode, save %ebx so that it
2923 is restored on unwind.
2925 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
2927 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2928 case where B3 isn't the return register.
2930 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2931 logic for doubleword pops.
2933 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
2935 * config/rs6000/t-freebsd: Add wildcard.
2937 2011-10-21 Paul Brook <paul@codesourcery.com>
2939 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2941 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
2942 Eric Botcazou <ebotcazou@adacore.com>
2945 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2946 fs->signal_frame to 1.
2948 2011-10-07 Ian Lance Taylor <iant@google.com>
2950 * generic-morestack-thread.c: #include <errno.h>.
2952 2011-10-07 Ian Lance Taylor <iant@google.com>
2955 * generic-morestack.c (__generic_morestack): Make sure the segment
2956 is large enough for both the stack frame and the copied
2959 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2962 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2965 2011-09-28 Nick Clifton <nickc@redhat.com>
2967 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2968 64-bit doubles are not enabled.
2969 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2970 and floatunsisf functions.
2972 2011-09-13 Paul Brook <paul@codesourcery.com>
2974 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2975 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2976 * unwind-arm-common.inc: New file.
2977 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2978 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2979 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2980 * config/c6x/libunwind.S: New file.
2981 * config/c6x/pr-support.c: New file.
2982 * config/c6x/unwind-c6x.c: New file.
2983 * config/c6x/unwind-c6x.h: New file.
2984 * config/c6x/t-c6x-elf: New file.
2986 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
2988 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2989 (ASM_DIVZERO): Ditto.
2990 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2992 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2994 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2996 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2999 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
3000 instead of an assembly one.
3002 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
3005 * Makefile.in (install-unwind_h): Create
3006 $(gcc_objdir)/include/unwind.h atomically.
3008 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3010 * Makefile.in (install-unwind_h): Remove destination file first.
3012 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3015 * config/mips/t-mips16: New file.
3016 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
3017 (mips*-*-linux*): Likewise.
3018 (mips*-sde-elf*): Likewise.
3019 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
3020 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
3021 Add mips/t-mips16 to tmake_file.
3022 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
3023 (mips-*-elf*): Likewise.
3024 (mips64-*-elf*): Likewise.
3025 (mips64orion-*-elf*): Likewise.
3026 (mips*-*-rtems*): Likewise.
3027 (mipstx39-*-elf*): Likewise.
3028 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
3029 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
3031 Use $(srcdir) to refer to sync.c.
3033 ($(libgcc-sync-funcs-o)): Likewise.
3034 ($(libgcc-sync-size-funcs-s-o)): Likewise.
3035 ($(libgcc-sync-funcs-s-o)): Likewise.
3037 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
3039 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3042 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
3045 * config/i386/value-unwind.h: New.
3047 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
3049 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
3050 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
3051 Add to tmake_file rather than overriding it.
3053 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3055 * config/t-softfp: Remove.
3056 * soft-fp: Moved from ../gcc/config.
3057 * soft-fp/README: Remove t-softfp reference.
3058 * soft-fp/t-softfp: Move to config/t-softfp.
3059 (softfp_machine_header): Remove.
3060 (softfp_file_list): Remove config subdir.
3061 (soft-fp-objects): New variable.
3062 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3063 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3064 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3065 * config/t-softfp-excl: New file.
3066 * config/t-softfp-sfdf: New file.
3067 * config/t-softfp-tf: New file.
3068 * config/no-sfp-machine.h: New file.
3069 * config/arm/sfp-machine.h: New file.
3070 * config/arm/t-softfp: New file.
3071 * config/c6x/sfp-machine.h: New file.
3072 * config/i386/32/t-fprules-softfp: Rename to ...
3073 * config/i386/32/t-softfp: ... this.
3074 (tifunctions, LIB2ADD): Remove.
3075 (softfp_int_modes): Override.
3076 * config/i386/64/t-softfp-compat (tf-functions): Remove config
3078 * config/i386/64/eqtf2.c: Likewise.
3079 * config/i386/64/getf2.c: Likewise.
3080 * config/i386/64/letf2.c: Likewise.
3081 * config/ia64/sft-machine.h: New file.
3082 * config/ia64/t-fprules-softfp: Rename to ...
3083 * config/ia64/t-softfp: ... this.
3084 * config/lm32/sfp-machine.h: New file.
3085 * config/moxie/t-moxie-softfp: Remove.
3086 * config/rs6000/ibm-ldouble-format: New file.
3087 * config/rs6000/ibm-ldouble.c: New file.
3088 * config/rs6000/libgcc-ppc-glibc.ver: New file
3089 * config/rs6000/libgcc-ppc64.ver: New file
3090 * config/rs6000/sfp-machine.h: New file.
3091 * config/rs6000/t-freebsd: New file.
3092 * config/rs6000/t-ibm-ldouble: New file.
3093 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3094 libgcc-ppc-glibc.ver.
3095 * config/rs6000/t-linux64: New file.
3096 * config/rs6000/t-ppccomm (LIB2ADD): Add
3097 $(srcdir)/config/rs6000/ibm-ldouble.c.
3098 * config/rs6000/t-ppccomm-ldbl: New file.
3099 * config/score/sfp-machine.h: New file.
3100 * config.host (sfp_machine_header): Explain.
3101 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3102 t-softfp to tmake_file.
3103 (arm*-*-uclinux*): Likewise.
3104 (arm*-*-ecos-elf): Likewise.
3105 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3106 (arm*-*-rtems*): Likewise.
3107 (arm*-*-elf): Likewise.
3108 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3110 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3111 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3112 (lm32-*-uclinux*): Likewise.
3113 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3114 t-softfp-excl, t-softfp.
3115 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3116 (powerpc64-*-darwin*): Likewise.
3117 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3119 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3121 (powerpc-*-eabisim*): Likewise.
3122 (powerpc-*-elf*): Likewise.
3123 (powerpc-*-eabialtivec*): Likewise.
3124 (powerpc-xilinx-eabi*): Likewise.
3125 (powerpc-*-rtems*): Likewise.
3126 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3127 t-softfp-excl, t-softfp to tmake_file.
3128 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3129 rs6000/t-ppccomm-ldbl to tmake_file.
3130 (powerpcle-*-elf*): Likewise.
3131 (powerpcle-*-eabisim*): Likewise.
3132 (powerpcle-*-eabi*): Likewise.
3133 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3134 rs6000/t-ibm-ldouble to tmake_file.
3135 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3136 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3137 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3138 (tic6x-*-*): Likewise.
3139 (i[34567]86-*-darwin*, x86_64-*-darwin*,
3140 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3141 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3142 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3143 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3144 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3145 t-softfp to tmake_file.
3146 * configure.ac (sfp_machine_header): Provide default if unset.
3148 Link sfp-machine.h to config/$sfp_machine_header.
3149 * configure: Regenerate.
3151 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3153 * Makefile.in (double_type_size, long_double_type_size): Set.
3154 Remove $(fpbit-in-libgcc) support.
3155 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3156 (fpbit-src): New variable.
3157 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3158 Compile with -DFLOAT $(FPBIT_CFLAGS).
3160 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3161 Compile with $(FPBIT_CFLAGS).
3163 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3164 Compile with -DFLOAT $(TPBIT_CFLAGS).
3166 * configure.ac (double_type_size, long_double_type_size):
3167 Determine and substitute.
3168 * configure: Regenerate.
3169 * fp-bit.c, fp-bit.h: New files.
3170 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3171 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3172 * config/mips/t-mips: New file.
3173 * config/mips/t-sdemtk: New file.
3174 * config/rs6000/ppc64-fp.c: New file.
3175 * config/rs6000/t-darwin (LIB2ADD): Add
3176 $(srcdir)/config/rs6000/ppc64-fp.c.
3177 * config/rs6000/t-ppc64-fp: New file.
3178 * config/rx/rx-lib.h: New file.
3179 * config/rx/t-rx (FPBIT): Set to true.
3180 ($(gcc_objdir)/fp-bit.c): Remove.
3181 (DPBIT): Set to true only with -m64bit-doubles.
3182 ($(gcc_objdir)/dp-bit.c): Remove.
3183 * config/sparc/t-softfp: Remove.
3184 * config/spu/t-elf: New file.
3185 * config/t-fdpbit, config/t-fpbit: New files.
3186 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3187 (mips*-*-*): Likewise.
3188 (arm-wrs-vxworks): Likewise.
3189 (arm*-*-freebsd*): Likewise.
3190 (avr-*-rtems*): Add t-fpbit to tmake_file.
3191 (avr-*-*): Likewise.
3192 (bfin*-elf*): Add t-fdpbit to tmake_file.
3193 (bfin*-uclinux*): Likewise.
3194 (bfin*-linux-uclibc*): Likewise.
3195 (bfin*-rtems*): New case.
3196 Add t-fdpbit to tmake_file.
3197 (bfin*-*): Add t-fdpbit to tmake_file.
3198 (crisv32-*-elf): Likewise.
3199 (cris-*-linux*): Likewise.
3200 (fr30-*-elf): Likewise.
3201 (frv-*-elf, frv-*-*linux*): Likewise.
3202 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3203 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3204 (m32r-*-elf*): Likewise.
3205 (m32rle-*-elf*): Likewise.
3206 (m32r-*-linux*): Likewise.
3207 (m32rle-*-linux*): Likewise.
3208 (mcore-*-elf): Add t-fdpbit to tmake_file.
3209 (microblaze*-*-*): Likewise.
3210 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3211 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3212 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3214 Add mips/t-tpbit to tmake-file.
3215 (mips*-*-linux*): Fix typo.
3216 (mips*-sde-elf*): New case
3217 Add mips/t-sdemtk unless using newlib.
3218 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3219 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3220 (mn10300-*-*): Likewise.
3221 (pdp11-*-*): Likewise.
3222 (picochip-*-*): Add t-fpbit to tmake_file.
3223 (powerpc-*-eabisimaltivec*): Likewise.
3224 (powerpc-*-eabisim*): Likewise.
3225 (powerpc-*-elf*): Likewise.
3226 (powerpc-*-eabialtivec*): Likewise.
3227 (powerpc-xilinx-eabi*): New case.
3228 Add t-fdpbit to tmake_file.
3229 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
3230 (powerpc-*-rtems*): Likewise.
3231 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3233 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3235 (powerpc-*-lynxos*): Likewise.
3236 (powerpcle-*-elf*): Likewise.
3237 (powerpcle-*-eabisim*): Likewise.
3238 (powerpcle-*-eabi*): Likewise.
3239 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3240 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3241 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3242 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3243 (rx-*-elf): Add t-fdpbit to tmake_file.
3244 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3245 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3246 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3247 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3249 (sh-*-rtems*): Add t-fdpbit to tmake_file.
3250 (sh-wrs-vxworks): Likewise.
3251 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3252 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3253 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3254 (sparc64-*-rtems*): ... new case.
3255 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3256 (spu-*-elf*): Likewise.
3257 Add spu/t-elf to tmake_file.
3258 (v850*-*-*): Add t-fdpbit to tmake_file.
3259 (xstormy16-*-elf): Likewise.
3260 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3261 (mep*-*-*): Likewise.
3263 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3265 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3267 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3268 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3269 (install-unwind_h): New target.
3270 (all): Depend on it.
3271 * config.host (unwind_header): New variable.
3272 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3273 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3274 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3275 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3276 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3278 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3280 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3282 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3284 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3285 (ia64*-*-freebsd*): Likewise.
3286 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3288 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3289 $with_system_libunwind.
3290 (ia64*-*-hpux*): Set tmake_file.
3291 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3292 (picochip-*-*): Set tmake_file.
3293 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3295 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3296 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3297 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3298 (xtensa*-*-elf*): Set tmake_file.
3299 (xtensa*-*-linux*): Likewise.
3300 * configure.ac: Include ../config/unwind_ipinfo.m4.
3301 Call GCC_CHECK_UNWIND_GETIPINFO.
3302 Link unwind.h to $unwind_header.
3303 * configure: Regenerate.
3304 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3305 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3306 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3307 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3308 * config/unwind-dw2-fde-darwin.c: New file.
3309 * config/arm/libunwind.S, config/arm/pr-support.c,
3310 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3311 config/arm/unwind-arm.h,: New files.
3312 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3313 config/ia64/t-eh-ia64, config/ia64/t-glibc,
3314 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3315 config/ia64/t-vms, config/ia64/unwind-ia64.c,
3316 config/ia64/unwind-ia64.h: New files.
3317 * config/picochip/t-picochip: New file.
3318 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3320 * config/rs6000/t-darwin (LIB2ADDEH): Set.
3321 * config/s390/t-tpf (LIB2ADDEH): Remove.
3322 * config/t-darwin (LIB2ADDEH): Set.
3323 * config/t-eh-dw2-dip: New file.
3324 * config/t-libunwind, config/t-libunwind-elf: New files.
3325 * config/t-sol2 (LIB2ADDEH): Remove.
3326 * config/xtensa/t-xtensa: New file.
3328 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
3330 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3331 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3332 long long to check rt_sigreturn syscall.
3334 2011-08-02 Alan Modra <amodra@gmail.com>
3336 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3337 Restore for indirect call bcrtl from correct stack slot, and only
3338 if cfa+40 isn't valid.
3340 2011-08-01 Julian Brown <julian@codesourcery.com>
3342 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3343 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3344 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3346 2011-08-01 Julian Brown <julian@codesourcery.com>
3348 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3349 (libgcc-std.ver.in): Use above.
3350 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3351 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
3353 * config/t-fixedpoint-gnu-prefix: New file.
3354 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3355 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3358 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
3360 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3361 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3362 for x86-64. Properly check __x86_64__ and __LP64__.
3364 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
3366 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3368 (_FP_WS_TYPE): Likewise.
3369 (_FP_I_TYPE): Likewise.
3371 2011-07-28 Alan Modra <amodra@gmail.com>
3373 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3374 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3375 in a plt call stub. Do restore r2 if stopped on bctrl.
3377 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3379 * config.host (i[3456x]86-*-netware*): Remove.
3380 * config/i386/netware-crt0.c, config/i386/t-nwld,
3381 config/i386/t-slibgcc-nwld: Remove.
3383 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
3385 * config.host: Handle tic6x-*-*.
3386 * config/c6x/c6x-abi.h: New file.
3388 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3390 * config/i386/crtprec.c: New file.
3391 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3392 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3393 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3394 (x86_64-*-darwin*): Likewise.
3395 (i[34567]86-*-solaris2*: Likewise.
3397 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3399 * config/alpha/crtfastmath.c: New file.
3400 * config/i386/crtfastmath.c: New file.
3401 * config/ia64/crtfastmath.c: New file.
3402 * config/mips/crtfastmath.c: New file.
3403 * config/sparc/crtfastmath.c: New file.
3405 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3407 Add -frandom-seed=gcc-crtfastmath.
3408 * config/alpha/t-crtfm: Remove.
3409 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3410 * config/ia64/t-ia64 (crtfastmath.o): Remove.
3412 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3413 (alpha*-dec-osf5.1*): Likewise.
3414 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3415 Add crtfastmath.o to extra_parts.
3416 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3417 Add crtfastmath.o to extra_parts.
3418 (x86_64-*-darwin*): Likewise.
3419 (x86_64-*-mingw*): Likewise.
3420 (ia64*-*-elf*): Add t-crtfm to tmake_file.
3421 (ia64*-*-freebsd*): Likewise.
3422 (ia64*-*-linux*): Likewise.
3423 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3424 Add crtfastmath.o to extra_parts.
3426 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3428 * config/darwin-crt3.o: New file.
3429 * config/rs6000/darwin-crt2.c: New file.
3430 * config/t-darwin: New file.
3431 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3433 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3434 (powerpc-*-darwin*): Add crt2.o to extra_parts.
3435 (powerpc64-*-darwin*): Likewise.
3437 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3439 * config/i386/netware-crt0.c: New file.
3440 * config/i386/t-nwld: Rename to ...
3441 * config/i386/t-slibgcc-nwld: ... this.
3442 * config/i386/t-nwld: New file.
3443 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3445 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3448 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3450 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3452 * configure: Regenerate.
3454 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3456 * dfp-bit.c, dfp-bit.h: New files.
3457 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3459 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3460 ($(d64pbit-o)): Likewise.
3461 ($(d128pbit-o)): Likewise.
3462 * config/t-dfprules: New file.
3463 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3464 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3465 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3466 (x86_64-*-linux*): Likewise.
3467 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3468 (i[34567]86-*-cygwin*): Likewise.
3469 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
3470 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3472 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3474 * Makfile.in (LIBGCOV): New variable.
3475 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3476 * libgcov.c: New file.
3478 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3480 * fixed-bit.c, fixed-bit.h: New files.
3481 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3482 refer to fixed-bit.c.
3484 2011-07-07 Joseph Myers <joseph@codesourcery.com>
3486 * config.host (*local*): Remove.
3488 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3491 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3492 like i?86-*-solaris2.1[0-9]*.
3493 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3494 * configure.ac (i?86-*-solaris2*): Likewise.
3495 * configure: Regenerate.
3497 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
3499 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3500 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3501 md_unwind_header by splitting out of...
3502 (i[34567]86-*-linux*): ... this.
3503 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3504 Remove md_unwind_header by splitting out of...
3505 (x86_64-*-linux*): ... this.
3507 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
3509 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3511 2011-06-28 Nick Clifton <nickc@redhat.com>
3513 * config.host: Recognize all V850 variants.
3515 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
3517 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3519 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3521 * shared-object.mk (c_flags-$o): Save c_flags.
3522 ($(base)$(objext)): Use it.
3523 ($(base)_s$(objext)): Likewise.
3525 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
3527 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3528 * libgcc-std.ver.in (GCC_4.7.0): New section.
3530 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
3534 * config/avr/t-avr: Fix line endings.
3535 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
3538 2011-06-14 Olivier Hainque <hainque@adacore.com>
3539 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3541 * config/mips/irix6-unwind.h: New file.
3542 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3544 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
3546 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3547 (sparc64_fallback_frame_state): Use it.
3548 (sparc64_frob_update_context): Further adjust context.
3549 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3550 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3551 * config/sparc/sol2-cn.S: Likewise.
3553 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3555 * enable-execute-stack-empty.c: New file.
3556 * enable-execute-stack-mprotect.c: New file.
3557 * config/i386/enable-execute-stack-mingw32.c: New file.
3558 * config.host (enable_execute_stack): New variable.
3559 Select appropriate variants.
3560 * configure.ac: Link enable-execute-stack.c to
3561 $enable_execute_stack.
3562 * configure: Regenerate.
3563 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3564 (lib2funcs): Remove _enable_execute_stack.
3566 2011-06-09 David S. Miller <davem@davemloft.net>
3567 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3569 * config.host (sparc-*-linux*): Correct md_unwind_header
3571 (s390x-ibm-tpf*): Fix typo.
3573 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3575 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3576 Add crtfastmath.o to extra_parts.
3577 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3579 * config/mips/t-crtfm: Remove.
3581 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3583 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3585 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
3587 * config.host (sh*-*-linux*): Fix typo.
3589 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3591 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3592 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3593 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3594 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3595 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3596 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3597 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3598 Wrap in !__MINGW64__.
3599 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3600 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3601 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3602 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3603 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3604 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3605 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3607 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3608 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3609 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3610 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3611 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3612 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3613 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3614 * config/no-unwind.h: New file.
3615 * config.host (md_unwind_header): Document.
3617 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3618 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3619 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3620 hppa[12]*-*-hpux11*): Set md_unwind_header.
3621 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3622 Set md_unwind_header.
3623 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3624 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3625 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3626 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3627 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3628 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3629 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3631 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3632 * configure: Regenerate.
3634 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3636 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3637 Set tmake_file, extra_parts.
3638 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3640 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3642 * config/mips/t-irix6: New file.
3643 * config/mips/t-slibgcc-irix: New file.
3645 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3647 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3648 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3650 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3652 * configure.ac (target_thread_file): Determine thread model.
3653 * configure: Regenerate.
3654 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3655 * config/alpha/t-alpha: New file.
3656 * config/alpha/t-crtfm: Use $<.
3657 * config/alpha/t-ieee: New file.
3658 * config/alpha/t-osf-pthread: New file.
3659 * config/alpha/t-slibgcc-osf: New file.
3660 * config/alpha/libgcc-osf5.ver: New file.
3662 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3664 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3666 Add crtfastmath.o to extra_parts.
3668 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3670 * config/gmon-sol2.c: Reindent.
3672 Remove, correct casts.
3673 Use STDERR_FILENO, NULL.
3674 (BASEADDRESS): Remove.
3676 (errno, sbrk): Remove declarations.
3677 (monstartup) [hp300]: Remove.
3680 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3682 * Makefile.in (cpu_type): Define.
3683 * config.host (i[34567]86-*-rtems*): Handle it.
3684 (i[34567]86-*-solaris2*): Move body ...
3685 (*-*-solaris2*): ... here.
3686 New case, generalize.
3687 (sparc-*-elf*): Handle it.
3688 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3689 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3690 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3692 (sparc*-*-solaris2*): ... this.
3694 (sparc64-*-elf*): Handle it.
3695 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3696 Merge ../gcc/config/i386/gmon-sol2.c.
3697 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3699 Merge ../gcc/config/i386/sol2-gc1.asm.
3700 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3702 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3704 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3705 * config/i386/t-crtstuff: New file.
3706 * config/i386/t-softfp: New file.
3707 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3708 $(T)crti.o, $(T)crtn.o): Remove.
3709 (gcrt1.o): New rule.
3710 (TARGET_LIBGCC2_CFLAGS): Remove.
3711 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3712 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3713 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3714 * config/sparc/t-sol2: New file.
3715 * config/sparc/t-crtfm: Move to ...
3716 * config/t-crtfm: ... this.
3717 Use $(cpu_type), $<.
3718 * config/t-crtin: New file.
3719 * config/sparc/t-softfp: New file.
3720 * config/sparc/t-softmul: New file.
3721 * config/t-rtems: New file.
3722 * config/t-slibgcc: New file.
3723 * config/t-slibgcc-elf-ver: New file.
3724 * config/t-slibgcc-gld: New file.
3725 * config/t-slibgcc-sld: New file.
3726 * config/t-sol2: New file.
3727 * configure.ac: Include ../config/lib-ld.m4.
3728 Call AC_LIB_PROG_LD_GNU.
3729 Substitute cpu_type.
3730 * configure: Regenerate.
3732 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
3735 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3736 libgcc-std.ver in the build directory.
3737 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3738 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3740 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
3742 * libgcc-std.ver.in: New file.
3743 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3745 (libgcc-std.ver): New rule.
3746 * config/t-gnu-prefix: New file.
3748 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3750 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3752 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3754 * config/i386/darwin-lib.h: New file.
3756 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3758 * config/arm/symbian-lib.h: New.
3760 2011-05-04 Chris Demetriou <cgd@google.com>
3762 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3763 (__x86.get_pc_thunk.bx): ...this.
3764 (__morestack): Adjust for rename, remove undef of __i686.
3766 2011-05-03 Chris Demetriou <cgd@google.com>
3768 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3770 2011-03-22 Joseph Myers <joseph@codesourcery.com>
3772 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3773 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3774 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3775 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3776 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3779 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
3781 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3782 Adjust copyright year.
3784 2011-03-07 Ian Lance Taylor <iant@google.com>
3786 * generic-morestack.c (__splitstack_find): Adjust returned stack
3787 pointer to include all registers pushed by __morestack.
3789 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
3792 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3793 (toolexecdir): Calculate and AC_SUBST.
3794 (toolexeclibdir): Likewise.
3795 * Makefile.in (target_noncanonical): Import.
3796 (toolexecdir): Likewise.
3797 (toolexeclibdir): Likewise.
3798 * configure: Regenerate.
3800 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
3803 * config/arm/bpabi.h: Rename to...
3804 * config/arm/bpabi-lib.h: ...this.
3806 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3808 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3810 * configure: Regenerate.
3812 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3814 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3815 __FLOAT_WORD_ORDER__.
3816 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3819 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3822 * Makefile.in (install-strip): New phony target.
3824 2010-11-07 Ian Lance Taylor <iant@google.com>
3827 * config/i386/morestack.S (__morestack_large_model): New
3830 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
3832 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3834 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3836 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
3838 * config/arm/bpabi.h: New file.
3839 * config/frv/frv-abi.h: New file.
3841 2010-10-01 Ian Lance Taylor <iant@google.com>
3843 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3844 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3846 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3849 * config.host: Add the missing `$'.
3851 2010-09-30 Michael Eager <eager@eagercon.com>
3853 * config.host: Add microblaze*-*-*.
3854 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3855 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3856 udivsi3.asm,umodsi3.asm}: New.
3858 2010-09-28 Ian Lance Taylor <iant@google.com>
3860 * configure.ac: Adjust CFI test to test assembler directly rather
3861 than checking gcc preprocessor macro.
3862 * configure: Rebuild.
3864 2010-09-27 Ian Lance Taylor <iant@google.com>
3866 * configure.ac: Test whether assembler supports CFI directives.
3867 * config.host: Only add t-stack and i386/t-stack-i386 to
3868 tmake_file if libgcc_cv_cfi is "yes".
3869 * configure: Rebuild.
3871 2010-09-27 Ian Lance Taylor <iant@google.com>
3873 * generic-morestack.h: New file.
3874 * generic-morestack.c: New file.
3875 * generic-morestack-thread.c: New file.
3876 * config/i386/morestack.S: New file.
3877 * config/t-stack: New file.
3878 * config/i386/t-stack-i386: New file.
3879 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3880 i386/t-stack-i386 to tmake_file.
3882 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
3884 * Makefile.in (libgcc-extra-parts): Check for static archives and
3885 invoke ranlib after installing them.
3886 (gcc-extra-parts): Likewise.
3887 (install-leaf): Likewise.
3889 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
3891 * configure: Regenerated.
3893 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
3895 * configure: Regenerated.
3897 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
3898 Andrew Pinski <pinskia@gmail.com>
3901 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3903 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
3906 * configure: Regenerated.
3908 2010-09-06 Andreas Schwab <schwab@redhat.com>
3910 * configure: Regenerate.
3912 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3914 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3916 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3919 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3920 Iain Sandoe <iains@gcc.gnu.org>
3923 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3924 LIB2FUNCS_EXCLUDE functions.
3926 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3928 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3930 * configure: Regenerate.
3932 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
3934 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3935 i386/t-freebsd to tmake_file.
3936 * config/i386/t-freebsd: New file.
3937 * config/i386/libgcc-bsd.ver: New file.
3939 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3941 * config.host (powerpc*-eabispe*): Set tmake_file.
3942 (powerpc*-eabi*): Likewise.
3943 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3944 crtbeginS, crtendS, crtbeginT.
3946 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
3948 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3949 to tmake_file. Add crtfastmath.o to extra_parts.
3950 * config/mips/t-crtfm: New.
3952 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3954 * config.host (sparc64-*-rtems*): New target.
3956 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3958 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3961 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3963 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3965 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3967 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3968 alpha-dec-osf5.0* support.
3970 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
3972 * config.host: Add lm32-*-rtems*.
3974 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3975 Uros Bizjak <ubizjak@gmail.com>
3978 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3979 like other remaining 32-bit x86 OSes.
3980 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3982 * config/i386/libgcc-sol2.ver: New file.
3983 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3985 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3988 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3989 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3990 is used and substitute set_use_emutls.
3991 * configure: Regenerated.
3993 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3995 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3997 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4000 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
4002 ($(T)gcrt1.o): Likewise.
4003 ($(T)crt1.o): Likewise.
4004 ($(T)crti.o): Likewise.
4005 ($(T)crtn.o): Likewise.
4007 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4010 * Makefile.in (install): Use $(MAKE) string in rule, for
4013 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
4015 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
4016 * config/mmix/t-mmix: New file.
4017 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
4019 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
4022 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
4025 2010-01-04 Anthony Green <green@moxielogic.com>
4027 * config/moxie/crti.asm, config/moxie/crtn.asm,
4028 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
4029 config/moxie/t-moxie: New files.
4030 * config.host: Add t-moxie-softfp reference.
4032 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
4035 * config/t-slibgcc-darwin: Fix embedded rpaths for
4036 --enable-version-specific-runtime-libs, build extension stub
4037 libs exposing features available from current libgcc_s.
4039 2009-11-11 Jon Beniston <jon@beniston.com>
4041 * config.host: Add lm32 targets.
4042 * config/lm32: New directory.
4043 * config/lm32/libgcc_lm32.h: New file.
4044 * config/lm32/_mulsi3.c: New file.
4045 * config/lm32/_udivmodsi4.c: New file.
4046 * config/lm32/_divsi3.c: New file.
4047 * config/lm32/_modsi3.c: New file.
4048 * config/lm32/_udivsi3.c: New file.
4049 * config/lm32/_umodsi3.c: New file.
4050 * config/lm32/_lshrsi3.S: New file.
4051 * config/lm32/_ashrsi3.S: New file.
4052 * config/lm32/_ashlsi3.S: New file.
4053 * config/lm32/crti.S: New file.
4054 * config/lm32/crtn.S: New file.
4055 * config/lm32/t-lm32: New file.
4056 * config/lm32/t-elf: New file.
4057 * config/lm32/t-uclinux: New file.
4059 2009-10-26 Nick Clifton <nickc@redhat.com>
4061 * config.host: Add support for RX target.
4062 * config/rx: New directory.
4063 * config/rx/rx-abi-functions.c: New file. Supplementary
4064 functions for libgcc to support the RX ABI.
4065 * config/rx/rx-abi.h: New file. Supplementary header file for
4066 libgcc RX ABI functions.
4067 * config/rx/t-rx: New file: Makefile fragment for building
4070 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
4072 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4073 constraint of y0 to "g".
4075 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4077 * config.host: Include the s390 makefile fragments.
4078 * config/s390/32/_fixdfdi.c: New file.
4079 * config/s390/32/_fixsfdi.c: New file.
4080 * config/s390/32/_fixtfdi.c: New file.
4081 * config/s390/32/_fixunsdfdi.c: New file.
4082 * config/s390/32/_fixunssfdi.c: New file.
4083 * config/s390/32/_fixunstfdi.c: New file.
4084 * config/s390/32/t-floattodi: New file.
4085 * config/s390/libgcc-glibc.ver: New file.
4086 * config/s390/t-crtstuff: New file.
4087 * config/s390/t-linux: New file.
4088 * config/s390/t-tpf: New file.
4090 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4092 * configure.ac (AC_PREREQ): Bump to 2.64.
4094 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
4096 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4098 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4100 * configure: Regenerate.
4102 2009-08-09 Douglas B Rupp <rupp@gnat.com>
4104 * config.host (ia64-hp-*vms*): New target.
4105 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4108 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4110 * configure.ac: Add snippet for maintainer-mode.
4111 * configure: Regenerate.
4112 * Makefile.in (AUTOCONF, configure_deps): New variables.
4113 ($(srcdir)/configure)): New rule, active only with maintainer
4116 2009-06-23 DJ Delorie <dj@redhat.com>
4119 * config.host: Add mep support.
4121 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
4123 * config.host: Add i386/${host_address}/t-fprules-softfp and
4124 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
4126 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4128 * config/i386/64/_multc3.c: Likewise.
4129 * config/i386/64/_powitf2.c: Likewise.
4130 * config/i386/64/eqtf2.c: Likewise.
4131 * config/i386/64/getf2.c: Likewise.
4132 * config/i386/64/letf2.c: Likewise.
4133 * config/i386/64/letf2.c: Likewise.
4134 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4135 unsigned long long for x64 mingw targets.
4136 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4137 (_FP_I_TYPE): Define as long long for x64 mingw target.
4139 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
4141 * config.host (vax-*-linux*): New.
4143 2009-05-31 Anthony Green <green@moxielogic.com>
4145 * config.host: Add moxie support.
4146 * config/moxie/t-moxie: New file.
4148 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
4150 * config.host: Add i386/${host_address}/t-fprules-softfp and
4151 t-softfp to tmake_file for i[34567]86-*-cygwin*.
4153 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
4155 * config.host: Add i386/${host_address}/t-fprules-softfp to
4156 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4158 2009-04-09 Nick Clifton <nickc@redhat.com>
4160 * config/ia64/tf-signs.c: Change copyright header to refer to
4161 version 3 of the GNU General Public License with version 3.1
4162 of the GCC Runtime Library Exception and to point readers at
4163 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4165 * config/i386/32/tf-signs.c: Likewise.
4166 * config/libbid/_addsub_dd.c: Likewise.
4167 * config/libbid/_addsub_sd.c: Likewise.
4168 * config/libbid/_addsub_td.c: Likewise.
4169 * config/libbid/_dd_to_df.c: Likewise.
4170 * config/libbid/_dd_to_di.c: Likewise.
4171 * config/libbid/_dd_to_sd.c: Likewise.
4172 * config/libbid/_dd_to_sf.c: Likewise.
4173 * config/libbid/_dd_to_si.c: Likewise.
4174 * config/libbid/_dd_to_td.c: Likewise.
4175 * config/libbid/_dd_to_tf.c: Likewise.
4176 * config/libbid/_dd_to_udi.c: Likewise.
4177 * config/libbid/_dd_to_usi.c: Likewise.
4178 * config/libbid/_dd_to_xf.c: Likewise.
4179 * config/libbid/_df_to_dd.c: Likewise.
4180 * config/libbid/_df_to_sd.c: Likewise.
4181 * config/libbid/_df_to_td.c: Likewise.
4182 * config/libbid/_di_to_dd.c: Likewise.
4183 * config/libbid/_di_to_sd.c: Likewise.
4184 * config/libbid/_di_to_td.c: Likewise.
4185 * config/libbid/_div_dd.c: Likewise.
4186 * config/libbid/_div_sd.c: Likewise.
4187 * config/libbid/_div_td.c: Likewise.
4188 * config/libbid/_eq_dd.c: Likewise.
4189 * config/libbid/_eq_sd.c: Likewise.
4190 * config/libbid/_eq_td.c: Likewise.
4191 * config/libbid/_ge_dd.c: Likewise.
4192 * config/libbid/_ge_sd.c: Likewise.
4193 * config/libbid/_ge_td.c: Likewise.
4194 * config/libbid/_gt_dd.c: Likewise.
4195 * config/libbid/_gt_sd.c: Likewise.
4196 * config/libbid/_gt_td.c: Likewise.
4197 * config/libbid/_isinfd128.c: Likewise.
4198 * config/libbid/_isinfd32.c: Likewise.
4199 * config/libbid/_isinfd64.c: Likewise.
4200 * config/libbid/_le_dd.c: Likewise.
4201 * config/libbid/_le_sd.c: Likewise.
4202 * config/libbid/_le_td.c: Likewise.
4203 * config/libbid/_lt_dd.c: Likewise.
4204 * config/libbid/_lt_sd.c: Likewise.
4205 * config/libbid/_lt_td.c: Likewise.
4206 * config/libbid/_mul_dd.c: Likewise.
4207 * config/libbid/_mul_sd.c: Likewise.
4208 * config/libbid/_mul_td.c: Likewise.
4209 * config/libbid/_ne_dd.c: Likewise.
4210 * config/libbid/_ne_sd.c: Likewise.
4211 * config/libbid/_ne_td.c: Likewise.
4212 * config/libbid/_sd_to_dd.c: Likewise.
4213 * config/libbid/_sd_to_df.c: Likewise.
4214 * config/libbid/_sd_to_di.c: Likewise.
4215 * config/libbid/_sd_to_sf.c: Likewise.
4216 * config/libbid/_sd_to_si.c: Likewise.
4217 * config/libbid/_sd_to_td.c: Likewise.
4218 * config/libbid/_sd_to_tf.c: Likewise.
4219 * config/libbid/_sd_to_udi.c: Likewise.
4220 * config/libbid/_sd_to_usi.c: Likewise.
4221 * config/libbid/_sd_to_xf.c: Likewise.
4222 * config/libbid/_sf_to_dd.c: Likewise.
4223 * config/libbid/_sf_to_sd.c: Likewise.
4224 * config/libbid/_sf_to_td.c: Likewise.
4225 * config/libbid/_si_to_dd.c: Likewise.
4226 * config/libbid/_si_to_sd.c: Likewise.
4227 * config/libbid/_si_to_td.c: Likewise.
4228 * config/libbid/_td_to_dd.c: Likewise.
4229 * config/libbid/_td_to_df.c: Likewise.
4230 * config/libbid/_td_to_di.c: Likewise.
4231 * config/libbid/_td_to_sd.c: Likewise.
4232 * config/libbid/_td_to_sf.c: Likewise.
4233 * config/libbid/_td_to_si.c: Likewise.
4234 * config/libbid/_td_to_tf.c: Likewise.
4235 * config/libbid/_td_to_udi.c: Likewise.
4236 * config/libbid/_td_to_usi.c: Likewise.
4237 * config/libbid/_td_to_xf.c: Likewise.
4238 * config/libbid/_tf_to_dd.c: Likewise.
4239 * config/libbid/_tf_to_sd.c: Likewise.
4240 * config/libbid/_tf_to_td.c: Likewise.
4241 * config/libbid/_udi_to_dd.c: Likewise.
4242 * config/libbid/_udi_to_sd.c: Likewise.
4243 * config/libbid/_udi_to_td.c: Likewise.
4244 * config/libbid/_unord_dd.c: Likewise.
4245 * config/libbid/_unord_sd.c: Likewise.
4246 * config/libbid/_unord_td.c: Likewise.
4247 * config/libbid/_usi_to_dd.c: Likewise.
4248 * config/libbid/_usi_to_sd.c: Likewise.
4249 * config/libbid/_usi_to_td.c: Likewise.
4250 * config/libbid/_xf_to_dd.c: Likewise.
4251 * config/libbid/_xf_to_sd.c: Likewise.
4252 * config/libbid/_xf_to_td.c: Likewise.
4253 * config/libbid/bid128.c: Likewise.
4254 * config/libbid/bid128_2_str.h: Likewise.
4255 * config/libbid/bid128_2_str_macros.h: Likewise.
4256 * config/libbid/bid128_2_str_tables.c: Likewise.
4257 * config/libbid/bid128_add.c: Likewise.
4258 * config/libbid/bid128_compare.c: Likewise.
4259 * config/libbid/bid128_div.c: Likewise.
4260 * config/libbid/bid128_fma.c: Likewise.
4261 * config/libbid/bid128_logb.c: Likewise.
4262 * config/libbid/bid128_minmax.c: Likewise.
4263 * config/libbid/bid128_mul.c: Likewise.
4264 * config/libbid/bid128_next.c: Likewise.
4265 * config/libbid/bid128_noncomp.c: Likewise.
4266 * config/libbid/bid128_quantize.c: Likewise.
4267 * config/libbid/bid128_rem.c: Likewise.
4268 * config/libbid/bid128_round_integral.c: Likewise.
4269 * config/libbid/bid128_scalb.c: Likewise.
4270 * config/libbid/bid128_sqrt.c: Likewise.
4271 * config/libbid/bid128_string.c: Likewise.
4272 * config/libbid/bid128_to_int16.c: Likewise.
4273 * config/libbid/bid128_to_int32.c: Likewise.
4274 * config/libbid/bid128_to_int64.c: Likewise.
4275 * config/libbid/bid128_to_int8.c: Likewise.
4276 * config/libbid/bid128_to_uint16.c: Likewise.
4277 * config/libbid/bid128_to_uint32.c: Likewise.
4278 * config/libbid/bid128_to_uint64.c: Likewise.
4279 * config/libbid/bid128_to_uint8.c: Likewise.
4280 * config/libbid/bid32_to_bid128.c: Likewise.
4281 * config/libbid/bid32_to_bid64.c: Likewise.
4282 * config/libbid/bid64_add.c: Likewise.
4283 * config/libbid/bid64_compare.c: Likewise.
4284 * config/libbid/bid64_div.c: Likewise.
4285 * config/libbid/bid64_fma.c: Likewise.
4286 * config/libbid/bid64_logb.c: Likewise.
4287 * config/libbid/bid64_minmax.c: Likewise.
4288 * config/libbid/bid64_mul.c: Likewise.
4289 * config/libbid/bid64_next.c: Likewise.
4290 * config/libbid/bid64_noncomp.c: Likewise.
4291 * config/libbid/bid64_quantize.c: Likewise.
4292 * config/libbid/bid64_rem.c: Likewise.
4293 * config/libbid/bid64_round_integral.c: Likewise.
4294 * config/libbid/bid64_scalb.c: Likewise.
4295 * config/libbid/bid64_sqrt.c: Likewise.
4296 * config/libbid/bid64_string.c: Likewise.
4297 * config/libbid/bid64_to_bid128.c: Likewise.
4298 * config/libbid/bid64_to_int16.c: Likewise.
4299 * config/libbid/bid64_to_int32.c: Likewise.
4300 * config/libbid/bid64_to_int64.c: Likewise.
4301 * config/libbid/bid64_to_int8.c: Likewise.
4302 * config/libbid/bid64_to_uint16.c: Likewise.
4303 * config/libbid/bid64_to_uint32.c: Likewise.
4304 * config/libbid/bid64_to_uint64.c: Likewise.
4305 * config/libbid/bid64_to_uint8.c: Likewise.
4306 * config/libbid/bid_b2d.h: Likewise.
4307 * config/libbid/bid_binarydecimal.c: Likewise.
4308 * config/libbid/bid_conf.h: Likewise.
4309 * config/libbid/bid_convert_data.c: Likewise.
4310 * config/libbid/bid_decimal_data.c: Likewise.
4311 * config/libbid/bid_decimal_globals.c: Likewise.
4312 * config/libbid/bid_div_macros.h: Likewise.
4313 * config/libbid/bid_dpd.c: Likewise.
4314 * config/libbid/bid_flag_operations.c: Likewise.
4315 * config/libbid/bid_from_int.c: Likewise.
4316 * config/libbid/bid_functions.h: Likewise.
4317 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4318 * config/libbid/bid_inline_add.h: Likewise.
4319 * config/libbid/bid_internal.h: Likewise.
4320 * config/libbid/bid_round.c: Likewise.
4321 * config/libbid/bid_sqrt_macros.h: Likewise.
4323 2009-04-09 Jakub Jelinek <jakub@redhat.com>
4325 * Makefile.in: Change copyright header to refer to version
4326 3 of the GNU General Public License and to point readers at the
4327 COPYING3 file and the FSF's license web page.
4328 * config.host: Likewise.
4330 2009-04-07 Alan Modra <amodra@bigpond.net.au>
4332 * config.host: Reorder and merge to match config.gcc change.
4334 2009-04-03 Alan Modra <amodra@bigpond.net.au>
4336 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4338 2009-03-28 Joseph Myers <joseph@codesourcery.com>
4340 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4341 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4342 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4343 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4345 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
4347 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4348 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4350 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
4352 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4353 ia64/t-softfp-compat to tmake_file.
4355 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4357 * config/ia64/__divxf3.asm: New.
4358 * config/ia64/_fixtfdi.asm: Likewise.
4359 * config/ia64/_fixunstfdi.asm: Likewise.
4360 * config/ia64/_floatditf.asm: Likewise.
4361 * config/ia64/t-fprules-softfp: Likewise.
4362 * config/ia64/t-softfp-compat: Likewise.
4363 * config/ia64/tf-signs.c: Likewise.
4365 2009-01-18 Ben Elliston <bje@au.ibm.com>
4367 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4369 2009-01-16 Ben Elliston <bje@au.ibm.com>
4371 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4374 2009-01-13 Ben Elliston <bje@au.ibm.com>
4376 * config/t-softfp: New file.
4377 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4378 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4380 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
4382 * config.host: Add m32r*-*-rtems*.
4384 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
4386 * config.host: Add m32c*-*-rtems*.
4388 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4391 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4392 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4393 * configure: Regenerate.
4394 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4395 tmake_file here from gcc/config.gcc.
4396 Move extra_parts here from gcc/config.gcc.
4397 * config/i386/t-sol2: Move here from gcc/config/i386.
4398 Use gcc_srcdir instead of srcdir.
4400 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
4402 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4405 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
4407 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4409 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
4411 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4413 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
4416 * config.host: Add picochip-*-*.
4418 2008-08-06 Bob Wilson <bob.wilson@acm.org>
4420 * config.host: Match more processor names for Xtensa.
4422 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
4424 * config/i386/64/t-softfp-compat: Update comments.
4426 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
4428 * config/i386/64/_divtc3-compat.c: Moved to ...
4429 * config/i386/64/_divtc3.c: Here.
4431 * config/i386/64/_multc3-compat.c: Moved to ...
4432 * config/i386/64/_multc3.c: Here.
4434 * config/i386/64/_powitf2-compat.c: Moved to ...
4435 * config/i386/64/_powitf2.c: Here.
4437 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4438 .c suffix instead of -compat.c.
4440 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
4442 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4443 (_FP_MUL_MEAT_D): Ditto.
4444 (_FP_DIV_MEAT_S): Ditto.
4445 (_FP_DIV_MEAT_D): Ditto.
4447 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
4449 * Makefile.in: Add support for __sync_* libgcc functions.
4451 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
4453 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4455 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4458 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4459 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
4461 * config/i386/64/t-fprules-softfp: Moved to ...
4462 * config/i386/64/t-softfp-compat: This. New.
4464 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
4466 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4467 Initialize f with 0.0.
4469 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4472 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4474 * config/i386/64/_divtc3-compat.c: New.
4475 * config/i386/64/_multc3-compat.c: Likewise.
4476 * config/i386/64/_powitf2-compat.c: Likewise.
4477 * config/i386/64/eqtf2.c: Likewise.
4478 * config/i386/64/getf2.c: Likewise.
4479 * config/i386/64/letf2.c: Likewise.
4480 * config/i386/64/t-fprules-softfp: Likewise.
4482 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4484 * config.host: Add i386/${host_address}/t-fprules-softfp to
4485 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4486 i[34567]86-*-linux*, x86_64-*-linux*.
4488 * configure.ac: Set host_address to 64 or 32 for x86.
4489 * configure: Regenerated.
4491 * Makefile.in (config.status): Also depend on
4492 $(srcdir)/config.host.
4494 * config/i386/32/t-fprules-softfp: New.
4495 * config/i386/32/tf-signs.c: Likewise.
4497 * config/i386/64/sfp-machine.h: New. Moved from gcc.
4499 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
4500 Uros Bizjak <ubizjak@gmail.com>
4502 * config/i386/32/sfp-machine.h: New.
4504 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
4506 * config/rs6000/t-ppccomm: Remove rules that conflict with
4507 auto-generated rules.
4509 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4511 * configure.ac: sinclude override.m4.
4512 * configure: Regenerate.
4514 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
4516 * configure: Regenerate.
4518 2008-06-10 Joseph Myers <joseph@codesourcery.com>
4520 * Makefile.in (DECNUMINC): Remove
4521 -I$(MULTIBUILDTOP)../../libdecnumber.
4524 2008-06-07 Joseph Myers <joseph@codesourcery.com>
4526 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4527 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4528 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4529 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4530 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4531 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4532 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4533 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4534 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4535 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4536 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4537 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4538 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4539 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4541 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
4543 * config.host (sh2[lbe]*-*-linux*): Allow target.
4545 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
4547 * config/rs6000/t-ppccomm: Add build rules for new files.
4548 (LIB2ADD_ST): New variable.
4550 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
4554 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4555 * config/t-avr: New file. Build 16bit libgcc functions.
4557 2008-03-02 Jakub Jelinek <jakub@redhat.com>
4560 * config/t-slibgcc-darwin: Make install-leaf dependent on
4561 install-darwin-libgcc-stubs instead of install.
4563 2008-01-25 Joseph Myers <joseph@codesourcery.com>
4565 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4566 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4567 sh-*-rtemscoff*): Remove cases.
4569 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
4571 * Makefile.in (all): Use install-leaf rather than install.
4572 (install): Split most of the rule into...
4573 (install-leaf): ...this new one.
4575 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
4576 Paolo Bonzini <bonzini@gnu.org>
4579 * Makefile.in: Use @shlib_slibdir@ substitution to get
4580 correct install name on darwin.
4581 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4583 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
4585 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4586 cris-*-elf and cris-*-none.
4587 (crisv32-*-linux*): Similar, as cris-*-linux*.
4589 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
4591 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4593 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
4596 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4597 * configure: Regenerated.
4599 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
4601 * Makefile.in (dfp-filenames): Replace decimal_globals,
4602 decimal_data, binarydecimal and convert_data with
4603 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4604 and bid_convert_data, respectively.
4606 2007-09-17 Chao-ying Fu <fu@mips.com>
4607 Nigel Stephens <nigel@mips.com>
4609 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4610 * Makefile.in (fixed_point): Define.
4611 Check if fixed_point is yes to build support functions.
4612 * configure.ac: Check for fixed_point support.
4613 * configure: Regenerated.
4614 * gen-fixed.sh: New file to generate lists of fixed-point labels,
4615 funcs, modes, from, to.
4617 2007-09-11 Janis Johnson <janis187@us.ibm.com
4619 * Makefile.in (dfp-filenames): Add bid128_noncomp.
4621 2007-09-10 Janis Johnson <janis187@us.ibm.com>
4623 * Makefile.in (dfp-filenames): Remove decUtility, add
4624 decDouble, decPacked, decQuad, decSingle.
4626 2007-08-27 Hans Kester <hans.kester@ellips.nl>
4628 * config.host : Add x86_64-elf target.
4630 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4632 * configure.ac (set_have_cc_tls): Add a missing =.
4633 * configure: Regenerated.
4635 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4637 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4638 and x86_64-*-linux*.
4640 * config/t-tls: New file.
4642 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4644 * configure.ac: Include ../config/enable.m4 and
4645 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4646 supports TLS and substitute set_have_cc_tls.
4647 * configure: Regenerated.
4649 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4651 * Makefile.in: Use libbid for DFP when BID is enabled.
4653 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4655 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4656 extra_parts. Add config/i386/t-cygming to tmake_file.
4657 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4659 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
4660 Danny Smith <dannysmith@users.sourceforge.net>
4663 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4664 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4665 * config/i386/t-crtfm: Compile crtfastmath.o with
4666 -minline-all-stringops.
4668 2007-05-10 Richard Sandiford <richard@codesourcery.com>
4670 * config.host (sparc-wrs-vxworks): New target.
4672 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
4674 * config.host: Recognize fido.
4676 2007-04-04 Janis Johnson <janis187@us.ibm.com>
4678 * configure: Check host, not target, for decimal float support.
4680 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
4682 * config/i386/t-crtpc: New file.
4683 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4684 (x86_64-*-linux*): Ditto.
4686 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
4688 * config.host (x86_64-*-mingw*): New target.
4690 2007-03-23 Michael Meissner <michael.meissner@amd.com>
4691 H.J. Lu <hongjiu.lu@intel.com>
4693 * Makefile.in (enable_decimal_float): New.
4695 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4696 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4697 (decbits-filenames): This.
4698 (decbits-objects): New.
4699 (libgcc-objects): Add $(decbits-objects).
4701 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4702 Substitute enable_decimal_float.
4703 * configure: Regenerated.
4705 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
4707 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4709 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4711 * Makefile.in (install-info): New dummy target.
4713 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4715 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4717 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4719 * Makefile.in: Add install-html and install-pdf dummy
4722 2007-02-05 Roger Sayle <roger@eyesopen.com>
4723 Daniel Jacobowitz <dan@codesourcery.com>
4725 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4726 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4727 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4729 2007-01-29 Janis Johnson <janis187@us.ibm.com>
4731 * Makefile.in (dec-filenames): Add decExcept.
4733 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4736 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4739 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
4741 * configure.ac: Add --enable-version-specific-runtime-libs.
4742 Correct $slibdir default.
4743 * configure: Regenerated.
4745 2007-01-23 Joseph Myers <joseph@codesourcery.com>
4747 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4749 2007-01-21 Andrew Pinski <pinskia@gmail.com>
4752 * config.host (alpha*-*-linux*): Set extra_parts.
4754 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
4756 * config/sh/t-linux: New.
4757 * config.host (sh*-*-linux*): Set tmake_file.
4759 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4761 * Makefile.in (install): Handle multilibs.
4763 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4765 * Makefile.in: Added .PHONY entry for documentation targets.
4767 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4769 * Makefile.in: Add empty info, html, dvi, pdf targets.
4771 2007-01-04 Mike Stump <mrs@apple.com>
4773 * Makefile.in (MAKEINFO): Remove.
4776 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
4778 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4779 * configure: Regenerate.
4780 * Makefile.in (host_subdir): Substitute it.
4781 (gcc_objdir): Use it.
4783 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4785 * config.host (ia64*-*-linux*): Set tmake_file.
4787 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4789 * Makefile.in (version): Define.
4791 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4792 Paolo Bonzini <bonzini@gnu.org>
4794 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4795 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4796 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4797 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4798 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4799 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4800 * configure: Generated.