1 2012-11-29 Kai Tietz <ktietz@redhat.com>
4 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5 * unwind-generic.h: Likewise.
6 * unwind-seh.c: Likewise.
8 2012-11-28 Richard Henderson <rth@redhat.com>
11 * emutls.c (__emutls_get_address): Avoid race condition between
12 obj->loc.offset read and emutls_key initialization.
14 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
16 Adjust decimal point of signed accum mode to GCC default.
19 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
21 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
22 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
24 (__divqq3, __divha3, __divsa3): Adjust to new position of
25 decimal point of signed accum types.
27 (__mulusa3_round): New function.
29 (__divqq_helper): New function.
32 2012-11-20 Jakub Jelinek <jakub@redhat.com>
35 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
37 2012-11-18 Teresa Johnson <tejohnson@google.com>
40 * libgcov.c (gcov_exit): Remove merged program summary
41 comparison unless !GCOV_LOCKED.
43 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
45 * soft-fp: Updated from glibc upstream.
47 2012-11-06 Ian Lance Taylor <iant@google.com>
49 * generic-morestack.c (__generic_morestack): Align the returned
50 stack pointer to a 32 byte boundary.
51 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
52 increment the return address until we have decided that we don't
53 have a varargs function.
54 (__morestack) [32-bit]: Align stack correctly when calling C
56 (__morestack) [64-bit]: Likewise.
58 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
60 * configure: Regenerate.
62 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
65 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
66 * config/i386/sfp-machine.h: Guard exception handling
67 code with _SOFT_FLOAT.
68 * config/i386/32/sfp-machine.h: Guard rounding handling
69 code with _SOFT_FLOAT.
70 * config/i386/64/sfp-machine.h: Ditto.
72 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
74 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
77 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
79 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
80 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
81 when appropriate. Correct structure element types.
82 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
83 -minline-all-stringops from compile flags.
85 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
87 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
89 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
91 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
93 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
95 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
98 2012-10-23 Ian Bolton <ian.bolton@arm.com>
99 Jim MacArthur <jim.macarthur@arm.com>
100 Marcus Shawcroft <marcus.shawcroft@arm.com>
101 Nigel Stephens <nigel.stephens@arm.com>
102 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
103 Richard Earnshaw <rearnsha@arm.com>
104 Sofiane Naci <sofiane.naci@arm.com>
105 Stephen Thomas <stephen.thomas@arm.com>
106 Tejas Belagod <tejas.belagod@arm.com>
107 Yufeng Zhang <yufeng.zhang@arm.com>
109 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
110 * config/aarch64/crti.S: New file.
111 * config/aarch64/crtn.S: New file.
112 * config/aarch64/linux-unwind.h: New file.
113 * config/aarch64/sfp-machine.h: New file.
114 * config/aarch64/sync-cache.c: New file.
115 * config/aarch64/t-aarch64: New file.
116 * config/aarch64/t-softfp: New file.
118 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
120 * config/mmix/crti.S: Mark program and data addresses using PRELD.
121 Remove typo'd and unnecessary alignment-LOC for .data. Remove
122 no-longer-needed LDBU insns.
124 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
127 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
128 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
130 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
132 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
134 2012-10-15 Matthias Klose <doko@ubuntu.com>
136 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
138 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
140 * configure: Regenerate.
141 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
143 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
145 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
146 instructions for 64bit targets only.
148 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
150 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
151 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
152 * config/i386/32/sfp-machine.h: ... here.
153 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
154 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
157 2012-10-07 Matthias Klose <doko@ubuntu.com>
159 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
161 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
163 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
165 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
166 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
167 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
170 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
173 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
176 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
179 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
180 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
181 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
183 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
186 * config/sh/linux-atomic.S: Delete.
187 * config/sh/linux-atomic.c: New.
188 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
189 linux-atomic.c. Add cflags to disable warnings.
191 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
194 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
196 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
197 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
198 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
199 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
200 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
202 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
204 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
206 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
207 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
209 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
211 * config.host (hppa-*-openbsd*): New target.
212 * config/pa/t-openbsd: New file.
214 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
217 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
218 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
219 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
220 (__divsa3): Use __negsi2 to negate r_quoL.
221 * config/avr/lib1funcs.S (FALIAS): New macro.
222 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
223 (__negsi2): ...this new function.
224 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
225 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
226 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
227 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
228 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
229 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
231 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
234 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
235 (lshrsi3): Reimplement as lshrsi3_r0.
237 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
240 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
243 2012-09-07 Teresa Johnson <tejohnson@google.com>
245 PR gcov-profile/54487
246 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
249 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
252 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
253 not configured --with-avrlibc=no.
254 * config/avr/t-avrlibc: New file.
255 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
256 (DPBIT_FUNCS): Ditto.
257 (TPBIT_FUNCS): Ditto.
259 2012-09-04 Teresa Johnson <tejohnson@google.com>
261 * libgcov.c (struct gcov_summary_buffer): New structure.
262 (gcov_histogram_insert): New function.
263 (gcov_compute_histogram): Ditto.
264 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
265 histograms during summary merging.
267 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
269 * config.host (x86_64-*-openbsd*): New target.
271 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
273 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
276 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
279 * config/avr/t-avr (conv_X): Rename to func_X.
281 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
284 * config/avr/lib1funcs-fixed.S: New file.
285 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
287 (neg2, neg4): New macros.
288 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
289 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
290 (__umulhisi3): Speed up MUL variant if there is enough flash.
291 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
293 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
294 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
295 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
296 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
297 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
298 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
299 (LIB2FUNCS_EXCLUDE): Add supported functions.
301 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
303 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
304 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
306 * fixed-obj.mk: Only expand dependency if $o is not in
309 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
311 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
313 2012-08-22 Joseph Myers <joseph@codesourcery.com>
315 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
316 depend on --enable-shared.
317 ($(lib1asmfuncs-o)): Use %.vis files independent of
319 * static-object.mk ($(base)$(objext), $(base).vis)
320 ($(base)_s$(objext)): Use same rules for visibility handling as in
323 2012-08-21 Ian Lance Taylor <iant@google.com>
325 * config/i386/morestack.S (__morestack_non_split): Increase amount
326 of space allocated for non-split code stack.
328 2012-08-19 Joseph Myers <joseph@codesourcery.com>
330 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
331 even if inhibit_libc.
333 2012-08-17 Julian Brown <julian@codesourcery.com>
335 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
336 -fexceptions -fnon-call-exceptions if not defined.
337 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
338 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
340 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
342 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
345 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
347 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
348 rs6000/t-slibgcc-aix.
350 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
352 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
354 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
356 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
358 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
361 * Makefile.in (version): Replace top_srcdir with srcdir.
363 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
365 * Makefile.in (version): set to BASE-VER file from gcc directory.
367 2012-08-01 Nick Clifton <nickc@redhat.com>
369 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
370 Implements __clrsb for an HImode argument.
372 2012-07-31 Nick Clifton <nickc@redhat.com>
374 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
375 Implements __clrsb for an HImode argument.
376 * config/stormy16/clrsbhi2.c: New file:
377 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
379 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
381 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
383 2012-07-19 Tristan Gingold <gingold@adacore.com>
384 Richard Henderson <rth@redhat.com>
386 * unwind-seh.c: New file.
387 * unwind-generic.h: Include windows.h for SEH.
388 (_Unwind_Exception): Use 6 private fields for SEH.
389 (_GCC_specific_handler): Declare.
390 * unwind-c.c (__gcc_personality_seh0): New function.
392 * config/i386/libgcc-cygming.ver: New file.
393 * config/i386/t-seh-eh: New file.
394 * config.host (x86_64-*-mingw*): Default to seh.
396 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
398 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
400 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
402 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
403 __builtin_expect when checking for exceptions.
404 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
406 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
408 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
409 function declaration.
410 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
412 * config/ia64/sfp-exceptions.c: New.
413 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
415 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
417 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
418 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
419 * config/i386/64/sfp-machine: ... (delete here) ...
420 * config/i386/sfp-machine.h: ... to here.
421 (FP_EX_MASK): Remove.
423 (FP_INIT_ROUNDMODE): Declare asm as volatile.
425 2012-06-11 Sriraman Tallam <tmsriram@google.com>
427 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
428 * config/i386/libgcc-sol2.ver: Ditto.
429 * config/i386/libgcc-glibc.ver: Ditto.
431 2012-06-11 Roland McGrath <mcgrathr@google.com>
433 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
434 If __GLIBC__ is defined, refer to __pthread_key_create instead of
437 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
439 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
440 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
441 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
442 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
443 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
444 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
445 * config/i386/64/sfp-machine: ... (delete here) ...
446 * config/i386/sfp-machine.h: ... to here.
448 (__sfp_handle_exceptions): New function declaration.
449 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
450 * config/i386/sfp-exceptions.c: New.
451 * config/i386/t-softfp: New.
452 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
453 i386/t-softfp to tmake_file.
455 2012-06-03 David S. Miller <davem@davemloft.net>
457 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
460 2012-05-31 David S. Miller <davem@davemloft.net>
462 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
463 multiply and divide instructions on 32-bit when V9.
464 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
466 2012-05-29 Joseph Myers <joseph@codesourcery.com>
468 * config/arm/ieee754-df.S: Fix typos.
469 * config/arm/ieee754-sf.S: Fix typos.
470 * config/c6x/libunwind.S: Fix typos.
471 * config/epiphany/udivsi3-float.c: Fix typos.
472 * config/microblaze/muldi3_hard.S: Fix typos.
473 * config/picochip/adddi3.S: Fix typos.
474 * config/picochip/ashlsi3.S: Fix typos.
475 * config/picochip/ashrsi3.S: Fix typos.
476 * config/picochip/clzsi2.S: Fix typos.
477 * config/picochip/cmpsi2.S: Fix typos.
478 * config/picochip/divmod15.S: Fix typos.
479 * config/picochip/divmodhi4.S: Fix typos.
480 * config/picochip/divmodsi4.S: Fix typos.
481 * config/picochip/longjmp.S: Fix typos.
482 * config/picochip/lshrsi3.S: Fix typos.
483 * config/picochip/parityhi2.S: Fix typos.
484 * config/picochip/popcounthi2.S: Fix typos.
485 * config/picochip/setjmp.S: Fix typos.
486 * config/picochip/subdi3.S: Fix typos.
487 * config/picochip/ucmpsi2.S: Fix typos.
488 * config/picochip/udivmodhi4.S: Fix typos.
489 * config/picochip/udivmodsi4.S: Fix typos.
490 * config/spu/divv2df3.c: Fix typos.
491 * config/spu/mfc_multi_tag_release.c: Fix typos.
492 * config/spu/mfc_tag_release.c: Fix typos.
493 * configure.ac: Fix typos.
494 * configure: Regenerate.
496 2012-05-25 Ian Lance Taylor <iant@google.com>
498 * config/i386/morestack.S (__morestack_non_split): Check whether
499 caller is varargs and needs %bp to hold the stack frame on return.
501 2012-05-25 Olivier Hainque <hainque@adacore.com>
503 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
504 sequence in the non pic case on VxWorks.
506 2012-05-24 Olivier Hainque <hainque@adacore.com>
508 * Makefile.in: Move dependency on install-unwind_h from
509 "install-leaf" to "install".
511 2012-05-24 Olivier Hainque <hainque@adacore.com>
513 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
514 Use a separate command for stamp removals.
516 2012-05-21 Andrew Pinski <apinski@cavium.com>
519 * configure.ac: Define the default includes to being none.
520 * configure: Regenerate.
522 2012-05-16 Olivier Hainque <hainque@adacore.com>
524 * Makefile.in (install-unwind_h): Rename into ...
525 (install-unwind_h-forbuild): New target.
526 (all): Use it instead of the former install-unwind_h.
527 (install-unwind_h): Reinstate, copy to user install destination
528 for include files, not to the internal gcc object directory one.
529 (install-leaf): Depend on it.
531 2012-05-15 Olivier Hainque <hainque@adacore.com>
533 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
534 register numbers. LR_REGNO replaces R_LR.
535 (ucontext_for): New, helper for ...
536 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
538 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
540 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
542 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
543 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
544 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
546 (i[34567]86-*-*, x86_64-*-*): ... here.
548 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
549 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
551 * config/i386/i386-cpuinfo.c: Rename to ...
552 * config/i386/cpuinfo.c: ... this.
553 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
555 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
556 (libgcc_cv_init_priority): New test.
557 * configure: Regenerate.
558 * config.in: New file.
559 * Makefile.in (clean): Rename config.h to auto-target.h.
560 (config.h): Likewise.
563 * config/i386/cpuinfo.c (auto-target.h): Include.
564 (CONSTRUCTOR_PRIORITY): Define.
565 (__cpu_indicator_init): Use it.
567 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
569 * longlong.h: Use a URL instead of an FSF postal address.
570 Replace spaces with tab.
572 2012-05-08 Teresa Johnson <tejohnson@google.com>
574 * libgcov.c (gcov_clear, __gcov_reset): New functions.
575 (__gcov_dump): Ditto.
576 (gcov_dump_complete): New global variable.
577 (gcov_exit): Export hidden to enable use in L_gcov_dump.
578 (__gcov_flush): Outline functionality now in gcov_clear.
579 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
581 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
583 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
584 (mips*-*-linux*): Include mips/t-tpbit when long double is
587 2012-04-25 Sriraman Tallam <tmsriram@google.com>
589 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
590 (get_available_features): New argument. Check for AVX2.
591 (__cpu_indicator_init): Modify call to get_available_features.
593 2012-04-25 Alan Modra <amodra@gmail.com>
595 * config/rs6000/crtsavevr.S: New file.
596 * config/rs6000/crtrestvr.S: New file.
597 * config/rs6000/t-savresfgpr: Build the above.
598 * config/rs6000/t-netbsd: Likewise.
600 2012-04-24 Sriraman Tallam <tmsriram@google.com>
602 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
604 2012-04-24 Sriraman Tallam <tmsriram@google.com>
606 * libgcc/config/i386/i386-cpuinfo.c: New file.
607 * libgcc/config/i386/t-cpuinfo: New file.
608 * libgcc/config.host: Include t-cpuinfo.
609 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
611 2012-04-24 Chao-ying Fu <fu@mips.com>
613 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
615 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
617 struct siginfo vs. siginfo_t
619 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
620 siginfo_t instead of struct siginfo.
621 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
622 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
623 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
624 (ia64_handle_unwabi): Likewise.
625 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
626 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
627 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
628 (sh_fallback_frame_state): Likewise.
629 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
630 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
632 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
634 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
637 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
639 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
640 if it hasn't been previously saved.
642 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
644 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
647 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
650 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
651 instead of __AVR_HAVE_8BIT_SP__.
653 2012-03-26 Tristan Gingold <gingold@adacore.com>
655 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
656 (unw_table_entry): Use unw_word instead of unsigned long.
657 (_Unwind_FindTableEntry): Likewise.
658 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
659 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
660 (_Unwind_FindTableEntry): Likewise.
661 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
662 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
663 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
664 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
665 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
666 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
667 (uw_init_context_1, uw_install_context): Likewise.
668 (unw_word): Move to unwind-ia64.h
670 2012-03-26 Tristan Gingold <gingold@adacore.com>
672 * config/vms/vms-ucrt0.c: Update copyright years.
674 (___gcc_main_flags): Declare.
675 (__main): Check flags to remap argv and exit code.
676 * config.host (*-*-*vms*): Adjust extra_parts.
677 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
680 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
682 * arm/lib1funcs.asm (ctzsi2): New function.
683 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
684 * arm/t-linux (LIB1ASMFUNCS): Likewise.
685 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
686 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
687 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
688 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
690 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
692 * config.host: Add bits to support powerpc64-*-freebsd*.
693 * config/rs6000/freebsd-unwind.h: New file.
694 * config/rs6000/t-freebsd64: New file.
696 2012-03-20 Richard Guenther <rguenther@suse.de>
698 PR gcov-profile/52627
699 * libgcov.c (init_mx): Fix mutex name.
701 2012-03-16 Tristan Gingold <gingold@adacore.com>
703 * config/ia64/vms-unwind.h: Remove ulong (and replace
704 it by unw_reg where used). Define unw_reg with __int64.
706 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
708 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
710 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
712 (sparc_is_sighandler): Likewise.
714 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
716 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
719 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
721 * config/arm/crtn.S: Fix typo.
723 2012-03-13 Richard Guenther <rguenther@suse.de>
725 * libgcov.c: Remove stdio.h include and NULL un-define.
727 2012-03-13 Richard Guenther <rguenther@suse.de>
730 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
732 2012-03-13 Richard Guenther <rguenther@suse.de>
734 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
736 2012-03-13 Richard Guenther <rguenther@suse.de>
738 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
739 and __gthread_mutex_init_function definitions.
741 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
743 * config.host (mips*-*-openbsd*): Remove.
745 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
747 * config.host: Remove alpha*-dec-osf5.1* handling.
748 * config/alpha/gthr-posix.c: Remove.
749 * config/alpha/libgcc-osf5.ver: Remove.
750 * config/alpha/osf5-unwind.h: Remove.
751 * config/alpha/t-osf-pthread: Remove.
752 * config/alpha/t-slibgcc-osf: Remove.
753 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
754 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
755 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
756 * mkmap-flat.awk: Remove osf_export handling.
758 2012-03-12 Richard Guenther <rguenther@suse.de>
760 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
761 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
762 (__gthread_mutex_init_function): New function.
763 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
766 * libgcov.c: Include gthr.h.
767 (__gcov_flush_mx): New global variable.
768 (init_mx, init_mx_once): New functions.
769 (__gcov_flush): Protect self with a mutex.
770 (__gcov_fork): Re-initialize mutex after forking.
771 * unwind-dw2-fde.c: Change condition under which to use
772 __GTHREAD_MUTEX_INIT_FUNCTION.
774 2012-03-12 Tristan Gingold <gingold@adacore.com>
776 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
777 * config/ia64/t-vms: Likewise.
779 2012-03-11 Michael Hope <michael.hope@linaro.org>
781 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
784 2012-03-07 Walter Lee <walt@tilera.com>
786 * config/tilepro/atomic.c: Rename "atomic_" prefix to
788 (atomic_xor): Rename and move definition to
789 config/tilepro/atomic.h.
790 (atomic_nand): Ditto.
791 * config/tilepro/atomic.h: Rename "atomic_" prefix to
793 (arch_atomic_xor): Move from config/tilepro/atomic.c.
794 (arch_atomic_nand): Ditto.
796 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
799 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
801 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
804 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
807 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
811 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
812 if RAMPZ affects reading from RAM.
813 (__tablejump_elpm__): Ditto.
815 (__movmemx_hi): Ditto.
816 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
817 (__do_global_dtors): Ditto.
818 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
819 (__movmemx_hi): Ditto.
821 2012-03-05 Richard Henderson <rth@redhat.com>
823 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
824 [ARM] (count_trailing_zeros): Use the builtin.
826 2012-03-01 Kai Tietz <ktietz@redhat.com>
828 * soft-fp: Imported from glibc upstream.
830 2012-02-28 Kai Tietz <ktietz@redhat.com>
832 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
833 for mingw-targets as attribute gcc_struct.
835 2012-02-28 Ian Lance Taylor <iant@google.com>
837 * generic-morestack.c (__splitstack_releasecontext): Correct call
838 to __morestack_release_segments.
840 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
843 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
844 for __linux__ when removing signals from __morestack_fullmask.
846 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
849 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
851 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
853 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
854 instead of HAVE_INITFINI_ARRAY.
855 * config/ia64/crtend.S: Likewise.
857 2012-02-20 Kai Tietz <ktietz@redhat.com>
860 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
862 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
863 to w32-unwind.h header.
865 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
867 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
868 (mips*-*-linux*): Remove t-slibgcc-libgcc.
869 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
870 * config/mips/mips16.S (__mips16_rdhwr): Delete.
872 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
874 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
876 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
879 * config/darwin-crt-tm.c: Correct typo.
881 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
882 Patrick Marlier <patrick.marlier@gmail.com>
885 * config/darwin-crt-tm.c: Generate dummy functions.
887 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
888 Patrick Marlier <patrick.marlier@gmail.com>
891 * config/darwin-crt-tm.c (getTMCloneTable): New function.
892 (__doTMRegistrations): Call it.
893 (__doTMdeRegistrations): Likewise.
895 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
896 Anatoly Sokolov <aesok@post.ru>
897 Eric Weddington <eric.weddington@atmel.com>
900 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
901 (__epilogue_restores__): Ditto.
903 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
907 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
908 Solaris 11 and slightly reformat.
909 (sparc_is_sighandler): Likewise.
911 2012-02-14 Walter Lee <walt@tilera.com>
913 * config.host: Handle tilegx and tilepro.
914 * config/tilegx/sfp-machine.h: New file.
915 * config/tilegx/sfp-machine32.h: New file.
916 * config/tilegx/sfp-machine64.h: New file.
917 * config/tilegx/t-crtstuff: New file.
918 * config/tilegx/t-softfp: New file.
919 * config/tilegx/t-tilegx: New file.
920 * config/tilepro/atomic.c: New file.
921 * config/tilepro/atomic.h: New file.
922 * config/tilepro/linux-unwind.h: New file.
923 * config/tilepro/sfp-machine.h: New file.
924 * config/tilepro/softdivide.c: New file.
925 * config/tilepro/softmpy.S: New file.
926 * config/tilepro/t-crtstuff: New file.
927 * config/tilepro/t-tilepro: New file.
929 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
933 * gthr-posix.h: Allow static initializer macros to be disabled.
934 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
936 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
938 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
939 Add t-slibgcc-libgcc to tmake_file.
940 * config/mips/libgcc-mips16.ver: Revert previous patch.
941 * config/mips/mips16.S (__mips16_rdhwr): Hide.
943 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
944 Jayant R Sonar <jayant.sonar@kpitcummins.com>
946 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
947 * config/cr16/crti.S: New file.
948 * config/cr16/crtlibid.S: New file.
949 * config/cr16/crtn.S: New file.
950 * config/cr16/lib1funcs.S: New file.
951 * config/cr16/t-cr16: New file.
952 * config/cr16/t-crtlibid: New file.
953 * config/cr16/unwind-dw2.h: New file.
954 * config/cr16/unwind-cr16.c: New file.
955 * config/cr16/divmodhi3.c: New file.
957 2012-01-25 Alan Modra <amodra@gmail.com>
959 * config/rs6000/t-linux64: Delete. Move..
960 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
961 * config/rs6000/t-linux: ..and libgcc flags to here.
963 2012-01-22 Douglas B Rupp <rupp@gnat.com>
965 * config.host (i[34567]86-*-interix3*):
966 Change triplet to i[34567]86-*-interix[3-9]*.
967 * configure: Regenerate.
969 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
970 Richard Sandiford <rdsandiford@googlemail.com>
972 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
973 * config/mips/mips16.S (__mips16_rdhwr): New function.
974 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
976 2012-01-11 Nathan Sidwell <nathan@acm.org>
978 * libgcov.c (__gcov_init): Ignore objects with no functions.
980 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
983 Extend __pgmx semantics to linearize memory.
984 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
985 * config/avr/lib1funcs.S (__xload_1): New function.
986 (__movmemx_qi, __movmemx_hi): New functions.
987 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
990 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
992 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
993 purported sigacthandler address isn't null before dereferencing it.
994 (sparc_is_sighandler): Likewise.
996 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
999 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1000 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
1001 (sparc_is_sighandler): Likewise.
1002 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1004 2012-01-06 Tristan Gingold <gingold@adacore.com>
1006 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1007 compatibility thunks...
1008 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1009 (crtbeginS.o, crtendS.o): ... and these to ...
1010 * config/ia64/t-ia64-elf: ... this new file.
1011 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1012 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1014 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1016 * configure: Regenerate.
1017 * config/s390/t-crtstuff: Remove -fPIC.
1019 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1022 * enable-execute-stack-mprotect.c (getpagesize): Do not define
1025 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1028 * config/avr/lib1funcs.S: Remove FIXME comments.
1029 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1031 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
1033 Implement light-weight DImode support.
1034 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1035 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1036 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1037 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1039 2011-12-30 Nathan Sidwell <nathan@acm.org>
1041 * libgcov.c (gcov_crc32): Remove global var.
1042 (free_fn_data): New function.
1043 (buffer_fn_data): Pass in filename, more robust error recovery.
1044 (crc32_unsigned): New function.
1045 (gcov_exit): More robust detection of new program. More robust
1047 (__gcov_init): Do not update program's crc here.
1049 2011-12-21 Tristan Gingold <gingold@adacore.com>
1051 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1053 2011-12-21 Ian Lance Taylor <iant@google.com>
1055 * config/i386/morestack.S: Simplify CFI opcodes throughout.
1057 2011-12-20 Ian Lance Taylor <iant@google.com>
1059 * config/i386/morestack.S (__morestack_non_split): If there is
1060 enough stack space already, don't split. Ask for more stack space
1063 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
1065 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1067 (_Unwind_DebugHook): New function.
1068 (uw_restore_core_regs): New define.
1069 (unwind_phase2): Use uw_restore_core_regs instead of
1071 (unwind_phase2_forced): Likewise.
1072 (__gnu_Unwind_Resume): Likewise.
1074 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
1076 * config/alpha/linux-unwind.h: Update copyright years.
1077 (MD_FROB_UPDATE_CONTEXT): New define.
1078 (alpha_frob_update_context): New function.
1080 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
1082 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1083 tmake_file rather replacing it.
1085 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
1087 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1088 function is not used for PPC64.
1089 (save_world): Amend comments. Update the VRsave mask to reflect the
1091 (rest_world): Update comments, do not clobber r10, do not use r8.
1092 (eh_rest_world_r10): Amend comments, do not use r8.
1093 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1094 no longer used, move restore of CR and target address to the end of
1097 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1099 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1100 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1102 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
1105 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1106 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1108 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1110 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1112 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
1115 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1116 * config/avr/lib1funcs.S (__muldi3): New function.
1118 2011-12-06 Andrew Pinski <apinski@cavium.com>
1120 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1122 (__frame_dummy_init_array_entry): Likewise.
1124 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
1126 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1130 * config/avr/lib1funcs.S (__prologue_saves__,
1131 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1132 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1134 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1136 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1138 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1141 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1142 (_ITM_deregisterTMCloneTable): Likewise.
1143 (__register_frame_info): Fix unused warning.
1144 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1145 pthread_default_stacksize_np): Likewise.
1146 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1148 2011-11-29 DJ Delorie <dj@redhat.com>
1150 * config.host (rl78-*-elf): New case.
1151 * config/rl78: New directory for the Renesas RL78.
1153 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1155 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1158 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1161 * config/rs6000/t-savresfgpr: New file.
1162 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1163 $(srcdir)/config/rs6000/eabi.S.
1164 * config/rs6000/t-ppccomm-ldbl: Remove.
1165 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1167 (powerpc-*-eabispe*): Likewise.
1168 (powerpc-*-eabi*): Likewise.
1169 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1170 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1171 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1172 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1174 (powerpc-*-eabisim*): Likewise.
1175 (powerpc-*-elf*): Likewise.
1176 (powerpc-*-eabialtivec*): Likewise.
1177 (powerpc-xilinx-eabi*): Likewise.
1178 (powerpc-*-rtems*): Likewise.
1179 (powerpcle-*-elf*): Likewise.
1180 (powerpcle-*-eabisim*): Likewise.
1181 (powerpcle-*-eabi*): Likewise.
1183 2011-11-27 Ian Lance Taylor <iant@google.com>
1185 * generic-morestack.c (__splitstack_find): Check for NULL old
1187 (__splitstack_resetcontext): New function.
1188 (__splitstack_releasecontext): New function.
1189 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1191 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1193 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1195 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1197 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1199 2011-11-26 Richard Henderson <rth@redhat.com>
1201 * config/m68k/linux-atomic.c: New file.
1202 * config/m68k/t-linux: New file.
1203 * config.host (m68k-uclinux, m68k-linux): Use it.
1205 2011-11-26 Richard Henderson <rth@redhat.com>
1207 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1208 (__TMC_END__): Only declare if hidden is available; in the definition,
1209 if hidden is unavailable add a null record.
1210 (deregister_tm_clones, register_tm_clones): New.
1211 (__do_global_dtors_aux, frame_dummy): Use them.
1212 (__do_global_dtors, __do_global_ctors_1): Likewise.
1214 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
1216 * config/darwin-crt-tm.c: New file.
1217 * config.host (darwin): Build crttms.o crttme.o to provide
1218 startup and shutdown for tm clones.
1219 * config/t-darwin (crttms.o): New build rule.
1220 (crttme.o): Likewise.
1222 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
1224 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1227 2011-11-21 Richard Henderson <rth@redhat.com>
1229 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1230 (__TMC_LIST__, __TMC_END__): New.
1231 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1232 (__do_global_dtors): Likewise.
1233 (frame_dummy): Call _ITM_registerTMCloneTable.
1234 (__do_global_ctors_1): Likewise.
1236 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1238 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1239 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1240 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1241 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1242 * config/i386/t-darwin64: Remove.
1243 * config/sh/t-netbsd (LIB2ADD): Remove.
1245 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
1248 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1249 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1250 * config/avr/lib1funcs.S (wmov): New assembler macro.
1251 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1252 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1253 (__udivmod64): New function.
1254 (__negdi2): New function.
1256 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
1258 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1259 *-*-freebsd*aout*): Remove.
1261 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
1263 * static-object.mk (c_flags-$o): Save c_flags.
1264 ($(base)$(objext)): Use it.
1266 2011-11-18 Steve Ellcey <sje@cup.hp.com>
1268 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1270 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
1273 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1274 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1277 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1279 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1281 (aeabi_uidivmod): Likewise.
1282 (umodsi3): Likewise.
1284 (aeabi_idivmod): Likewise.
1287 2011-11-16 Tristan Gingold <gingold@adacore.com>
1289 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1291 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
1294 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1295 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1297 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1299 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1301 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1302 * config/pa/t-stublib64: Delete.
1304 2011-11-12 Richard Henderson <rth@redhat.com>
1306 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1307 cast the pointer argument to _Unwind_SetGRPtr.
1309 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1311 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1313 2011-11-09 Ian Lance Taylor <iant@google.com>
1315 * generic-morestack.c: Include <string.h>.
1316 (uintptr_type): Define.
1317 (struct initial_sp): Add dont_block_signals field. Reduce size of
1319 (allocate_segment): Set prev field to NULL. Don't set
1320 __morestack_current_segment or __morestack_segments.
1321 (__generic_morestack): Update current->prev and *pp after calling
1323 (__morestack_block_signals): Don't do anything if
1324 dont_block_signals is set.
1325 (__morestack_unblock_signals): Likewise.
1326 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1328 (__splitstack_block_signals): New function.
1329 (enum __splitstack_content_offsets): Define.
1330 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1331 (__splitstack_makecontext): New function.
1332 (__splitstack_block_signals_context): New function.
1333 (__splitstack_find_context): New function.
1334 * config/i386/morestack.S (__morestack_get_guard): New function.
1335 (__morestack_set_guard, __morestack_make_guard): New functions.
1336 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1338 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1340 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1341 (i[34567]86-*-mingw*): ... here.
1342 (x86_64-*-mingw*): ... here.
1344 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1346 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1348 2011-11-07 Nathan Sidwell <nathan@acm.org>
1350 * libgcov.c (struct gcov_fn_buffer): New struct.
1351 (buffer_fn_data): New helper.
1352 (gcov_exit): Rework for new gcov data structures.
1354 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
1357 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1359 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1361 * config.host (tmake_file): Correct comment.
1362 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1364 (bfin*-uclinux*): Likewise.
1365 (bfin*-linux-uclibc*): Likewise.
1366 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1368 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1370 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1371 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1372 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1373 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1374 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1375 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1376 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1377 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1378 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1379 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1380 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1381 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1382 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1384 * config/bfin/t-elf: Remove.
1385 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1387 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1389 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1390 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1391 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1392 (lm32-*-elf*): ... this.
1393 (lm32-*-rtems*): ... and this.
1395 (m32r-*-rtems*): Add to tmake_file.
1396 (moxie-*-rtems*): Likewise.
1397 (sparc-*-rtems*): Likewise.
1398 Remove t-rtems from tmake_file.
1399 (sparc64-*-rtems*): Likewise.
1400 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1403 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1406 * config/gthr-posix.h: Move ...
1407 * gthr-posix.h: ... here.
1408 * config/gthr-lynx.h: Reflect this.
1409 * config/gthr-vxworks.h: Likewise.
1410 * config/rs6000/gthr-aix.h: Likewise.
1411 * configure.ac (target_thread_file): Likewise.
1412 * configure: Regenerate.
1414 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1416 * config.host (arm*-*-rtemseabi*): New target.
1418 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1421 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1424 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1426 * config.host (epiphany-*-elf*): New configuration.
1427 * config/epiphany: New Directory.
1429 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1431 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1432 * config/avr/t-rtems: New.
1433 Filter out _exit from LIB1ASMFUNCS.
1435 2011-11-04 David S. Miller <davem@davemloft.net>
1437 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1438 * configure: Rebuild.
1440 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1442 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1445 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
1448 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1449 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1451 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1454 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1456 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1458 * config/c6x/t-elf (LIB2ADDEH): Set.
1459 * config/c6x/t-c6x-elf: Remove.
1461 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1463 * config/i386/sol2-ci.S: Rename to ...
1464 * config/i386/crti.S: ... this.
1465 * config/i386/sol2-cn.S: Rename to ...
1466 * config/i386/crtn.S: ... this.
1467 * config/sparc/sol2-ci.S: Rename to ...
1468 * config/sparc/crti.S: ... this.
1469 * config/sparc/sol2-cn.S: Rename to ...
1470 * config/sparc/crtn.S: ... this.
1471 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1472 (crti.o, crtn.o): Remove.
1474 2011-11-04 Tristan Gingold <gingold@adacore.com>
1476 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1478 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
1480 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1482 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
1484 * config.host (crisv32-*-none, cris-*-none): Remove.
1485 (crisv32-*-elf): Append to tmake_file, don't just set it.
1486 (cris-*-elf): Add missing t-fdpbit to tmake_file.
1488 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1490 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1491 (ecrtn$(objext)): Likewise.
1492 (ncrti$(objext)): Likewise.
1493 (ncrtn$(objext)): Likewise.
1495 2011-11-03 Andreas Schwab <schwab@redhat.com>
1497 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1499 2011-11-02 David S. Miller <davem@davemloft.net>
1501 * configure.ac: Set host_address on sparc too.
1502 * configure: Regenerate.
1503 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1504 based upon host_address.
1505 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1507 2011-11-02 Jason Merrill <jason@redhat.com>
1509 * config/rs6000/t-ppccomm: Add missing \.
1511 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1513 * gthr-single.h, gthr.h: New files.
1514 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1515 config/gthr-vxworks.h, config/i386/gthr-win32.h,
1516 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1517 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1518 * config/i386/gthr-win32.c: Include "gthr-win32.h".
1519 * configure.ac (thread_header): New variable.
1520 Set it depending on target_thread_file.
1521 (gthr-default.h): Link from $thread_header.
1522 * configure: Regenerate.
1523 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1525 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1527 * configure.ac (tm_file_): New variable.
1528 Determine from tm_file.
1529 (tm_file, tm_defines): Substitute.
1530 * configure: Regenerate.
1531 * mkheader.sh: New file.
1532 * Makefile.in (clean): Remove libgcc_tm.h.
1533 ($(objects)): Depend on libgcc_tm.h.
1534 (libgcc_tm_defines, libgcc_tm_file): New variables.
1535 (libgcc_tm.h, libgcc_tm.stamp): New targets.
1536 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1537 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1538 ($(extra-parts)): Depend on libgcc_tm.h.
1539 * config.host (tm_defines, tm_file): New variable.
1540 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1541 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1542 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1543 (avr-*-rtems*): Likewise.
1544 (avr-*-*): Likewise.
1545 (frv-*-elf): Likewise.
1546 (frv-*-*linux*): Likewise.
1547 (h8300-*-rtems*): Likewise.
1548 (h8300-*-elf*): Likewise.
1549 (i[34567]86-*-darwin*): Likewise.
1550 (x86_64-*-darwin*): Likewise.
1551 (rx-*-elf): Likewise.
1552 (tic6x-*-uclinux): Likewise.
1553 (tic6x-*-elf): Likewise.
1554 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1555 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1556 * config/i386/cygming-crtbegin.c: Likewise.
1557 * config/i386/cygming-crtend.c: Likewise.
1558 * config/ia64/fde-vms.c: Likewise.
1559 * config/ia64/unwind-ia64.c: Likewise.
1560 * config/libbid/bid_gcc_intrinsics.h: Likewise.
1561 * config/rs6000/darwin-fallback.c: Likewise.
1562 * config/stormy16/lib2funcs.c: Likewise.
1563 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1564 * crtstuff.c: Likewise.
1565 * dfp-bit.h: Likewise.
1566 * emutls.c: Likewise.
1567 * fixed-bit.c: Likewise.
1568 * fp-bit.c: Likewise.
1569 * generic-morestack-thread.c: Likewise.
1570 * generic-morestack.c: Likewise.
1571 * libgcc2.c: Likewise.
1572 * libgcov.c: Likewise.
1573 * unwind-dw2-fde-dip.c: Likewise.
1574 * unwind-dw2-fde.c: Likewise.
1575 * unwind-dw2.c: Likewise.
1576 * unwind-sjlj.c: Likewise.
1578 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1580 * configure.ac: Include ../config/picflag.m4.
1581 (GCC_PICFLAG): Call it.
1583 * configure: Regenerate.
1584 * Makefile.in (gcc_srcdir): Remove.
1585 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1586 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1587 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1588 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1589 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1592 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1593 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1594 to refer to libgcc2.c.
1596 * config/darwin-64.c: New file.
1597 * config/darwin-crt3.c: Remove comment.
1598 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1599 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1600 config/udivmodsi4.c: New files.
1601 * config/memcmp.c, config/memcpy.c, config/memmove.c,
1602 config/memset.c: New files.
1603 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1604 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1605 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1606 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1607 * config/t-openbsd-thread: New file.
1608 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1609 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1610 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1611 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1614 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1615 to refer to gthr-posix.c.
1616 * config/alpha/t-vms (LIB2ADD): Set.
1617 * config/alpha/vms-gcc_shell_handler.c: New file.
1618 * config/arm/bpabi.c, config/arm/fp16.c,
1619 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1620 config/arm/unaligned-funcs.c: New files.
1621 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1622 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1623 * config/arm/t-linux: Likewise.
1624 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1625 * config/arm/t-netbsd: New file.
1626 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1627 * config/arm/t-symbian (LIB2ADD_ST): Set.
1628 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1629 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1630 * config/bfin/t-elf: New file.
1631 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1632 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1633 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1634 config/c6x/ltf.c: New files.
1635 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1636 (HOST_LIBGCC2_CFLAGS): Set.
1637 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1638 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1639 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1641 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1642 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1643 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1644 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1645 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1647 * config/frv/t-frv (LIB2ADD): Set.
1648 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1649 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1650 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1651 config/h8300/popcounthi2.c: New files.
1652 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1653 * config/i386/gthr-win32.c: New file.
1654 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1655 * config/i386/t-cygwin: Likewise.
1656 * config/i386/t-darwin, config/i386/t-darwin64,
1657 config/i386/t-gthr-win32, config/i386/t-interix: New files.
1658 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1659 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1660 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1661 * config/ia64/quadlib.c: New file.
1662 * config/ia64/t-hpux (LIB2ADD): Set.
1663 * config/ia64/t-ia64: Add comment.
1664 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1665 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1666 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1667 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1668 * config/m32c/t-m32c (LIB2ADD): Set.
1669 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1670 * config/m32r/t-m32r: Likewise.
1671 * config/m68k/fpgnulib.c: New file.
1672 * config/m68k/t-floatlib (LIB2ADD): Set.
1673 (xfgnulib.c): New target.
1674 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1675 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1676 * config/mep/t-mep (LIB2ADD): Set.
1677 * config/microblaze/divsi3.asm: Rename to divsi3.S.
1678 * config/microblaze/moddi3.asm: Rename to moddi3.S.
1679 * config/microblaze/modsi3.asm: Rename to modsi3.S.
1680 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1681 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1682 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1683 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1684 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1685 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1686 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1688 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1689 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1690 * config/pa/fptr.c, config/pa/lib2funcs.S,
1691 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1692 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1693 (LIB2ADD, LIB2ADD_ST): Set.
1694 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1695 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1697 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1698 * config/pdp11/t-pdp11: New file.
1699 * config/picochip/libgccExtras/adddi3.S,
1700 config/picochip/libgccExtras/ashlsi3.S,
1701 config/picochip/libgccExtras/ashrsi3.S,
1702 config/picochip/libgccExtras/clzsi2.S,
1703 config/picochip/libgccExtras/cmpsi2.S,
1704 config/picochip/libgccExtras/divmod15.S,
1705 config/picochip/libgccExtras/divmodhi4.S,
1706 config/picochip/libgccExtras/divmodsi4.S,
1707 config/picochip/libgccExtras/lshrsi3.S,
1708 config/picochip/libgccExtras/parityhi2.S,
1709 config/picochip/libgccExtras/popcounthi2.S,
1710 config/picochip/libgccExtras/subdi3.S,
1711 config/picochip/libgccExtras/ucmpsi2.S,
1712 config/picochip/libgccExtras/udivmodhi4.S,
1713 config/picochip/libgccExtras/udivmodsi4.S: New files.
1714 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1715 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1716 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1717 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1718 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1719 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1720 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
1721 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1723 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1724 (HOST_LIBGCC2_CFLAGS): Set.
1725 * config/rs6000/t-darwin64: New file.
1726 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1727 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1728 * config/rs6000/t-ppccomm (LIB2ADD): Add
1729 $(srcdir)/config/rs6000/tramp.S.
1730 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1731 Add $(srcdir)/config/rs6000/eabi.S.
1732 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1733 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1734 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1735 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1736 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1737 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1738 * config/rs6000/tramp.S: New file.
1739 * config/s390/t-tpf: Remove.
1740 * config/sh/linux-atomic.S: New file.
1741 * config/sh/t-linux (LIB2ADD): Set.
1742 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1743 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1744 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1746 (HOST_LIBGCC2_CFLAGS): Set.
1747 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1748 * config/spu/divmodti4.c, config/spu/divv2df3.c,
1749 config/spu/float_disf.c, config/spu/float_unsdidf.c,
1750 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1751 config/spu/mfc_multi_tag_release.c,
1752 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1753 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1754 config/spu/multi3.c: New files.
1755 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1756 (HOST_LIBGCC2_CFLAGS): Set.
1757 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1758 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1759 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1760 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1761 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1762 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1763 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1764 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1765 config/stormy16/umodsi3.c: New files.
1766 * config/xtensa/lib2funcs.S: New file.
1767 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1768 * config/xtensa/t-xtensa (LIB2ADD): Set.
1769 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1770 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1771 Add t-freebsd-thread to tmake_file for posix threads.
1772 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1773 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1774 (*-*-lynxos*): Likewise.
1775 (*-*-netbsd*): Likewise.
1776 (*-*-openbsd*): Likewise.
1777 Add t-openbsd-thread to tmake_file for posix threads.
1778 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1779 (*-*-vxworks*): Set tmake_file.
1780 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1781 (alpha*-*-freebsd*): Likewise.
1782 (alpha*-*-netbsd*): Likewise.
1783 (alpha*-*-openbsd*): Likewise.
1784 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1785 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1786 (alpha*-dec-*vms*): Likewise.
1787 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1788 (bfin*-elf*): Add bfin/t-elf to tmake_file.
1789 (bfin*-uclinux*): Likewise.
1790 (bfin*-linux-uclibc*): Likewise.
1791 (crisv32-*-elf): Add cris/t-cris to tmake_file.
1792 (crisv32-*-none): Likewise.
1793 (cris-*-elf): Likewise.
1794 (cris-*-none): Likewise.
1795 (cris-*-linux*, crisv32-*-linux*): Likewise.
1796 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1798 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1800 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1801 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1802 (x86_64-*-elf*): Likewise.
1803 (i[34567]86-*-nto-qnx*): Likewise.
1804 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1806 (x86_64-*-mingw*): Likewise.
1807 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1808 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1809 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1810 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1811 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1813 (mipsisa64sr71k-*-elf*): Likewise.
1814 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1815 (mips-*-elf*, mipsel-*-elf*): Likewise.
1816 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1817 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1818 (mips*-*-rtems*): Likewise.
1819 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1821 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1822 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1823 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1824 (spu-*-elf*): Likewise.
1825 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1827 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1829 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1830 $(srcdir) to refer to $(LIB1ASMSRC).
1832 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1833 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1834 config/arm/lib1funcs.S: New files.
1835 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1836 * config/arm/t-arm: New file.
1837 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1838 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1839 config/arm/t-strongarm-elf: New files.
1840 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1841 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1842 * config/avr/lib1funcs.S: New file.
1843 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1844 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1845 * config/c6x/lib1funcs.S: New file.
1846 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1847 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1848 * config/frv/lib1funcs.S: New file.
1849 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1850 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1851 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1852 * config/ia64/__divxf3.asm: Rename to ...
1853 * config/ia64/__divxf3.S: ... this.
1854 Adapt lib1funcs.asm filename.
1855 * config/ia64/_fixtfdi.asm: Rename to ...
1856 * config/ia64/_fixtfdi.S: ... this.
1857 Adapt lib1funcs.asm filename.
1858 * config/ia64/_fixunstfdi.asm: Rename to ...
1859 * config/ia64/_fixunstfdi.S: ... this.
1860 Adapt lib1funcs.asm filename.
1861 * config/ia64/_floatditf.asm: Rename to ...
1862 * config/ia64/_floatditf.S: ... this.
1863 Adapt lib1funcs.asm filename.
1864 * config/ia64/lib1funcs.S: New file.
1865 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1866 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1867 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1868 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1869 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1870 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1871 * config/mep/lib1funcs.S: New file.
1872 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1873 * config/mips/mips16.S: New file.
1874 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1875 * config/pa/milli64.S: New file.
1876 * config/pa/t-linux, config/pa/t-linux64: New files.
1877 * config/picochip/lib1funcs.S: New file.
1878 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1879 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1880 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1881 * config/sh/t-netbsd: New file.
1882 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1883 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1884 * config/sh/t-sh64: New file.
1885 * config/sparc/lb1spc.S: New file.
1886 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1888 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1889 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1890 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1891 config/xtensa/lib1funcs.S: New files.
1892 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1893 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1895 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1896 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1897 (arm*-*-linux*): Likewise.
1898 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1899 arm*-*-linux-*eabi, add arm/t-linux otherwise.
1900 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1901 (arm*-*-ecos-elf): Likewise.
1902 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1903 (arm*-*-rtems*): Likewise.
1904 (arm*-*-elf): Likewise.
1905 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1906 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1907 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1908 (bfin*-uclinux*): Likewise.
1909 (bfin*-linux-uclibc*): Likewise.
1910 (bfin*-rtems*): Likewise.
1911 (bfin*-*): Likewise.
1912 (fido-*-elf): Merge into m68k-*-elf*.
1913 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1914 (frv-*-*linux*): Add frv/t-frv to tmake_file.
1915 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1916 (h8300-*-elf*): Likewise.
1917 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1918 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1919 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1920 (i[34567]86-*-mingw*): Likewise.
1921 (x86_64-*-mingw*): Likewise.
1922 (i[34567]86-*-interix3*): Likewise.
1923 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1924 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1925 (m68k-*-elf*): Also handle fido-*-elf.
1926 Add m68k/t-floatlib to tmake_file.
1927 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1928 (m68k-*-linux*): Likewise.
1929 (m68k-*-rtems*): Likewise.
1930 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1931 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1933 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1934 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1935 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1936 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1937 sh/t-netbsd to tmake_file.
1938 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1939 (sh-*-rtems*): Add sh/t-sh to tmake_file.
1940 (sh-wrs-vxworks): Likewise.
1941 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1943 (v850*-*-*): Add v850/t-v850 to tmake_file.
1944 (vax-*-linux*): Add vax/t-linux to tmake_file.
1945 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1947 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1949 * crtstuff.c: New file.
1950 * Makefile.in (CRTSTUFF_CFLAGS): Define.
1951 (CRTSTUFF_T_CFLAGS): Define.
1952 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1953 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1954 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
1957 (crtbeginT.o): Use $(objext).
1958 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
1959 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
1960 (gcc-extra-parts): Remove.
1961 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
1963 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1964 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
1965 Add t-crtstuff-pic to tmake_file.
1966 (*-*-lynxos*): New case.
1967 Set tmake_file, extra_parts.
1968 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
1969 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
1970 *-*-netbsdelf[2-9]*.
1971 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
1972 (*-*-rtems*): Set extra_parts.
1973 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
1974 (*-*-uclinux*): New case.
1976 (*-*-vms*): New case.
1977 Set tmake_file, extra_parts.
1978 (*-*-elf): Set extra_parts.
1979 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
1980 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
1983 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
1985 (arm*-*-freebsd*): Add t-crtin to tmake_file.
1986 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
1987 (arm-wrs-vxworks): Append to tmake_file.
1989 (arm*-*-uclinux*): Set extra_parts.
1990 (arm*-*-ecos-elf): Likewise.
1991 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
1993 (arm*-*-rtems*): Set extra_parts.
1994 (arm*-*-elf): Likewise.
1995 (avr-*-rtems*): Clear extra_parts.
1996 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
1998 (bfin*-uclinux*): Likewise.
1999 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2000 (bfin*-rtems*): Append to tmake_file.
2002 (bfin*-*): Likewise.
2003 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2004 (crisv32-*-elf): ... this.
2005 (crisv32-*-none): ... this.
2006 (cris-*-elf, cris-*-none): New cases.
2007 Add cris/t-elfmulti to tmake_file.
2008 (fr30-*-elf): Append to tmake_file.
2010 (frv-*-elf): Append to tmake_file, add frv/t-frv.
2012 (h8300-*-rtems*): Append to tmake_file.
2014 (h8300-*-elf*): Likewise.
2015 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2017 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2019 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2020 (x86_64-*-elf*): Likewise.
2021 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2022 (x86_64-*-freebsd*): Likewise.
2023 (x86_64-*-netbsd*): Likewise.
2024 (i[34567]86-*-linux*): Likewise.
2025 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2026 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2027 (x86_64-*-linux*): Likewise.
2028 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2029 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2032 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2033 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2034 Append to extra_parts, remove crtbegin.o, crtend.o.
2035 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2036 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2037 crtend.o, crtbeginS.o, crtendS.o.
2038 (ia64*-*-linux*): Comment extra_parts.
2039 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2041 (iq2000*-*-elf*): Clear extra_parts.
2042 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2043 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2044 (m32r-*-elf*, m32r-*-rtems*): Split off ...
2045 (m32r-*-rtems*): ... this.
2046 Add m32r/t-m32r to tmake_file.
2047 (m68k-*-elf*): Add t-crtin to tmake_file.
2048 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2049 (mcore-*-elf): Likewise.
2050 (microblaze*-*-*): Set extra_parts.
2051 (mips*-sde-elf*): New case.
2052 Set tmake_file, extra_parts.
2053 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2054 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2055 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2058 (mipsisa64sr71k-*-elf*): Likewise.
2059 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2060 (mips-*-elf*, mipsel-*-elf*): Likewise.
2061 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2062 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2063 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2064 (mips*-*-rtems*): Likewise.
2065 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2066 (moxie-*-*): Split into ...
2067 (moxie-*-elf, moxie-*-uclinux*): ... this.
2068 Add to extra_parts, remove crtbegin.o, crtend.o.
2069 (moxie-*-rtems*): New case.
2072 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2074 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2075 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2078 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2079 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2081 (powerpc-*-eabisim*): Likewise.
2082 (powerpc-*-elf*): Likewise.
2083 (powerpc-*-eabialtivec*): Likewise.
2084 (powerpc-xilinx-eabi*): Likewise.
2085 (powerpc-*-eabi*): Likewise.
2086 (powerpc-*-rtems*): Likewise.
2087 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2090 (powerpc-*-lynxos*): Add to tmake_file.
2091 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2092 rs6000/t-crtstuff, t-crtstuff-pic.
2094 (powerpcle-*-eabisim*): Likewise.
2095 (powerpcle-*-eabi*): Likewise.
2096 (rx-*-elf): Remove extra_parts.
2097 (s390x-ibm-tpf*): Set extra_parts.
2098 (score-*-elf): Set extra_parts.
2099 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2100 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2101 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2102 (sh64l*-*-netbsd*): Split into ...
2103 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2104 Add t-crtstuff-pic to tmake_file.
2106 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2108 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2109 (sparc-*-elf*): Remove t-crtin from tmake_file.
2110 Add to extra_parts, remove crtbegin.o, crtend.o.
2111 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2112 (sparc64-*-linux*): Likewise.
2113 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2114 Add to extra_parts, remove crtbegin.o, crtend.o.
2115 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2116 Add to extra_parts, remove crtbegin.o, crtend.o.
2117 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2118 Add to extra_parts, remove crtbegin.o, crtend.o.
2119 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2120 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2121 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2123 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2125 (tic6x-*-*): Change to ...
2126 (tic6x-*-elf): ... this.
2128 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2130 (am33_2.0-*-linux*): Add comment.
2131 (mep*-*-*): Add mep/t-mep to tmake_file.
2133 * config/alpha/t-vms: New file.
2134 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2135 * config/arm/crti.S, config/arm/crtn.S: New files.
2136 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2137 * config/bfin/crtlibid.S: New file.
2138 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2139 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2140 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2141 (crti.o, crtin.o): New rules.
2142 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2143 * config/c6x/t-uclinux: New file.
2144 * config/cris/t-elfmulti: New file.
2145 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2146 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2147 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2148 * config/frv/t-frv: New file.
2149 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2150 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2151 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2153 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2154 refer to cygming-crtbegin.c, cygming-crtend.c.
2156 * config/i386/t-nto: New file.
2157 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2158 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2159 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2160 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2163 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2164 (crtinitS.o): New rule.
2165 * config/ia64/vms-crtinit.S: New file.
2166 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2167 * config/m32r/initfini.c: New file.
2168 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2169 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2170 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2171 * config/mep/t-mep: New file.
2172 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2173 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2174 * config/mips/crti.S, config/mips/crtn.S: New files.
2175 * config/mips/t-crtstuff: New file.
2176 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2177 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2178 (CUSTOM_CRTIN): Set.
2179 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2181 Use $(srcdir) to refer to crti.S, crtn.S.
2182 Use .S extension, $<.
2183 * config/moxie/crti.asm: Rename to ...
2184 * config/moxie/crti.S: ... this.
2185 * config/moxie/crtn.asm: Rename to ...
2186 * config/moxie/crtn.S: ... this.
2187 * config/moxie/t-moxie: Remove.
2188 * config/pa/stublib.c: New file.
2189 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2190 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2191 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2192 * config/rs6000/t-crtstuff: New file.
2193 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2194 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2195 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2196 Make output file explicit.
2197 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2198 Make output file explicit.
2199 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2200 Make output file explicit.
2201 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2202 Make output file explicit.
2203 * config/score/crti.S, config/score/crtn.S: New files.
2204 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2205 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2207 * config/sh/t-sh, config/sh/t-superh: New files.
2208 * config/sparc/t-linux64: New file.
2209 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2210 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2211 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2212 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2213 * config/t-crtin: Remove.
2214 * config/t-crtstuff-pic: New file.
2215 * config/t-sol2 (CUSTOM_CRTIN): Set.
2216 (crti.o, crtn.o): New rules.
2217 * config/vms/t-vms: New file.
2218 * config/vms/vms-ucrt0.c: New file.
2219 * config/xtensa/t-elf: New file.
2221 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2223 * Makefile.in (SHLIB_NM_FLAGS): Set.
2224 * mkmap-flat.awk, mkmap-symver.awk: New files.
2225 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2227 * configure: Regenerate.
2228 * config/libgcc-glibc.ver: New file.
2229 * config/libgcc-libsystem.ver: New file.
2230 * config/t-libunwind (SHLIB_LC): Set.
2231 * config/t-linux: New file.
2232 * config/t-slibgcc (INSTALL_SHLIB): New.
2233 (SHLIB_INSTALL): Use it.
2234 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2235 to mkmap-symver.awk.
2236 (SHLIB_MAPFILES): Don't append, adapt pathname.
2237 (SHLIB_VERPFX): Set.
2238 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2239 to mkmap-symver.awk.
2240 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2241 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2242 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2243 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2245 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2246 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2247 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2248 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2249 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2250 * config/i386/libgcc-darwin.10.4.ver,
2251 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2253 * config/i386/t-darwin: Remove.
2254 * config/i386/t-darwin64: Likewise.
2255 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2256 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2257 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2258 * config/i386/t-linux: New file.
2259 * config/i386/t-mingw32: New file.
2260 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2261 * config/ia64/t-glibc: Rename to ...
2262 * config/ia64/t-linux: ... this.
2263 (SHLIB_MAPFILES): Set.
2264 * config/ia64/t-glibc-libunwind: Rename to ...
2265 * config/ia64/t-linux-libunwind: ... this.
2266 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2267 * config/ia64/t-slibgcc-hpux: New file.
2268 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2269 * config/m68k/t-slibgcc-elf-ver: New file.
2270 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2271 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2273 * config/pa/t-slibgcc-hpux: New file.
2274 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2276 * config/rs6000/libgcc-darwin.10.4.ver,
2277 config/rs6000/libgcc-darwin.10.5.ver: New files.
2278 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2279 config/rs6000/libgcc-glibc.ver.
2280 * config/rs6000/libgcc-ppc64.ver: Rename to
2281 config/rs6000/libgcc-ibm-ldouble.ver.
2282 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2283 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2284 * config/rs6000/t-ldbl128: Rename to ...
2285 * config/rs6000/t-linux: ... this.
2286 (SHLIB_MAPFILES): Adapt filename.
2287 * config/rs6000/t-slibgcc-aix: New file.
2288 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2289 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2290 libgcc-excl.ver, libgcc-glibc.ver.
2291 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2292 * config/sparc/libgcc-glibc.ver: New file.
2293 * config/sparc/t-linux: New file.
2294 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2295 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2296 t-slibgcc-elf-ver to tmake_file.
2297 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2299 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2300 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2301 t-slibgcc-elf-ver, t-linux to tmake_file.
2302 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2304 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2305 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2306 (alpha*-dec-*vms*): Likewise.
2307 (arm*-*-freebsd*): Append to tmake_file.
2308 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2309 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2311 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2312 tmake_file for arm*-*-symbianelf*.
2313 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2314 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2316 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2317 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2318 pa/t-slibgcc-dwarf-ver to tmake_file.
2319 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2320 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2321 (hppa*64*-*-hpux11*): Likewise.
2322 (hppa[12]*-*-hpux11*): Likewise.
2323 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2324 i386/t-crtpc, i386/t-crtfm.
2325 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2326 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2328 Add i386/t-cygwin to tmake_file.
2329 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2330 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2331 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2333 Add i386/t-mingw32 to tmake_file.
2334 (x86_64-*-mingw*): Likewise.
2335 (ia64*-*-freebsd*): Append to tmake_file.
2336 (ia64*-*-linux*): Append to tmake_file.
2337 Replace ia64/t-glibc by ia64/t-linux.
2338 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2340 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2341 t-slibgcc-hpux to tmake_file.
2342 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2343 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2344 (m32rle-*-linux*): Likewise.
2345 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2347 (microblaze*-linux*): New case.
2348 Append to tmake_file, add t-slibgcc-nolc-override.
2349 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2350 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2351 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2352 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2353 rs6000/t-slibgcc-aix to tmake_file.
2354 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2355 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2356 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2357 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2358 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2359 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2361 (sparc-*-linux*): Append to tmake_file for *-leon*.
2362 Add sparc/t-linux to tmake_file for non-Leon targets.
2363 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2364 (tic6x-*-uclinux): New case.
2365 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2366 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2367 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2368 (am33_2.0-*-linux*): Append to tmake_file.
2369 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2370 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2371 x86_64-*-kfreebsd*-gnu.
2372 Add i386/t-linux to tmake_file.
2374 2011-10-28 Ian Lance Taylor <iant@google.com>
2376 * config/i386/morestack.S: Correct CFI information to do proper
2377 returns throughout function. In 32-bit mode, save %ebx so that it
2378 is restored on unwind.
2380 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
2382 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2383 case where B3 isn't the return register.
2385 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2386 logic for doubleword pops.
2388 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
2390 * config/rs6000/t-freebsd: Add wildcard.
2392 2011-10-21 Paul Brook <paul@codesourcery.com>
2394 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2396 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
2397 Eric Botcazou <ebotcazou@adacore.com>
2400 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2401 fs->signal_frame to 1.
2403 2011-10-07 Ian Lance Taylor <iant@google.com>
2405 * generic-morestack-thread.c: #include <errno.h>.
2407 2011-10-07 Ian Lance Taylor <iant@google.com>
2410 * generic-morestack.c (__generic_morestack): Make sure the segment
2411 is large enough for both the stack frame and the copied
2414 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2417 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2420 2011-09-28 Nick Clifton <nickc@redhat.com>
2422 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2423 64-bit doubles are not enabled.
2424 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2425 and floatunsisf functions.
2427 2011-09-13 Paul Brook <paul@codesourcery.com>
2429 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2430 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2431 * unwind-arm-common.inc: New file.
2432 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2433 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2434 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2435 * config/c6x/libunwind.S: New file.
2436 * config/c6x/pr-support.c: New file.
2437 * config/c6x/unwind-c6x.c: New file.
2438 * config/c6x/unwind-c6x.h: New file.
2439 * config/c6x/t-c6x-elf: New file.
2441 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
2443 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2444 (ASM_DIVZERO): Ditto.
2445 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2447 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2449 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2451 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2454 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2455 instead of an assembly one.
2457 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
2460 * Makefile.in (install-unwind_h): Create
2461 $(gcc_objdir)/include/unwind.h atomically.
2463 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2465 * Makefile.in (install-unwind_h): Remove destination file first.
2467 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2470 * config/mips/t-mips16: New file.
2471 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2472 (mips*-*-linux*): Likewise.
2473 (mips*-sde-elf*): Likewise.
2474 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2475 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2476 Add mips/t-mips16 to tmake_file.
2477 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2478 (mips-*-elf*): Likewise.
2479 (mips64-*-elf*): Likewise.
2480 (mips64orion-*-elf*): Likewise.
2481 (mips*-*-rtems*): Likewise.
2482 (mipstx39-*-elf*): Likewise.
2483 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2484 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2486 Use $(srcdir) to refer to sync.c.
2488 ($(libgcc-sync-funcs-o)): Likewise.
2489 ($(libgcc-sync-size-funcs-s-o)): Likewise.
2490 ($(libgcc-sync-funcs-s-o)): Likewise.
2492 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2494 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2497 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
2500 * config/i386/value-unwind.h: New.
2502 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
2504 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2505 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2506 Add to tmake_file rather than overriding it.
2508 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2510 * config/t-softfp: Remove.
2511 * soft-fp: Moved from ../gcc/config.
2512 * soft-fp/README: Remove t-softfp reference.
2513 * soft-fp/t-softfp: Move to config/t-softfp.
2514 (softfp_machine_header): Remove.
2515 (softfp_file_list): Remove config subdir.
2516 (soft-fp-objects): New variable.
2517 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2518 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2519 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2520 * config/t-softfp-excl: New file.
2521 * config/t-softfp-sfdf: New file.
2522 * config/t-softfp-tf: New file.
2523 * config/no-sfp-machine.h: New file.
2524 * config/arm/sfp-machine.h: New file.
2525 * config/arm/t-softfp: New file.
2526 * config/c6x/sfp-machine.h: New file.
2527 * config/i386/32/t-fprules-softfp: Rename to ...
2528 * config/i386/32/t-softfp: ... this.
2529 (tifunctions, LIB2ADD): Remove.
2530 (softfp_int_modes): Override.
2531 * config/i386/64/t-softfp-compat (tf-functions): Remove config
2533 * config/i386/64/eqtf2.c: Likewise.
2534 * config/i386/64/getf2.c: Likewise.
2535 * config/i386/64/letf2.c: Likewise.
2536 * config/ia64/sft-machine.h: New file.
2537 * config/ia64/t-fprules-softfp: Rename to ...
2538 * config/ia64/t-softfp: ... this.
2539 * config/lm32/sfp-machine.h: New file.
2540 * config/moxie/t-moxie-softfp: Remove.
2541 * config/rs6000/ibm-ldouble-format: New file.
2542 * config/rs6000/ibm-ldouble.c: New file.
2543 * config/rs6000/libgcc-ppc-glibc.ver: New file
2544 * config/rs6000/libgcc-ppc64.ver: New file
2545 * config/rs6000/sfp-machine.h: New file.
2546 * config/rs6000/t-freebsd: New file.
2547 * config/rs6000/t-ibm-ldouble: New file.
2548 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2549 libgcc-ppc-glibc.ver.
2550 * config/rs6000/t-linux64: New file.
2551 * config/rs6000/t-ppccomm (LIB2ADD): Add
2552 $(srcdir)/config/rs6000/ibm-ldouble.c.
2553 * config/rs6000/t-ppccomm-ldbl: New file.
2554 * config/score/sfp-machine.h: New file.
2555 * config.host (sfp_machine_header): Explain.
2556 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2557 t-softfp to tmake_file.
2558 (arm*-*-uclinux*): Likewise.
2559 (arm*-*-ecos-elf): Likewise.
2560 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2561 (arm*-*-rtems*): Likewise.
2562 (arm*-*-elf): Likewise.
2563 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2565 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2566 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2567 (lm32-*-uclinux*): Likewise.
2568 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2569 t-softfp-excl, t-softfp.
2570 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2571 (powerpc64-*-darwin*): Likewise.
2572 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2574 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2576 (powerpc-*-eabisim*): Likewise.
2577 (powerpc-*-elf*): Likewise.
2578 (powerpc-*-eabialtivec*): Likewise.
2579 (powerpc-xilinx-eabi*): Likewise.
2580 (powerpc-*-rtems*): Likewise.
2581 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2582 t-softfp-excl, t-softfp to tmake_file.
2583 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2584 rs6000/t-ppccomm-ldbl to tmake_file.
2585 (powerpcle-*-elf*): Likewise.
2586 (powerpcle-*-eabisim*): Likewise.
2587 (powerpcle-*-eabi*): Likewise.
2588 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2589 rs6000/t-ibm-ldouble to tmake_file.
2590 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2591 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2592 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2593 (tic6x-*-*): Likewise.
2594 (i[34567]86-*-darwin*, x86_64-*-darwin*,
2595 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2596 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2597 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2598 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2599 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2600 t-softfp to tmake_file.
2601 * configure.ac (sfp_machine_header): Provide default if unset.
2603 Link sfp-machine.h to config/$sfp_machine_header.
2604 * configure: Regenerate.
2606 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2608 * Makefile.in (double_type_size, long_double_type_size): Set.
2609 Remove $(fpbit-in-libgcc) support.
2610 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2611 (fpbit-src): New variable.
2612 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2613 Compile with -DFLOAT $(FPBIT_CFLAGS).
2615 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2616 Compile with $(FPBIT_CFLAGS).
2618 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2619 Compile with -DFLOAT $(TPBIT_CFLAGS).
2621 * configure.ac (double_type_size, long_double_type_size):
2622 Determine and substitute.
2623 * configure: Regenerate.
2624 * fp-bit.c, fp-bit.h: New files.
2625 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2626 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2627 * config/mips/t-mips: New file.
2628 * config/mips/t-sdemtk: New file.
2629 * config/rs6000/ppc64-fp.c: New file.
2630 * config/rs6000/t-darwin (LIB2ADD): Add
2631 $(srcdir)/config/rs6000/ppc64-fp.c.
2632 * config/rs6000/t-ppc64-fp: New file.
2633 * config/rx/rx-lib.h: New file.
2634 * config/rx/t-rx (FPBIT): Set to true.
2635 ($(gcc_objdir)/fp-bit.c): Remove.
2636 (DPBIT): Set to true only with -m64bit-doubles.
2637 ($(gcc_objdir)/dp-bit.c): Remove.
2638 * config/sparc/t-softfp: Remove.
2639 * config/spu/t-elf: New file.
2640 * config/t-fdpbit, config/t-fpbit: New files.
2641 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2642 (mips*-*-*): Likewise.
2643 (arm-wrs-vxworks): Likewise.
2644 (arm*-*-freebsd*): Likewise.
2645 (avr-*-rtems*): Add t-fpbit to tmake_file.
2646 (avr-*-*): Likewise.
2647 (bfin*-elf*): Add t-fdpbit to tmake_file.
2648 (bfin*-uclinux*): Likewise.
2649 (bfin*-linux-uclibc*): Likewise.
2650 (bfin*-rtems*): New case.
2651 Add t-fdpbit to tmake_file.
2652 (bfin*-*): Add t-fdpbit to tmake_file.
2653 (crisv32-*-elf): Likewise.
2654 (cris-*-linux*): Likewise.
2655 (fr30-*-elf): Likewise.
2656 (frv-*-elf, frv-*-*linux*): Likewise.
2657 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2658 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2659 (m32r-*-elf*): Likewise.
2660 (m32rle-*-elf*): Likewise.
2661 (m32r-*-linux*): Likewise.
2662 (m32rle-*-linux*): Likewise.
2663 (mcore-*-elf): Add t-fdpbit to tmake_file.
2664 (microblaze*-*-*): Likewise.
2665 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2666 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2667 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2669 Add mips/t-tpbit to tmake-file.
2670 (mips*-*-linux*): Fix typo.
2671 (mips*-sde-elf*): New case
2672 Add mips/t-sdemtk unless using newlib.
2673 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2674 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2675 (mn10300-*-*): Likewise.
2676 (pdp11-*-*): Likewise.
2677 (picochip-*-*): Add t-fpbit to tmake_file.
2678 (powerpc-*-eabisimaltivec*): Likewise.
2679 (powerpc-*-eabisim*): Likewise.
2680 (powerpc-*-elf*): Likewise.
2681 (powerpc-*-eabialtivec*): Likewise.
2682 (powerpc-xilinx-eabi*): New case.
2683 Add t-fdpbit to tmake_file.
2684 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
2685 (powerpc-*-rtems*): Likewise.
2686 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2688 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2690 (powerpc-*-lynxos*): Likewise.
2691 (powerpcle-*-elf*): Likewise.
2692 (powerpcle-*-eabisim*): Likewise.
2693 (powerpcle-*-eabi*): Likewise.
2694 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2695 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2696 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2697 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2698 (rx-*-elf): Add t-fdpbit to tmake_file.
2699 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2700 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2701 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2702 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2704 (sh-*-rtems*): Add t-fdpbit to tmake_file.
2705 (sh-wrs-vxworks): Likewise.
2706 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2707 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2708 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2709 (sparc64-*-rtems*): ... new case.
2710 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2711 (spu-*-elf*): Likewise.
2712 Add spu/t-elf to tmake_file.
2713 (v850*-*-*): Add t-fdpbit to tmake_file.
2714 (xstormy16-*-elf): Likewise.
2715 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2716 (mep*-*-*): Likewise.
2718 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2720 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2722 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2723 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2724 (install-unwind_h): New target.
2725 (all): Depend on it.
2726 * config.host (unwind_header): New variable.
2727 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2728 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2729 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2730 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2731 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2733 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2735 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2737 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2739 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2740 (ia64*-*-freebsd*): Likewise.
2741 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2743 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2744 $with_system_libunwind.
2745 (ia64*-*-hpux*): Set tmake_file.
2746 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2747 (picochip-*-*): Set tmake_file.
2748 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2750 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2751 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2752 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2753 (xtensa*-*-elf*): Set tmake_file.
2754 (xtensa*-*-linux*): Likewise.
2755 * configure.ac: Include ../config/unwind_ipinfo.m4.
2756 Call GCC_CHECK_UNWIND_GETIPINFO.
2757 Link unwind.h to $unwind_header.
2758 * configure: Regenerate.
2759 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2760 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2761 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2762 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2763 * config/unwind-dw2-fde-darwin.c: New file.
2764 * config/arm/libunwind.S, config/arm/pr-support.c,
2765 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2766 config/arm/unwind-arm.h,: New files.
2767 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2768 config/ia64/t-eh-ia64, config/ia64/t-glibc,
2769 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2770 config/ia64/t-vms, config/ia64/unwind-ia64.c,
2771 config/ia64/unwind-ia64.h: New files.
2772 * config/picochip/t-picochip: New file.
2773 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2775 * config/rs6000/t-darwin (LIB2ADDEH): Set.
2776 * config/s390/t-tpf (LIB2ADDEH): Remove.
2777 * config/t-darwin (LIB2ADDEH): Set.
2778 * config/t-eh-dw2-dip: New file.
2779 * config/t-libunwind, config/t-libunwind-elf: New files.
2780 * config/t-sol2 (LIB2ADDEH): Remove.
2781 * config/xtensa/t-xtensa: New file.
2783 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
2785 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2786 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2787 long long to check rt_sigreturn syscall.
2789 2011-08-02 Alan Modra <amodra@gmail.com>
2791 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2792 Restore for indirect call bcrtl from correct stack slot, and only
2793 if cfa+40 isn't valid.
2795 2011-08-01 Julian Brown <julian@codesourcery.com>
2797 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2798 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2799 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2801 2011-08-01 Julian Brown <julian@codesourcery.com>
2803 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2804 (libgcc-std.ver.in): Use above.
2805 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2806 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
2808 * config/t-fixedpoint-gnu-prefix: New file.
2809 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2810 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2813 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
2815 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2816 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2817 for x86-64. Properly check __x86_64__ and __LP64__.
2819 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
2821 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2823 (_FP_WS_TYPE): Likewise.
2824 (_FP_I_TYPE): Likewise.
2826 2011-07-28 Alan Modra <amodra@gmail.com>
2828 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2829 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2830 in a plt call stub. Do restore r2 if stopped on bctrl.
2832 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2834 * config.host (i[3456x]86-*-netware*): Remove.
2835 * config/i386/netware-crt0.c, config/i386/t-nwld,
2836 config/i386/t-slibgcc-nwld: Remove.
2838 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
2840 * config.host: Handle tic6x-*-*.
2841 * config/c6x/c6x-abi.h: New file.
2843 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2845 * config/i386/crtprec.c: New file.
2846 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2847 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2848 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2849 (x86_64-*-darwin*): Likewise.
2850 (i[34567]86-*-solaris2*: Likewise.
2852 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2854 * config/alpha/crtfastmath.c: New file.
2855 * config/i386/crtfastmath.c: New file.
2856 * config/ia64/crtfastmath.c: New file.
2857 * config/mips/crtfastmath.c: New file.
2858 * config/sparc/crtfastmath.c: New file.
2860 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2862 Add -frandom-seed=gcc-crtfastmath.
2863 * config/alpha/t-crtfm: Remove.
2864 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2865 * config/ia64/t-ia64 (crtfastmath.o): Remove.
2867 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2868 (alpha*-dec-osf5.1*): Likewise.
2869 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2870 Add crtfastmath.o to extra_parts.
2871 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2872 Add crtfastmath.o to extra_parts.
2873 (x86_64-*-darwin*): Likewise.
2874 (x86_64-*-mingw*): Likewise.
2875 (ia64*-*-elf*): Add t-crtfm to tmake_file.
2876 (ia64*-*-freebsd*): Likewise.
2877 (ia64*-*-linux*): Likewise.
2878 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2879 Add crtfastmath.o to extra_parts.
2881 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2883 * config/darwin-crt3.o: New file.
2884 * config/rs6000/darwin-crt2.c: New file.
2885 * config/t-darwin: New file.
2886 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2888 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2889 (powerpc-*-darwin*): Add crt2.o to extra_parts.
2890 (powerpc64-*-darwin*): Likewise.
2892 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2894 * config/i386/netware-crt0.c: New file.
2895 * config/i386/t-nwld: Rename to ...
2896 * config/i386/t-slibgcc-nwld: ... this.
2897 * config/i386/t-nwld: New file.
2898 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2900 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2903 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2905 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2907 * configure: Regenerate.
2909 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2911 * dfp-bit.c, dfp-bit.h: New files.
2912 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2914 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2915 ($(d64pbit-o)): Likewise.
2916 ($(d128pbit-o)): Likewise.
2917 * config/t-dfprules: New file.
2918 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2919 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2920 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2921 (x86_64-*-linux*): Likewise.
2922 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2923 (i[34567]86-*-cygwin*): Likewise.
2924 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
2925 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2927 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2929 * Makfile.in (LIBGCOV): New variable.
2930 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2931 * libgcov.c: New file.
2933 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2935 * fixed-bit.c, fixed-bit.h: New files.
2936 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2937 refer to fixed-bit.c.
2939 2011-07-07 Joseph Myers <joseph@codesourcery.com>
2941 * config.host (*local*): Remove.
2943 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2946 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2947 like i?86-*-solaris2.1[0-9]*.
2948 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2949 * configure.ac (i?86-*-solaris2*): Likewise.
2950 * configure: Regenerate.
2952 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
2954 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2955 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2956 md_unwind_header by splitting out of...
2957 (i[34567]86-*-linux*): ... this.
2958 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
2959 Remove md_unwind_header by splitting out of...
2960 (x86_64-*-linux*): ... this.
2962 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
2964 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
2966 2011-06-28 Nick Clifton <nickc@redhat.com>
2968 * config.host: Recognize all V850 variants.
2970 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
2972 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
2974 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2976 * shared-object.mk (c_flags-$o): Save c_flags.
2977 ($(base)$(objext)): Use it.
2978 ($(base)_s$(objext)): Likewise.
2980 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
2982 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
2983 * libgcc-std.ver.in (GCC_4.7.0): New section.
2985 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
2989 * config/avr/t-avr: Fix line endings.
2990 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
2993 2011-06-14 Olivier Hainque <hainque@adacore.com>
2994 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2996 * config/mips/irix6-unwind.h: New file.
2997 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
2999 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
3001 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3002 (sparc64_fallback_frame_state): Use it.
3003 (sparc64_frob_update_context): Further adjust context.
3004 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3005 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3006 * config/sparc/sol2-cn.S: Likewise.
3008 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3010 * enable-execute-stack-empty.c: New file.
3011 * enable-execute-stack-mprotect.c: New file.
3012 * config/i386/enable-execute-stack-mingw32.c: New file.
3013 * config.host (enable_execute_stack): New variable.
3014 Select appropriate variants.
3015 * configure.ac: Link enable-execute-stack.c to
3016 $enable_execute_stack.
3017 * configure: Regenerate.
3018 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3019 (lib2funcs): Remove _enable_execute_stack.
3021 2011-06-09 David S. Miller <davem@davemloft.net>
3022 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3024 * config.host (sparc-*-linux*): Correct md_unwind_header
3026 (s390x-ibm-tpf*): Fix typo.
3028 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3030 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3031 Add crtfastmath.o to extra_parts.
3032 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3034 * config/mips/t-crtfm: Remove.
3036 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3038 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3040 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
3042 * config.host (sh*-*-linux*): Fix typo.
3044 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3046 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3047 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3048 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3049 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3050 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3051 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3052 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3053 Wrap in !__MINGW64__.
3054 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3055 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3056 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3057 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3058 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3059 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3060 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3062 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3063 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3064 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3065 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3066 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3067 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3068 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3069 * config/no-unwind.h: New file.
3070 * config.host (md_unwind_header): Document.
3072 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3073 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3074 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3075 hppa[12]*-*-hpux11*): Set md_unwind_header.
3076 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3077 Set md_unwind_header.
3078 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3079 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3080 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3081 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3082 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3083 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3084 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3086 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3087 * configure: Regenerate.
3089 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3091 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3092 Set tmake_file, extra_parts.
3093 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3095 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3097 * config/mips/t-irix6: New file.
3098 * config/mips/t-slibgcc-irix: New file.
3100 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3102 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3103 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3105 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3107 * configure.ac (target_thread_file): Determine thread model.
3108 * configure: Regenerate.
3109 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3110 * config/alpha/t-alpha: New file.
3111 * config/alpha/t-crtfm: Use $<.
3112 * config/alpha/t-ieee: New file.
3113 * config/alpha/t-osf-pthread: New file.
3114 * config/alpha/t-slibgcc-osf: New file.
3115 * config/alpha/libgcc-osf5.ver: New file.
3117 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3119 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3121 Add crtfastmath.o to extra_parts.
3123 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3125 * config/gmon-sol2.c: Reindent.
3127 Remove, correct casts.
3128 Use STDERR_FILENO, NULL.
3129 (BASEADDRESS): Remove.
3131 (errno, sbrk): Remove declarations.
3132 (monstartup) [hp300]: Remove.
3135 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3137 * Makefile.in (cpu_type): Define.
3138 * config.host (i[34567]86-*-rtems*): Handle it.
3139 (i[34567]86-*-solaris2*): Move body ...
3140 (*-*-solaris2*): ... here.
3141 New case, generalize.
3142 (sparc-*-elf*): Handle it.
3143 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3144 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3145 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3147 (sparc*-*-solaris2*): ... this.
3149 (sparc64-*-elf*): Handle it.
3150 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3151 Merge ../gcc/config/i386/gmon-sol2.c.
3152 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3154 Merge ../gcc/config/i386/sol2-gc1.asm.
3155 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3157 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3159 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3160 * config/i386/t-crtstuff: New file.
3161 * config/i386/t-softfp: New file.
3162 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3163 $(T)crti.o, $(T)crtn.o): Remove.
3164 (gcrt1.o): New rule.
3165 (TARGET_LIBGCC2_CFLAGS): Remove.
3166 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3167 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3168 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3169 * config/sparc/t-sol2: New file.
3170 * config/sparc/t-crtfm: Move to ...
3171 * config/t-crtfm: ... this.
3172 Use $(cpu_type), $<.
3173 * config/t-crtin: New file.
3174 * config/sparc/t-softfp: New file.
3175 * config/sparc/t-softmul: New file.
3176 * config/t-rtems: New file.
3177 * config/t-slibgcc: New file.
3178 * config/t-slibgcc-elf-ver: New file.
3179 * config/t-slibgcc-gld: New file.
3180 * config/t-slibgcc-sld: New file.
3181 * config/t-sol2: New file.
3182 * configure.ac: Include ../config/lib-ld.m4.
3183 Call AC_LIB_PROG_LD_GNU.
3184 Substitute cpu_type.
3185 * configure: Regenerate.
3187 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
3190 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3191 libgcc-std.ver in the build directory.
3192 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3193 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3195 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
3197 * libgcc-std.ver.in: New file.
3198 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3200 (libgcc-std.ver): New rule.
3201 * config/t-gnu-prefix: New file.
3203 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3205 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3207 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3209 * config/i386/darwin-lib.h: New file.
3211 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3213 * config/arm/symbian-lib.h: New.
3215 2011-05-04 Chris Demetriou <cgd@google.com>
3217 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3218 (__x86.get_pc_thunk.bx): ...this.
3219 (__morestack): Adjust for rename, remove undef of __i686.
3221 2011-05-03 Chris Demetriou <cgd@google.com>
3223 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3225 2011-03-22 Joseph Myers <joseph@codesourcery.com>
3227 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3228 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3229 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3230 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3231 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3234 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
3236 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3237 Adjust copyright year.
3239 2011-03-07 Ian Lance Taylor <iant@google.com>
3241 * generic-morestack.c (__splitstack_find): Adjust returned stack
3242 pointer to include all registers pushed by __morestack.
3244 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
3247 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3248 (toolexecdir): Calculate and AC_SUBST.
3249 (toolexeclibdir): Likewise.
3250 * Makefile.in (target_noncanonical): Import.
3251 (toolexecdir): Likewise.
3252 (toolexeclibdir): Likewise.
3253 * configure: Regenerate.
3255 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
3258 * config/arm/bpabi.h: Rename to...
3259 * config/arm/bpabi-lib.h: ...this.
3261 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3263 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3265 * configure: Regenerate.
3267 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3269 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3270 __FLOAT_WORD_ORDER__.
3271 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3274 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3277 * Makefile.in (install-strip): New phony target.
3279 2010-11-07 Ian Lance Taylor <iant@google.com>
3282 * config/i386/morestack.S (__morestack_large_model): New
3285 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
3287 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3289 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3291 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
3293 * config/arm/bpabi.h: New file.
3294 * config/frv/frv-abi.h: New file.
3296 2010-10-01 Ian Lance Taylor <iant@google.com>
3298 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3299 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3301 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3304 * config.host: Add the missing `$'.
3306 2010-09-30 Michael Eager <eager@eagercon.com>
3308 * config.host: Add microblaze*-*-*.
3309 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3310 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3311 udivsi3.asm,umodsi3.asm}: New.
3313 2010-09-28 Ian Lance Taylor <iant@google.com>
3315 * configure.ac: Adjust CFI test to test assembler directly rather
3316 than checking gcc preprocessor macro.
3317 * configure: Rebuild.
3319 2010-09-27 Ian Lance Taylor <iant@google.com>
3321 * configure.ac: Test whether assembler supports CFI directives.
3322 * config.host: Only add t-stack and i386/t-stack-i386 to
3323 tmake_file if libgcc_cv_cfi is "yes".
3324 * configure: Rebuild.
3326 2010-09-27 Ian Lance Taylor <iant@google.com>
3328 * generic-morestack.h: New file.
3329 * generic-morestack.c: New file.
3330 * generic-morestack-thread.c: New file.
3331 * config/i386/morestack.S: New file.
3332 * config/t-stack: New file.
3333 * config/i386/t-stack-i386: New file.
3334 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3335 i386/t-stack-i386 to tmake_file.
3337 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
3339 * Makefile.in (libgcc-extra-parts): Check for static archives and
3340 invoke ranlib after installing them.
3341 (gcc-extra-parts): Likewise.
3342 (install-leaf): Likewise.
3344 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
3346 * configure: Regenerated.
3348 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
3350 * configure: Regenerated.
3352 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
3353 Andrew Pinski <pinskia@gmail.com>
3356 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3358 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
3361 * configure: Regenerated.
3363 2010-09-06 Andreas Schwab <schwab@redhat.com>
3365 * configure: Regenerate.
3367 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3369 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3371 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3374 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3375 Iain Sandoe <iains@gcc.gnu.org>
3378 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3379 LIB2FUNCS_EXCLUDE functions.
3381 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3383 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3385 * configure: Regenerate.
3387 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
3389 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3390 i386/t-freebsd to tmake_file.
3391 * config/i386/t-freebsd: New file.
3392 * config/i386/libgcc-bsd.ver: New file.
3394 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3396 * config.host (powerpc*-eabispe*): Set tmake_file.
3397 (powerpc*-eabi*): Likewise.
3398 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3399 crtbeginS, crtendS, crtbeginT.
3401 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
3403 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3404 to tmake_file. Add crtfastmath.o to extra_parts.
3405 * config/mips/t-crtfm: New.
3407 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3409 * config.host (sparc64-*-rtems*): New target.
3411 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3413 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3416 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3418 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3420 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3422 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3423 alpha-dec-osf5.0* support.
3425 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
3427 * config.host: Add lm32-*-rtems*.
3429 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3430 Uros Bizjak <ubizjak@gmail.com>
3433 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3434 like other remaining 32-bit x86 OSes.
3435 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3437 * config/i386/libgcc-sol2.ver: New file.
3438 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3440 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3443 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3444 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3445 is used and substitute set_use_emutls.
3446 * configure: Regenerated.
3448 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3450 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3452 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3455 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3457 ($(T)gcrt1.o): Likewise.
3458 ($(T)crt1.o): Likewise.
3459 ($(T)crti.o): Likewise.
3460 ($(T)crtn.o): Likewise.
3462 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3465 * Makefile.in (install): Use $(MAKE) string in rule, for
3468 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
3470 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3471 * config/mmix/t-mmix: New file.
3472 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3474 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
3477 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3480 2010-01-04 Anthony Green <green@moxielogic.com>
3482 * config/moxie/crti.asm, config/moxie/crtn.asm,
3483 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3484 config/moxie/t-moxie: New files.
3485 * config.host: Add t-moxie-softfp reference.
3487 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3490 * config/t-slibgcc-darwin: Fix embedded rpaths for
3491 --enable-version-specific-runtime-libs, build extension stub
3492 libs exposing features available from current libgcc_s.
3494 2009-11-11 Jon Beniston <jon@beniston.com>
3496 * config.host: Add lm32 targets.
3497 * config/lm32: New directory.
3498 * config/lm32/libgcc_lm32.h: New file.
3499 * config/lm32/_mulsi3.c: New file.
3500 * config/lm32/_udivmodsi4.c: New file.
3501 * config/lm32/_divsi3.c: New file.
3502 * config/lm32/_modsi3.c: New file.
3503 * config/lm32/_udivsi3.c: New file.
3504 * config/lm32/_umodsi3.c: New file.
3505 * config/lm32/_lshrsi3.S: New file.
3506 * config/lm32/_ashrsi3.S: New file.
3507 * config/lm32/_ashlsi3.S: New file.
3508 * config/lm32/crti.S: New file.
3509 * config/lm32/crtn.S: New file.
3510 * config/lm32/t-lm32: New file.
3511 * config/lm32/t-elf: New file.
3512 * config/lm32/t-uclinux: New file.
3514 2009-10-26 Nick Clifton <nickc@redhat.com>
3516 * config.host: Add support for RX target.
3517 * config/rx: New directory.
3518 * config/rx/rx-abi-functions.c: New file. Supplementary
3519 functions for libgcc to support the RX ABI.
3520 * config/rx/rx-abi.h: New file. Supplementary header file for
3521 libgcc RX ABI functions.
3522 * config/rx/t-rx: New file: Makefile fragment for building
3525 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
3527 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3528 constraint of y0 to "g".
3530 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3532 * config.host: Include the s390 makefile fragments.
3533 * config/s390/32/_fixdfdi.c: New file.
3534 * config/s390/32/_fixsfdi.c: New file.
3535 * config/s390/32/_fixtfdi.c: New file.
3536 * config/s390/32/_fixunsdfdi.c: New file.
3537 * config/s390/32/_fixunssfdi.c: New file.
3538 * config/s390/32/_fixunstfdi.c: New file.
3539 * config/s390/32/t-floattodi: New file.
3540 * config/s390/libgcc-glibc.ver: New file.
3541 * config/s390/t-crtstuff: New file.
3542 * config/s390/t-linux: New file.
3543 * config/s390/t-tpf: New file.
3545 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3547 * configure.ac (AC_PREREQ): Bump to 2.64.
3549 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
3551 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3553 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3555 * configure: Regenerate.
3557 2009-08-09 Douglas B Rupp <rupp@gnat.com>
3559 * config.host (ia64-hp-*vms*): New target.
3560 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3563 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3565 * configure.ac: Add snippet for maintainer-mode.
3566 * configure: Regenerate.
3567 * Makefile.in (AUTOCONF, configure_deps): New variables.
3568 ($(srcdir)/configure)): New rule, active only with maintainer
3571 2009-06-23 DJ Delorie <dj@redhat.com>
3574 * config.host: Add mep support.
3576 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
3578 * config.host: Add i386/${host_address}/t-fprules-softfp and
3579 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3581 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3583 * config/i386/64/_multc3.c: Likewise.
3584 * config/i386/64/_powitf2.c: Likewise.
3585 * config/i386/64/eqtf2.c: Likewise.
3586 * config/i386/64/getf2.c: Likewise.
3587 * config/i386/64/letf2.c: Likewise.
3588 * config/i386/64/letf2.c: Likewise.
3589 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3590 unsigned long long for x64 mingw targets.
3591 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3592 (_FP_I_TYPE): Define as long long for x64 mingw target.
3594 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
3596 * config.host (vax-*-linux*): New.
3598 2009-05-31 Anthony Green <green@moxielogic.com>
3600 * config.host: Add moxie support.
3601 * config/moxie/t-moxie: New file.
3603 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
3605 * config.host: Add i386/${host_address}/t-fprules-softfp and
3606 t-softfp to tmake_file for i[34567]86-*-cygwin*.
3608 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
3610 * config.host: Add i386/${host_address}/t-fprules-softfp to
3611 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3613 2009-04-09 Nick Clifton <nickc@redhat.com>
3615 * config/ia64/tf-signs.c: Change copyright header to refer to
3616 version 3 of the GNU General Public License with version 3.1
3617 of the GCC Runtime Library Exception and to point readers at
3618 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3620 * config/i386/32/tf-signs.c: Likewise.
3621 * config/libbid/_addsub_dd.c: Likewise.
3622 * config/libbid/_addsub_sd.c: Likewise.
3623 * config/libbid/_addsub_td.c: Likewise.
3624 * config/libbid/_dd_to_df.c: Likewise.
3625 * config/libbid/_dd_to_di.c: Likewise.
3626 * config/libbid/_dd_to_sd.c: Likewise.
3627 * config/libbid/_dd_to_sf.c: Likewise.
3628 * config/libbid/_dd_to_si.c: Likewise.
3629 * config/libbid/_dd_to_td.c: Likewise.
3630 * config/libbid/_dd_to_tf.c: Likewise.
3631 * config/libbid/_dd_to_udi.c: Likewise.
3632 * config/libbid/_dd_to_usi.c: Likewise.
3633 * config/libbid/_dd_to_xf.c: Likewise.
3634 * config/libbid/_df_to_dd.c: Likewise.
3635 * config/libbid/_df_to_sd.c: Likewise.
3636 * config/libbid/_df_to_td.c: Likewise.
3637 * config/libbid/_di_to_dd.c: Likewise.
3638 * config/libbid/_di_to_sd.c: Likewise.
3639 * config/libbid/_di_to_td.c: Likewise.
3640 * config/libbid/_div_dd.c: Likewise.
3641 * config/libbid/_div_sd.c: Likewise.
3642 * config/libbid/_div_td.c: Likewise.
3643 * config/libbid/_eq_dd.c: Likewise.
3644 * config/libbid/_eq_sd.c: Likewise.
3645 * config/libbid/_eq_td.c: Likewise.
3646 * config/libbid/_ge_dd.c: Likewise.
3647 * config/libbid/_ge_sd.c: Likewise.
3648 * config/libbid/_ge_td.c: Likewise.
3649 * config/libbid/_gt_dd.c: Likewise.
3650 * config/libbid/_gt_sd.c: Likewise.
3651 * config/libbid/_gt_td.c: Likewise.
3652 * config/libbid/_isinfd128.c: Likewise.
3653 * config/libbid/_isinfd32.c: Likewise.
3654 * config/libbid/_isinfd64.c: Likewise.
3655 * config/libbid/_le_dd.c: Likewise.
3656 * config/libbid/_le_sd.c: Likewise.
3657 * config/libbid/_le_td.c: Likewise.
3658 * config/libbid/_lt_dd.c: Likewise.
3659 * config/libbid/_lt_sd.c: Likewise.
3660 * config/libbid/_lt_td.c: Likewise.
3661 * config/libbid/_mul_dd.c: Likewise.
3662 * config/libbid/_mul_sd.c: Likewise.
3663 * config/libbid/_mul_td.c: Likewise.
3664 * config/libbid/_ne_dd.c: Likewise.
3665 * config/libbid/_ne_sd.c: Likewise.
3666 * config/libbid/_ne_td.c: Likewise.
3667 * config/libbid/_sd_to_dd.c: Likewise.
3668 * config/libbid/_sd_to_df.c: Likewise.
3669 * config/libbid/_sd_to_di.c: Likewise.
3670 * config/libbid/_sd_to_sf.c: Likewise.
3671 * config/libbid/_sd_to_si.c: Likewise.
3672 * config/libbid/_sd_to_td.c: Likewise.
3673 * config/libbid/_sd_to_tf.c: Likewise.
3674 * config/libbid/_sd_to_udi.c: Likewise.
3675 * config/libbid/_sd_to_usi.c: Likewise.
3676 * config/libbid/_sd_to_xf.c: Likewise.
3677 * config/libbid/_sf_to_dd.c: Likewise.
3678 * config/libbid/_sf_to_sd.c: Likewise.
3679 * config/libbid/_sf_to_td.c: Likewise.
3680 * config/libbid/_si_to_dd.c: Likewise.
3681 * config/libbid/_si_to_sd.c: Likewise.
3682 * config/libbid/_si_to_td.c: Likewise.
3683 * config/libbid/_td_to_dd.c: Likewise.
3684 * config/libbid/_td_to_df.c: Likewise.
3685 * config/libbid/_td_to_di.c: Likewise.
3686 * config/libbid/_td_to_sd.c: Likewise.
3687 * config/libbid/_td_to_sf.c: Likewise.
3688 * config/libbid/_td_to_si.c: Likewise.
3689 * config/libbid/_td_to_tf.c: Likewise.
3690 * config/libbid/_td_to_udi.c: Likewise.
3691 * config/libbid/_td_to_usi.c: Likewise.
3692 * config/libbid/_td_to_xf.c: Likewise.
3693 * config/libbid/_tf_to_dd.c: Likewise.
3694 * config/libbid/_tf_to_sd.c: Likewise.
3695 * config/libbid/_tf_to_td.c: Likewise.
3696 * config/libbid/_udi_to_dd.c: Likewise.
3697 * config/libbid/_udi_to_sd.c: Likewise.
3698 * config/libbid/_udi_to_td.c: Likewise.
3699 * config/libbid/_unord_dd.c: Likewise.
3700 * config/libbid/_unord_sd.c: Likewise.
3701 * config/libbid/_unord_td.c: Likewise.
3702 * config/libbid/_usi_to_dd.c: Likewise.
3703 * config/libbid/_usi_to_sd.c: Likewise.
3704 * config/libbid/_usi_to_td.c: Likewise.
3705 * config/libbid/_xf_to_dd.c: Likewise.
3706 * config/libbid/_xf_to_sd.c: Likewise.
3707 * config/libbid/_xf_to_td.c: Likewise.
3708 * config/libbid/bid128.c: Likewise.
3709 * config/libbid/bid128_2_str.h: Likewise.
3710 * config/libbid/bid128_2_str_macros.h: Likewise.
3711 * config/libbid/bid128_2_str_tables.c: Likewise.
3712 * config/libbid/bid128_add.c: Likewise.
3713 * config/libbid/bid128_compare.c: Likewise.
3714 * config/libbid/bid128_div.c: Likewise.
3715 * config/libbid/bid128_fma.c: Likewise.
3716 * config/libbid/bid128_logb.c: Likewise.
3717 * config/libbid/bid128_minmax.c: Likewise.
3718 * config/libbid/bid128_mul.c: Likewise.
3719 * config/libbid/bid128_next.c: Likewise.
3720 * config/libbid/bid128_noncomp.c: Likewise.
3721 * config/libbid/bid128_quantize.c: Likewise.
3722 * config/libbid/bid128_rem.c: Likewise.
3723 * config/libbid/bid128_round_integral.c: Likewise.
3724 * config/libbid/bid128_scalb.c: Likewise.
3725 * config/libbid/bid128_sqrt.c: Likewise.
3726 * config/libbid/bid128_string.c: Likewise.
3727 * config/libbid/bid128_to_int16.c: Likewise.
3728 * config/libbid/bid128_to_int32.c: Likewise.
3729 * config/libbid/bid128_to_int64.c: Likewise.
3730 * config/libbid/bid128_to_int8.c: Likewise.
3731 * config/libbid/bid128_to_uint16.c: Likewise.
3732 * config/libbid/bid128_to_uint32.c: Likewise.
3733 * config/libbid/bid128_to_uint64.c: Likewise.
3734 * config/libbid/bid128_to_uint8.c: Likewise.
3735 * config/libbid/bid32_to_bid128.c: Likewise.
3736 * config/libbid/bid32_to_bid64.c: Likewise.
3737 * config/libbid/bid64_add.c: Likewise.
3738 * config/libbid/bid64_compare.c: Likewise.
3739 * config/libbid/bid64_div.c: Likewise.
3740 * config/libbid/bid64_fma.c: Likewise.
3741 * config/libbid/bid64_logb.c: Likewise.
3742 * config/libbid/bid64_minmax.c: Likewise.
3743 * config/libbid/bid64_mul.c: Likewise.
3744 * config/libbid/bid64_next.c: Likewise.
3745 * config/libbid/bid64_noncomp.c: Likewise.
3746 * config/libbid/bid64_quantize.c: Likewise.
3747 * config/libbid/bid64_rem.c: Likewise.
3748 * config/libbid/bid64_round_integral.c: Likewise.
3749 * config/libbid/bid64_scalb.c: Likewise.
3750 * config/libbid/bid64_sqrt.c: Likewise.
3751 * config/libbid/bid64_string.c: Likewise.
3752 * config/libbid/bid64_to_bid128.c: Likewise.
3753 * config/libbid/bid64_to_int16.c: Likewise.
3754 * config/libbid/bid64_to_int32.c: Likewise.
3755 * config/libbid/bid64_to_int64.c: Likewise.
3756 * config/libbid/bid64_to_int8.c: Likewise.
3757 * config/libbid/bid64_to_uint16.c: Likewise.
3758 * config/libbid/bid64_to_uint32.c: Likewise.
3759 * config/libbid/bid64_to_uint64.c: Likewise.
3760 * config/libbid/bid64_to_uint8.c: Likewise.
3761 * config/libbid/bid_b2d.h: Likewise.
3762 * config/libbid/bid_binarydecimal.c: Likewise.
3763 * config/libbid/bid_conf.h: Likewise.
3764 * config/libbid/bid_convert_data.c: Likewise.
3765 * config/libbid/bid_decimal_data.c: Likewise.
3766 * config/libbid/bid_decimal_globals.c: Likewise.
3767 * config/libbid/bid_div_macros.h: Likewise.
3768 * config/libbid/bid_dpd.c: Likewise.
3769 * config/libbid/bid_flag_operations.c: Likewise.
3770 * config/libbid/bid_from_int.c: Likewise.
3771 * config/libbid/bid_functions.h: Likewise.
3772 * config/libbid/bid_gcc_intrinsics.h: Likewise.
3773 * config/libbid/bid_inline_add.h: Likewise.
3774 * config/libbid/bid_internal.h: Likewise.
3775 * config/libbid/bid_round.c: Likewise.
3776 * config/libbid/bid_sqrt_macros.h: Likewise.
3778 2009-04-09 Jakub Jelinek <jakub@redhat.com>
3780 * Makefile.in: Change copyright header to refer to version
3781 3 of the GNU General Public License and to point readers at the
3782 COPYING3 file and the FSF's license web page.
3783 * config.host: Likewise.
3785 2009-04-07 Alan Modra <amodra@bigpond.net.au>
3787 * config.host: Reorder and merge to match config.gcc change.
3789 2009-04-03 Alan Modra <amodra@bigpond.net.au>
3791 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3793 2009-03-28 Joseph Myers <joseph@codesourcery.com>
3795 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3796 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3797 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3798 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3800 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
3802 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3803 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3805 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
3807 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3808 ia64/t-softfp-compat to tmake_file.
3810 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3812 * config/ia64/__divxf3.asm: New.
3813 * config/ia64/_fixtfdi.asm: Likewise.
3814 * config/ia64/_fixunstfdi.asm: Likewise.
3815 * config/ia64/_floatditf.asm: Likewise.
3816 * config/ia64/t-fprules-softfp: Likewise.
3817 * config/ia64/t-softfp-compat: Likewise.
3818 * config/ia64/tf-signs.c: Likewise.
3820 2009-01-18 Ben Elliston <bje@au.ibm.com>
3822 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3824 2009-01-16 Ben Elliston <bje@au.ibm.com>
3826 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3829 2009-01-13 Ben Elliston <bje@au.ibm.com>
3831 * config/t-softfp: New file.
3832 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3833 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3835 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
3837 * config.host: Add m32r*-*-rtems*.
3839 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
3841 * config.host: Add m32c*-*-rtems*.
3843 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3846 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3847 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3848 * configure: Regenerate.
3849 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3850 tmake_file here from gcc/config.gcc.
3851 Move extra_parts here from gcc/config.gcc.
3852 * config/i386/t-sol2: Move here from gcc/config/i386.
3853 Use gcc_srcdir instead of srcdir.
3855 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
3857 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3860 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
3862 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3864 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
3866 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3868 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
3871 * config.host: Add picochip-*-*.
3873 2008-08-06 Bob Wilson <bob.wilson@acm.org>
3875 * config.host: Match more processor names for Xtensa.
3877 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
3879 * config/i386/64/t-softfp-compat: Update comments.
3881 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
3883 * config/i386/64/_divtc3-compat.c: Moved to ...
3884 * config/i386/64/_divtc3.c: Here.
3886 * config/i386/64/_multc3-compat.c: Moved to ...
3887 * config/i386/64/_multc3.c: Here.
3889 * config/i386/64/_powitf2-compat.c: Moved to ...
3890 * config/i386/64/_powitf2.c: Here.
3892 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3893 .c suffix instead of -compat.c.
3895 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
3897 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3898 (_FP_MUL_MEAT_D): Ditto.
3899 (_FP_DIV_MEAT_S): Ditto.
3900 (_FP_DIV_MEAT_D): Ditto.
3902 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
3904 * Makefile.in: Add support for __sync_* libgcc functions.
3906 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
3908 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3910 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3913 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3914 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
3916 * config/i386/64/t-fprules-softfp: Moved to ...
3917 * config/i386/64/t-softfp-compat: This. New.
3919 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
3921 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3922 Initialize f with 0.0.
3924 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3927 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3929 * config/i386/64/_divtc3-compat.c: New.
3930 * config/i386/64/_multc3-compat.c: Likewise.
3931 * config/i386/64/_powitf2-compat.c: Likewise.
3932 * config/i386/64/eqtf2.c: Likewise.
3933 * config/i386/64/getf2.c: Likewise.
3934 * config/i386/64/letf2.c: Likewise.
3935 * config/i386/64/t-fprules-softfp: Likewise.
3937 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3939 * config.host: Add i386/${host_address}/t-fprules-softfp to
3940 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
3941 i[34567]86-*-linux*, x86_64-*-linux*.
3943 * configure.ac: Set host_address to 64 or 32 for x86.
3944 * configure: Regenerated.
3946 * Makefile.in (config.status): Also depend on
3947 $(srcdir)/config.host.
3949 * config/i386/32/t-fprules-softfp: New.
3950 * config/i386/32/tf-signs.c: Likewise.
3952 * config/i386/64/sfp-machine.h: New. Moved from gcc.
3954 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3955 Uros Bizjak <ubizjak@gmail.com>
3957 * config/i386/32/sfp-machine.h: New.
3959 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
3961 * config/rs6000/t-ppccomm: Remove rules that conflict with
3962 auto-generated rules.
3964 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3966 * configure.ac: sinclude override.m4.
3967 * configure: Regenerate.
3969 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
3971 * configure: Regenerate.
3973 2008-06-10 Joseph Myers <joseph@codesourcery.com>
3975 * Makefile.in (DECNUMINC): Remove
3976 -I$(MULTIBUILDTOP)../../libdecnumber.
3979 2008-06-07 Joseph Myers <joseph@codesourcery.com>
3981 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
3982 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
3983 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
3984 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
3985 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
3986 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3987 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
3988 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
3989 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
3990 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
3991 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
3992 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
3993 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
3994 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
3996 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
3998 * config.host (sh2[lbe]*-*-linux*): Allow target.
4000 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
4002 * config/rs6000/t-ppccomm: Add build rules for new files.
4003 (LIB2ADD_ST): New variable.
4005 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
4009 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4010 * config/t-avr: New file. Build 16bit libgcc functions.
4012 2008-03-02 Jakub Jelinek <jakub@redhat.com>
4015 * config/t-slibgcc-darwin: Make install-leaf dependent on
4016 install-darwin-libgcc-stubs instead of install.
4018 2008-01-25 Joseph Myers <joseph@codesourcery.com>
4020 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4021 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4022 sh-*-rtemscoff*): Remove cases.
4024 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
4026 * Makefile.in (all): Use install-leaf rather than install.
4027 (install): Split most of the rule into...
4028 (install-leaf): ...this new one.
4030 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
4031 Paolo Bonzini <bonzini@gnu.org>
4034 * Makefile.in: Use @shlib_slibdir@ substitution to get
4035 correct install name on darwin.
4036 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4038 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
4040 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4041 cris-*-elf and cris-*-none.
4042 (crisv32-*-linux*): Similar, as cris-*-linux*.
4044 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
4046 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4048 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
4051 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4052 * configure: Regenerated.
4054 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
4056 * Makefile.in (dfp-filenames): Replace decimal_globals,
4057 decimal_data, binarydecimal and convert_data with
4058 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4059 and bid_convert_data, respectively.
4061 2007-09-17 Chao-ying Fu <fu@mips.com>
4062 Nigel Stephens <nigel@mips.com>
4064 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4065 * Makefile.in (fixed_point): Define.
4066 Check if fixed_point is yes to build support functions.
4067 * configure.ac: Check for fixed_point support.
4068 * configure: Regenerated.
4069 * gen-fixed.sh: New file to generate lists of fixed-point labels,
4070 funcs, modes, from, to.
4072 2007-09-11 Janis Johnson <janis187@us.ibm.com
4074 * Makefile.in (dfp-filenames): Add bid128_noncomp.
4076 2007-09-10 Janis Johnson <janis187@us.ibm.com>
4078 * Makefile.in (dfp-filenames): Remove decUtility, add
4079 decDouble, decPacked, decQuad, decSingle.
4081 2007-08-27 Hans Kester <hans.kester@ellips.nl>
4083 * config.host : Add x86_64-elf target.
4085 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4087 * configure.ac (set_have_cc_tls): Add a missing =.
4088 * configure: Regenerated.
4090 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4092 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4093 and x86_64-*-linux*.
4095 * config/t-tls: New file.
4097 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4099 * configure.ac: Include ../config/enable.m4 and
4100 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4101 supports TLS and substitute set_have_cc_tls.
4102 * configure: Regenerated.
4104 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4106 * Makefile.in: Use libbid for DFP when BID is enabled.
4108 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4110 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4111 extra_parts. Add config/i386/t-cygming to tmake_file.
4112 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4114 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
4115 Danny Smith <dannysmith@users.sourceforge.net>
4118 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4119 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4120 * config/i386/t-crtfm: Compile crtfastmath.o with
4121 -minline-all-stringops.
4123 2007-05-10 Richard Sandiford <richard@codesourcery.com>
4125 * config.host (sparc-wrs-vxworks): New target.
4127 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
4129 * config.host: Recognize fido.
4131 2007-04-04 Janis Johnson <janis187@us.ibm.com>
4133 * configure: Check host, not target, for decimal float support.
4135 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
4137 * config/i386/t-crtpc: New file.
4138 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4139 (x86_64-*-linux*): Ditto.
4141 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
4143 * config.host (x86_64-*-mingw*): New target.
4145 2007-03-23 Michael Meissner <michael.meissner@amd.com>
4146 H.J. Lu <hongjiu.lu@intel.com>
4148 * Makefile.in (enable_decimal_float): New.
4150 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4151 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4152 (decbits-filenames): This.
4153 (decbits-objects): New.
4154 (libgcc-objects): Add $(decbits-objects).
4156 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4157 Substitute enable_decimal_float.
4158 * configure: Regenerated.
4160 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
4162 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4164 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4166 * Makefile.in (install-info): New dummy target.
4168 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4170 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4172 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4174 * Makefile.in: Add install-html and install-pdf dummy
4177 2007-02-05 Roger Sayle <roger@eyesopen.com>
4178 Daniel Jacobowitz <dan@codesourcery.com>
4180 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4181 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4182 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4184 2007-01-29 Janis Johnson <janis187@us.ibm.com>
4186 * Makefile.in (dec-filenames): Add decExcept.
4188 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4191 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4194 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
4196 * configure.ac: Add --enable-version-specific-runtime-libs.
4197 Correct $slibdir default.
4198 * configure: Regenerated.
4200 2007-01-23 Joseph Myers <joseph@codesourcery.com>
4202 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4204 2007-01-21 Andrew Pinski <pinskia@gmail.com>
4207 * config.host (alpha*-*-linux*): Set extra_parts.
4209 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
4211 * config/sh/t-linux: New.
4212 * config.host (sh*-*-linux*): Set tmake_file.
4214 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4216 * Makefile.in (install): Handle multilibs.
4218 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4220 * Makefile.in: Added .PHONY entry for documentation targets.
4222 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4224 * Makefile.in: Add empty info, html, dvi, pdf targets.
4226 2007-01-04 Mike Stump <mrs@apple.com>
4228 * Makefile.in (MAKEINFO): Remove.
4231 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
4233 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4234 * configure: Regenerate.
4235 * Makefile.in (host_subdir): Substitute it.
4236 (gcc_objdir): Use it.
4238 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4240 * config.host (ia64*-*-linux*): Set tmake_file.
4242 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4244 * Makefile.in (version): Define.
4246 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4247 Paolo Bonzini <bonzini@gnu.org>
4249 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4250 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4251 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4252 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4253 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4254 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4255 * configure: Generated.