1 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
3 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4 (FP_TRAPPING_EXCEPTIONS): Define.
5 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8 2012-12-04 Richard Henderson <rth@redhat.com>
11 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
13 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
15 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
16 (FP_EX_SHIFT): Define.
17 (FP_TRAPPING_EXCEPTIONS): Define.
19 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
21 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
22 (FP_ROUNDMODE): Use FP_RND_MASK.
23 * config/aarch64/sfp-exceptions.c: New.
24 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
25 Use __sfp_handle_exceptions.
27 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
29 * config.host: (arm*-*-freebsd*): Remove.
30 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
31 (arm*-*-elf*): Remove.
32 (arm*-*-wince-pe*): Remove.
33 * arm/unwind-arm.c (struct fpa_reg): Delete.
34 (struct fpa_regs): Delete.
35 (phase1_vrs): Remove fpa element.
36 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
37 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
38 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
39 * ieee754-sf.S (floatundisf): Remove FPA support.
40 (floatdisf): Likewise.
41 * ieee75f-df.S (floatundidf): Likewise.
42 (floatdidf): Likewise.
44 2012-11-29 Kai Tietz <ktietz@redhat.com>
47 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
48 * unwind-generic.h: Likewise.
49 * unwind-seh.c: Likewise.
51 2012-11-28 Richard Henderson <rth@redhat.com>
54 * emutls.c (__emutls_get_address): Avoid race condition between
55 obj->loc.offset read and emutls_key initialization.
57 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
59 Adjust decimal point of signed accum mode to GCC default.
62 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
64 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
65 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
67 (__divqq3, __divha3, __divsa3): Adjust to new position of
68 decimal point of signed accum types.
70 (__mulusa3_round): New function.
72 (__divqq_helper): New function.
75 2012-11-20 Jakub Jelinek <jakub@redhat.com>
78 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
80 2012-11-18 Teresa Johnson <tejohnson@google.com>
83 * libgcov.c (gcov_exit): Remove merged program summary
84 comparison unless !GCOV_LOCKED.
86 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
88 * soft-fp: Updated from glibc upstream.
90 2012-11-06 Ian Lance Taylor <iant@google.com>
92 * generic-morestack.c (__generic_morestack): Align the returned
93 stack pointer to a 32 byte boundary.
94 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
95 increment the return address until we have decided that we don't
96 have a varargs function.
97 (__morestack) [32-bit]: Align stack correctly when calling C
99 (__morestack) [64-bit]: Likewise.
101 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
103 * configure: Regenerate.
105 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
108 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
109 * config/i386/sfp-machine.h: Guard exception handling
110 code with _SOFT_FLOAT.
111 * config/i386/32/sfp-machine.h: Guard rounding handling
112 code with _SOFT_FLOAT.
113 * config/i386/64/sfp-machine.h: Ditto.
115 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
117 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
120 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
122 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
123 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
124 when appropriate. Correct structure element types.
125 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
126 -minline-all-stringops from compile flags.
128 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
130 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
132 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
134 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
136 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
138 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
141 2012-10-23 Ian Bolton <ian.bolton@arm.com>
142 Jim MacArthur <jim.macarthur@arm.com>
143 Marcus Shawcroft <marcus.shawcroft@arm.com>
144 Nigel Stephens <nigel.stephens@arm.com>
145 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
146 Richard Earnshaw <rearnsha@arm.com>
147 Sofiane Naci <sofiane.naci@arm.com>
148 Stephen Thomas <stephen.thomas@arm.com>
149 Tejas Belagod <tejas.belagod@arm.com>
150 Yufeng Zhang <yufeng.zhang@arm.com>
152 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
153 * config/aarch64/crti.S: New file.
154 * config/aarch64/crtn.S: New file.
155 * config/aarch64/linux-unwind.h: New file.
156 * config/aarch64/sfp-machine.h: New file.
157 * config/aarch64/sync-cache.c: New file.
158 * config/aarch64/t-aarch64: New file.
159 * config/aarch64/t-softfp: New file.
161 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
163 * config/mmix/crti.S: Mark program and data addresses using PRELD.
164 Remove typo'd and unnecessary alignment-LOC for .data. Remove
165 no-longer-needed LDBU insns.
167 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
170 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
171 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
173 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
175 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
177 2012-10-15 Matthias Klose <doko@ubuntu.com>
179 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
181 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
183 * configure: Regenerate.
184 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
186 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
188 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
189 instructions for 64bit targets only.
191 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
193 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
194 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
195 * config/i386/32/sfp-machine.h: ... here.
196 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
197 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
200 2012-10-07 Matthias Klose <doko@ubuntu.com>
202 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
204 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
206 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
208 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
209 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
210 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
213 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
216 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
219 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
222 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
223 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
224 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
226 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
229 * config/sh/linux-atomic.S: Delete.
230 * config/sh/linux-atomic.c: New.
231 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
232 linux-atomic.c. Add cflags to disable warnings.
234 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
237 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
239 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
240 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
241 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
242 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
243 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
245 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
247 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
249 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
250 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
252 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
254 * config.host (hppa-*-openbsd*): New target.
255 * config/pa/t-openbsd: New file.
257 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
260 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
261 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
262 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
263 (__divsa3): Use __negsi2 to negate r_quoL.
264 * config/avr/lib1funcs.S (FALIAS): New macro.
265 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
266 (__negsi2): ...this new function.
267 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
268 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
269 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
270 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
271 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
272 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
274 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
277 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
278 (lshrsi3): Reimplement as lshrsi3_r0.
280 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
283 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
286 2012-09-07 Teresa Johnson <tejohnson@google.com>
288 PR gcov-profile/54487
289 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
292 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
295 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
296 not configured --with-avrlibc=no.
297 * config/avr/t-avrlibc: New file.
298 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
299 (DPBIT_FUNCS): Ditto.
300 (TPBIT_FUNCS): Ditto.
302 2012-09-04 Teresa Johnson <tejohnson@google.com>
304 * libgcov.c (struct gcov_summary_buffer): New structure.
305 (gcov_histogram_insert): New function.
306 (gcov_compute_histogram): Ditto.
307 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
308 histograms during summary merging.
310 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
312 * config.host (x86_64-*-openbsd*): New target.
314 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
316 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
319 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
322 * config/avr/t-avr (conv_X): Rename to func_X.
324 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
327 * config/avr/lib1funcs-fixed.S: New file.
328 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
330 (neg2, neg4): New macros.
331 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
332 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
333 (__umulhisi3): Speed up MUL variant if there is enough flash.
334 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
336 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
337 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
338 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
339 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
340 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
341 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
342 (LIB2FUNCS_EXCLUDE): Add supported functions.
344 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
346 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
347 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
349 * fixed-obj.mk: Only expand dependency if $o is not in
352 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
354 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
356 2012-08-22 Joseph Myers <joseph@codesourcery.com>
358 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
359 depend on --enable-shared.
360 ($(lib1asmfuncs-o)): Use %.vis files independent of
362 * static-object.mk ($(base)$(objext), $(base).vis)
363 ($(base)_s$(objext)): Use same rules for visibility handling as in
366 2012-08-21 Ian Lance Taylor <iant@google.com>
368 * config/i386/morestack.S (__morestack_non_split): Increase amount
369 of space allocated for non-split code stack.
371 2012-08-19 Joseph Myers <joseph@codesourcery.com>
373 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
374 even if inhibit_libc.
376 2012-08-17 Julian Brown <julian@codesourcery.com>
378 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
379 -fexceptions -fnon-call-exceptions if not defined.
380 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
381 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
383 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
385 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
388 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
390 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
391 rs6000/t-slibgcc-aix.
393 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
395 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
397 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
399 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
401 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
404 * Makefile.in (version): Replace top_srcdir with srcdir.
406 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
408 * Makefile.in (version): set to BASE-VER file from gcc directory.
410 2012-08-01 Nick Clifton <nickc@redhat.com>
412 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
413 Implements __clrsb for an HImode argument.
415 2012-07-31 Nick Clifton <nickc@redhat.com>
417 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
418 Implements __clrsb for an HImode argument.
419 * config/stormy16/clrsbhi2.c: New file:
420 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
422 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
424 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
426 2012-07-19 Tristan Gingold <gingold@adacore.com>
427 Richard Henderson <rth@redhat.com>
429 * unwind-seh.c: New file.
430 * unwind-generic.h: Include windows.h for SEH.
431 (_Unwind_Exception): Use 6 private fields for SEH.
432 (_GCC_specific_handler): Declare.
433 * unwind-c.c (__gcc_personality_seh0): New function.
435 * config/i386/libgcc-cygming.ver: New file.
436 * config/i386/t-seh-eh: New file.
437 * config.host (x86_64-*-mingw*): Default to seh.
439 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
441 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
443 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
445 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
446 __builtin_expect when checking for exceptions.
447 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
449 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
451 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
452 function declaration.
453 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
455 * config/ia64/sfp-exceptions.c: New.
456 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
458 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
460 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
461 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
462 * config/i386/64/sfp-machine: ... (delete here) ...
463 * config/i386/sfp-machine.h: ... to here.
464 (FP_EX_MASK): Remove.
466 (FP_INIT_ROUNDMODE): Declare asm as volatile.
468 2012-06-11 Sriraman Tallam <tmsriram@google.com>
470 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
471 * config/i386/libgcc-sol2.ver: Ditto.
472 * config/i386/libgcc-glibc.ver: Ditto.
474 2012-06-11 Roland McGrath <mcgrathr@google.com>
476 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
477 If __GLIBC__ is defined, refer to __pthread_key_create instead of
480 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
482 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
483 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
484 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
485 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
486 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
487 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
488 * config/i386/64/sfp-machine: ... (delete here) ...
489 * config/i386/sfp-machine.h: ... to here.
491 (__sfp_handle_exceptions): New function declaration.
492 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
493 * config/i386/sfp-exceptions.c: New.
494 * config/i386/t-softfp: New.
495 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
496 i386/t-softfp to tmake_file.
498 2012-06-03 David S. Miller <davem@davemloft.net>
500 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
503 2012-05-31 David S. Miller <davem@davemloft.net>
505 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
506 multiply and divide instructions on 32-bit when V9.
507 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
509 2012-05-29 Joseph Myers <joseph@codesourcery.com>
511 * config/arm/ieee754-df.S: Fix typos.
512 * config/arm/ieee754-sf.S: Fix typos.
513 * config/c6x/libunwind.S: Fix typos.
514 * config/epiphany/udivsi3-float.c: Fix typos.
515 * config/microblaze/muldi3_hard.S: Fix typos.
516 * config/picochip/adddi3.S: Fix typos.
517 * config/picochip/ashlsi3.S: Fix typos.
518 * config/picochip/ashrsi3.S: Fix typos.
519 * config/picochip/clzsi2.S: Fix typos.
520 * config/picochip/cmpsi2.S: Fix typos.
521 * config/picochip/divmod15.S: Fix typos.
522 * config/picochip/divmodhi4.S: Fix typos.
523 * config/picochip/divmodsi4.S: Fix typos.
524 * config/picochip/longjmp.S: Fix typos.
525 * config/picochip/lshrsi3.S: Fix typos.
526 * config/picochip/parityhi2.S: Fix typos.
527 * config/picochip/popcounthi2.S: Fix typos.
528 * config/picochip/setjmp.S: Fix typos.
529 * config/picochip/subdi3.S: Fix typos.
530 * config/picochip/ucmpsi2.S: Fix typos.
531 * config/picochip/udivmodhi4.S: Fix typos.
532 * config/picochip/udivmodsi4.S: Fix typos.
533 * config/spu/divv2df3.c: Fix typos.
534 * config/spu/mfc_multi_tag_release.c: Fix typos.
535 * config/spu/mfc_tag_release.c: Fix typos.
536 * configure.ac: Fix typos.
537 * configure: Regenerate.
539 2012-05-25 Ian Lance Taylor <iant@google.com>
541 * config/i386/morestack.S (__morestack_non_split): Check whether
542 caller is varargs and needs %bp to hold the stack frame on return.
544 2012-05-25 Olivier Hainque <hainque@adacore.com>
546 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
547 sequence in the non pic case on VxWorks.
549 2012-05-24 Olivier Hainque <hainque@adacore.com>
551 * Makefile.in: Move dependency on install-unwind_h from
552 "install-leaf" to "install".
554 2012-05-24 Olivier Hainque <hainque@adacore.com>
556 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
557 Use a separate command for stamp removals.
559 2012-05-21 Andrew Pinski <apinski@cavium.com>
562 * configure.ac: Define the default includes to being none.
563 * configure: Regenerate.
565 2012-05-16 Olivier Hainque <hainque@adacore.com>
567 * Makefile.in (install-unwind_h): Rename into ...
568 (install-unwind_h-forbuild): New target.
569 (all): Use it instead of the former install-unwind_h.
570 (install-unwind_h): Reinstate, copy to user install destination
571 for include files, not to the internal gcc object directory one.
572 (install-leaf): Depend on it.
574 2012-05-15 Olivier Hainque <hainque@adacore.com>
576 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
577 register numbers. LR_REGNO replaces R_LR.
578 (ucontext_for): New, helper for ...
579 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
581 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
583 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
585 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
586 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
587 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
589 (i[34567]86-*-*, x86_64-*-*): ... here.
591 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
592 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
594 * config/i386/i386-cpuinfo.c: Rename to ...
595 * config/i386/cpuinfo.c: ... this.
596 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
598 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
599 (libgcc_cv_init_priority): New test.
600 * configure: Regenerate.
601 * config.in: New file.
602 * Makefile.in (clean): Rename config.h to auto-target.h.
603 (config.h): Likewise.
606 * config/i386/cpuinfo.c (auto-target.h): Include.
607 (CONSTRUCTOR_PRIORITY): Define.
608 (__cpu_indicator_init): Use it.
610 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
612 * longlong.h: Use a URL instead of an FSF postal address.
613 Replace spaces with tab.
615 2012-05-08 Teresa Johnson <tejohnson@google.com>
617 * libgcov.c (gcov_clear, __gcov_reset): New functions.
618 (__gcov_dump): Ditto.
619 (gcov_dump_complete): New global variable.
620 (gcov_exit): Export hidden to enable use in L_gcov_dump.
621 (__gcov_flush): Outline functionality now in gcov_clear.
622 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
624 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
626 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
627 (mips*-*-linux*): Include mips/t-tpbit when long double is
630 2012-04-25 Sriraman Tallam <tmsriram@google.com>
632 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
633 (get_available_features): New argument. Check for AVX2.
634 (__cpu_indicator_init): Modify call to get_available_features.
636 2012-04-25 Alan Modra <amodra@gmail.com>
638 * config/rs6000/crtsavevr.S: New file.
639 * config/rs6000/crtrestvr.S: New file.
640 * config/rs6000/t-savresfgpr: Build the above.
641 * config/rs6000/t-netbsd: Likewise.
643 2012-04-24 Sriraman Tallam <tmsriram@google.com>
645 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
647 2012-04-24 Sriraman Tallam <tmsriram@google.com>
649 * libgcc/config/i386/i386-cpuinfo.c: New file.
650 * libgcc/config/i386/t-cpuinfo: New file.
651 * libgcc/config.host: Include t-cpuinfo.
652 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
654 2012-04-24 Chao-ying Fu <fu@mips.com>
656 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
658 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
660 struct siginfo vs. siginfo_t
662 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
663 siginfo_t instead of struct siginfo.
664 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
665 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
666 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
667 (ia64_handle_unwabi): Likewise.
668 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
669 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
670 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
671 (sh_fallback_frame_state): Likewise.
672 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
673 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
675 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
677 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
680 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
682 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
683 if it hasn't been previously saved.
685 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
687 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
690 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
693 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
694 instead of __AVR_HAVE_8BIT_SP__.
696 2012-03-26 Tristan Gingold <gingold@adacore.com>
698 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
699 (unw_table_entry): Use unw_word instead of unsigned long.
700 (_Unwind_FindTableEntry): Likewise.
701 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
702 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
703 (_Unwind_FindTableEntry): Likewise.
704 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
705 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
706 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
707 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
708 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
709 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
710 (uw_init_context_1, uw_install_context): Likewise.
711 (unw_word): Move to unwind-ia64.h
713 2012-03-26 Tristan Gingold <gingold@adacore.com>
715 * config/vms/vms-ucrt0.c: Update copyright years.
717 (___gcc_main_flags): Declare.
718 (__main): Check flags to remap argv and exit code.
719 * config.host (*-*-*vms*): Adjust extra_parts.
720 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
723 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
725 * arm/lib1funcs.asm (ctzsi2): New function.
726 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
727 * arm/t-linux (LIB1ASMFUNCS): Likewise.
728 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
729 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
730 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
731 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
733 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
735 * config.host: Add bits to support powerpc64-*-freebsd*.
736 * config/rs6000/freebsd-unwind.h: New file.
737 * config/rs6000/t-freebsd64: New file.
739 2012-03-20 Richard Guenther <rguenther@suse.de>
741 PR gcov-profile/52627
742 * libgcov.c (init_mx): Fix mutex name.
744 2012-03-16 Tristan Gingold <gingold@adacore.com>
746 * config/ia64/vms-unwind.h: Remove ulong (and replace
747 it by unw_reg where used). Define unw_reg with __int64.
749 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
751 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
753 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
755 (sparc_is_sighandler): Likewise.
757 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
759 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
762 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
764 * config/arm/crtn.S: Fix typo.
766 2012-03-13 Richard Guenther <rguenther@suse.de>
768 * libgcov.c: Remove stdio.h include and NULL un-define.
770 2012-03-13 Richard Guenther <rguenther@suse.de>
773 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
775 2012-03-13 Richard Guenther <rguenther@suse.de>
777 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
779 2012-03-13 Richard Guenther <rguenther@suse.de>
781 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
782 and __gthread_mutex_init_function definitions.
784 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
786 * config.host (mips*-*-openbsd*): Remove.
788 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
790 * config.host: Remove alpha*-dec-osf5.1* handling.
791 * config/alpha/gthr-posix.c: Remove.
792 * config/alpha/libgcc-osf5.ver: Remove.
793 * config/alpha/osf5-unwind.h: Remove.
794 * config/alpha/t-osf-pthread: Remove.
795 * config/alpha/t-slibgcc-osf: Remove.
796 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
797 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
798 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
799 * mkmap-flat.awk: Remove osf_export handling.
801 2012-03-12 Richard Guenther <rguenther@suse.de>
803 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
804 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
805 (__gthread_mutex_init_function): New function.
806 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
809 * libgcov.c: Include gthr.h.
810 (__gcov_flush_mx): New global variable.
811 (init_mx, init_mx_once): New functions.
812 (__gcov_flush): Protect self with a mutex.
813 (__gcov_fork): Re-initialize mutex after forking.
814 * unwind-dw2-fde.c: Change condition under which to use
815 __GTHREAD_MUTEX_INIT_FUNCTION.
817 2012-03-12 Tristan Gingold <gingold@adacore.com>
819 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
820 * config/ia64/t-vms: Likewise.
822 2012-03-11 Michael Hope <michael.hope@linaro.org>
824 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
827 2012-03-07 Walter Lee <walt@tilera.com>
829 * config/tilepro/atomic.c: Rename "atomic_" prefix to
831 (atomic_xor): Rename and move definition to
832 config/tilepro/atomic.h.
833 (atomic_nand): Ditto.
834 * config/tilepro/atomic.h: Rename "atomic_" prefix to
836 (arch_atomic_xor): Move from config/tilepro/atomic.c.
837 (arch_atomic_nand): Ditto.
839 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
842 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
844 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
847 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
850 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
854 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
855 if RAMPZ affects reading from RAM.
856 (__tablejump_elpm__): Ditto.
858 (__movmemx_hi): Ditto.
859 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
860 (__do_global_dtors): Ditto.
861 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
862 (__movmemx_hi): Ditto.
864 2012-03-05 Richard Henderson <rth@redhat.com>
866 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
867 [ARM] (count_trailing_zeros): Use the builtin.
869 2012-03-01 Kai Tietz <ktietz@redhat.com>
871 * soft-fp: Imported from glibc upstream.
873 2012-02-28 Kai Tietz <ktietz@redhat.com>
875 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
876 for mingw-targets as attribute gcc_struct.
878 2012-02-28 Ian Lance Taylor <iant@google.com>
880 * generic-morestack.c (__splitstack_releasecontext): Correct call
881 to __morestack_release_segments.
883 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
886 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
887 for __linux__ when removing signals from __morestack_fullmask.
889 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
892 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
894 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
896 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
897 instead of HAVE_INITFINI_ARRAY.
898 * config/ia64/crtend.S: Likewise.
900 2012-02-20 Kai Tietz <ktietz@redhat.com>
903 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
905 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
906 to w32-unwind.h header.
908 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
910 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
911 (mips*-*-linux*): Remove t-slibgcc-libgcc.
912 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
913 * config/mips/mips16.S (__mips16_rdhwr): Delete.
915 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
917 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
919 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
922 * config/darwin-crt-tm.c: Correct typo.
924 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
925 Patrick Marlier <patrick.marlier@gmail.com>
928 * config/darwin-crt-tm.c: Generate dummy functions.
930 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
931 Patrick Marlier <patrick.marlier@gmail.com>
934 * config/darwin-crt-tm.c (getTMCloneTable): New function.
935 (__doTMRegistrations): Call it.
936 (__doTMdeRegistrations): Likewise.
938 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
939 Anatoly Sokolov <aesok@post.ru>
940 Eric Weddington <eric.weddington@atmel.com>
943 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
944 (__epilogue_restores__): Ditto.
946 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
950 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
951 Solaris 11 and slightly reformat.
952 (sparc_is_sighandler): Likewise.
954 2012-02-14 Walter Lee <walt@tilera.com>
956 * config.host: Handle tilegx and tilepro.
957 * config/tilegx/sfp-machine.h: New file.
958 * config/tilegx/sfp-machine32.h: New file.
959 * config/tilegx/sfp-machine64.h: New file.
960 * config/tilegx/t-crtstuff: New file.
961 * config/tilegx/t-softfp: New file.
962 * config/tilegx/t-tilegx: New file.
963 * config/tilepro/atomic.c: New file.
964 * config/tilepro/atomic.h: New file.
965 * config/tilepro/linux-unwind.h: New file.
966 * config/tilepro/sfp-machine.h: New file.
967 * config/tilepro/softdivide.c: New file.
968 * config/tilepro/softmpy.S: New file.
969 * config/tilepro/t-crtstuff: New file.
970 * config/tilepro/t-tilepro: New file.
972 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
976 * gthr-posix.h: Allow static initializer macros to be disabled.
977 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
979 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
981 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
982 Add t-slibgcc-libgcc to tmake_file.
983 * config/mips/libgcc-mips16.ver: Revert previous patch.
984 * config/mips/mips16.S (__mips16_rdhwr): Hide.
986 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
987 Jayant R Sonar <jayant.sonar@kpitcummins.com>
989 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
990 * config/cr16/crti.S: New file.
991 * config/cr16/crtlibid.S: New file.
992 * config/cr16/crtn.S: New file.
993 * config/cr16/lib1funcs.S: New file.
994 * config/cr16/t-cr16: New file.
995 * config/cr16/t-crtlibid: New file.
996 * config/cr16/unwind-dw2.h: New file.
997 * config/cr16/unwind-cr16.c: New file.
998 * config/cr16/divmodhi3.c: New file.
1000 2012-01-25 Alan Modra <amodra@gmail.com>
1002 * config/rs6000/t-linux64: Delete. Move..
1003 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1004 * config/rs6000/t-linux: ..and libgcc flags to here.
1006 2012-01-22 Douglas B Rupp <rupp@gnat.com>
1008 * config.host (i[34567]86-*-interix3*):
1009 Change triplet to i[34567]86-*-interix[3-9]*.
1010 * configure: Regenerate.
1012 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
1013 Richard Sandiford <rdsandiford@googlemail.com>
1015 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1016 * config/mips/mips16.S (__mips16_rdhwr): New function.
1017 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1019 2012-01-11 Nathan Sidwell <nathan@acm.org>
1021 * libgcov.c (__gcov_init): Ignore objects with no functions.
1023 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
1026 Extend __pgmx semantics to linearize memory.
1027 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1028 * config/avr/lib1funcs.S (__xload_1): New function.
1029 (__movmemx_qi, __movmemx_hi): New functions.
1030 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1033 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1035 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1036 purported sigacthandler address isn't null before dereferencing it.
1037 (sparc_is_sighandler): Likewise.
1039 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
1042 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1043 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
1044 (sparc_is_sighandler): Likewise.
1045 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1047 2012-01-06 Tristan Gingold <gingold@adacore.com>
1049 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1050 compatibility thunks...
1051 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1052 (crtbeginS.o, crtendS.o): ... and these to ...
1053 * config/ia64/t-ia64-elf: ... this new file.
1054 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1055 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1057 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1059 * configure: Regenerate.
1060 * config/s390/t-crtstuff: Remove -fPIC.
1062 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1065 * enable-execute-stack-mprotect.c (getpagesize): Do not define
1068 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1071 * config/avr/lib1funcs.S: Remove FIXME comments.
1072 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1074 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1076 Implement light-weight DImode support.
1077 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1078 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1079 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1080 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1082 2011-12-30 Nathan Sidwell <nathan@acm.org>
1084 * libgcov.c (gcov_crc32): Remove global var.
1085 (free_fn_data): New function.
1086 (buffer_fn_data): Pass in filename, more robust error recovery.
1087 (crc32_unsigned): New function.
1088 (gcov_exit): More robust detection of new program. More robust
1090 (__gcov_init): Do not update program's crc here.
1092 2011-12-21 Tristan Gingold <gingold@adacore.com>
1094 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1096 2011-12-21 Ian Lance Taylor <iant@google.com>
1098 * config/i386/morestack.S: Simplify CFI opcodes throughout.
1100 2011-12-20 Ian Lance Taylor <iant@google.com>
1102 * config/i386/morestack.S (__morestack_non_split): If there is
1103 enough stack space already, don't split. Ask for more stack space
1106 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
1108 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1110 (_Unwind_DebugHook): New function.
1111 (uw_restore_core_regs): New define.
1112 (unwind_phase2): Use uw_restore_core_regs instead of
1114 (unwind_phase2_forced): Likewise.
1115 (__gnu_Unwind_Resume): Likewise.
1117 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
1119 * config/alpha/linux-unwind.h: Update copyright years.
1120 (MD_FROB_UPDATE_CONTEXT): New define.
1121 (alpha_frob_update_context): New function.
1123 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
1125 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1126 tmake_file rather replacing it.
1128 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
1130 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1131 function is not used for PPC64.
1132 (save_world): Amend comments. Update the VRsave mask to reflect the
1134 (rest_world): Update comments, do not clobber r10, do not use r8.
1135 (eh_rest_world_r10): Amend comments, do not use r8.
1136 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1137 no longer used, move restore of CR and target address to the end of
1140 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1142 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1143 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1145 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
1148 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1149 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1151 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1153 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1155 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
1158 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1159 * config/avr/lib1funcs.S (__muldi3): New function.
1161 2011-12-06 Andrew Pinski <apinski@cavium.com>
1163 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1165 (__frame_dummy_init_array_entry): Likewise.
1167 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
1169 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1173 * config/avr/lib1funcs.S (__prologue_saves__,
1174 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1175 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1177 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1179 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1181 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1184 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1185 (_ITM_deregisterTMCloneTable): Likewise.
1186 (__register_frame_info): Fix unused warning.
1187 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1188 pthread_default_stacksize_np): Likewise.
1189 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1191 2011-11-29 DJ Delorie <dj@redhat.com>
1193 * config.host (rl78-*-elf): New case.
1194 * config/rl78: New directory for the Renesas RL78.
1196 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1198 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1201 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1204 * config/rs6000/t-savresfgpr: New file.
1205 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1206 $(srcdir)/config/rs6000/eabi.S.
1207 * config/rs6000/t-ppccomm-ldbl: Remove.
1208 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1210 (powerpc-*-eabispe*): Likewise.
1211 (powerpc-*-eabi*): Likewise.
1212 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1213 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1214 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1215 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1217 (powerpc-*-eabisim*): Likewise.
1218 (powerpc-*-elf*): Likewise.
1219 (powerpc-*-eabialtivec*): Likewise.
1220 (powerpc-xilinx-eabi*): Likewise.
1221 (powerpc-*-rtems*): Likewise.
1222 (powerpcle-*-elf*): Likewise.
1223 (powerpcle-*-eabisim*): Likewise.
1224 (powerpcle-*-eabi*): Likewise.
1226 2011-11-27 Ian Lance Taylor <iant@google.com>
1228 * generic-morestack.c (__splitstack_find): Check for NULL old
1230 (__splitstack_resetcontext): New function.
1231 (__splitstack_releasecontext): New function.
1232 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1234 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1236 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1238 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1240 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1242 2011-11-26 Richard Henderson <rth@redhat.com>
1244 * config/m68k/linux-atomic.c: New file.
1245 * config/m68k/t-linux: New file.
1246 * config.host (m68k-uclinux, m68k-linux): Use it.
1248 2011-11-26 Richard Henderson <rth@redhat.com>
1250 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1251 (__TMC_END__): Only declare if hidden is available; in the definition,
1252 if hidden is unavailable add a null record.
1253 (deregister_tm_clones, register_tm_clones): New.
1254 (__do_global_dtors_aux, frame_dummy): Use them.
1255 (__do_global_dtors, __do_global_ctors_1): Likewise.
1257 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
1259 * config/darwin-crt-tm.c: New file.
1260 * config.host (darwin): Build crttms.o crttme.o to provide
1261 startup and shutdown for tm clones.
1262 * config/t-darwin (crttms.o): New build rule.
1263 (crttme.o): Likewise.
1265 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
1267 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1270 2011-11-21 Richard Henderson <rth@redhat.com>
1272 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1273 (__TMC_LIST__, __TMC_END__): New.
1274 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1275 (__do_global_dtors): Likewise.
1276 (frame_dummy): Call _ITM_registerTMCloneTable.
1277 (__do_global_ctors_1): Likewise.
1279 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1281 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1282 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1283 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1284 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1285 * config/i386/t-darwin64: Remove.
1286 * config/sh/t-netbsd (LIB2ADD): Remove.
1288 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
1291 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1292 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1293 * config/avr/lib1funcs.S (wmov): New assembler macro.
1294 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1295 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1296 (__udivmod64): New function.
1297 (__negdi2): New function.
1299 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
1301 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1302 *-*-freebsd*aout*): Remove.
1304 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
1306 * static-object.mk (c_flags-$o): Save c_flags.
1307 ($(base)$(objext)): Use it.
1309 2011-11-18 Steve Ellcey <sje@cup.hp.com>
1311 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1313 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
1316 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1317 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1320 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1322 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1324 (aeabi_uidivmod): Likewise.
1325 (umodsi3): Likewise.
1327 (aeabi_idivmod): Likewise.
1330 2011-11-16 Tristan Gingold <gingold@adacore.com>
1332 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1334 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
1337 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1338 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1340 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1342 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1344 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1345 * config/pa/t-stublib64: Delete.
1347 2011-11-12 Richard Henderson <rth@redhat.com>
1349 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1350 cast the pointer argument to _Unwind_SetGRPtr.
1352 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1354 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1356 2011-11-09 Ian Lance Taylor <iant@google.com>
1358 * generic-morestack.c: Include <string.h>.
1359 (uintptr_type): Define.
1360 (struct initial_sp): Add dont_block_signals field. Reduce size of
1362 (allocate_segment): Set prev field to NULL. Don't set
1363 __morestack_current_segment or __morestack_segments.
1364 (__generic_morestack): Update current->prev and *pp after calling
1366 (__morestack_block_signals): Don't do anything if
1367 dont_block_signals is set.
1368 (__morestack_unblock_signals): Likewise.
1369 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1371 (__splitstack_block_signals): New function.
1372 (enum __splitstack_content_offsets): Define.
1373 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1374 (__splitstack_makecontext): New function.
1375 (__splitstack_block_signals_context): New function.
1376 (__splitstack_find_context): New function.
1377 * config/i386/morestack.S (__morestack_get_guard): New function.
1378 (__morestack_set_guard, __morestack_make_guard): New functions.
1379 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1381 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1383 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1384 (i[34567]86-*-mingw*): ... here.
1385 (x86_64-*-mingw*): ... here.
1387 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1389 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1391 2011-11-07 Nathan Sidwell <nathan@acm.org>
1393 * libgcov.c (struct gcov_fn_buffer): New struct.
1394 (buffer_fn_data): New helper.
1395 (gcov_exit): Rework for new gcov data structures.
1397 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
1400 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1402 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1404 * config.host (tmake_file): Correct comment.
1405 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1407 (bfin*-uclinux*): Likewise.
1408 (bfin*-linux-uclibc*): Likewise.
1409 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1411 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1413 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1414 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1415 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1416 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1417 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1418 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1419 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1420 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1421 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1422 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1423 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1424 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1425 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1427 * config/bfin/t-elf: Remove.
1428 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1430 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1432 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1433 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1434 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1435 (lm32-*-elf*): ... this.
1436 (lm32-*-rtems*): ... and this.
1438 (m32r-*-rtems*): Add to tmake_file.
1439 (moxie-*-rtems*): Likewise.
1440 (sparc-*-rtems*): Likewise.
1441 Remove t-rtems from tmake_file.
1442 (sparc64-*-rtems*): Likewise.
1443 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1446 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1449 * config/gthr-posix.h: Move ...
1450 * gthr-posix.h: ... here.
1451 * config/gthr-lynx.h: Reflect this.
1452 * config/gthr-vxworks.h: Likewise.
1453 * config/rs6000/gthr-aix.h: Likewise.
1454 * configure.ac (target_thread_file): Likewise.
1455 * configure: Regenerate.
1457 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1459 * config.host (arm*-*-rtemseabi*): New target.
1461 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1464 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1467 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1469 * config.host (epiphany-*-elf*): New configuration.
1470 * config/epiphany: New Directory.
1472 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1474 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1475 * config/avr/t-rtems: New.
1476 Filter out _exit from LIB1ASMFUNCS.
1478 2011-11-04 David S. Miller <davem@davemloft.net>
1480 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1481 * configure: Rebuild.
1483 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1485 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1488 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
1491 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1492 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1494 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1497 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1499 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1501 * config/c6x/t-elf (LIB2ADDEH): Set.
1502 * config/c6x/t-c6x-elf: Remove.
1504 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1506 * config/i386/sol2-ci.S: Rename to ...
1507 * config/i386/crti.S: ... this.
1508 * config/i386/sol2-cn.S: Rename to ...
1509 * config/i386/crtn.S: ... this.
1510 * config/sparc/sol2-ci.S: Rename to ...
1511 * config/sparc/crti.S: ... this.
1512 * config/sparc/sol2-cn.S: Rename to ...
1513 * config/sparc/crtn.S: ... this.
1514 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1515 (crti.o, crtn.o): Remove.
1517 2011-11-04 Tristan Gingold <gingold@adacore.com>
1519 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1521 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
1523 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1525 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
1527 * config.host (crisv32-*-none, cris-*-none): Remove.
1528 (crisv32-*-elf): Append to tmake_file, don't just set it.
1529 (cris-*-elf): Add missing t-fdpbit to tmake_file.
1531 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1533 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1534 (ecrtn$(objext)): Likewise.
1535 (ncrti$(objext)): Likewise.
1536 (ncrtn$(objext)): Likewise.
1538 2011-11-03 Andreas Schwab <schwab@redhat.com>
1540 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1542 2011-11-02 David S. Miller <davem@davemloft.net>
1544 * configure.ac: Set host_address on sparc too.
1545 * configure: Regenerate.
1546 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1547 based upon host_address.
1548 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1550 2011-11-02 Jason Merrill <jason@redhat.com>
1552 * config/rs6000/t-ppccomm: Add missing \.
1554 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1556 * gthr-single.h, gthr.h: New files.
1557 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1558 config/gthr-vxworks.h, config/i386/gthr-win32.h,
1559 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1560 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1561 * config/i386/gthr-win32.c: Include "gthr-win32.h".
1562 * configure.ac (thread_header): New variable.
1563 Set it depending on target_thread_file.
1564 (gthr-default.h): Link from $thread_header.
1565 * configure: Regenerate.
1566 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1568 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1570 * configure.ac (tm_file_): New variable.
1571 Determine from tm_file.
1572 (tm_file, tm_defines): Substitute.
1573 * configure: Regenerate.
1574 * mkheader.sh: New file.
1575 * Makefile.in (clean): Remove libgcc_tm.h.
1576 ($(objects)): Depend on libgcc_tm.h.
1577 (libgcc_tm_defines, libgcc_tm_file): New variables.
1578 (libgcc_tm.h, libgcc_tm.stamp): New targets.
1579 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1580 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1581 ($(extra-parts)): Depend on libgcc_tm.h.
1582 * config.host (tm_defines, tm_file): New variable.
1583 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1584 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1585 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1586 (avr-*-rtems*): Likewise.
1587 (avr-*-*): Likewise.
1588 (frv-*-elf): Likewise.
1589 (frv-*-*linux*): Likewise.
1590 (h8300-*-rtems*): Likewise.
1591 (h8300-*-elf*): Likewise.
1592 (i[34567]86-*-darwin*): Likewise.
1593 (x86_64-*-darwin*): Likewise.
1594 (rx-*-elf): Likewise.
1595 (tic6x-*-uclinux): Likewise.
1596 (tic6x-*-elf): Likewise.
1597 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1598 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1599 * config/i386/cygming-crtbegin.c: Likewise.
1600 * config/i386/cygming-crtend.c: Likewise.
1601 * config/ia64/fde-vms.c: Likewise.
1602 * config/ia64/unwind-ia64.c: Likewise.
1603 * config/libbid/bid_gcc_intrinsics.h: Likewise.
1604 * config/rs6000/darwin-fallback.c: Likewise.
1605 * config/stormy16/lib2funcs.c: Likewise.
1606 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1607 * crtstuff.c: Likewise.
1608 * dfp-bit.h: Likewise.
1609 * emutls.c: Likewise.
1610 * fixed-bit.c: Likewise.
1611 * fp-bit.c: Likewise.
1612 * generic-morestack-thread.c: Likewise.
1613 * generic-morestack.c: Likewise.
1614 * libgcc2.c: Likewise.
1615 * libgcov.c: Likewise.
1616 * unwind-dw2-fde-dip.c: Likewise.
1617 * unwind-dw2-fde.c: Likewise.
1618 * unwind-dw2.c: Likewise.
1619 * unwind-sjlj.c: Likewise.
1621 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1623 * configure.ac: Include ../config/picflag.m4.
1624 (GCC_PICFLAG): Call it.
1626 * configure: Regenerate.
1627 * Makefile.in (gcc_srcdir): Remove.
1628 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1629 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1630 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1631 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1632 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1635 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1636 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1637 to refer to libgcc2.c.
1639 * config/darwin-64.c: New file.
1640 * config/darwin-crt3.c: Remove comment.
1641 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1642 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1643 config/udivmodsi4.c: New files.
1644 * config/memcmp.c, config/memcpy.c, config/memmove.c,
1645 config/memset.c: New files.
1646 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1647 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1648 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1649 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1650 * config/t-openbsd-thread: New file.
1651 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1652 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1653 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1654 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1657 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1658 to refer to gthr-posix.c.
1659 * config/alpha/t-vms (LIB2ADD): Set.
1660 * config/alpha/vms-gcc_shell_handler.c: New file.
1661 * config/arm/bpabi.c, config/arm/fp16.c,
1662 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1663 config/arm/unaligned-funcs.c: New files.
1664 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1665 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1666 * config/arm/t-linux: Likewise.
1667 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1668 * config/arm/t-netbsd: New file.
1669 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1670 * config/arm/t-symbian (LIB2ADD_ST): Set.
1671 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1672 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1673 * config/bfin/t-elf: New file.
1674 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1675 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1676 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1677 config/c6x/ltf.c: New files.
1678 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1679 (HOST_LIBGCC2_CFLAGS): Set.
1680 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1681 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1682 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1684 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1685 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1686 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1687 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1688 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1690 * config/frv/t-frv (LIB2ADD): Set.
1691 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1692 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1693 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1694 config/h8300/popcounthi2.c: New files.
1695 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1696 * config/i386/gthr-win32.c: New file.
1697 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1698 * config/i386/t-cygwin: Likewise.
1699 * config/i386/t-darwin, config/i386/t-darwin64,
1700 config/i386/t-gthr-win32, config/i386/t-interix: New files.
1701 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1702 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1703 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1704 * config/ia64/quadlib.c: New file.
1705 * config/ia64/t-hpux (LIB2ADD): Set.
1706 * config/ia64/t-ia64: Add comment.
1707 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1708 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1709 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1710 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1711 * config/m32c/t-m32c (LIB2ADD): Set.
1712 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1713 * config/m32r/t-m32r: Likewise.
1714 * config/m68k/fpgnulib.c: New file.
1715 * config/m68k/t-floatlib (LIB2ADD): Set.
1716 (xfgnulib.c): New target.
1717 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1718 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1719 * config/mep/t-mep (LIB2ADD): Set.
1720 * config/microblaze/divsi3.asm: Rename to divsi3.S.
1721 * config/microblaze/moddi3.asm: Rename to moddi3.S.
1722 * config/microblaze/modsi3.asm: Rename to modsi3.S.
1723 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1724 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1725 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1726 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1727 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1728 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1729 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1731 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1732 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1733 * config/pa/fptr.c, config/pa/lib2funcs.S,
1734 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1735 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1736 (LIB2ADD, LIB2ADD_ST): Set.
1737 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1738 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1740 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1741 * config/pdp11/t-pdp11: New file.
1742 * config/picochip/libgccExtras/adddi3.S,
1743 config/picochip/libgccExtras/ashlsi3.S,
1744 config/picochip/libgccExtras/ashrsi3.S,
1745 config/picochip/libgccExtras/clzsi2.S,
1746 config/picochip/libgccExtras/cmpsi2.S,
1747 config/picochip/libgccExtras/divmod15.S,
1748 config/picochip/libgccExtras/divmodhi4.S,
1749 config/picochip/libgccExtras/divmodsi4.S,
1750 config/picochip/libgccExtras/lshrsi3.S,
1751 config/picochip/libgccExtras/parityhi2.S,
1752 config/picochip/libgccExtras/popcounthi2.S,
1753 config/picochip/libgccExtras/subdi3.S,
1754 config/picochip/libgccExtras/ucmpsi2.S,
1755 config/picochip/libgccExtras/udivmodhi4.S,
1756 config/picochip/libgccExtras/udivmodsi4.S: New files.
1757 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1758 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1759 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1760 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1761 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1762 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1763 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
1764 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1766 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1767 (HOST_LIBGCC2_CFLAGS): Set.
1768 * config/rs6000/t-darwin64: New file.
1769 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1770 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1771 * config/rs6000/t-ppccomm (LIB2ADD): Add
1772 $(srcdir)/config/rs6000/tramp.S.
1773 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1774 Add $(srcdir)/config/rs6000/eabi.S.
1775 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1776 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1777 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1778 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1779 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1780 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1781 * config/rs6000/tramp.S: New file.
1782 * config/s390/t-tpf: Remove.
1783 * config/sh/linux-atomic.S: New file.
1784 * config/sh/t-linux (LIB2ADD): Set.
1785 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1786 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1787 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1789 (HOST_LIBGCC2_CFLAGS): Set.
1790 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1791 * config/spu/divmodti4.c, config/spu/divv2df3.c,
1792 config/spu/float_disf.c, config/spu/float_unsdidf.c,
1793 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1794 config/spu/mfc_multi_tag_release.c,
1795 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1796 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1797 config/spu/multi3.c: New files.
1798 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1799 (HOST_LIBGCC2_CFLAGS): Set.
1800 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1801 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1802 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1803 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1804 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1805 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1806 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1807 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1808 config/stormy16/umodsi3.c: New files.
1809 * config/xtensa/lib2funcs.S: New file.
1810 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1811 * config/xtensa/t-xtensa (LIB2ADD): Set.
1812 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1813 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1814 Add t-freebsd-thread to tmake_file for posix threads.
1815 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1816 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1817 (*-*-lynxos*): Likewise.
1818 (*-*-netbsd*): Likewise.
1819 (*-*-openbsd*): Likewise.
1820 Add t-openbsd-thread to tmake_file for posix threads.
1821 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1822 (*-*-vxworks*): Set tmake_file.
1823 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1824 (alpha*-*-freebsd*): Likewise.
1825 (alpha*-*-netbsd*): Likewise.
1826 (alpha*-*-openbsd*): Likewise.
1827 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1828 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1829 (alpha*-dec-*vms*): Likewise.
1830 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1831 (bfin*-elf*): Add bfin/t-elf to tmake_file.
1832 (bfin*-uclinux*): Likewise.
1833 (bfin*-linux-uclibc*): Likewise.
1834 (crisv32-*-elf): Add cris/t-cris to tmake_file.
1835 (crisv32-*-none): Likewise.
1836 (cris-*-elf): Likewise.
1837 (cris-*-none): Likewise.
1838 (cris-*-linux*, crisv32-*-linux*): Likewise.
1839 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1841 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1843 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1844 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1845 (x86_64-*-elf*): Likewise.
1846 (i[34567]86-*-nto-qnx*): Likewise.
1847 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1849 (x86_64-*-mingw*): Likewise.
1850 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1851 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1852 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1853 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1854 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1856 (mipsisa64sr71k-*-elf*): Likewise.
1857 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1858 (mips-*-elf*, mipsel-*-elf*): Likewise.
1859 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1860 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1861 (mips*-*-rtems*): Likewise.
1862 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1864 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1865 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1866 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1867 (spu-*-elf*): Likewise.
1868 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1870 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1872 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1873 $(srcdir) to refer to $(LIB1ASMSRC).
1875 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1876 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1877 config/arm/lib1funcs.S: New files.
1878 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1879 * config/arm/t-arm: New file.
1880 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1881 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1882 config/arm/t-strongarm-elf: New files.
1883 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1884 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1885 * config/avr/lib1funcs.S: New file.
1886 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1887 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1888 * config/c6x/lib1funcs.S: New file.
1889 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1890 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1891 * config/frv/lib1funcs.S: New file.
1892 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1893 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1894 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1895 * config/ia64/__divxf3.asm: Rename to ...
1896 * config/ia64/__divxf3.S: ... this.
1897 Adapt lib1funcs.asm filename.
1898 * config/ia64/_fixtfdi.asm: Rename to ...
1899 * config/ia64/_fixtfdi.S: ... this.
1900 Adapt lib1funcs.asm filename.
1901 * config/ia64/_fixunstfdi.asm: Rename to ...
1902 * config/ia64/_fixunstfdi.S: ... this.
1903 Adapt lib1funcs.asm filename.
1904 * config/ia64/_floatditf.asm: Rename to ...
1905 * config/ia64/_floatditf.S: ... this.
1906 Adapt lib1funcs.asm filename.
1907 * config/ia64/lib1funcs.S: New file.
1908 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1909 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1910 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1911 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1912 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1913 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1914 * config/mep/lib1funcs.S: New file.
1915 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1916 * config/mips/mips16.S: New file.
1917 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1918 * config/pa/milli64.S: New file.
1919 * config/pa/t-linux, config/pa/t-linux64: New files.
1920 * config/picochip/lib1funcs.S: New file.
1921 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1922 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1923 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1924 * config/sh/t-netbsd: New file.
1925 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1926 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1927 * config/sh/t-sh64: New file.
1928 * config/sparc/lb1spc.S: New file.
1929 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1931 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1932 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1933 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1934 config/xtensa/lib1funcs.S: New files.
1935 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1936 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1938 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1939 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1940 (arm*-*-linux*): Likewise.
1941 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1942 arm*-*-linux-*eabi, add arm/t-linux otherwise.
1943 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1944 (arm*-*-ecos-elf): Likewise.
1945 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1946 (arm*-*-rtems*): Likewise.
1947 (arm*-*-elf): Likewise.
1948 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1949 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1950 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1951 (bfin*-uclinux*): Likewise.
1952 (bfin*-linux-uclibc*): Likewise.
1953 (bfin*-rtems*): Likewise.
1954 (bfin*-*): Likewise.
1955 (fido-*-elf): Merge into m68k-*-elf*.
1956 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1957 (frv-*-*linux*): Add frv/t-frv to tmake_file.
1958 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1959 (h8300-*-elf*): Likewise.
1960 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1961 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1962 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1963 (i[34567]86-*-mingw*): Likewise.
1964 (x86_64-*-mingw*): Likewise.
1965 (i[34567]86-*-interix3*): Likewise.
1966 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1967 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1968 (m68k-*-elf*): Also handle fido-*-elf.
1969 Add m68k/t-floatlib to tmake_file.
1970 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1971 (m68k-*-linux*): Likewise.
1972 (m68k-*-rtems*): Likewise.
1973 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1974 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1976 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1977 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1978 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1979 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1980 sh/t-netbsd to tmake_file.
1981 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1982 (sh-*-rtems*): Add sh/t-sh to tmake_file.
1983 (sh-wrs-vxworks): Likewise.
1984 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1986 (v850*-*-*): Add v850/t-v850 to tmake_file.
1987 (vax-*-linux*): Add vax/t-linux to tmake_file.
1988 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1990 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1992 * crtstuff.c: New file.
1993 * Makefile.in (CRTSTUFF_CFLAGS): Define.
1994 (CRTSTUFF_T_CFLAGS): Define.
1995 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1996 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1997 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2000 (crtbeginT.o): Use $(objext).
2001 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2002 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2003 (gcc-extra-parts): Remove.
2004 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2006 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2007 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2008 Add t-crtstuff-pic to tmake_file.
2009 (*-*-lynxos*): New case.
2010 Set tmake_file, extra_parts.
2011 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2012 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2013 *-*-netbsdelf[2-9]*.
2014 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2015 (*-*-rtems*): Set extra_parts.
2016 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2017 (*-*-uclinux*): New case.
2019 (*-*-vms*): New case.
2020 Set tmake_file, extra_parts.
2021 (*-*-elf): Set extra_parts.
2022 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2023 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2026 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2028 (arm*-*-freebsd*): Add t-crtin to tmake_file.
2029 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2030 (arm-wrs-vxworks): Append to tmake_file.
2032 (arm*-*-uclinux*): Set extra_parts.
2033 (arm*-*-ecos-elf): Likewise.
2034 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2036 (arm*-*-rtems*): Set extra_parts.
2037 (arm*-*-elf): Likewise.
2038 (avr-*-rtems*): Clear extra_parts.
2039 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2041 (bfin*-uclinux*): Likewise.
2042 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2043 (bfin*-rtems*): Append to tmake_file.
2045 (bfin*-*): Likewise.
2046 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2047 (crisv32-*-elf): ... this.
2048 (crisv32-*-none): ... this.
2049 (cris-*-elf, cris-*-none): New cases.
2050 Add cris/t-elfmulti to tmake_file.
2051 (fr30-*-elf): Append to tmake_file.
2053 (frv-*-elf): Append to tmake_file, add frv/t-frv.
2055 (h8300-*-rtems*): Append to tmake_file.
2057 (h8300-*-elf*): Likewise.
2058 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2060 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2062 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2063 (x86_64-*-elf*): Likewise.
2064 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2065 (x86_64-*-freebsd*): Likewise.
2066 (x86_64-*-netbsd*): Likewise.
2067 (i[34567]86-*-linux*): Likewise.
2068 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2069 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2070 (x86_64-*-linux*): Likewise.
2071 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2072 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2075 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2076 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2077 Append to extra_parts, remove crtbegin.o, crtend.o.
2078 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2079 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2080 crtend.o, crtbeginS.o, crtendS.o.
2081 (ia64*-*-linux*): Comment extra_parts.
2082 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2084 (iq2000*-*-elf*): Clear extra_parts.
2085 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2086 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2087 (m32r-*-elf*, m32r-*-rtems*): Split off ...
2088 (m32r-*-rtems*): ... this.
2089 Add m32r/t-m32r to tmake_file.
2090 (m68k-*-elf*): Add t-crtin to tmake_file.
2091 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2092 (mcore-*-elf): Likewise.
2093 (microblaze*-*-*): Set extra_parts.
2094 (mips*-sde-elf*): New case.
2095 Set tmake_file, extra_parts.
2096 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2097 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2098 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2101 (mipsisa64sr71k-*-elf*): Likewise.
2102 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2103 (mips-*-elf*, mipsel-*-elf*): Likewise.
2104 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2105 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2106 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2107 (mips*-*-rtems*): Likewise.
2108 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2109 (moxie-*-*): Split into ...
2110 (moxie-*-elf, moxie-*-uclinux*): ... this.
2111 Add to extra_parts, remove crtbegin.o, crtend.o.
2112 (moxie-*-rtems*): New case.
2115 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2117 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2118 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2121 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2122 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2124 (powerpc-*-eabisim*): Likewise.
2125 (powerpc-*-elf*): Likewise.
2126 (powerpc-*-eabialtivec*): Likewise.
2127 (powerpc-xilinx-eabi*): Likewise.
2128 (powerpc-*-eabi*): Likewise.
2129 (powerpc-*-rtems*): Likewise.
2130 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2133 (powerpc-*-lynxos*): Add to tmake_file.
2134 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2135 rs6000/t-crtstuff, t-crtstuff-pic.
2137 (powerpcle-*-eabisim*): Likewise.
2138 (powerpcle-*-eabi*): Likewise.
2139 (rx-*-elf): Remove extra_parts.
2140 (s390x-ibm-tpf*): Set extra_parts.
2141 (score-*-elf): Set extra_parts.
2142 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2143 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2144 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2145 (sh64l*-*-netbsd*): Split into ...
2146 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2147 Add t-crtstuff-pic to tmake_file.
2149 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2151 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2152 (sparc-*-elf*): Remove t-crtin from tmake_file.
2153 Add to extra_parts, remove crtbegin.o, crtend.o.
2154 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2155 (sparc64-*-linux*): Likewise.
2156 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2157 Add to extra_parts, remove crtbegin.o, crtend.o.
2158 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2159 Add to extra_parts, remove crtbegin.o, crtend.o.
2160 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2161 Add to extra_parts, remove crtbegin.o, crtend.o.
2162 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2163 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2164 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2166 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2168 (tic6x-*-*): Change to ...
2169 (tic6x-*-elf): ... this.
2171 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2173 (am33_2.0-*-linux*): Add comment.
2174 (mep*-*-*): Add mep/t-mep to tmake_file.
2176 * config/alpha/t-vms: New file.
2177 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2178 * config/arm/crti.S, config/arm/crtn.S: New files.
2179 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2180 * config/bfin/crtlibid.S: New file.
2181 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2182 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2183 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2184 (crti.o, crtin.o): New rules.
2185 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2186 * config/c6x/t-uclinux: New file.
2187 * config/cris/t-elfmulti: New file.
2188 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2189 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2190 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2191 * config/frv/t-frv: New file.
2192 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2193 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2194 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2196 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2197 refer to cygming-crtbegin.c, cygming-crtend.c.
2199 * config/i386/t-nto: New file.
2200 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2201 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2202 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2203 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2206 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2207 (crtinitS.o): New rule.
2208 * config/ia64/vms-crtinit.S: New file.
2209 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2210 * config/m32r/initfini.c: New file.
2211 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2212 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2213 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2214 * config/mep/t-mep: New file.
2215 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2216 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2217 * config/mips/crti.S, config/mips/crtn.S: New files.
2218 * config/mips/t-crtstuff: New file.
2219 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2220 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2221 (CUSTOM_CRTIN): Set.
2222 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2224 Use $(srcdir) to refer to crti.S, crtn.S.
2225 Use .S extension, $<.
2226 * config/moxie/crti.asm: Rename to ...
2227 * config/moxie/crti.S: ... this.
2228 * config/moxie/crtn.asm: Rename to ...
2229 * config/moxie/crtn.S: ... this.
2230 * config/moxie/t-moxie: Remove.
2231 * config/pa/stublib.c: New file.
2232 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2233 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2234 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2235 * config/rs6000/t-crtstuff: New file.
2236 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2237 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2238 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2239 Make output file explicit.
2240 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2241 Make output file explicit.
2242 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2243 Make output file explicit.
2244 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2245 Make output file explicit.
2246 * config/score/crti.S, config/score/crtn.S: New files.
2247 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2248 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2250 * config/sh/t-sh, config/sh/t-superh: New files.
2251 * config/sparc/t-linux64: New file.
2252 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2253 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2254 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2255 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2256 * config/t-crtin: Remove.
2257 * config/t-crtstuff-pic: New file.
2258 * config/t-sol2 (CUSTOM_CRTIN): Set.
2259 (crti.o, crtn.o): New rules.
2260 * config/vms/t-vms: New file.
2261 * config/vms/vms-ucrt0.c: New file.
2262 * config/xtensa/t-elf: New file.
2264 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2266 * Makefile.in (SHLIB_NM_FLAGS): Set.
2267 * mkmap-flat.awk, mkmap-symver.awk: New files.
2268 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2270 * configure: Regenerate.
2271 * config/libgcc-glibc.ver: New file.
2272 * config/libgcc-libsystem.ver: New file.
2273 * config/t-libunwind (SHLIB_LC): Set.
2274 * config/t-linux: New file.
2275 * config/t-slibgcc (INSTALL_SHLIB): New.
2276 (SHLIB_INSTALL): Use it.
2277 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2278 to mkmap-symver.awk.
2279 (SHLIB_MAPFILES): Don't append, adapt pathname.
2280 (SHLIB_VERPFX): Set.
2281 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2282 to mkmap-symver.awk.
2283 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2284 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2285 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2286 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2288 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2289 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2290 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2291 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2292 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2293 * config/i386/libgcc-darwin.10.4.ver,
2294 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2296 * config/i386/t-darwin: Remove.
2297 * config/i386/t-darwin64: Likewise.
2298 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2299 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2300 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2301 * config/i386/t-linux: New file.
2302 * config/i386/t-mingw32: New file.
2303 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2304 * config/ia64/t-glibc: Rename to ...
2305 * config/ia64/t-linux: ... this.
2306 (SHLIB_MAPFILES): Set.
2307 * config/ia64/t-glibc-libunwind: Rename to ...
2308 * config/ia64/t-linux-libunwind: ... this.
2309 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2310 * config/ia64/t-slibgcc-hpux: New file.
2311 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2312 * config/m68k/t-slibgcc-elf-ver: New file.
2313 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2314 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2316 * config/pa/t-slibgcc-hpux: New file.
2317 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2319 * config/rs6000/libgcc-darwin.10.4.ver,
2320 config/rs6000/libgcc-darwin.10.5.ver: New files.
2321 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2322 config/rs6000/libgcc-glibc.ver.
2323 * config/rs6000/libgcc-ppc64.ver: Rename to
2324 config/rs6000/libgcc-ibm-ldouble.ver.
2325 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2326 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2327 * config/rs6000/t-ldbl128: Rename to ...
2328 * config/rs6000/t-linux: ... this.
2329 (SHLIB_MAPFILES): Adapt filename.
2330 * config/rs6000/t-slibgcc-aix: New file.
2331 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2332 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2333 libgcc-excl.ver, libgcc-glibc.ver.
2334 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2335 * config/sparc/libgcc-glibc.ver: New file.
2336 * config/sparc/t-linux: New file.
2337 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2338 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2339 t-slibgcc-elf-ver to tmake_file.
2340 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2342 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2343 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2344 t-slibgcc-elf-ver, t-linux to tmake_file.
2345 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2347 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2348 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2349 (alpha*-dec-*vms*): Likewise.
2350 (arm*-*-freebsd*): Append to tmake_file.
2351 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2352 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2354 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2355 tmake_file for arm*-*-symbianelf*.
2356 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2357 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2359 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2360 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2361 pa/t-slibgcc-dwarf-ver to tmake_file.
2362 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2363 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2364 (hppa*64*-*-hpux11*): Likewise.
2365 (hppa[12]*-*-hpux11*): Likewise.
2366 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2367 i386/t-crtpc, i386/t-crtfm.
2368 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2369 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2371 Add i386/t-cygwin to tmake_file.
2372 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2373 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2374 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2376 Add i386/t-mingw32 to tmake_file.
2377 (x86_64-*-mingw*): Likewise.
2378 (ia64*-*-freebsd*): Append to tmake_file.
2379 (ia64*-*-linux*): Append to tmake_file.
2380 Replace ia64/t-glibc by ia64/t-linux.
2381 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2383 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2384 t-slibgcc-hpux to tmake_file.
2385 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2386 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2387 (m32rle-*-linux*): Likewise.
2388 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2390 (microblaze*-linux*): New case.
2391 Append to tmake_file, add t-slibgcc-nolc-override.
2392 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2393 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2394 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2395 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2396 rs6000/t-slibgcc-aix to tmake_file.
2397 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2398 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2399 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2400 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2401 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2402 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2404 (sparc-*-linux*): Append to tmake_file for *-leon*.
2405 Add sparc/t-linux to tmake_file for non-Leon targets.
2406 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2407 (tic6x-*-uclinux): New case.
2408 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2409 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2410 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2411 (am33_2.0-*-linux*): Append to tmake_file.
2412 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2413 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2414 x86_64-*-kfreebsd*-gnu.
2415 Add i386/t-linux to tmake_file.
2417 2011-10-28 Ian Lance Taylor <iant@google.com>
2419 * config/i386/morestack.S: Correct CFI information to do proper
2420 returns throughout function. In 32-bit mode, save %ebx so that it
2421 is restored on unwind.
2423 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
2425 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2426 case where B3 isn't the return register.
2428 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2429 logic for doubleword pops.
2431 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
2433 * config/rs6000/t-freebsd: Add wildcard.
2435 2011-10-21 Paul Brook <paul@codesourcery.com>
2437 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2439 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
2440 Eric Botcazou <ebotcazou@adacore.com>
2443 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2444 fs->signal_frame to 1.
2446 2011-10-07 Ian Lance Taylor <iant@google.com>
2448 * generic-morestack-thread.c: #include <errno.h>.
2450 2011-10-07 Ian Lance Taylor <iant@google.com>
2453 * generic-morestack.c (__generic_morestack): Make sure the segment
2454 is large enough for both the stack frame and the copied
2457 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2460 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2463 2011-09-28 Nick Clifton <nickc@redhat.com>
2465 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2466 64-bit doubles are not enabled.
2467 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2468 and floatunsisf functions.
2470 2011-09-13 Paul Brook <paul@codesourcery.com>
2472 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2473 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2474 * unwind-arm-common.inc: New file.
2475 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2476 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2477 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2478 * config/c6x/libunwind.S: New file.
2479 * config/c6x/pr-support.c: New file.
2480 * config/c6x/unwind-c6x.c: New file.
2481 * config/c6x/unwind-c6x.h: New file.
2482 * config/c6x/t-c6x-elf: New file.
2484 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
2486 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2487 (ASM_DIVZERO): Ditto.
2488 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2490 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2492 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2494 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2497 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2498 instead of an assembly one.
2500 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
2503 * Makefile.in (install-unwind_h): Create
2504 $(gcc_objdir)/include/unwind.h atomically.
2506 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2508 * Makefile.in (install-unwind_h): Remove destination file first.
2510 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2513 * config/mips/t-mips16: New file.
2514 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2515 (mips*-*-linux*): Likewise.
2516 (mips*-sde-elf*): Likewise.
2517 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2518 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2519 Add mips/t-mips16 to tmake_file.
2520 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2521 (mips-*-elf*): Likewise.
2522 (mips64-*-elf*): Likewise.
2523 (mips64orion-*-elf*): Likewise.
2524 (mips*-*-rtems*): Likewise.
2525 (mipstx39-*-elf*): Likewise.
2526 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2527 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2529 Use $(srcdir) to refer to sync.c.
2531 ($(libgcc-sync-funcs-o)): Likewise.
2532 ($(libgcc-sync-size-funcs-s-o)): Likewise.
2533 ($(libgcc-sync-funcs-s-o)): Likewise.
2535 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2537 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2540 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
2543 * config/i386/value-unwind.h: New.
2545 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
2547 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2548 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2549 Add to tmake_file rather than overriding it.
2551 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2553 * config/t-softfp: Remove.
2554 * soft-fp: Moved from ../gcc/config.
2555 * soft-fp/README: Remove t-softfp reference.
2556 * soft-fp/t-softfp: Move to config/t-softfp.
2557 (softfp_machine_header): Remove.
2558 (softfp_file_list): Remove config subdir.
2559 (soft-fp-objects): New variable.
2560 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2561 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2562 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2563 * config/t-softfp-excl: New file.
2564 * config/t-softfp-sfdf: New file.
2565 * config/t-softfp-tf: New file.
2566 * config/no-sfp-machine.h: New file.
2567 * config/arm/sfp-machine.h: New file.
2568 * config/arm/t-softfp: New file.
2569 * config/c6x/sfp-machine.h: New file.
2570 * config/i386/32/t-fprules-softfp: Rename to ...
2571 * config/i386/32/t-softfp: ... this.
2572 (tifunctions, LIB2ADD): Remove.
2573 (softfp_int_modes): Override.
2574 * config/i386/64/t-softfp-compat (tf-functions): Remove config
2576 * config/i386/64/eqtf2.c: Likewise.
2577 * config/i386/64/getf2.c: Likewise.
2578 * config/i386/64/letf2.c: Likewise.
2579 * config/ia64/sft-machine.h: New file.
2580 * config/ia64/t-fprules-softfp: Rename to ...
2581 * config/ia64/t-softfp: ... this.
2582 * config/lm32/sfp-machine.h: New file.
2583 * config/moxie/t-moxie-softfp: Remove.
2584 * config/rs6000/ibm-ldouble-format: New file.
2585 * config/rs6000/ibm-ldouble.c: New file.
2586 * config/rs6000/libgcc-ppc-glibc.ver: New file
2587 * config/rs6000/libgcc-ppc64.ver: New file
2588 * config/rs6000/sfp-machine.h: New file.
2589 * config/rs6000/t-freebsd: New file.
2590 * config/rs6000/t-ibm-ldouble: New file.
2591 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2592 libgcc-ppc-glibc.ver.
2593 * config/rs6000/t-linux64: New file.
2594 * config/rs6000/t-ppccomm (LIB2ADD): Add
2595 $(srcdir)/config/rs6000/ibm-ldouble.c.
2596 * config/rs6000/t-ppccomm-ldbl: New file.
2597 * config/score/sfp-machine.h: New file.
2598 * config.host (sfp_machine_header): Explain.
2599 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2600 t-softfp to tmake_file.
2601 (arm*-*-uclinux*): Likewise.
2602 (arm*-*-ecos-elf): Likewise.
2603 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2604 (arm*-*-rtems*): Likewise.
2605 (arm*-*-elf): Likewise.
2606 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2608 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2609 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2610 (lm32-*-uclinux*): Likewise.
2611 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2612 t-softfp-excl, t-softfp.
2613 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2614 (powerpc64-*-darwin*): Likewise.
2615 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2617 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2619 (powerpc-*-eabisim*): Likewise.
2620 (powerpc-*-elf*): Likewise.
2621 (powerpc-*-eabialtivec*): Likewise.
2622 (powerpc-xilinx-eabi*): Likewise.
2623 (powerpc-*-rtems*): Likewise.
2624 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2625 t-softfp-excl, t-softfp to tmake_file.
2626 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2627 rs6000/t-ppccomm-ldbl to tmake_file.
2628 (powerpcle-*-elf*): Likewise.
2629 (powerpcle-*-eabisim*): Likewise.
2630 (powerpcle-*-eabi*): Likewise.
2631 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2632 rs6000/t-ibm-ldouble to tmake_file.
2633 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2634 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2635 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2636 (tic6x-*-*): Likewise.
2637 (i[34567]86-*-darwin*, x86_64-*-darwin*,
2638 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2639 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2640 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2641 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2642 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2643 t-softfp to tmake_file.
2644 * configure.ac (sfp_machine_header): Provide default if unset.
2646 Link sfp-machine.h to config/$sfp_machine_header.
2647 * configure: Regenerate.
2649 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2651 * Makefile.in (double_type_size, long_double_type_size): Set.
2652 Remove $(fpbit-in-libgcc) support.
2653 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2654 (fpbit-src): New variable.
2655 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2656 Compile with -DFLOAT $(FPBIT_CFLAGS).
2658 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2659 Compile with $(FPBIT_CFLAGS).
2661 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2662 Compile with -DFLOAT $(TPBIT_CFLAGS).
2664 * configure.ac (double_type_size, long_double_type_size):
2665 Determine and substitute.
2666 * configure: Regenerate.
2667 * fp-bit.c, fp-bit.h: New files.
2668 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2669 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2670 * config/mips/t-mips: New file.
2671 * config/mips/t-sdemtk: New file.
2672 * config/rs6000/ppc64-fp.c: New file.
2673 * config/rs6000/t-darwin (LIB2ADD): Add
2674 $(srcdir)/config/rs6000/ppc64-fp.c.
2675 * config/rs6000/t-ppc64-fp: New file.
2676 * config/rx/rx-lib.h: New file.
2677 * config/rx/t-rx (FPBIT): Set to true.
2678 ($(gcc_objdir)/fp-bit.c): Remove.
2679 (DPBIT): Set to true only with -m64bit-doubles.
2680 ($(gcc_objdir)/dp-bit.c): Remove.
2681 * config/sparc/t-softfp: Remove.
2682 * config/spu/t-elf: New file.
2683 * config/t-fdpbit, config/t-fpbit: New files.
2684 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2685 (mips*-*-*): Likewise.
2686 (arm-wrs-vxworks): Likewise.
2687 (arm*-*-freebsd*): Likewise.
2688 (avr-*-rtems*): Add t-fpbit to tmake_file.
2689 (avr-*-*): Likewise.
2690 (bfin*-elf*): Add t-fdpbit to tmake_file.
2691 (bfin*-uclinux*): Likewise.
2692 (bfin*-linux-uclibc*): Likewise.
2693 (bfin*-rtems*): New case.
2694 Add t-fdpbit to tmake_file.
2695 (bfin*-*): Add t-fdpbit to tmake_file.
2696 (crisv32-*-elf): Likewise.
2697 (cris-*-linux*): Likewise.
2698 (fr30-*-elf): Likewise.
2699 (frv-*-elf, frv-*-*linux*): Likewise.
2700 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2701 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2702 (m32r-*-elf*): Likewise.
2703 (m32rle-*-elf*): Likewise.
2704 (m32r-*-linux*): Likewise.
2705 (m32rle-*-linux*): Likewise.
2706 (mcore-*-elf): Add t-fdpbit to tmake_file.
2707 (microblaze*-*-*): Likewise.
2708 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2709 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2710 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2712 Add mips/t-tpbit to tmake-file.
2713 (mips*-*-linux*): Fix typo.
2714 (mips*-sde-elf*): New case
2715 Add mips/t-sdemtk unless using newlib.
2716 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2717 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2718 (mn10300-*-*): Likewise.
2719 (pdp11-*-*): Likewise.
2720 (picochip-*-*): Add t-fpbit to tmake_file.
2721 (powerpc-*-eabisimaltivec*): Likewise.
2722 (powerpc-*-eabisim*): Likewise.
2723 (powerpc-*-elf*): Likewise.
2724 (powerpc-*-eabialtivec*): Likewise.
2725 (powerpc-xilinx-eabi*): New case.
2726 Add t-fdpbit to tmake_file.
2727 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
2728 (powerpc-*-rtems*): Likewise.
2729 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2731 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2733 (powerpc-*-lynxos*): Likewise.
2734 (powerpcle-*-elf*): Likewise.
2735 (powerpcle-*-eabisim*): Likewise.
2736 (powerpcle-*-eabi*): Likewise.
2737 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2738 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2739 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2740 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2741 (rx-*-elf): Add t-fdpbit to tmake_file.
2742 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2743 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2744 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2745 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2747 (sh-*-rtems*): Add t-fdpbit to tmake_file.
2748 (sh-wrs-vxworks): Likewise.
2749 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2750 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2751 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2752 (sparc64-*-rtems*): ... new case.
2753 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2754 (spu-*-elf*): Likewise.
2755 Add spu/t-elf to tmake_file.
2756 (v850*-*-*): Add t-fdpbit to tmake_file.
2757 (xstormy16-*-elf): Likewise.
2758 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2759 (mep*-*-*): Likewise.
2761 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2763 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2765 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2766 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2767 (install-unwind_h): New target.
2768 (all): Depend on it.
2769 * config.host (unwind_header): New variable.
2770 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2771 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2772 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2773 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2774 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2776 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2778 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2780 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2782 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2783 (ia64*-*-freebsd*): Likewise.
2784 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2786 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2787 $with_system_libunwind.
2788 (ia64*-*-hpux*): Set tmake_file.
2789 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2790 (picochip-*-*): Set tmake_file.
2791 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2793 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2794 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2795 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2796 (xtensa*-*-elf*): Set tmake_file.
2797 (xtensa*-*-linux*): Likewise.
2798 * configure.ac: Include ../config/unwind_ipinfo.m4.
2799 Call GCC_CHECK_UNWIND_GETIPINFO.
2800 Link unwind.h to $unwind_header.
2801 * configure: Regenerate.
2802 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2803 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2804 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2805 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2806 * config/unwind-dw2-fde-darwin.c: New file.
2807 * config/arm/libunwind.S, config/arm/pr-support.c,
2808 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2809 config/arm/unwind-arm.h,: New files.
2810 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2811 config/ia64/t-eh-ia64, config/ia64/t-glibc,
2812 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2813 config/ia64/t-vms, config/ia64/unwind-ia64.c,
2814 config/ia64/unwind-ia64.h: New files.
2815 * config/picochip/t-picochip: New file.
2816 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2818 * config/rs6000/t-darwin (LIB2ADDEH): Set.
2819 * config/s390/t-tpf (LIB2ADDEH): Remove.
2820 * config/t-darwin (LIB2ADDEH): Set.
2821 * config/t-eh-dw2-dip: New file.
2822 * config/t-libunwind, config/t-libunwind-elf: New files.
2823 * config/t-sol2 (LIB2ADDEH): Remove.
2824 * config/xtensa/t-xtensa: New file.
2826 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
2828 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2829 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2830 long long to check rt_sigreturn syscall.
2832 2011-08-02 Alan Modra <amodra@gmail.com>
2834 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2835 Restore for indirect call bcrtl from correct stack slot, and only
2836 if cfa+40 isn't valid.
2838 2011-08-01 Julian Brown <julian@codesourcery.com>
2840 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2841 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2842 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2844 2011-08-01 Julian Brown <julian@codesourcery.com>
2846 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2847 (libgcc-std.ver.in): Use above.
2848 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2849 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
2851 * config/t-fixedpoint-gnu-prefix: New file.
2852 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2853 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2856 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
2858 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2859 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2860 for x86-64. Properly check __x86_64__ and __LP64__.
2862 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
2864 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2866 (_FP_WS_TYPE): Likewise.
2867 (_FP_I_TYPE): Likewise.
2869 2011-07-28 Alan Modra <amodra@gmail.com>
2871 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2872 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2873 in a plt call stub. Do restore r2 if stopped on bctrl.
2875 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2877 * config.host (i[3456x]86-*-netware*): Remove.
2878 * config/i386/netware-crt0.c, config/i386/t-nwld,
2879 config/i386/t-slibgcc-nwld: Remove.
2881 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
2883 * config.host: Handle tic6x-*-*.
2884 * config/c6x/c6x-abi.h: New file.
2886 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2888 * config/i386/crtprec.c: New file.
2889 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2890 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2891 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2892 (x86_64-*-darwin*): Likewise.
2893 (i[34567]86-*-solaris2*: Likewise.
2895 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2897 * config/alpha/crtfastmath.c: New file.
2898 * config/i386/crtfastmath.c: New file.
2899 * config/ia64/crtfastmath.c: New file.
2900 * config/mips/crtfastmath.c: New file.
2901 * config/sparc/crtfastmath.c: New file.
2903 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2905 Add -frandom-seed=gcc-crtfastmath.
2906 * config/alpha/t-crtfm: Remove.
2907 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2908 * config/ia64/t-ia64 (crtfastmath.o): Remove.
2910 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2911 (alpha*-dec-osf5.1*): Likewise.
2912 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2913 Add crtfastmath.o to extra_parts.
2914 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2915 Add crtfastmath.o to extra_parts.
2916 (x86_64-*-darwin*): Likewise.
2917 (x86_64-*-mingw*): Likewise.
2918 (ia64*-*-elf*): Add t-crtfm to tmake_file.
2919 (ia64*-*-freebsd*): Likewise.
2920 (ia64*-*-linux*): Likewise.
2921 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2922 Add crtfastmath.o to extra_parts.
2924 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2926 * config/darwin-crt3.o: New file.
2927 * config/rs6000/darwin-crt2.c: New file.
2928 * config/t-darwin: New file.
2929 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2931 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2932 (powerpc-*-darwin*): Add crt2.o to extra_parts.
2933 (powerpc64-*-darwin*): Likewise.
2935 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2937 * config/i386/netware-crt0.c: New file.
2938 * config/i386/t-nwld: Rename to ...
2939 * config/i386/t-slibgcc-nwld: ... this.
2940 * config/i386/t-nwld: New file.
2941 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2943 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2946 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2948 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2950 * configure: Regenerate.
2952 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2954 * dfp-bit.c, dfp-bit.h: New files.
2955 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2957 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2958 ($(d64pbit-o)): Likewise.
2959 ($(d128pbit-o)): Likewise.
2960 * config/t-dfprules: New file.
2961 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2962 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2963 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2964 (x86_64-*-linux*): Likewise.
2965 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2966 (i[34567]86-*-cygwin*): Likewise.
2967 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
2968 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2970 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2972 * Makfile.in (LIBGCOV): New variable.
2973 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2974 * libgcov.c: New file.
2976 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2978 * fixed-bit.c, fixed-bit.h: New files.
2979 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2980 refer to fixed-bit.c.
2982 2011-07-07 Joseph Myers <joseph@codesourcery.com>
2984 * config.host (*local*): Remove.
2986 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2989 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2990 like i?86-*-solaris2.1[0-9]*.
2991 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2992 * configure.ac (i?86-*-solaris2*): Likewise.
2993 * configure: Regenerate.
2995 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
2997 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2998 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2999 md_unwind_header by splitting out of...
3000 (i[34567]86-*-linux*): ... this.
3001 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3002 Remove md_unwind_header by splitting out of...
3003 (x86_64-*-linux*): ... this.
3005 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
3007 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3009 2011-06-28 Nick Clifton <nickc@redhat.com>
3011 * config.host: Recognize all V850 variants.
3013 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
3015 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3017 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3019 * shared-object.mk (c_flags-$o): Save c_flags.
3020 ($(base)$(objext)): Use it.
3021 ($(base)_s$(objext)): Likewise.
3023 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
3025 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3026 * libgcc-std.ver.in (GCC_4.7.0): New section.
3028 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
3032 * config/avr/t-avr: Fix line endings.
3033 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
3036 2011-06-14 Olivier Hainque <hainque@adacore.com>
3037 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3039 * config/mips/irix6-unwind.h: New file.
3040 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3042 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
3044 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3045 (sparc64_fallback_frame_state): Use it.
3046 (sparc64_frob_update_context): Further adjust context.
3047 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3048 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3049 * config/sparc/sol2-cn.S: Likewise.
3051 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3053 * enable-execute-stack-empty.c: New file.
3054 * enable-execute-stack-mprotect.c: New file.
3055 * config/i386/enable-execute-stack-mingw32.c: New file.
3056 * config.host (enable_execute_stack): New variable.
3057 Select appropriate variants.
3058 * configure.ac: Link enable-execute-stack.c to
3059 $enable_execute_stack.
3060 * configure: Regenerate.
3061 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3062 (lib2funcs): Remove _enable_execute_stack.
3064 2011-06-09 David S. Miller <davem@davemloft.net>
3065 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3067 * config.host (sparc-*-linux*): Correct md_unwind_header
3069 (s390x-ibm-tpf*): Fix typo.
3071 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3073 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3074 Add crtfastmath.o to extra_parts.
3075 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3077 * config/mips/t-crtfm: Remove.
3079 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3081 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3083 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
3085 * config.host (sh*-*-linux*): Fix typo.
3087 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3089 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3090 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3091 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3092 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3093 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3094 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3095 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3096 Wrap in !__MINGW64__.
3097 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3098 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3099 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3100 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3101 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3102 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3103 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3105 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3106 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3107 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3108 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3109 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3110 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3111 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3112 * config/no-unwind.h: New file.
3113 * config.host (md_unwind_header): Document.
3115 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3116 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3117 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3118 hppa[12]*-*-hpux11*): Set md_unwind_header.
3119 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3120 Set md_unwind_header.
3121 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3122 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3123 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3124 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3125 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3126 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3127 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3129 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3130 * configure: Regenerate.
3132 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3134 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3135 Set tmake_file, extra_parts.
3136 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3138 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3140 * config/mips/t-irix6: New file.
3141 * config/mips/t-slibgcc-irix: New file.
3143 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3145 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3146 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3148 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3150 * configure.ac (target_thread_file): Determine thread model.
3151 * configure: Regenerate.
3152 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3153 * config/alpha/t-alpha: New file.
3154 * config/alpha/t-crtfm: Use $<.
3155 * config/alpha/t-ieee: New file.
3156 * config/alpha/t-osf-pthread: New file.
3157 * config/alpha/t-slibgcc-osf: New file.
3158 * config/alpha/libgcc-osf5.ver: New file.
3160 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3162 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3164 Add crtfastmath.o to extra_parts.
3166 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3168 * config/gmon-sol2.c: Reindent.
3170 Remove, correct casts.
3171 Use STDERR_FILENO, NULL.
3172 (BASEADDRESS): Remove.
3174 (errno, sbrk): Remove declarations.
3175 (monstartup) [hp300]: Remove.
3178 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3180 * Makefile.in (cpu_type): Define.
3181 * config.host (i[34567]86-*-rtems*): Handle it.
3182 (i[34567]86-*-solaris2*): Move body ...
3183 (*-*-solaris2*): ... here.
3184 New case, generalize.
3185 (sparc-*-elf*): Handle it.
3186 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3187 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3188 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3190 (sparc*-*-solaris2*): ... this.
3192 (sparc64-*-elf*): Handle it.
3193 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3194 Merge ../gcc/config/i386/gmon-sol2.c.
3195 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3197 Merge ../gcc/config/i386/sol2-gc1.asm.
3198 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3200 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3202 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3203 * config/i386/t-crtstuff: New file.
3204 * config/i386/t-softfp: New file.
3205 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3206 $(T)crti.o, $(T)crtn.o): Remove.
3207 (gcrt1.o): New rule.
3208 (TARGET_LIBGCC2_CFLAGS): Remove.
3209 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3210 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3211 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3212 * config/sparc/t-sol2: New file.
3213 * config/sparc/t-crtfm: Move to ...
3214 * config/t-crtfm: ... this.
3215 Use $(cpu_type), $<.
3216 * config/t-crtin: New file.
3217 * config/sparc/t-softfp: New file.
3218 * config/sparc/t-softmul: New file.
3219 * config/t-rtems: New file.
3220 * config/t-slibgcc: New file.
3221 * config/t-slibgcc-elf-ver: New file.
3222 * config/t-slibgcc-gld: New file.
3223 * config/t-slibgcc-sld: New file.
3224 * config/t-sol2: New file.
3225 * configure.ac: Include ../config/lib-ld.m4.
3226 Call AC_LIB_PROG_LD_GNU.
3227 Substitute cpu_type.
3228 * configure: Regenerate.
3230 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
3233 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3234 libgcc-std.ver in the build directory.
3235 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3236 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3238 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
3240 * libgcc-std.ver.in: New file.
3241 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3243 (libgcc-std.ver): New rule.
3244 * config/t-gnu-prefix: New file.
3246 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3248 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3250 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3252 * config/i386/darwin-lib.h: New file.
3254 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3256 * config/arm/symbian-lib.h: New.
3258 2011-05-04 Chris Demetriou <cgd@google.com>
3260 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3261 (__x86.get_pc_thunk.bx): ...this.
3262 (__morestack): Adjust for rename, remove undef of __i686.
3264 2011-05-03 Chris Demetriou <cgd@google.com>
3266 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3268 2011-03-22 Joseph Myers <joseph@codesourcery.com>
3270 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3271 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3272 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3273 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3274 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3277 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
3279 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3280 Adjust copyright year.
3282 2011-03-07 Ian Lance Taylor <iant@google.com>
3284 * generic-morestack.c (__splitstack_find): Adjust returned stack
3285 pointer to include all registers pushed by __morestack.
3287 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
3290 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3291 (toolexecdir): Calculate and AC_SUBST.
3292 (toolexeclibdir): Likewise.
3293 * Makefile.in (target_noncanonical): Import.
3294 (toolexecdir): Likewise.
3295 (toolexeclibdir): Likewise.
3296 * configure: Regenerate.
3298 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
3301 * config/arm/bpabi.h: Rename to...
3302 * config/arm/bpabi-lib.h: ...this.
3304 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3306 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3308 * configure: Regenerate.
3310 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3312 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3313 __FLOAT_WORD_ORDER__.
3314 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3317 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3320 * Makefile.in (install-strip): New phony target.
3322 2010-11-07 Ian Lance Taylor <iant@google.com>
3325 * config/i386/morestack.S (__morestack_large_model): New
3328 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
3330 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3332 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3334 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
3336 * config/arm/bpabi.h: New file.
3337 * config/frv/frv-abi.h: New file.
3339 2010-10-01 Ian Lance Taylor <iant@google.com>
3341 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3342 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3344 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3347 * config.host: Add the missing `$'.
3349 2010-09-30 Michael Eager <eager@eagercon.com>
3351 * config.host: Add microblaze*-*-*.
3352 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3353 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3354 udivsi3.asm,umodsi3.asm}: New.
3356 2010-09-28 Ian Lance Taylor <iant@google.com>
3358 * configure.ac: Adjust CFI test to test assembler directly rather
3359 than checking gcc preprocessor macro.
3360 * configure: Rebuild.
3362 2010-09-27 Ian Lance Taylor <iant@google.com>
3364 * configure.ac: Test whether assembler supports CFI directives.
3365 * config.host: Only add t-stack and i386/t-stack-i386 to
3366 tmake_file if libgcc_cv_cfi is "yes".
3367 * configure: Rebuild.
3369 2010-09-27 Ian Lance Taylor <iant@google.com>
3371 * generic-morestack.h: New file.
3372 * generic-morestack.c: New file.
3373 * generic-morestack-thread.c: New file.
3374 * config/i386/morestack.S: New file.
3375 * config/t-stack: New file.
3376 * config/i386/t-stack-i386: New file.
3377 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3378 i386/t-stack-i386 to tmake_file.
3380 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
3382 * Makefile.in (libgcc-extra-parts): Check for static archives and
3383 invoke ranlib after installing them.
3384 (gcc-extra-parts): Likewise.
3385 (install-leaf): Likewise.
3387 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
3389 * configure: Regenerated.
3391 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
3393 * configure: Regenerated.
3395 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
3396 Andrew Pinski <pinskia@gmail.com>
3399 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3401 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
3404 * configure: Regenerated.
3406 2010-09-06 Andreas Schwab <schwab@redhat.com>
3408 * configure: Regenerate.
3410 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3412 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3414 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3417 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3418 Iain Sandoe <iains@gcc.gnu.org>
3421 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3422 LIB2FUNCS_EXCLUDE functions.
3424 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3426 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3428 * configure: Regenerate.
3430 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
3432 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3433 i386/t-freebsd to tmake_file.
3434 * config/i386/t-freebsd: New file.
3435 * config/i386/libgcc-bsd.ver: New file.
3437 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3439 * config.host (powerpc*-eabispe*): Set tmake_file.
3440 (powerpc*-eabi*): Likewise.
3441 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3442 crtbeginS, crtendS, crtbeginT.
3444 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
3446 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3447 to tmake_file. Add crtfastmath.o to extra_parts.
3448 * config/mips/t-crtfm: New.
3450 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3452 * config.host (sparc64-*-rtems*): New target.
3454 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3456 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3459 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3461 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3463 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3465 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3466 alpha-dec-osf5.0* support.
3468 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
3470 * config.host: Add lm32-*-rtems*.
3472 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3473 Uros Bizjak <ubizjak@gmail.com>
3476 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3477 like other remaining 32-bit x86 OSes.
3478 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3480 * config/i386/libgcc-sol2.ver: New file.
3481 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3483 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3486 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3487 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3488 is used and substitute set_use_emutls.
3489 * configure: Regenerated.
3491 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3493 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3495 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3498 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3500 ($(T)gcrt1.o): Likewise.
3501 ($(T)crt1.o): Likewise.
3502 ($(T)crti.o): Likewise.
3503 ($(T)crtn.o): Likewise.
3505 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3508 * Makefile.in (install): Use $(MAKE) string in rule, for
3511 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
3513 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3514 * config/mmix/t-mmix: New file.
3515 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3517 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
3520 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3523 2010-01-04 Anthony Green <green@moxielogic.com>
3525 * config/moxie/crti.asm, config/moxie/crtn.asm,
3526 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3527 config/moxie/t-moxie: New files.
3528 * config.host: Add t-moxie-softfp reference.
3530 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3533 * config/t-slibgcc-darwin: Fix embedded rpaths for
3534 --enable-version-specific-runtime-libs, build extension stub
3535 libs exposing features available from current libgcc_s.
3537 2009-11-11 Jon Beniston <jon@beniston.com>
3539 * config.host: Add lm32 targets.
3540 * config/lm32: New directory.
3541 * config/lm32/libgcc_lm32.h: New file.
3542 * config/lm32/_mulsi3.c: New file.
3543 * config/lm32/_udivmodsi4.c: New file.
3544 * config/lm32/_divsi3.c: New file.
3545 * config/lm32/_modsi3.c: New file.
3546 * config/lm32/_udivsi3.c: New file.
3547 * config/lm32/_umodsi3.c: New file.
3548 * config/lm32/_lshrsi3.S: New file.
3549 * config/lm32/_ashrsi3.S: New file.
3550 * config/lm32/_ashlsi3.S: New file.
3551 * config/lm32/crti.S: New file.
3552 * config/lm32/crtn.S: New file.
3553 * config/lm32/t-lm32: New file.
3554 * config/lm32/t-elf: New file.
3555 * config/lm32/t-uclinux: New file.
3557 2009-10-26 Nick Clifton <nickc@redhat.com>
3559 * config.host: Add support for RX target.
3560 * config/rx: New directory.
3561 * config/rx/rx-abi-functions.c: New file. Supplementary
3562 functions for libgcc to support the RX ABI.
3563 * config/rx/rx-abi.h: New file. Supplementary header file for
3564 libgcc RX ABI functions.
3565 * config/rx/t-rx: New file: Makefile fragment for building
3568 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
3570 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3571 constraint of y0 to "g".
3573 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3575 * config.host: Include the s390 makefile fragments.
3576 * config/s390/32/_fixdfdi.c: New file.
3577 * config/s390/32/_fixsfdi.c: New file.
3578 * config/s390/32/_fixtfdi.c: New file.
3579 * config/s390/32/_fixunsdfdi.c: New file.
3580 * config/s390/32/_fixunssfdi.c: New file.
3581 * config/s390/32/_fixunstfdi.c: New file.
3582 * config/s390/32/t-floattodi: New file.
3583 * config/s390/libgcc-glibc.ver: New file.
3584 * config/s390/t-crtstuff: New file.
3585 * config/s390/t-linux: New file.
3586 * config/s390/t-tpf: New file.
3588 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3590 * configure.ac (AC_PREREQ): Bump to 2.64.
3592 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
3594 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3596 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3598 * configure: Regenerate.
3600 2009-08-09 Douglas B Rupp <rupp@gnat.com>
3602 * config.host (ia64-hp-*vms*): New target.
3603 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3606 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3608 * configure.ac: Add snippet for maintainer-mode.
3609 * configure: Regenerate.
3610 * Makefile.in (AUTOCONF, configure_deps): New variables.
3611 ($(srcdir)/configure)): New rule, active only with maintainer
3614 2009-06-23 DJ Delorie <dj@redhat.com>
3617 * config.host: Add mep support.
3619 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
3621 * config.host: Add i386/${host_address}/t-fprules-softfp and
3622 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3624 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3626 * config/i386/64/_multc3.c: Likewise.
3627 * config/i386/64/_powitf2.c: Likewise.
3628 * config/i386/64/eqtf2.c: Likewise.
3629 * config/i386/64/getf2.c: Likewise.
3630 * config/i386/64/letf2.c: Likewise.
3631 * config/i386/64/letf2.c: Likewise.
3632 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3633 unsigned long long for x64 mingw targets.
3634 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3635 (_FP_I_TYPE): Define as long long for x64 mingw target.
3637 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
3639 * config.host (vax-*-linux*): New.
3641 2009-05-31 Anthony Green <green@moxielogic.com>
3643 * config.host: Add moxie support.
3644 * config/moxie/t-moxie: New file.
3646 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
3648 * config.host: Add i386/${host_address}/t-fprules-softfp and
3649 t-softfp to tmake_file for i[34567]86-*-cygwin*.
3651 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
3653 * config.host: Add i386/${host_address}/t-fprules-softfp to
3654 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3656 2009-04-09 Nick Clifton <nickc@redhat.com>
3658 * config/ia64/tf-signs.c: Change copyright header to refer to
3659 version 3 of the GNU General Public License with version 3.1
3660 of the GCC Runtime Library Exception and to point readers at
3661 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3663 * config/i386/32/tf-signs.c: Likewise.
3664 * config/libbid/_addsub_dd.c: Likewise.
3665 * config/libbid/_addsub_sd.c: Likewise.
3666 * config/libbid/_addsub_td.c: Likewise.
3667 * config/libbid/_dd_to_df.c: Likewise.
3668 * config/libbid/_dd_to_di.c: Likewise.
3669 * config/libbid/_dd_to_sd.c: Likewise.
3670 * config/libbid/_dd_to_sf.c: Likewise.
3671 * config/libbid/_dd_to_si.c: Likewise.
3672 * config/libbid/_dd_to_td.c: Likewise.
3673 * config/libbid/_dd_to_tf.c: Likewise.
3674 * config/libbid/_dd_to_udi.c: Likewise.
3675 * config/libbid/_dd_to_usi.c: Likewise.
3676 * config/libbid/_dd_to_xf.c: Likewise.
3677 * config/libbid/_df_to_dd.c: Likewise.
3678 * config/libbid/_df_to_sd.c: Likewise.
3679 * config/libbid/_df_to_td.c: Likewise.
3680 * config/libbid/_di_to_dd.c: Likewise.
3681 * config/libbid/_di_to_sd.c: Likewise.
3682 * config/libbid/_di_to_td.c: Likewise.
3683 * config/libbid/_div_dd.c: Likewise.
3684 * config/libbid/_div_sd.c: Likewise.
3685 * config/libbid/_div_td.c: Likewise.
3686 * config/libbid/_eq_dd.c: Likewise.
3687 * config/libbid/_eq_sd.c: Likewise.
3688 * config/libbid/_eq_td.c: Likewise.
3689 * config/libbid/_ge_dd.c: Likewise.
3690 * config/libbid/_ge_sd.c: Likewise.
3691 * config/libbid/_ge_td.c: Likewise.
3692 * config/libbid/_gt_dd.c: Likewise.
3693 * config/libbid/_gt_sd.c: Likewise.
3694 * config/libbid/_gt_td.c: Likewise.
3695 * config/libbid/_isinfd128.c: Likewise.
3696 * config/libbid/_isinfd32.c: Likewise.
3697 * config/libbid/_isinfd64.c: Likewise.
3698 * config/libbid/_le_dd.c: Likewise.
3699 * config/libbid/_le_sd.c: Likewise.
3700 * config/libbid/_le_td.c: Likewise.
3701 * config/libbid/_lt_dd.c: Likewise.
3702 * config/libbid/_lt_sd.c: Likewise.
3703 * config/libbid/_lt_td.c: Likewise.
3704 * config/libbid/_mul_dd.c: Likewise.
3705 * config/libbid/_mul_sd.c: Likewise.
3706 * config/libbid/_mul_td.c: Likewise.
3707 * config/libbid/_ne_dd.c: Likewise.
3708 * config/libbid/_ne_sd.c: Likewise.
3709 * config/libbid/_ne_td.c: Likewise.
3710 * config/libbid/_sd_to_dd.c: Likewise.
3711 * config/libbid/_sd_to_df.c: Likewise.
3712 * config/libbid/_sd_to_di.c: Likewise.
3713 * config/libbid/_sd_to_sf.c: Likewise.
3714 * config/libbid/_sd_to_si.c: Likewise.
3715 * config/libbid/_sd_to_td.c: Likewise.
3716 * config/libbid/_sd_to_tf.c: Likewise.
3717 * config/libbid/_sd_to_udi.c: Likewise.
3718 * config/libbid/_sd_to_usi.c: Likewise.
3719 * config/libbid/_sd_to_xf.c: Likewise.
3720 * config/libbid/_sf_to_dd.c: Likewise.
3721 * config/libbid/_sf_to_sd.c: Likewise.
3722 * config/libbid/_sf_to_td.c: Likewise.
3723 * config/libbid/_si_to_dd.c: Likewise.
3724 * config/libbid/_si_to_sd.c: Likewise.
3725 * config/libbid/_si_to_td.c: Likewise.
3726 * config/libbid/_td_to_dd.c: Likewise.
3727 * config/libbid/_td_to_df.c: Likewise.
3728 * config/libbid/_td_to_di.c: Likewise.
3729 * config/libbid/_td_to_sd.c: Likewise.
3730 * config/libbid/_td_to_sf.c: Likewise.
3731 * config/libbid/_td_to_si.c: Likewise.
3732 * config/libbid/_td_to_tf.c: Likewise.
3733 * config/libbid/_td_to_udi.c: Likewise.
3734 * config/libbid/_td_to_usi.c: Likewise.
3735 * config/libbid/_td_to_xf.c: Likewise.
3736 * config/libbid/_tf_to_dd.c: Likewise.
3737 * config/libbid/_tf_to_sd.c: Likewise.
3738 * config/libbid/_tf_to_td.c: Likewise.
3739 * config/libbid/_udi_to_dd.c: Likewise.
3740 * config/libbid/_udi_to_sd.c: Likewise.
3741 * config/libbid/_udi_to_td.c: Likewise.
3742 * config/libbid/_unord_dd.c: Likewise.
3743 * config/libbid/_unord_sd.c: Likewise.
3744 * config/libbid/_unord_td.c: Likewise.
3745 * config/libbid/_usi_to_dd.c: Likewise.
3746 * config/libbid/_usi_to_sd.c: Likewise.
3747 * config/libbid/_usi_to_td.c: Likewise.
3748 * config/libbid/_xf_to_dd.c: Likewise.
3749 * config/libbid/_xf_to_sd.c: Likewise.
3750 * config/libbid/_xf_to_td.c: Likewise.
3751 * config/libbid/bid128.c: Likewise.
3752 * config/libbid/bid128_2_str.h: Likewise.
3753 * config/libbid/bid128_2_str_macros.h: Likewise.
3754 * config/libbid/bid128_2_str_tables.c: Likewise.
3755 * config/libbid/bid128_add.c: Likewise.
3756 * config/libbid/bid128_compare.c: Likewise.
3757 * config/libbid/bid128_div.c: Likewise.
3758 * config/libbid/bid128_fma.c: Likewise.
3759 * config/libbid/bid128_logb.c: Likewise.
3760 * config/libbid/bid128_minmax.c: Likewise.
3761 * config/libbid/bid128_mul.c: Likewise.
3762 * config/libbid/bid128_next.c: Likewise.
3763 * config/libbid/bid128_noncomp.c: Likewise.
3764 * config/libbid/bid128_quantize.c: Likewise.
3765 * config/libbid/bid128_rem.c: Likewise.
3766 * config/libbid/bid128_round_integral.c: Likewise.
3767 * config/libbid/bid128_scalb.c: Likewise.
3768 * config/libbid/bid128_sqrt.c: Likewise.
3769 * config/libbid/bid128_string.c: Likewise.
3770 * config/libbid/bid128_to_int16.c: Likewise.
3771 * config/libbid/bid128_to_int32.c: Likewise.
3772 * config/libbid/bid128_to_int64.c: Likewise.
3773 * config/libbid/bid128_to_int8.c: Likewise.
3774 * config/libbid/bid128_to_uint16.c: Likewise.
3775 * config/libbid/bid128_to_uint32.c: Likewise.
3776 * config/libbid/bid128_to_uint64.c: Likewise.
3777 * config/libbid/bid128_to_uint8.c: Likewise.
3778 * config/libbid/bid32_to_bid128.c: Likewise.
3779 * config/libbid/bid32_to_bid64.c: Likewise.
3780 * config/libbid/bid64_add.c: Likewise.
3781 * config/libbid/bid64_compare.c: Likewise.
3782 * config/libbid/bid64_div.c: Likewise.
3783 * config/libbid/bid64_fma.c: Likewise.
3784 * config/libbid/bid64_logb.c: Likewise.
3785 * config/libbid/bid64_minmax.c: Likewise.
3786 * config/libbid/bid64_mul.c: Likewise.
3787 * config/libbid/bid64_next.c: Likewise.
3788 * config/libbid/bid64_noncomp.c: Likewise.
3789 * config/libbid/bid64_quantize.c: Likewise.
3790 * config/libbid/bid64_rem.c: Likewise.
3791 * config/libbid/bid64_round_integral.c: Likewise.
3792 * config/libbid/bid64_scalb.c: Likewise.
3793 * config/libbid/bid64_sqrt.c: Likewise.
3794 * config/libbid/bid64_string.c: Likewise.
3795 * config/libbid/bid64_to_bid128.c: Likewise.
3796 * config/libbid/bid64_to_int16.c: Likewise.
3797 * config/libbid/bid64_to_int32.c: Likewise.
3798 * config/libbid/bid64_to_int64.c: Likewise.
3799 * config/libbid/bid64_to_int8.c: Likewise.
3800 * config/libbid/bid64_to_uint16.c: Likewise.
3801 * config/libbid/bid64_to_uint32.c: Likewise.
3802 * config/libbid/bid64_to_uint64.c: Likewise.
3803 * config/libbid/bid64_to_uint8.c: Likewise.
3804 * config/libbid/bid_b2d.h: Likewise.
3805 * config/libbid/bid_binarydecimal.c: Likewise.
3806 * config/libbid/bid_conf.h: Likewise.
3807 * config/libbid/bid_convert_data.c: Likewise.
3808 * config/libbid/bid_decimal_data.c: Likewise.
3809 * config/libbid/bid_decimal_globals.c: Likewise.
3810 * config/libbid/bid_div_macros.h: Likewise.
3811 * config/libbid/bid_dpd.c: Likewise.
3812 * config/libbid/bid_flag_operations.c: Likewise.
3813 * config/libbid/bid_from_int.c: Likewise.
3814 * config/libbid/bid_functions.h: Likewise.
3815 * config/libbid/bid_gcc_intrinsics.h: Likewise.
3816 * config/libbid/bid_inline_add.h: Likewise.
3817 * config/libbid/bid_internal.h: Likewise.
3818 * config/libbid/bid_round.c: Likewise.
3819 * config/libbid/bid_sqrt_macros.h: Likewise.
3821 2009-04-09 Jakub Jelinek <jakub@redhat.com>
3823 * Makefile.in: Change copyright header to refer to version
3824 3 of the GNU General Public License and to point readers at the
3825 COPYING3 file and the FSF's license web page.
3826 * config.host: Likewise.
3828 2009-04-07 Alan Modra <amodra@bigpond.net.au>
3830 * config.host: Reorder and merge to match config.gcc change.
3832 2009-04-03 Alan Modra <amodra@bigpond.net.au>
3834 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3836 2009-03-28 Joseph Myers <joseph@codesourcery.com>
3838 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3839 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3840 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3841 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3843 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
3845 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3846 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3848 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
3850 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3851 ia64/t-softfp-compat to tmake_file.
3853 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3855 * config/ia64/__divxf3.asm: New.
3856 * config/ia64/_fixtfdi.asm: Likewise.
3857 * config/ia64/_fixunstfdi.asm: Likewise.
3858 * config/ia64/_floatditf.asm: Likewise.
3859 * config/ia64/t-fprules-softfp: Likewise.
3860 * config/ia64/t-softfp-compat: Likewise.
3861 * config/ia64/tf-signs.c: Likewise.
3863 2009-01-18 Ben Elliston <bje@au.ibm.com>
3865 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3867 2009-01-16 Ben Elliston <bje@au.ibm.com>
3869 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3872 2009-01-13 Ben Elliston <bje@au.ibm.com>
3874 * config/t-softfp: New file.
3875 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3876 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3878 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
3880 * config.host: Add m32r*-*-rtems*.
3882 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
3884 * config.host: Add m32c*-*-rtems*.
3886 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3889 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3890 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3891 * configure: Regenerate.
3892 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3893 tmake_file here from gcc/config.gcc.
3894 Move extra_parts here from gcc/config.gcc.
3895 * config/i386/t-sol2: Move here from gcc/config/i386.
3896 Use gcc_srcdir instead of srcdir.
3898 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
3900 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3903 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
3905 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3907 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
3909 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3911 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
3914 * config.host: Add picochip-*-*.
3916 2008-08-06 Bob Wilson <bob.wilson@acm.org>
3918 * config.host: Match more processor names for Xtensa.
3920 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
3922 * config/i386/64/t-softfp-compat: Update comments.
3924 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
3926 * config/i386/64/_divtc3-compat.c: Moved to ...
3927 * config/i386/64/_divtc3.c: Here.
3929 * config/i386/64/_multc3-compat.c: Moved to ...
3930 * config/i386/64/_multc3.c: Here.
3932 * config/i386/64/_powitf2-compat.c: Moved to ...
3933 * config/i386/64/_powitf2.c: Here.
3935 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3936 .c suffix instead of -compat.c.
3938 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
3940 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3941 (_FP_MUL_MEAT_D): Ditto.
3942 (_FP_DIV_MEAT_S): Ditto.
3943 (_FP_DIV_MEAT_D): Ditto.
3945 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
3947 * Makefile.in: Add support for __sync_* libgcc functions.
3949 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
3951 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3953 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3956 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3957 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
3959 * config/i386/64/t-fprules-softfp: Moved to ...
3960 * config/i386/64/t-softfp-compat: This. New.
3962 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
3964 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3965 Initialize f with 0.0.
3967 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3970 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3972 * config/i386/64/_divtc3-compat.c: New.
3973 * config/i386/64/_multc3-compat.c: Likewise.
3974 * config/i386/64/_powitf2-compat.c: Likewise.
3975 * config/i386/64/eqtf2.c: Likewise.
3976 * config/i386/64/getf2.c: Likewise.
3977 * config/i386/64/letf2.c: Likewise.
3978 * config/i386/64/t-fprules-softfp: Likewise.
3980 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3982 * config.host: Add i386/${host_address}/t-fprules-softfp to
3983 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
3984 i[34567]86-*-linux*, x86_64-*-linux*.
3986 * configure.ac: Set host_address to 64 or 32 for x86.
3987 * configure: Regenerated.
3989 * Makefile.in (config.status): Also depend on
3990 $(srcdir)/config.host.
3992 * config/i386/32/t-fprules-softfp: New.
3993 * config/i386/32/tf-signs.c: Likewise.
3995 * config/i386/64/sfp-machine.h: New. Moved from gcc.
3997 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3998 Uros Bizjak <ubizjak@gmail.com>
4000 * config/i386/32/sfp-machine.h: New.
4002 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
4004 * config/rs6000/t-ppccomm: Remove rules that conflict with
4005 auto-generated rules.
4007 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4009 * configure.ac: sinclude override.m4.
4010 * configure: Regenerate.
4012 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
4014 * configure: Regenerate.
4016 2008-06-10 Joseph Myers <joseph@codesourcery.com>
4018 * Makefile.in (DECNUMINC): Remove
4019 -I$(MULTIBUILDTOP)../../libdecnumber.
4022 2008-06-07 Joseph Myers <joseph@codesourcery.com>
4024 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4025 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4026 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4027 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4028 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4029 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4030 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4031 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4032 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4033 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4034 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4035 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4036 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4037 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4039 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
4041 * config.host (sh2[lbe]*-*-linux*): Allow target.
4043 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
4045 * config/rs6000/t-ppccomm: Add build rules for new files.
4046 (LIB2ADD_ST): New variable.
4048 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
4052 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4053 * config/t-avr: New file. Build 16bit libgcc functions.
4055 2008-03-02 Jakub Jelinek <jakub@redhat.com>
4058 * config/t-slibgcc-darwin: Make install-leaf dependent on
4059 install-darwin-libgcc-stubs instead of install.
4061 2008-01-25 Joseph Myers <joseph@codesourcery.com>
4063 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4064 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4065 sh-*-rtemscoff*): Remove cases.
4067 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
4069 * Makefile.in (all): Use install-leaf rather than install.
4070 (install): Split most of the rule into...
4071 (install-leaf): ...this new one.
4073 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
4074 Paolo Bonzini <bonzini@gnu.org>
4077 * Makefile.in: Use @shlib_slibdir@ substitution to get
4078 correct install name on darwin.
4079 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4081 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
4083 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4084 cris-*-elf and cris-*-none.
4085 (crisv32-*-linux*): Similar, as cris-*-linux*.
4087 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
4089 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4091 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
4094 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4095 * configure: Regenerated.
4097 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
4099 * Makefile.in (dfp-filenames): Replace decimal_globals,
4100 decimal_data, binarydecimal and convert_data with
4101 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4102 and bid_convert_data, respectively.
4104 2007-09-17 Chao-ying Fu <fu@mips.com>
4105 Nigel Stephens <nigel@mips.com>
4107 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4108 * Makefile.in (fixed_point): Define.
4109 Check if fixed_point is yes to build support functions.
4110 * configure.ac: Check for fixed_point support.
4111 * configure: Regenerated.
4112 * gen-fixed.sh: New file to generate lists of fixed-point labels,
4113 funcs, modes, from, to.
4115 2007-09-11 Janis Johnson <janis187@us.ibm.com
4117 * Makefile.in (dfp-filenames): Add bid128_noncomp.
4119 2007-09-10 Janis Johnson <janis187@us.ibm.com>
4121 * Makefile.in (dfp-filenames): Remove decUtility, add
4122 decDouble, decPacked, decQuad, decSingle.
4124 2007-08-27 Hans Kester <hans.kester@ellips.nl>
4126 * config.host : Add x86_64-elf target.
4128 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4130 * configure.ac (set_have_cc_tls): Add a missing =.
4131 * configure: Regenerated.
4133 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4135 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4136 and x86_64-*-linux*.
4138 * config/t-tls: New file.
4140 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4142 * configure.ac: Include ../config/enable.m4 and
4143 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4144 supports TLS and substitute set_have_cc_tls.
4145 * configure: Regenerated.
4147 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4149 * Makefile.in: Use libbid for DFP when BID is enabled.
4151 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4153 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4154 extra_parts. Add config/i386/t-cygming to tmake_file.
4155 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4157 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
4158 Danny Smith <dannysmith@users.sourceforge.net>
4161 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4162 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4163 * config/i386/t-crtfm: Compile crtfastmath.o with
4164 -minline-all-stringops.
4166 2007-05-10 Richard Sandiford <richard@codesourcery.com>
4168 * config.host (sparc-wrs-vxworks): New target.
4170 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
4172 * config.host: Recognize fido.
4174 2007-04-04 Janis Johnson <janis187@us.ibm.com>
4176 * configure: Check host, not target, for decimal float support.
4178 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
4180 * config/i386/t-crtpc: New file.
4181 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4182 (x86_64-*-linux*): Ditto.
4184 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
4186 * config.host (x86_64-*-mingw*): New target.
4188 2007-03-23 Michael Meissner <michael.meissner@amd.com>
4189 H.J. Lu <hongjiu.lu@intel.com>
4191 * Makefile.in (enable_decimal_float): New.
4193 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4194 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4195 (decbits-filenames): This.
4196 (decbits-objects): New.
4197 (libgcc-objects): Add $(decbits-objects).
4199 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4200 Substitute enable_decimal_float.
4201 * configure: Regenerated.
4203 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
4205 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4207 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4209 * Makefile.in (install-info): New dummy target.
4211 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4213 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4215 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4217 * Makefile.in: Add install-html and install-pdf dummy
4220 2007-02-05 Roger Sayle <roger@eyesopen.com>
4221 Daniel Jacobowitz <dan@codesourcery.com>
4223 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4224 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4225 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4227 2007-01-29 Janis Johnson <janis187@us.ibm.com>
4229 * Makefile.in (dec-filenames): Add decExcept.
4231 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4234 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4237 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
4239 * configure.ac: Add --enable-version-specific-runtime-libs.
4240 Correct $slibdir default.
4241 * configure: Regenerated.
4243 2007-01-23 Joseph Myers <joseph@codesourcery.com>
4245 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4247 2007-01-21 Andrew Pinski <pinskia@gmail.com>
4250 * config.host (alpha*-*-linux*): Set extra_parts.
4252 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
4254 * config/sh/t-linux: New.
4255 * config.host (sh*-*-linux*): Set tmake_file.
4257 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4259 * Makefile.in (install): Handle multilibs.
4261 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4263 * Makefile.in: Added .PHONY entry for documentation targets.
4265 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4267 * Makefile.in: Add empty info, html, dvi, pdf targets.
4269 2007-01-04 Mike Stump <mrs@apple.com>
4271 * Makefile.in (MAKEINFO): Remove.
4274 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
4276 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4277 * configure: Regenerate.
4278 * Makefile.in (host_subdir): Substitute it.
4279 (gcc_objdir): Use it.
4281 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4283 * config.host (ia64*-*-linux*): Set tmake_file.
4285 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4287 * Makefile.in (version): Define.
4289 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4290 Paolo Bonzini <bonzini@gnu.org>
4292 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4293 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4294 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4295 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4296 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4297 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4298 * configure: Generated.