1 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6 2012-10-23 Ian Bolton <ian.bolton@arm.com>
7 Jim MacArthur <jim.macarthur@arm.com>
8 Marcus Shawcroft <marcus.shawcroft@arm.com>
9 Nigel Stephens <nigel.stephens@arm.com>
10 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
11 Richard Earnshaw <rearnsha@arm.com>
12 Sofiane Naci <sofiane.naci@arm.com>
13 Stephen Thomas <stephen.thomas@arm.com>
14 Tejas Belagod <tejas.belagod@arm.com>
15 Yufeng Zhang <yufeng.zhang@arm.com>
17 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
18 * config/aarch64/crti.S: New file.
19 * config/aarch64/crtn.S: New file.
20 * config/aarch64/linux-unwind.h: New file.
21 * config/aarch64/sfp-machine.h: New file.
22 * config/aarch64/sync-cache.c: New file.
23 * config/aarch64/t-aarch64: New file.
24 * config/aarch64/t-softfp: New file.
26 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
28 * config/mmix/crti.S: Mark program and data addresses using PRELD.
29 Remove typo'd and unnecessary alignment-LOC for .data. Remove
30 no-longer-needed LDBU insns.
32 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
35 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
36 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
38 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
40 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
42 2012-10-15 Matthias Klose <doko@ubuntu.com>
44 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
46 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
48 * configure: Regenerate.
49 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
51 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
53 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
54 instructions for 64bit targets only.
56 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
58 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
59 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
60 * config/i386/32/sfp-machine.h: ... here.
61 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
62 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
65 2012-10-07 Matthias Klose <doko@ubuntu.com>
67 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
69 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
71 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
73 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
74 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
75 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
78 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
81 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
84 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
87 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
88 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
89 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
91 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
94 * config/sh/linux-atomic.S: Delete.
95 * config/sh/linux-atomic.c: New.
96 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
97 linux-atomic.c. Add cflags to disable warnings.
99 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
102 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
104 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
105 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
106 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
107 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
108 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
110 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
112 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
114 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
115 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
117 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
119 * config.host (hppa-*-openbsd*): New target.
120 * config/pa/t-openbsd: New file.
122 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
125 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
126 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
127 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
128 (__divsa3): Use __negsi2 to negate r_quoL.
129 * config/avr/lib1funcs.S (FALIAS): New macro.
130 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
131 (__negsi2): ...this new function.
132 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
133 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
134 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
135 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
136 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
137 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
139 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
142 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
143 (lshrsi3): Reimplement as lshrsi3_r0.
145 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
148 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
151 2012-09-07 Teresa Johnson <tejohnson@google.com>
153 PR gcov-profile/54487
154 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
157 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
160 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
161 not configured --with-avrlibc=no.
162 * config/avr/t-avrlibc: New file.
163 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
164 (DPBIT_FUNCS): Ditto.
165 (TPBIT_FUNCS): Ditto.
167 2012-09-04 Teresa Johnson <tejohnson@google.com>
169 * libgcov.c (struct gcov_summary_buffer): New structure.
170 (gcov_histogram_insert): New function.
171 (gcov_compute_histogram): Ditto.
172 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
173 histograms during summary merging.
175 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
177 * config.host (x86_64-*-openbsd*): New target.
179 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
181 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
184 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
187 * config/avr/t-avr (conv_X): Rename to func_X.
189 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
192 * config/avr/lib1funcs-fixed.S: New file.
193 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
195 (neg2, neg4): New macros.
196 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
197 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
198 (__umulhisi3): Speed up MUL variant if there is enough flash.
199 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
201 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
202 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
203 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
204 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
205 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
206 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
207 (LIB2FUNCS_EXCLUDE): Add supported functions.
209 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
211 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
212 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
214 * fixed-obj.mk: Only expand dependency if $o is not in
217 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
219 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
221 2012-08-22 Joseph Myers <joseph@codesourcery.com>
223 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
224 depend on --enable-shared.
225 ($(lib1asmfuncs-o)): Use %.vis files independent of
227 * static-object.mk ($(base)$(objext), $(base).vis)
228 ($(base)_s$(objext)): Use same rules for visibility handling as in
231 2012-08-21 Ian Lance Taylor <iant@google.com>
233 * config/i386/morestack.S (__morestack_non_split): Increase amount
234 of space allocated for non-split code stack.
236 2012-08-19 Joseph Myers <joseph@codesourcery.com>
238 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
239 even if inhibit_libc.
241 2012-08-17 Julian Brown <julian@codesourcery.com>
243 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
244 -fexceptions -fnon-call-exceptions if not defined.
245 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
246 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
248 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
250 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
253 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
255 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
256 rs6000/t-slibgcc-aix.
258 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
260 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
262 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
264 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
266 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
269 * Makefile.in (version): Replace top_srcdir with srcdir.
271 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
273 * Makefile.in (version): set to BASE-VER file from gcc directory.
275 2012-08-01 Nick Clifton <nickc@redhat.com>
277 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
278 Implements __clrsb for an HImode argument.
280 2012-07-31 Nick Clifton <nickc@redhat.com>
282 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
283 Implements __clrsb for an HImode argument.
284 * config/stormy16/clrsbhi2.c: New file:
285 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
287 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
289 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
291 2012-07-19 Tristan Gingold <gingold@adacore.com>
292 Richard Henderson <rth@redhat.com>
294 * unwind-seh.c: New file.
295 * unwind-generic.h: Include windows.h for SEH.
296 (_Unwind_Exception): Use 6 private fields for SEH.
297 (_GCC_specific_handler): Declare.
298 * unwind-c.c (__gcc_personality_seh0): New function.
300 * config/i386/libgcc-cygming.ver: New file.
301 * config/i386/t-seh-eh: New file.
302 * config.host (x86_64-*-mingw*): Default to seh.
304 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
306 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
308 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
310 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
311 __builtin_expect when checking for exceptions.
312 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
314 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
316 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
317 function declaration.
318 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
320 * config/ia64/sfp-exceptions.c: New.
321 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
323 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
325 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
326 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
327 * config/i386/64/sfp-machine: ... (delete here) ...
328 * config/i386/sfp-machine.h: ... to here.
329 (FP_EX_MASK): Remove.
331 (FP_INIT_ROUNDMODE): Declare asm as volatile.
333 2012-06-11 Sriraman Tallam <tmsriram@google.com>
335 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
336 * config/i386/libgcc-sol2.ver: Ditto.
337 * config/i386/libgcc-glibc.ver: Ditto.
339 2012-06-11 Roland McGrath <mcgrathr@google.com>
341 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
342 If __GLIBC__ is defined, refer to __pthread_key_create instead of
345 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
347 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
348 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
349 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
350 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
351 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
352 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
353 * config/i386/64/sfp-machine: ... (delete here) ...
354 * config/i386/sfp-machine.h: ... to here.
356 (__sfp_handle_exceptions): New function declaration.
357 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
358 * config/i386/sfp-exceptions.c: New.
359 * config/i386/t-softfp: New.
360 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
361 i386/t-softfp to tmake_file.
363 2012-06-03 David S. Miller <davem@davemloft.net>
365 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
368 2012-05-31 David S. Miller <davem@davemloft.net>
370 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
371 multiply and divide instructions on 32-bit when V9.
372 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
374 2012-05-29 Joseph Myers <joseph@codesourcery.com>
376 * config/arm/ieee754-df.S: Fix typos.
377 * config/arm/ieee754-sf.S: Fix typos.
378 * config/c6x/libunwind.S: Fix typos.
379 * config/epiphany/udivsi3-float.c: Fix typos.
380 * config/microblaze/muldi3_hard.S: Fix typos.
381 * config/picochip/adddi3.S: Fix typos.
382 * config/picochip/ashlsi3.S: Fix typos.
383 * config/picochip/ashrsi3.S: Fix typos.
384 * config/picochip/clzsi2.S: Fix typos.
385 * config/picochip/cmpsi2.S: Fix typos.
386 * config/picochip/divmod15.S: Fix typos.
387 * config/picochip/divmodhi4.S: Fix typos.
388 * config/picochip/divmodsi4.S: Fix typos.
389 * config/picochip/longjmp.S: Fix typos.
390 * config/picochip/lshrsi3.S: Fix typos.
391 * config/picochip/parityhi2.S: Fix typos.
392 * config/picochip/popcounthi2.S: Fix typos.
393 * config/picochip/setjmp.S: Fix typos.
394 * config/picochip/subdi3.S: Fix typos.
395 * config/picochip/ucmpsi2.S: Fix typos.
396 * config/picochip/udivmodhi4.S: Fix typos.
397 * config/picochip/udivmodsi4.S: Fix typos.
398 * config/spu/divv2df3.c: Fix typos.
399 * config/spu/mfc_multi_tag_release.c: Fix typos.
400 * config/spu/mfc_tag_release.c: Fix typos.
401 * configure.ac: Fix typos.
402 * configure: Regenerate.
404 2012-05-25 Ian Lance Taylor <iant@google.com>
406 * config/i386/morestack.S (__morestack_non_split): Check whether
407 caller is varargs and needs %bp to hold the stack frame on return.
409 2012-05-25 Olivier Hainque <hainque@adacore.com>
411 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
412 sequence in the non pic case on VxWorks.
414 2012-05-24 Olivier Hainque <hainque@adacore.com>
416 * Makefile.in: Move dependency on install-unwind_h from
417 "install-leaf" to "install".
419 2012-05-24 Olivier Hainque <hainque@adacore.com>
421 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
422 Use a separate command for stamp removals.
424 2012-05-21 Andrew Pinski <apinski@cavium.com>
427 * configure.ac: Define the default includes to being none.
428 * configure: Regenerate.
430 2012-05-16 Olivier Hainque <hainque@adacore.com>
432 * Makefile.in (install-unwind_h): Rename into ...
433 (install-unwind_h-forbuild): New target.
434 (all): Use it instead of the former install-unwind_h.
435 (install-unwind_h): Reinstate, copy to user install destination
436 for include files, not to the internal gcc object directory one.
437 (install-leaf): Depend on it.
439 2012-05-15 Olivier Hainque <hainque@adacore.com>
441 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
442 register numbers. LR_REGNO replaces R_LR.
443 (ucontext_for): New, helper for ...
444 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
446 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
448 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
450 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
451 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
452 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
454 (i[34567]86-*-*, x86_64-*-*): ... here.
456 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
457 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
459 * config/i386/i386-cpuinfo.c: Rename to ...
460 * config/i386/cpuinfo.c: ... this.
461 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
463 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
464 (libgcc_cv_init_priority): New test.
465 * configure: Regenerate.
466 * config.in: New file.
467 * Makefile.in (clean): Rename config.h to auto-target.h.
468 (config.h): Likewise.
471 * config/i386/cpuinfo.c (auto-target.h): Include.
472 (CONSTRUCTOR_PRIORITY): Define.
473 (__cpu_indicator_init): Use it.
475 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
477 * longlong.h: Use a URL instead of an FSF postal address.
478 Replace spaces with tab.
480 2012-05-08 Teresa Johnson <tejohnson@google.com>
482 * libgcov.c (gcov_clear, __gcov_reset): New functions.
483 (__gcov_dump): Ditto.
484 (gcov_dump_complete): New global variable.
485 (gcov_exit): Export hidden to enable use in L_gcov_dump.
486 (__gcov_flush): Outline functionality now in gcov_clear.
487 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
489 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
491 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
492 (mips*-*-linux*): Include mips/t-tpbit when long double is
495 2012-04-25 Sriraman Tallam <tmsriram@google.com>
497 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
498 (get_available_features): New argument. Check for AVX2.
499 (__cpu_indicator_init): Modify call to get_available_features.
501 2012-04-25 Alan Modra <amodra@gmail.com>
503 * config/rs6000/crtsavevr.S: New file.
504 * config/rs6000/crtrestvr.S: New file.
505 * config/rs6000/t-savresfgpr: Build the above.
506 * config/rs6000/t-netbsd: Likewise.
508 2012-04-24 Sriraman Tallam <tmsriram@google.com>
510 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
512 2012-04-24 Sriraman Tallam <tmsriram@google.com>
514 * libgcc/config/i386/i386-cpuinfo.c: New file.
515 * libgcc/config/i386/t-cpuinfo: New file.
516 * libgcc/config.host: Include t-cpuinfo.
517 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
519 2012-04-24 Chao-ying Fu <fu@mips.com>
521 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
523 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
525 struct siginfo vs. siginfo_t
527 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
528 siginfo_t instead of struct siginfo.
529 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
530 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
531 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
532 (ia64_handle_unwabi): Likewise.
533 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
534 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
535 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
536 (sh_fallback_frame_state): Likewise.
537 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
538 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
540 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
542 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
545 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
547 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
548 if it hasn't been previously saved.
550 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
552 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
555 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
558 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
559 instead of __AVR_HAVE_8BIT_SP__.
561 2012-03-26 Tristan Gingold <gingold@adacore.com>
563 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
564 (unw_table_entry): Use unw_word instead of unsigned long.
565 (_Unwind_FindTableEntry): Likewise.
566 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
567 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
568 (_Unwind_FindTableEntry): Likewise.
569 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
570 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
571 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
572 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
573 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
574 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
575 (uw_init_context_1, uw_install_context): Likewise.
576 (unw_word): Move to unwind-ia64.h
578 2012-03-26 Tristan Gingold <gingold@adacore.com>
580 * config/vms/vms-ucrt0.c: Update copyright years.
582 (___gcc_main_flags): Declare.
583 (__main): Check flags to remap argv and exit code.
584 * config.host (*-*-*vms*): Adjust extra_parts.
585 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
588 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
590 * arm/lib1funcs.asm (ctzsi2): New function.
591 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
592 * arm/t-linux (LIB1ASMFUNCS): Likewise.
593 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
594 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
595 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
596 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
598 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
600 * config.host: Add bits to support powerpc64-*-freebsd*.
601 * config/rs6000/freebsd-unwind.h: New file.
602 * config/rs6000/t-freebsd64: New file.
604 2012-03-20 Richard Guenther <rguenther@suse.de>
606 PR gcov-profile/52627
607 * libgcov.c (init_mx): Fix mutex name.
609 2012-03-16 Tristan Gingold <gingold@adacore.com>
611 * config/ia64/vms-unwind.h: Remove ulong (and replace
612 it by unw_reg where used). Define unw_reg with __int64.
614 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
616 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
618 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
620 (sparc_is_sighandler): Likewise.
622 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
624 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
627 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
629 * config/arm/crtn.S: Fix typo.
631 2012-03-13 Richard Guenther <rguenther@suse.de>
633 * libgcov.c: Remove stdio.h include and NULL un-define.
635 2012-03-13 Richard Guenther <rguenther@suse.de>
638 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
640 2012-03-13 Richard Guenther <rguenther@suse.de>
642 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
644 2012-03-13 Richard Guenther <rguenther@suse.de>
646 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
647 and __gthread_mutex_init_function definitions.
649 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
651 * config.host (mips*-*-openbsd*): Remove.
653 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
655 * config.host: Remove alpha*-dec-osf5.1* handling.
656 * config/alpha/gthr-posix.c: Remove.
657 * config/alpha/libgcc-osf5.ver: Remove.
658 * config/alpha/osf5-unwind.h: Remove.
659 * config/alpha/t-osf-pthread: Remove.
660 * config/alpha/t-slibgcc-osf: Remove.
661 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
662 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
663 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
664 * mkmap-flat.awk: Remove osf_export handling.
666 2012-03-12 Richard Guenther <rguenther@suse.de>
668 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
669 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
670 (__gthread_mutex_init_function): New function.
671 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
674 * libgcov.c: Include gthr.h.
675 (__gcov_flush_mx): New global variable.
676 (init_mx, init_mx_once): New functions.
677 (__gcov_flush): Protect self with a mutex.
678 (__gcov_fork): Re-initialize mutex after forking.
679 * unwind-dw2-fde.c: Change condition under which to use
680 __GTHREAD_MUTEX_INIT_FUNCTION.
682 2012-03-12 Tristan Gingold <gingold@adacore.com>
684 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
685 * config/ia64/t-vms: Likewise.
687 2012-03-11 Michael Hope <michael.hope@linaro.org>
689 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
692 2012-03-07 Walter Lee <walt@tilera.com>
694 * config/tilepro/atomic.c: Rename "atomic_" prefix to
696 (atomic_xor): Rename and move definition to
697 config/tilepro/atomic.h.
698 (atomic_nand): Ditto.
699 * config/tilepro/atomic.h: Rename "atomic_" prefix to
701 (arch_atomic_xor): Move from config/tilepro/atomic.c.
702 (arch_atomic_nand): Ditto.
704 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
707 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
709 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
712 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
715 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
719 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
720 if RAMPZ affects reading from RAM.
721 (__tablejump_elpm__): Ditto.
723 (__movmemx_hi): Ditto.
724 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
725 (__do_global_dtors): Ditto.
726 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
727 (__movmemx_hi): Ditto.
729 2012-03-05 Richard Henderson <rth@redhat.com>
731 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
732 [ARM] (count_trailing_zeros): Use the builtin.
734 2012-03-01 Kai Tietz <ktietz@redhat.com>
736 * soft-fp: Imported from glibc upstream.
738 2012-02-28 Kai Tietz <ktietz@redhat.com>
740 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
741 for mingw-targets as attribute gcc_struct.
743 2012-02-28 Ian Lance Taylor <iant@google.com>
745 * generic-morestack.c (__splitstack_releasecontext): Correct call
746 to __morestack_release_segments.
748 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
751 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
752 for __linux__ when removing signals from __morestack_fullmask.
754 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
757 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
759 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
761 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
762 instead of HAVE_INITFINI_ARRAY.
763 * config/ia64/crtend.S: Likewise.
765 2012-02-20 Kai Tietz <ktietz@redhat.com>
768 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
770 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
771 to w32-unwind.h header.
773 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
775 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
776 (mips*-*-linux*): Remove t-slibgcc-libgcc.
777 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
778 * config/mips/mips16.S (__mips16_rdhwr): Delete.
780 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
782 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
784 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
787 * config/darwin-crt-tm.c: Correct typo.
789 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
790 Patrick Marlier <patrick.marlier@gmail.com>
793 * config/darwin-crt-tm.c: Generate dummy functions.
795 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
796 Patrick Marlier <patrick.marlier@gmail.com>
799 * config/darwin-crt-tm.c (getTMCloneTable): New function.
800 (__doTMRegistrations): Call it.
801 (__doTMdeRegistrations): Likewise.
803 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
804 Anatoly Sokolov <aesok@post.ru>
805 Eric Weddington <eric.weddington@atmel.com>
808 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
809 (__epilogue_restores__): Ditto.
811 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
815 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
816 Solaris 11 and slightly reformat.
817 (sparc_is_sighandler): Likewise.
819 2012-02-14 Walter Lee <walt@tilera.com>
821 * config.host: Handle tilegx and tilepro.
822 * config/tilegx/sfp-machine.h: New file.
823 * config/tilegx/sfp-machine32.h: New file.
824 * config/tilegx/sfp-machine64.h: New file.
825 * config/tilegx/t-crtstuff: New file.
826 * config/tilegx/t-softfp: New file.
827 * config/tilegx/t-tilegx: New file.
828 * config/tilepro/atomic.c: New file.
829 * config/tilepro/atomic.h: New file.
830 * config/tilepro/linux-unwind.h: New file.
831 * config/tilepro/sfp-machine.h: New file.
832 * config/tilepro/softdivide.c: New file.
833 * config/tilepro/softmpy.S: New file.
834 * config/tilepro/t-crtstuff: New file.
835 * config/tilepro/t-tilepro: New file.
837 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
841 * gthr-posix.h: Allow static initializer macros to be disabled.
842 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
844 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
846 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
847 Add t-slibgcc-libgcc to tmake_file.
848 * config/mips/libgcc-mips16.ver: Revert previous patch.
849 * config/mips/mips16.S (__mips16_rdhwr): Hide.
851 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
852 Jayant R Sonar <jayant.sonar@kpitcummins.com>
854 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
855 * config/cr16/crti.S: New file.
856 * config/cr16/crtlibid.S: New file.
857 * config/cr16/crtn.S: New file.
858 * config/cr16/lib1funcs.S: New file.
859 * config/cr16/t-cr16: New file.
860 * config/cr16/t-crtlibid: New file.
861 * config/cr16/unwind-dw2.h: New file.
862 * config/cr16/unwind-cr16.c: New file.
863 * config/cr16/divmodhi3.c: New file.
865 2012-01-25 Alan Modra <amodra@gmail.com>
867 * config/rs6000/t-linux64: Delete. Move..
868 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
869 * config/rs6000/t-linux: ..and libgcc flags to here.
871 2012-01-22 Douglas B Rupp <rupp@gnat.com>
873 * config.host (i[34567]86-*-interix3*):
874 Change triplet to i[34567]86-*-interix[3-9]*.
875 * configure: Regenerate.
877 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
878 Richard Sandiford <rdsandiford@googlemail.com>
880 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
881 * config/mips/mips16.S (__mips16_rdhwr): New function.
882 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
884 2012-01-11 Nathan Sidwell <nathan@acm.org>
886 * libgcov.c (__gcov_init): Ignore objects with no functions.
888 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
891 Extend __pgmx semantics to linearize memory.
892 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
893 * config/avr/lib1funcs.S (__xload_1): New function.
894 (__movmemx_qi, __movmemx_hi): New functions.
895 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
898 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
900 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
901 purported sigacthandler address isn't null before dereferencing it.
902 (sparc_is_sighandler): Likewise.
904 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
907 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
908 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
909 (sparc_is_sighandler): Likewise.
910 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
912 2012-01-06 Tristan Gingold <gingold@adacore.com>
914 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
915 compatibility thunks...
916 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
917 (crtbeginS.o, crtendS.o): ... and these to ...
918 * config/ia64/t-ia64-elf: ... this new file.
919 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
920 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
922 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
924 * configure: Regenerate.
925 * config/s390/t-crtstuff: Remove -fPIC.
927 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
930 * enable-execute-stack-mprotect.c (getpagesize): Do not define
933 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
936 * config/avr/lib1funcs.S: Remove FIXME comments.
937 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
939 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
941 Implement light-weight DImode support.
942 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
943 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
944 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
945 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
947 2011-12-30 Nathan Sidwell <nathan@acm.org>
949 * libgcov.c (gcov_crc32): Remove global var.
950 (free_fn_data): New function.
951 (buffer_fn_data): Pass in filename, more robust error recovery.
952 (crc32_unsigned): New function.
953 (gcov_exit): More robust detection of new program. More robust
955 (__gcov_init): Do not update program's crc here.
957 2011-12-21 Tristan Gingold <gingold@adacore.com>
959 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
961 2011-12-21 Ian Lance Taylor <iant@google.com>
963 * config/i386/morestack.S: Simplify CFI opcodes throughout.
965 2011-12-20 Ian Lance Taylor <iant@google.com>
967 * config/i386/morestack.S (__morestack_non_split): If there is
968 enough stack space already, don't split. Ask for more stack space
971 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
973 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
975 (_Unwind_DebugHook): New function.
976 (uw_restore_core_regs): New define.
977 (unwind_phase2): Use uw_restore_core_regs instead of
979 (unwind_phase2_forced): Likewise.
980 (__gnu_Unwind_Resume): Likewise.
982 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
984 * config/alpha/linux-unwind.h: Update copyright years.
985 (MD_FROB_UPDATE_CONTEXT): New define.
986 (alpha_frob_update_context): New function.
988 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
990 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
991 tmake_file rather replacing it.
993 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
995 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
996 function is not used for PPC64.
997 (save_world): Amend comments. Update the VRsave mask to reflect the
999 (rest_world): Update comments, do not clobber r10, do not use r8.
1000 (eh_rest_world_r10): Amend comments, do not use r8.
1001 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1002 no longer used, move restore of CR and target address to the end of
1005 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1007 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1008 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1010 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
1013 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1014 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1016 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1018 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1020 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
1023 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1024 * config/avr/lib1funcs.S (__muldi3): New function.
1026 2011-12-06 Andrew Pinski <apinski@cavium.com>
1028 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1030 (__frame_dummy_init_array_entry): Likewise.
1032 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
1034 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1038 * config/avr/lib1funcs.S (__prologue_saves__,
1039 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1040 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1042 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1044 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1046 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1049 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1050 (_ITM_deregisterTMCloneTable): Likewise.
1051 (__register_frame_info): Fix unused warning.
1052 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1053 pthread_default_stacksize_np): Likewise.
1054 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1056 2011-11-29 DJ Delorie <dj@redhat.com>
1058 * config.host (rl78-*-elf): New case.
1059 * config/rl78: New directory for the Renesas RL78.
1061 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1063 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1066 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1069 * config/rs6000/t-savresfgpr: New file.
1070 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1071 $(srcdir)/config/rs6000/eabi.S.
1072 * config/rs6000/t-ppccomm-ldbl: Remove.
1073 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1075 (powerpc-*-eabispe*): Likewise.
1076 (powerpc-*-eabi*): Likewise.
1077 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1078 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1079 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1080 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1082 (powerpc-*-eabisim*): Likewise.
1083 (powerpc-*-elf*): Likewise.
1084 (powerpc-*-eabialtivec*): Likewise.
1085 (powerpc-xilinx-eabi*): Likewise.
1086 (powerpc-*-rtems*): Likewise.
1087 (powerpcle-*-elf*): Likewise.
1088 (powerpcle-*-eabisim*): Likewise.
1089 (powerpcle-*-eabi*): Likewise.
1091 2011-11-27 Ian Lance Taylor <iant@google.com>
1093 * generic-morestack.c (__splitstack_find): Check for NULL old
1095 (__splitstack_resetcontext): New function.
1096 (__splitstack_releasecontext): New function.
1097 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1099 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1101 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1103 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1105 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1107 2011-11-26 Richard Henderson <rth@redhat.com>
1109 * config/m68k/linux-atomic.c: New file.
1110 * config/m68k/t-linux: New file.
1111 * config.host (m68k-uclinux, m68k-linux): Use it.
1113 2011-11-26 Richard Henderson <rth@redhat.com>
1115 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1116 (__TMC_END__): Only declare if hidden is available; in the definition,
1117 if hidden is unavailable add a null record.
1118 (deregister_tm_clones, register_tm_clones): New.
1119 (__do_global_dtors_aux, frame_dummy): Use them.
1120 (__do_global_dtors, __do_global_ctors_1): Likewise.
1122 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
1124 * config/darwin-crt-tm.c: New file.
1125 * config.host (darwin): Build crttms.o crttme.o to provide
1126 startup and shutdown for tm clones.
1127 * config/t-darwin (crttms.o): New build rule.
1128 (crttme.o): Likewise.
1130 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
1132 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1135 2011-11-21 Richard Henderson <rth@redhat.com>
1137 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1138 (__TMC_LIST__, __TMC_END__): New.
1139 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1140 (__do_global_dtors): Likewise.
1141 (frame_dummy): Call _ITM_registerTMCloneTable.
1142 (__do_global_ctors_1): Likewise.
1144 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1146 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1147 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1148 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1149 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1150 * config/i386/t-darwin64: Remove.
1151 * config/sh/t-netbsd (LIB2ADD): Remove.
1153 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
1156 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1157 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1158 * config/avr/lib1funcs.S (wmov): New assembler macro.
1159 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1160 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1161 (__udivmod64): New function.
1162 (__negdi2): New function.
1164 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
1166 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1167 *-*-freebsd*aout*): Remove.
1169 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
1171 * static-object.mk (c_flags-$o): Save c_flags.
1172 ($(base)$(objext)): Use it.
1174 2011-11-18 Steve Ellcey <sje@cup.hp.com>
1176 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1178 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
1181 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1182 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1185 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1187 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1189 (aeabi_uidivmod): Likewise.
1190 (umodsi3): Likewise.
1192 (aeabi_idivmod): Likewise.
1195 2011-11-16 Tristan Gingold <gingold@adacore.com>
1197 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1199 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
1202 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1203 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1205 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1207 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1209 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1210 * config/pa/t-stublib64: Delete.
1212 2011-11-12 Richard Henderson <rth@redhat.com>
1214 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1215 cast the pointer argument to _Unwind_SetGRPtr.
1217 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1219 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1221 2011-11-09 Ian Lance Taylor <iant@google.com>
1223 * generic-morestack.c: Include <string.h>.
1224 (uintptr_type): Define.
1225 (struct initial_sp): Add dont_block_signals field. Reduce size of
1227 (allocate_segment): Set prev field to NULL. Don't set
1228 __morestack_current_segment or __morestack_segments.
1229 (__generic_morestack): Update current->prev and *pp after calling
1231 (__morestack_block_signals): Don't do anything if
1232 dont_block_signals is set.
1233 (__morestack_unblock_signals): Likewise.
1234 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1236 (__splitstack_block_signals): New function.
1237 (enum __splitstack_content_offsets): Define.
1238 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1239 (__splitstack_makecontext): New function.
1240 (__splitstack_block_signals_context): New function.
1241 (__splitstack_find_context): New function.
1242 * config/i386/morestack.S (__morestack_get_guard): New function.
1243 (__morestack_set_guard, __morestack_make_guard): New functions.
1244 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1246 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1248 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1249 (i[34567]86-*-mingw*): ... here.
1250 (x86_64-*-mingw*): ... here.
1252 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1254 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1256 2011-11-07 Nathan Sidwell <nathan@acm.org>
1258 * libgcov.c (struct gcov_fn_buffer): New struct.
1259 (buffer_fn_data): New helper.
1260 (gcov_exit): Rework for new gcov data structures.
1262 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
1265 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1267 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1269 * config.host (tmake_file): Correct comment.
1270 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1272 (bfin*-uclinux*): Likewise.
1273 (bfin*-linux-uclibc*): Likewise.
1274 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1276 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1278 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1279 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1280 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1281 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1282 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1283 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1284 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1285 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1286 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1287 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1288 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1289 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1290 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1292 * config/bfin/t-elf: Remove.
1293 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1295 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1297 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1298 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1299 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1300 (lm32-*-elf*): ... this.
1301 (lm32-*-rtems*): ... and this.
1303 (m32r-*-rtems*): Add to tmake_file.
1304 (moxie-*-rtems*): Likewise.
1305 (sparc-*-rtems*): Likewise.
1306 Remove t-rtems from tmake_file.
1307 (sparc64-*-rtems*): Likewise.
1308 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1311 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1314 * config/gthr-posix.h: Move ...
1315 * gthr-posix.h: ... here.
1316 * config/gthr-lynx.h: Reflect this.
1317 * config/gthr-vxworks.h: Likewise.
1318 * config/rs6000/gthr-aix.h: Likewise.
1319 * configure.ac (target_thread_file): Likewise.
1320 * configure: Regenerate.
1322 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1324 * config.host (arm*-*-rtemseabi*): New target.
1326 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1329 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1332 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1334 * config.host (epiphany-*-elf*): New configuration.
1335 * config/epiphany: New Directory.
1337 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1339 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1340 * config/avr/t-rtems: New.
1341 Filter out _exit from LIB1ASMFUNCS.
1343 2011-11-04 David S. Miller <davem@davemloft.net>
1345 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1346 * configure: Rebuild.
1348 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1350 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1353 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
1356 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1357 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1359 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1362 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1364 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1366 * config/c6x/t-elf (LIB2ADDEH): Set.
1367 * config/c6x/t-c6x-elf: Remove.
1369 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1371 * config/i386/sol2-ci.S: Rename to ...
1372 * config/i386/crti.S: ... this.
1373 * config/i386/sol2-cn.S: Rename to ...
1374 * config/i386/crtn.S: ... this.
1375 * config/sparc/sol2-ci.S: Rename to ...
1376 * config/sparc/crti.S: ... this.
1377 * config/sparc/sol2-cn.S: Rename to ...
1378 * config/sparc/crtn.S: ... this.
1379 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1380 (crti.o, crtn.o): Remove.
1382 2011-11-04 Tristan Gingold <gingold@adacore.com>
1384 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1386 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
1388 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1390 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
1392 * config.host (crisv32-*-none, cris-*-none): Remove.
1393 (crisv32-*-elf): Append to tmake_file, don't just set it.
1394 (cris-*-elf): Add missing t-fdpbit to tmake_file.
1396 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1398 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1399 (ecrtn$(objext)): Likewise.
1400 (ncrti$(objext)): Likewise.
1401 (ncrtn$(objext)): Likewise.
1403 2011-11-03 Andreas Schwab <schwab@redhat.com>
1405 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1407 2011-11-02 David S. Miller <davem@davemloft.net>
1409 * configure.ac: Set host_address on sparc too.
1410 * configure: Regenerate.
1411 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1412 based upon host_address.
1413 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1415 2011-11-02 Jason Merrill <jason@redhat.com>
1417 * config/rs6000/t-ppccomm: Add missing \.
1419 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1421 * gthr-single.h, gthr.h: New files.
1422 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1423 config/gthr-vxworks.h, config/i386/gthr-win32.h,
1424 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1425 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1426 * config/i386/gthr-win32.c: Include "gthr-win32.h".
1427 * configure.ac (thread_header): New variable.
1428 Set it depending on target_thread_file.
1429 (gthr-default.h): Link from $thread_header.
1430 * configure: Regenerate.
1431 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1433 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1435 * configure.ac (tm_file_): New variable.
1436 Determine from tm_file.
1437 (tm_file, tm_defines): Substitute.
1438 * configure: Regenerate.
1439 * mkheader.sh: New file.
1440 * Makefile.in (clean): Remove libgcc_tm.h.
1441 ($(objects)): Depend on libgcc_tm.h.
1442 (libgcc_tm_defines, libgcc_tm_file): New variables.
1443 (libgcc_tm.h, libgcc_tm.stamp): New targets.
1444 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1445 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1446 ($(extra-parts)): Depend on libgcc_tm.h.
1447 * config.host (tm_defines, tm_file): New variable.
1448 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1449 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1450 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1451 (avr-*-rtems*): Likewise.
1452 (avr-*-*): Likewise.
1453 (frv-*-elf): Likewise.
1454 (frv-*-*linux*): Likewise.
1455 (h8300-*-rtems*): Likewise.
1456 (h8300-*-elf*): Likewise.
1457 (i[34567]86-*-darwin*): Likewise.
1458 (x86_64-*-darwin*): Likewise.
1459 (rx-*-elf): Likewise.
1460 (tic6x-*-uclinux): Likewise.
1461 (tic6x-*-elf): Likewise.
1462 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1463 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1464 * config/i386/cygming-crtbegin.c: Likewise.
1465 * config/i386/cygming-crtend.c: Likewise.
1466 * config/ia64/fde-vms.c: Likewise.
1467 * config/ia64/unwind-ia64.c: Likewise.
1468 * config/libbid/bid_gcc_intrinsics.h: Likewise.
1469 * config/rs6000/darwin-fallback.c: Likewise.
1470 * config/stormy16/lib2funcs.c: Likewise.
1471 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1472 * crtstuff.c: Likewise.
1473 * dfp-bit.h: Likewise.
1474 * emutls.c: Likewise.
1475 * fixed-bit.c: Likewise.
1476 * fp-bit.c: Likewise.
1477 * generic-morestack-thread.c: Likewise.
1478 * generic-morestack.c: Likewise.
1479 * libgcc2.c: Likewise.
1480 * libgcov.c: Likewise.
1481 * unwind-dw2-fde-dip.c: Likewise.
1482 * unwind-dw2-fde.c: Likewise.
1483 * unwind-dw2.c: Likewise.
1484 * unwind-sjlj.c: Likewise.
1486 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1488 * configure.ac: Include ../config/picflag.m4.
1489 (GCC_PICFLAG): Call it.
1491 * configure: Regenerate.
1492 * Makefile.in (gcc_srcdir): Remove.
1493 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1494 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1495 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1496 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1497 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1500 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1501 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1502 to refer to libgcc2.c.
1504 * config/darwin-64.c: New file.
1505 * config/darwin-crt3.c: Remove comment.
1506 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1507 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1508 config/udivmodsi4.c: New files.
1509 * config/memcmp.c, config/memcpy.c, config/memmove.c,
1510 config/memset.c: New files.
1511 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1512 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1513 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1514 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1515 * config/t-openbsd-thread: New file.
1516 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1517 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1518 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1519 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1522 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1523 to refer to gthr-posix.c.
1524 * config/alpha/t-vms (LIB2ADD): Set.
1525 * config/alpha/vms-gcc_shell_handler.c: New file.
1526 * config/arm/bpabi.c, config/arm/fp16.c,
1527 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1528 config/arm/unaligned-funcs.c: New files.
1529 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1530 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1531 * config/arm/t-linux: Likewise.
1532 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1533 * config/arm/t-netbsd: New file.
1534 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1535 * config/arm/t-symbian (LIB2ADD_ST): Set.
1536 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1537 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1538 * config/bfin/t-elf: New file.
1539 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1540 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1541 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1542 config/c6x/ltf.c: New files.
1543 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1544 (HOST_LIBGCC2_CFLAGS): Set.
1545 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1546 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1547 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1549 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1550 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1551 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1552 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1553 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1555 * config/frv/t-frv (LIB2ADD): Set.
1556 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1557 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1558 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1559 config/h8300/popcounthi2.c: New files.
1560 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1561 * config/i386/gthr-win32.c: New file.
1562 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1563 * config/i386/t-cygwin: Likewise.
1564 * config/i386/t-darwin, config/i386/t-darwin64,
1565 config/i386/t-gthr-win32, config/i386/t-interix: New files.
1566 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1567 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1568 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1569 * config/ia64/quadlib.c: New file.
1570 * config/ia64/t-hpux (LIB2ADD): Set.
1571 * config/ia64/t-ia64: Add comment.
1572 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1573 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1574 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1575 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1576 * config/m32c/t-m32c (LIB2ADD): Set.
1577 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1578 * config/m32r/t-m32r: Likewise.
1579 * config/m68k/fpgnulib.c: New file.
1580 * config/m68k/t-floatlib (LIB2ADD): Set.
1581 (xfgnulib.c): New target.
1582 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1583 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1584 * config/mep/t-mep (LIB2ADD): Set.
1585 * config/microblaze/divsi3.asm: Rename to divsi3.S.
1586 * config/microblaze/moddi3.asm: Rename to moddi3.S.
1587 * config/microblaze/modsi3.asm: Rename to modsi3.S.
1588 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1589 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1590 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1591 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1592 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1593 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1594 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1596 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1597 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1598 * config/pa/fptr.c, config/pa/lib2funcs.S,
1599 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1600 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1601 (LIB2ADD, LIB2ADD_ST): Set.
1602 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1603 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1605 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1606 * config/pdp11/t-pdp11: New file.
1607 * config/picochip/libgccExtras/adddi3.S,
1608 config/picochip/libgccExtras/ashlsi3.S,
1609 config/picochip/libgccExtras/ashrsi3.S,
1610 config/picochip/libgccExtras/clzsi2.S,
1611 config/picochip/libgccExtras/cmpsi2.S,
1612 config/picochip/libgccExtras/divmod15.S,
1613 config/picochip/libgccExtras/divmodhi4.S,
1614 config/picochip/libgccExtras/divmodsi4.S,
1615 config/picochip/libgccExtras/lshrsi3.S,
1616 config/picochip/libgccExtras/parityhi2.S,
1617 config/picochip/libgccExtras/popcounthi2.S,
1618 config/picochip/libgccExtras/subdi3.S,
1619 config/picochip/libgccExtras/ucmpsi2.S,
1620 config/picochip/libgccExtras/udivmodhi4.S,
1621 config/picochip/libgccExtras/udivmodsi4.S: New files.
1622 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1623 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1624 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1625 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1626 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1627 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1628 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
1629 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1631 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1632 (HOST_LIBGCC2_CFLAGS): Set.
1633 * config/rs6000/t-darwin64: New file.
1634 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1635 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1636 * config/rs6000/t-ppccomm (LIB2ADD): Add
1637 $(srcdir)/config/rs6000/tramp.S.
1638 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1639 Add $(srcdir)/config/rs6000/eabi.S.
1640 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1641 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1642 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1643 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1644 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1645 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1646 * config/rs6000/tramp.S: New file.
1647 * config/s390/t-tpf: Remove.
1648 * config/sh/linux-atomic.S: New file.
1649 * config/sh/t-linux (LIB2ADD): Set.
1650 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1651 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1652 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1654 (HOST_LIBGCC2_CFLAGS): Set.
1655 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1656 * config/spu/divmodti4.c, config/spu/divv2df3.c,
1657 config/spu/float_disf.c, config/spu/float_unsdidf.c,
1658 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1659 config/spu/mfc_multi_tag_release.c,
1660 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1661 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1662 config/spu/multi3.c: New files.
1663 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1664 (HOST_LIBGCC2_CFLAGS): Set.
1665 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1666 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1667 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1668 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1669 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1670 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1671 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1672 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1673 config/stormy16/umodsi3.c: New files.
1674 * config/xtensa/lib2funcs.S: New file.
1675 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1676 * config/xtensa/t-xtensa (LIB2ADD): Set.
1677 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1678 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1679 Add t-freebsd-thread to tmake_file for posix threads.
1680 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1681 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1682 (*-*-lynxos*): Likewise.
1683 (*-*-netbsd*): Likewise.
1684 (*-*-openbsd*): Likewise.
1685 Add t-openbsd-thread to tmake_file for posix threads.
1686 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1687 (*-*-vxworks*): Set tmake_file.
1688 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1689 (alpha*-*-freebsd*): Likewise.
1690 (alpha*-*-netbsd*): Likewise.
1691 (alpha*-*-openbsd*): Likewise.
1692 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1693 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1694 (alpha*-dec-*vms*): Likewise.
1695 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1696 (bfin*-elf*): Add bfin/t-elf to tmake_file.
1697 (bfin*-uclinux*): Likewise.
1698 (bfin*-linux-uclibc*): Likewise.
1699 (crisv32-*-elf): Add cris/t-cris to tmake_file.
1700 (crisv32-*-none): Likewise.
1701 (cris-*-elf): Likewise.
1702 (cris-*-none): Likewise.
1703 (cris-*-linux*, crisv32-*-linux*): Likewise.
1704 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1706 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1708 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1709 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1710 (x86_64-*-elf*): Likewise.
1711 (i[34567]86-*-nto-qnx*): Likewise.
1712 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1714 (x86_64-*-mingw*): Likewise.
1715 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1716 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1717 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1718 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1719 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1721 (mipsisa64sr71k-*-elf*): Likewise.
1722 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1723 (mips-*-elf*, mipsel-*-elf*): Likewise.
1724 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1725 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1726 (mips*-*-rtems*): Likewise.
1727 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1729 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1730 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1731 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1732 (spu-*-elf*): Likewise.
1733 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1735 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1737 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1738 $(srcdir) to refer to $(LIB1ASMSRC).
1740 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1741 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1742 config/arm/lib1funcs.S: New files.
1743 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1744 * config/arm/t-arm: New file.
1745 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1746 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1747 config/arm/t-strongarm-elf: New files.
1748 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1749 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1750 * config/avr/lib1funcs.S: New file.
1751 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1752 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1753 * config/c6x/lib1funcs.S: New file.
1754 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1755 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1756 * config/frv/lib1funcs.S: New file.
1757 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1758 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1759 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1760 * config/ia64/__divxf3.asm: Rename to ...
1761 * config/ia64/__divxf3.S: ... this.
1762 Adapt lib1funcs.asm filename.
1763 * config/ia64/_fixtfdi.asm: Rename to ...
1764 * config/ia64/_fixtfdi.S: ... this.
1765 Adapt lib1funcs.asm filename.
1766 * config/ia64/_fixunstfdi.asm: Rename to ...
1767 * config/ia64/_fixunstfdi.S: ... this.
1768 Adapt lib1funcs.asm filename.
1769 * config/ia64/_floatditf.asm: Rename to ...
1770 * config/ia64/_floatditf.S: ... this.
1771 Adapt lib1funcs.asm filename.
1772 * config/ia64/lib1funcs.S: New file.
1773 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1774 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1775 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1776 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1777 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1778 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1779 * config/mep/lib1funcs.S: New file.
1780 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1781 * config/mips/mips16.S: New file.
1782 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1783 * config/pa/milli64.S: New file.
1784 * config/pa/t-linux, config/pa/t-linux64: New files.
1785 * config/picochip/lib1funcs.S: New file.
1786 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1787 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1788 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1789 * config/sh/t-netbsd: New file.
1790 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1791 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1792 * config/sh/t-sh64: New file.
1793 * config/sparc/lb1spc.S: New file.
1794 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1796 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1797 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1798 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1799 config/xtensa/lib1funcs.S: New files.
1800 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1801 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1803 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1804 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1805 (arm*-*-linux*): Likewise.
1806 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1807 arm*-*-linux-*eabi, add arm/t-linux otherwise.
1808 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1809 (arm*-*-ecos-elf): Likewise.
1810 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1811 (arm*-*-rtems*): Likewise.
1812 (arm*-*-elf): Likewise.
1813 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1814 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1815 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1816 (bfin*-uclinux*): Likewise.
1817 (bfin*-linux-uclibc*): Likewise.
1818 (bfin*-rtems*): Likewise.
1819 (bfin*-*): Likewise.
1820 (fido-*-elf): Merge into m68k-*-elf*.
1821 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1822 (frv-*-*linux*): Add frv/t-frv to tmake_file.
1823 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1824 (h8300-*-elf*): Likewise.
1825 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1826 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1827 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1828 (i[34567]86-*-mingw*): Likewise.
1829 (x86_64-*-mingw*): Likewise.
1830 (i[34567]86-*-interix3*): Likewise.
1831 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1832 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1833 (m68k-*-elf*): Also handle fido-*-elf.
1834 Add m68k/t-floatlib to tmake_file.
1835 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1836 (m68k-*-linux*): Likewise.
1837 (m68k-*-rtems*): Likewise.
1838 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1839 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1841 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1842 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1843 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1844 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1845 sh/t-netbsd to tmake_file.
1846 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1847 (sh-*-rtems*): Add sh/t-sh to tmake_file.
1848 (sh-wrs-vxworks): Likewise.
1849 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1851 (v850*-*-*): Add v850/t-v850 to tmake_file.
1852 (vax-*-linux*): Add vax/t-linux to tmake_file.
1853 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1855 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1857 * crtstuff.c: New file.
1858 * Makefile.in (CRTSTUFF_CFLAGS): Define.
1859 (CRTSTUFF_T_CFLAGS): Define.
1860 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1861 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1862 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
1865 (crtbeginT.o): Use $(objext).
1866 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
1867 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
1868 (gcc-extra-parts): Remove.
1869 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
1871 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1872 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
1873 Add t-crtstuff-pic to tmake_file.
1874 (*-*-lynxos*): New case.
1875 Set tmake_file, extra_parts.
1876 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
1877 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
1878 *-*-netbsdelf[2-9]*.
1879 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
1880 (*-*-rtems*): Set extra_parts.
1881 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
1882 (*-*-uclinux*): New case.
1884 (*-*-vms*): New case.
1885 Set tmake_file, extra_parts.
1886 (*-*-elf): Set extra_parts.
1887 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
1888 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
1891 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
1893 (arm*-*-freebsd*): Add t-crtin to tmake_file.
1894 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
1895 (arm-wrs-vxworks): Append to tmake_file.
1897 (arm*-*-uclinux*): Set extra_parts.
1898 (arm*-*-ecos-elf): Likewise.
1899 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
1901 (arm*-*-rtems*): Set extra_parts.
1902 (arm*-*-elf): Likewise.
1903 (avr-*-rtems*): Clear extra_parts.
1904 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
1906 (bfin*-uclinux*): Likewise.
1907 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
1908 (bfin*-rtems*): Append to tmake_file.
1910 (bfin*-*): Likewise.
1911 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
1912 (crisv32-*-elf): ... this.
1913 (crisv32-*-none): ... this.
1914 (cris-*-elf, cris-*-none): New cases.
1915 Add cris/t-elfmulti to tmake_file.
1916 (fr30-*-elf): Append to tmake_file.
1918 (frv-*-elf): Append to tmake_file, add frv/t-frv.
1920 (h8300-*-rtems*): Append to tmake_file.
1922 (h8300-*-elf*): Likewise.
1923 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
1925 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
1927 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
1928 (x86_64-*-elf*): Likewise.
1929 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
1930 (x86_64-*-freebsd*): Likewise.
1931 (x86_64-*-netbsd*): Likewise.
1932 (i[34567]86-*-linux*): Likewise.
1933 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1934 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1935 (x86_64-*-linux*): Likewise.
1936 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1937 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
1940 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
1941 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
1942 Append to extra_parts, remove crtbegin.o, crtend.o.
1943 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
1944 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
1945 crtend.o, crtbeginS.o, crtendS.o.
1946 (ia64*-*-linux*): Comment extra_parts.
1947 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
1949 (iq2000*-*-elf*): Clear extra_parts.
1950 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
1951 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
1952 (m32r-*-elf*, m32r-*-rtems*): Split off ...
1953 (m32r-*-rtems*): ... this.
1954 Add m32r/t-m32r to tmake_file.
1955 (m68k-*-elf*): Add t-crtin to tmake_file.
1956 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
1957 (mcore-*-elf): Likewise.
1958 (microblaze*-*-*): Set extra_parts.
1959 (mips*-sde-elf*): New case.
1960 Set tmake_file, extra_parts.
1961 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1962 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1963 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
1966 (mipsisa64sr71k-*-elf*): Likewise.
1967 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1968 (mips-*-elf*, mipsel-*-elf*): Likewise.
1969 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1970 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
1971 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1972 (mips*-*-rtems*): Likewise.
1973 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
1974 (moxie-*-*): Split into ...
1975 (moxie-*-elf, moxie-*-uclinux*): ... this.
1976 Add to extra_parts, remove crtbegin.o, crtend.o.
1977 (moxie-*-rtems*): New case.
1980 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
1982 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1983 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
1986 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
1987 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
1989 (powerpc-*-eabisim*): Likewise.
1990 (powerpc-*-elf*): Likewise.
1991 (powerpc-*-eabialtivec*): Likewise.
1992 (powerpc-xilinx-eabi*): Likewise.
1993 (powerpc-*-eabi*): Likewise.
1994 (powerpc-*-rtems*): Likewise.
1995 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
1998 (powerpc-*-lynxos*): Add to tmake_file.
1999 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2000 rs6000/t-crtstuff, t-crtstuff-pic.
2002 (powerpcle-*-eabisim*): Likewise.
2003 (powerpcle-*-eabi*): Likewise.
2004 (rx-*-elf): Remove extra_parts.
2005 (s390x-ibm-tpf*): Set extra_parts.
2006 (score-*-elf): Set extra_parts.
2007 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2008 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2009 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2010 (sh64l*-*-netbsd*): Split into ...
2011 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2012 Add t-crtstuff-pic to tmake_file.
2014 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2016 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2017 (sparc-*-elf*): Remove t-crtin from tmake_file.
2018 Add to extra_parts, remove crtbegin.o, crtend.o.
2019 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2020 (sparc64-*-linux*): Likewise.
2021 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2022 Add to extra_parts, remove crtbegin.o, crtend.o.
2023 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2024 Add to extra_parts, remove crtbegin.o, crtend.o.
2025 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2026 Add to extra_parts, remove crtbegin.o, crtend.o.
2027 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2028 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2029 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2031 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2033 (tic6x-*-*): Change to ...
2034 (tic6x-*-elf): ... this.
2036 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2038 (am33_2.0-*-linux*): Add comment.
2039 (mep*-*-*): Add mep/t-mep to tmake_file.
2041 * config/alpha/t-vms: New file.
2042 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2043 * config/arm/crti.S, config/arm/crtn.S: New files.
2044 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2045 * config/bfin/crtlibid.S: New file.
2046 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2047 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2048 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2049 (crti.o, crtin.o): New rules.
2050 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2051 * config/c6x/t-uclinux: New file.
2052 * config/cris/t-elfmulti: New file.
2053 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2054 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2055 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2056 * config/frv/t-frv: New file.
2057 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2058 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2059 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2061 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2062 refer to cygming-crtbegin.c, cygming-crtend.c.
2064 * config/i386/t-nto: New file.
2065 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2066 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2067 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2068 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2071 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2072 (crtinitS.o): New rule.
2073 * config/ia64/vms-crtinit.S: New file.
2074 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2075 * config/m32r/initfini.c: New file.
2076 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2077 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2078 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2079 * config/mep/t-mep: New file.
2080 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2081 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2082 * config/mips/crti.S, config/mips/crtn.S: New files.
2083 * config/mips/t-crtstuff: New file.
2084 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2085 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2086 (CUSTOM_CRTIN): Set.
2087 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2089 Use $(srcdir) to refer to crti.S, crtn.S.
2090 Use .S extension, $<.
2091 * config/moxie/crti.asm: Rename to ...
2092 * config/moxie/crti.S: ... this.
2093 * config/moxie/crtn.asm: Rename to ...
2094 * config/moxie/crtn.S: ... this.
2095 * config/moxie/t-moxie: Remove.
2096 * config/pa/stublib.c: New file.
2097 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2098 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2099 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2100 * config/rs6000/t-crtstuff: New file.
2101 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2102 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2103 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2104 Make output file explicit.
2105 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2106 Make output file explicit.
2107 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2108 Make output file explicit.
2109 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2110 Make output file explicit.
2111 * config/score/crti.S, config/score/crtn.S: New files.
2112 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2113 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2115 * config/sh/t-sh, config/sh/t-superh: New files.
2116 * config/sparc/t-linux64: New file.
2117 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2118 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2119 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2120 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2121 * config/t-crtin: Remove.
2122 * config/t-crtstuff-pic: New file.
2123 * config/t-sol2 (CUSTOM_CRTIN): Set.
2124 (crti.o, crtn.o): New rules.
2125 * config/vms/t-vms: New file.
2126 * config/vms/vms-ucrt0.c: New file.
2127 * config/xtensa/t-elf: New file.
2129 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2131 * Makefile.in (SHLIB_NM_FLAGS): Set.
2132 * mkmap-flat.awk, mkmap-symver.awk: New files.
2133 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2135 * configure: Regenerate.
2136 * config/libgcc-glibc.ver: New file.
2137 * config/libgcc-libsystem.ver: New file.
2138 * config/t-libunwind (SHLIB_LC): Set.
2139 * config/t-linux: New file.
2140 * config/t-slibgcc (INSTALL_SHLIB): New.
2141 (SHLIB_INSTALL): Use it.
2142 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2143 to mkmap-symver.awk.
2144 (SHLIB_MAPFILES): Don't append, adapt pathname.
2145 (SHLIB_VERPFX): Set.
2146 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2147 to mkmap-symver.awk.
2148 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2149 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2150 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2151 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2153 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2154 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2155 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2156 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2157 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2158 * config/i386/libgcc-darwin.10.4.ver,
2159 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2161 * config/i386/t-darwin: Remove.
2162 * config/i386/t-darwin64: Likewise.
2163 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2164 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2165 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2166 * config/i386/t-linux: New file.
2167 * config/i386/t-mingw32: New file.
2168 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2169 * config/ia64/t-glibc: Rename to ...
2170 * config/ia64/t-linux: ... this.
2171 (SHLIB_MAPFILES): Set.
2172 * config/ia64/t-glibc-libunwind: Rename to ...
2173 * config/ia64/t-linux-libunwind: ... this.
2174 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2175 * config/ia64/t-slibgcc-hpux: New file.
2176 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2177 * config/m68k/t-slibgcc-elf-ver: New file.
2178 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2179 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2181 * config/pa/t-slibgcc-hpux: New file.
2182 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2184 * config/rs6000/libgcc-darwin.10.4.ver,
2185 config/rs6000/libgcc-darwin.10.5.ver: New files.
2186 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2187 config/rs6000/libgcc-glibc.ver.
2188 * config/rs6000/libgcc-ppc64.ver: Rename to
2189 config/rs6000/libgcc-ibm-ldouble.ver.
2190 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2191 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2192 * config/rs6000/t-ldbl128: Rename to ...
2193 * config/rs6000/t-linux: ... this.
2194 (SHLIB_MAPFILES): Adapt filename.
2195 * config/rs6000/t-slibgcc-aix: New file.
2196 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2197 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2198 libgcc-excl.ver, libgcc-glibc.ver.
2199 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2200 * config/sparc/libgcc-glibc.ver: New file.
2201 * config/sparc/t-linux: New file.
2202 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2203 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2204 t-slibgcc-elf-ver to tmake_file.
2205 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2207 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2208 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2209 t-slibgcc-elf-ver, t-linux to tmake_file.
2210 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2212 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2213 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2214 (alpha*-dec-*vms*): Likewise.
2215 (arm*-*-freebsd*): Append to tmake_file.
2216 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2217 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2219 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2220 tmake_file for arm*-*-symbianelf*.
2221 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2222 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2224 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2225 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2226 pa/t-slibgcc-dwarf-ver to tmake_file.
2227 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2228 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2229 (hppa*64*-*-hpux11*): Likewise.
2230 (hppa[12]*-*-hpux11*): Likewise.
2231 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2232 i386/t-crtpc, i386/t-crtfm.
2233 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2234 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2236 Add i386/t-cygwin to tmake_file.
2237 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2238 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2239 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2241 Add i386/t-mingw32 to tmake_file.
2242 (x86_64-*-mingw*): Likewise.
2243 (ia64*-*-freebsd*): Append to tmake_file.
2244 (ia64*-*-linux*): Append to tmake_file.
2245 Replace ia64/t-glibc by ia64/t-linux.
2246 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2248 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2249 t-slibgcc-hpux to tmake_file.
2250 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2251 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2252 (m32rle-*-linux*): Likewise.
2253 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2255 (microblaze*-linux*): New case.
2256 Append to tmake_file, add t-slibgcc-nolc-override.
2257 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2258 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2259 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2260 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2261 rs6000/t-slibgcc-aix to tmake_file.
2262 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2263 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2264 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2265 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2266 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2267 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2269 (sparc-*-linux*): Append to tmake_file for *-leon*.
2270 Add sparc/t-linux to tmake_file for non-Leon targets.
2271 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2272 (tic6x-*-uclinux): New case.
2273 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2274 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2275 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2276 (am33_2.0-*-linux*): Append to tmake_file.
2277 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2278 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2279 x86_64-*-kfreebsd*-gnu.
2280 Add i386/t-linux to tmake_file.
2282 2011-10-28 Ian Lance Taylor <iant@google.com>
2284 * config/i386/morestack.S: Correct CFI information to do proper
2285 returns throughout function. In 32-bit mode, save %ebx so that it
2286 is restored on unwind.
2288 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
2290 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2291 case where B3 isn't the return register.
2293 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2294 logic for doubleword pops.
2296 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
2298 * config/rs6000/t-freebsd: Add wildcard.
2300 2011-10-21 Paul Brook <paul@codesourcery.com>
2302 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2304 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
2305 Eric Botcazou <ebotcazou@adacore.com>
2308 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2309 fs->signal_frame to 1.
2311 2011-10-07 Ian Lance Taylor <iant@google.com>
2313 * generic-morestack-thread.c: #include <errno.h>.
2315 2011-10-07 Ian Lance Taylor <iant@google.com>
2318 * generic-morestack.c (__generic_morestack): Make sure the segment
2319 is large enough for both the stack frame and the copied
2322 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2325 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2328 2011-09-28 Nick Clifton <nickc@redhat.com>
2330 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2331 64-bit doubles are not enabled.
2332 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2333 and floatunsisf functions.
2335 2011-09-13 Paul Brook <paul@codesourcery.com>
2337 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2338 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2339 * unwind-arm-common.inc: New file.
2340 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2341 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2342 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2343 * config/c6x/libunwind.S: New file.
2344 * config/c6x/pr-support.c: New file.
2345 * config/c6x/unwind-c6x.c: New file.
2346 * config/c6x/unwind-c6x.h: New file.
2347 * config/c6x/t-c6x-elf: New file.
2349 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
2351 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2352 (ASM_DIVZERO): Ditto.
2353 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2355 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2357 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2359 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2362 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2363 instead of an assembly one.
2365 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
2368 * Makefile.in (install-unwind_h): Create
2369 $(gcc_objdir)/include/unwind.h atomically.
2371 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2373 * Makefile.in (install-unwind_h): Remove destination file first.
2375 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2378 * config/mips/t-mips16: New file.
2379 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2380 (mips*-*-linux*): Likewise.
2381 (mips*-sde-elf*): Likewise.
2382 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2383 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2384 Add mips/t-mips16 to tmake_file.
2385 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2386 (mips-*-elf*): Likewise.
2387 (mips64-*-elf*): Likewise.
2388 (mips64orion-*-elf*): Likewise.
2389 (mips*-*-rtems*): Likewise.
2390 (mipstx39-*-elf*): Likewise.
2391 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2392 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2394 Use $(srcdir) to refer to sync.c.
2396 ($(libgcc-sync-funcs-o)): Likewise.
2397 ($(libgcc-sync-size-funcs-s-o)): Likewise.
2398 ($(libgcc-sync-funcs-s-o)): Likewise.
2400 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2402 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2405 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
2408 * config/i386/value-unwind.h: New.
2410 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
2412 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2413 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2414 Add to tmake_file rather than overriding it.
2416 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2418 * config/t-softfp: Remove.
2419 * soft-fp: Moved from ../gcc/config.
2420 * soft-fp/README: Remove t-softfp reference.
2421 * soft-fp/t-softfp: Move to config/t-softfp.
2422 (softfp_machine_header): Remove.
2423 (softfp_file_list): Remove config subdir.
2424 (soft-fp-objects): New variable.
2425 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2426 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2427 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2428 * config/t-softfp-excl: New file.
2429 * config/t-softfp-sfdf: New file.
2430 * config/t-softfp-tf: New file.
2431 * config/no-sfp-machine.h: New file.
2432 * config/arm/sfp-machine.h: New file.
2433 * config/arm/t-softfp: New file.
2434 * config/c6x/sfp-machine.h: New file.
2435 * config/i386/32/t-fprules-softfp: Rename to ...
2436 * config/i386/32/t-softfp: ... this.
2437 (tifunctions, LIB2ADD): Remove.
2438 (softfp_int_modes): Override.
2439 * config/i386/64/t-softfp-compat (tf-functions): Remove config
2441 * config/i386/64/eqtf2.c: Likewise.
2442 * config/i386/64/getf2.c: Likewise.
2443 * config/i386/64/letf2.c: Likewise.
2444 * config/ia64/sft-machine.h: New file.
2445 * config/ia64/t-fprules-softfp: Rename to ...
2446 * config/ia64/t-softfp: ... this.
2447 * config/lm32/sfp-machine.h: New file.
2448 * config/moxie/t-moxie-softfp: Remove.
2449 * config/rs6000/ibm-ldouble-format: New file.
2450 * config/rs6000/ibm-ldouble.c: New file.
2451 * config/rs6000/libgcc-ppc-glibc.ver: New file
2452 * config/rs6000/libgcc-ppc64.ver: New file
2453 * config/rs6000/sfp-machine.h: New file.
2454 * config/rs6000/t-freebsd: New file.
2455 * config/rs6000/t-ibm-ldouble: New file.
2456 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2457 libgcc-ppc-glibc.ver.
2458 * config/rs6000/t-linux64: New file.
2459 * config/rs6000/t-ppccomm (LIB2ADD): Add
2460 $(srcdir)/config/rs6000/ibm-ldouble.c.
2461 * config/rs6000/t-ppccomm-ldbl: New file.
2462 * config/score/sfp-machine.h: New file.
2463 * config.host (sfp_machine_header): Explain.
2464 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2465 t-softfp to tmake_file.
2466 (arm*-*-uclinux*): Likewise.
2467 (arm*-*-ecos-elf): Likewise.
2468 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2469 (arm*-*-rtems*): Likewise.
2470 (arm*-*-elf): Likewise.
2471 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2473 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2474 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2475 (lm32-*-uclinux*): Likewise.
2476 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2477 t-softfp-excl, t-softfp.
2478 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2479 (powerpc64-*-darwin*): Likewise.
2480 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2482 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2484 (powerpc-*-eabisim*): Likewise.
2485 (powerpc-*-elf*): Likewise.
2486 (powerpc-*-eabialtivec*): Likewise.
2487 (powerpc-xilinx-eabi*): Likewise.
2488 (powerpc-*-rtems*): Likewise.
2489 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2490 t-softfp-excl, t-softfp to tmake_file.
2491 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2492 rs6000/t-ppccomm-ldbl to tmake_file.
2493 (powerpcle-*-elf*): Likewise.
2494 (powerpcle-*-eabisim*): Likewise.
2495 (powerpcle-*-eabi*): Likewise.
2496 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2497 rs6000/t-ibm-ldouble to tmake_file.
2498 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2499 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2500 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2501 (tic6x-*-*): Likewise.
2502 (i[34567]86-*-darwin*, x86_64-*-darwin*,
2503 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2504 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2505 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2506 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2507 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2508 t-softfp to tmake_file.
2509 * configure.ac (sfp_machine_header): Provide default if unset.
2511 Link sfp-machine.h to config/$sfp_machine_header.
2512 * configure: Regenerate.
2514 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2516 * Makefile.in (double_type_size, long_double_type_size): Set.
2517 Remove $(fpbit-in-libgcc) support.
2518 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2519 (fpbit-src): New variable.
2520 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2521 Compile with -DFLOAT $(FPBIT_CFLAGS).
2523 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2524 Compile with $(FPBIT_CFLAGS).
2526 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2527 Compile with -DFLOAT $(TPBIT_CFLAGS).
2529 * configure.ac (double_type_size, long_double_type_size):
2530 Determine and substitute.
2531 * configure: Regenerate.
2532 * fp-bit.c, fp-bit.h: New files.
2533 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2534 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2535 * config/mips/t-mips: New file.
2536 * config/mips/t-sdemtk: New file.
2537 * config/rs6000/ppc64-fp.c: New file.
2538 * config/rs6000/t-darwin (LIB2ADD): Add
2539 $(srcdir)/config/rs6000/ppc64-fp.c.
2540 * config/rs6000/t-ppc64-fp: New file.
2541 * config/rx/rx-lib.h: New file.
2542 * config/rx/t-rx (FPBIT): Set to true.
2543 ($(gcc_objdir)/fp-bit.c): Remove.
2544 (DPBIT): Set to true only with -m64bit-doubles.
2545 ($(gcc_objdir)/dp-bit.c): Remove.
2546 * config/sparc/t-softfp: Remove.
2547 * config/spu/t-elf: New file.
2548 * config/t-fdpbit, config/t-fpbit: New files.
2549 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2550 (mips*-*-*): Likewise.
2551 (arm-wrs-vxworks): Likewise.
2552 (arm*-*-freebsd*): Likewise.
2553 (avr-*-rtems*): Add t-fpbit to tmake_file.
2554 (avr-*-*): Likewise.
2555 (bfin*-elf*): Add t-fdpbit to tmake_file.
2556 (bfin*-uclinux*): Likewise.
2557 (bfin*-linux-uclibc*): Likewise.
2558 (bfin*-rtems*): New case.
2559 Add t-fdpbit to tmake_file.
2560 (bfin*-*): Add t-fdpbit to tmake_file.
2561 (crisv32-*-elf): Likewise.
2562 (cris-*-linux*): Likewise.
2563 (fr30-*-elf): Likewise.
2564 (frv-*-elf, frv-*-*linux*): Likewise.
2565 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2566 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2567 (m32r-*-elf*): Likewise.
2568 (m32rle-*-elf*): Likewise.
2569 (m32r-*-linux*): Likewise.
2570 (m32rle-*-linux*): Likewise.
2571 (mcore-*-elf): Add t-fdpbit to tmake_file.
2572 (microblaze*-*-*): Likewise.
2573 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2574 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2575 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2577 Add mips/t-tpbit to tmake-file.
2578 (mips*-*-linux*): Fix typo.
2579 (mips*-sde-elf*): New case
2580 Add mips/t-sdemtk unless using newlib.
2581 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2582 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2583 (mn10300-*-*): Likewise.
2584 (pdp11-*-*): Likewise.
2585 (picochip-*-*): Add t-fpbit to tmake_file.
2586 (powerpc-*-eabisimaltivec*): Likewise.
2587 (powerpc-*-eabisim*): Likewise.
2588 (powerpc-*-elf*): Likewise.
2589 (powerpc-*-eabialtivec*): Likewise.
2590 (powerpc-xilinx-eabi*): New case.
2591 Add t-fdpbit to tmake_file.
2592 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
2593 (powerpc-*-rtems*): Likewise.
2594 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2596 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2598 (powerpc-*-lynxos*): Likewise.
2599 (powerpcle-*-elf*): Likewise.
2600 (powerpcle-*-eabisim*): Likewise.
2601 (powerpcle-*-eabi*): Likewise.
2602 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2603 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2604 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2605 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2606 (rx-*-elf): Add t-fdpbit to tmake_file.
2607 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2608 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2609 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2610 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2612 (sh-*-rtems*): Add t-fdpbit to tmake_file.
2613 (sh-wrs-vxworks): Likewise.
2614 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2615 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2616 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2617 (sparc64-*-rtems*): ... new case.
2618 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2619 (spu-*-elf*): Likewise.
2620 Add spu/t-elf to tmake_file.
2621 (v850*-*-*): Add t-fdpbit to tmake_file.
2622 (xstormy16-*-elf): Likewise.
2623 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2624 (mep*-*-*): Likewise.
2626 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2628 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2630 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2631 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2632 (install-unwind_h): New target.
2633 (all): Depend on it.
2634 * config.host (unwind_header): New variable.
2635 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2636 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2637 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2638 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2639 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2641 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2643 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2645 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2647 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2648 (ia64*-*-freebsd*): Likewise.
2649 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2651 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2652 $with_system_libunwind.
2653 (ia64*-*-hpux*): Set tmake_file.
2654 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2655 (picochip-*-*): Set tmake_file.
2656 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2658 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2659 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2660 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2661 (xtensa*-*-elf*): Set tmake_file.
2662 (xtensa*-*-linux*): Likewise.
2663 * configure.ac: Include ../config/unwind_ipinfo.m4.
2664 Call GCC_CHECK_UNWIND_GETIPINFO.
2665 Link unwind.h to $unwind_header.
2666 * configure: Regenerate.
2667 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2668 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2669 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2670 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2671 * config/unwind-dw2-fde-darwin.c: New file.
2672 * config/arm/libunwind.S, config/arm/pr-support.c,
2673 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2674 config/arm/unwind-arm.h,: New files.
2675 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2676 config/ia64/t-eh-ia64, config/ia64/t-glibc,
2677 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2678 config/ia64/t-vms, config/ia64/unwind-ia64.c,
2679 config/ia64/unwind-ia64.h: New files.
2680 * config/picochip/t-picochip: New file.
2681 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2683 * config/rs6000/t-darwin (LIB2ADDEH): Set.
2684 * config/s390/t-tpf (LIB2ADDEH): Remove.
2685 * config/t-darwin (LIB2ADDEH): Set.
2686 * config/t-eh-dw2-dip: New file.
2687 * config/t-libunwind, config/t-libunwind-elf: New files.
2688 * config/t-sol2 (LIB2ADDEH): Remove.
2689 * config/xtensa/t-xtensa: New file.
2691 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
2693 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2694 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2695 long long to check rt_sigreturn syscall.
2697 2011-08-02 Alan Modra <amodra@gmail.com>
2699 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2700 Restore for indirect call bcrtl from correct stack slot, and only
2701 if cfa+40 isn't valid.
2703 2011-08-01 Julian Brown <julian@codesourcery.com>
2705 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2706 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2707 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2709 2011-08-01 Julian Brown <julian@codesourcery.com>
2711 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2712 (libgcc-std.ver.in): Use above.
2713 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2714 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
2716 * config/t-fixedpoint-gnu-prefix: New file.
2717 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2718 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2721 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
2723 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2724 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2725 for x86-64. Properly check __x86_64__ and __LP64__.
2727 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
2729 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2731 (_FP_WS_TYPE): Likewise.
2732 (_FP_I_TYPE): Likewise.
2734 2011-07-28 Alan Modra <amodra@gmail.com>
2736 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2737 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2738 in a plt call stub. Do restore r2 if stopped on bctrl.
2740 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2742 * config.host (i[3456x]86-*-netware*): Remove.
2743 * config/i386/netware-crt0.c, config/i386/t-nwld,
2744 config/i386/t-slibgcc-nwld: Remove.
2746 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
2748 * config.host: Handle tic6x-*-*.
2749 * config/c6x/c6x-abi.h: New file.
2751 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2753 * config/i386/crtprec.c: New file.
2754 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2755 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2756 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2757 (x86_64-*-darwin*): Likewise.
2758 (i[34567]86-*-solaris2*: Likewise.
2760 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2762 * config/alpha/crtfastmath.c: New file.
2763 * config/i386/crtfastmath.c: New file.
2764 * config/ia64/crtfastmath.c: New file.
2765 * config/mips/crtfastmath.c: New file.
2766 * config/sparc/crtfastmath.c: New file.
2768 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2770 Add -frandom-seed=gcc-crtfastmath.
2771 * config/alpha/t-crtfm: Remove.
2772 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2773 * config/ia64/t-ia64 (crtfastmath.o): Remove.
2775 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2776 (alpha*-dec-osf5.1*): Likewise.
2777 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2778 Add crtfastmath.o to extra_parts.
2779 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2780 Add crtfastmath.o to extra_parts.
2781 (x86_64-*-darwin*): Likewise.
2782 (x86_64-*-mingw*): Likewise.
2783 (ia64*-*-elf*): Add t-crtfm to tmake_file.
2784 (ia64*-*-freebsd*): Likewise.
2785 (ia64*-*-linux*): Likewise.
2786 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2787 Add crtfastmath.o to extra_parts.
2789 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2791 * config/darwin-crt3.o: New file.
2792 * config/rs6000/darwin-crt2.c: New file.
2793 * config/t-darwin: New file.
2794 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2796 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2797 (powerpc-*-darwin*): Add crt2.o to extra_parts.
2798 (powerpc64-*-darwin*): Likewise.
2800 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2802 * config/i386/netware-crt0.c: New file.
2803 * config/i386/t-nwld: Rename to ...
2804 * config/i386/t-slibgcc-nwld: ... this.
2805 * config/i386/t-nwld: New file.
2806 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2808 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2811 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2813 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2815 * configure: Regenerate.
2817 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2819 * dfp-bit.c, dfp-bit.h: New files.
2820 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2822 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2823 ($(d64pbit-o)): Likewise.
2824 ($(d128pbit-o)): Likewise.
2825 * config/t-dfprules: New file.
2826 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2827 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2828 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2829 (x86_64-*-linux*): Likewise.
2830 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2831 (i[34567]86-*-cygwin*): Likewise.
2832 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
2833 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2835 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2837 * Makfile.in (LIBGCOV): New variable.
2838 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2839 * libgcov.c: New file.
2841 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2843 * fixed-bit.c, fixed-bit.h: New files.
2844 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2845 refer to fixed-bit.c.
2847 2011-07-07 Joseph Myers <joseph@codesourcery.com>
2849 * config.host (*local*): Remove.
2851 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2854 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2855 like i?86-*-solaris2.1[0-9]*.
2856 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2857 * configure.ac (i?86-*-solaris2*): Likewise.
2858 * configure: Regenerate.
2860 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
2862 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2863 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2864 md_unwind_header by splitting out of...
2865 (i[34567]86-*-linux*): ... this.
2866 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
2867 Remove md_unwind_header by splitting out of...
2868 (x86_64-*-linux*): ... this.
2870 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
2872 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
2874 2011-06-28 Nick Clifton <nickc@redhat.com>
2876 * config.host: Recognize all V850 variants.
2878 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
2880 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
2882 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2884 * shared-object.mk (c_flags-$o): Save c_flags.
2885 ($(base)$(objext)): Use it.
2886 ($(base)_s$(objext)): Likewise.
2888 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
2890 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
2891 * libgcc-std.ver.in (GCC_4.7.0): New section.
2893 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
2897 * config/avr/t-avr: Fix line endings.
2898 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
2901 2011-06-14 Olivier Hainque <hainque@adacore.com>
2902 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2904 * config/mips/irix6-unwind.h: New file.
2905 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
2907 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
2909 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
2910 (sparc64_fallback_frame_state): Use it.
2911 (sparc64_frob_update_context): Further adjust context.
2912 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
2913 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
2914 * config/sparc/sol2-cn.S: Likewise.
2916 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2918 * enable-execute-stack-empty.c: New file.
2919 * enable-execute-stack-mprotect.c: New file.
2920 * config/i386/enable-execute-stack-mingw32.c: New file.
2921 * config.host (enable_execute_stack): New variable.
2922 Select appropriate variants.
2923 * configure.ac: Link enable-execute-stack.c to
2924 $enable_execute_stack.
2925 * configure: Regenerate.
2926 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
2927 (lib2funcs): Remove _enable_execute_stack.
2929 2011-06-09 David S. Miller <davem@davemloft.net>
2930 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2932 * config.host (sparc-*-linux*): Correct md_unwind_header
2934 (s390x-ibm-tpf*): Fix typo.
2936 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2938 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
2939 Add crtfastmath.o to extra_parts.
2940 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
2942 * config/mips/t-crtfm: Remove.
2944 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2946 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
2948 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
2950 * config.host (sh*-*-linux*): Fix typo.
2952 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2954 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
2955 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
2956 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
2957 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
2958 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
2959 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
2960 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
2961 Wrap in !__MINGW64__.
2962 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
2963 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
2964 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
2965 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
2966 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
2967 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
2968 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
2970 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
2971 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
2972 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
2973 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
2974 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
2975 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
2976 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
2977 * config/no-unwind.h: New file.
2978 * config.host (md_unwind_header): Document.
2980 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
2981 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
2982 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
2983 hppa[12]*-*-hpux11*): Set md_unwind_header.
2984 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
2985 Set md_unwind_header.
2986 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
2987 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
2988 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
2989 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
2990 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
2991 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
2992 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
2994 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
2995 * configure: Regenerate.
2997 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2999 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3000 Set tmake_file, extra_parts.
3001 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3003 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3005 * config/mips/t-irix6: New file.
3006 * config/mips/t-slibgcc-irix: New file.
3008 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3010 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3011 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3013 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3015 * configure.ac (target_thread_file): Determine thread model.
3016 * configure: Regenerate.
3017 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3018 * config/alpha/t-alpha: New file.
3019 * config/alpha/t-crtfm: Use $<.
3020 * config/alpha/t-ieee: New file.
3021 * config/alpha/t-osf-pthread: New file.
3022 * config/alpha/t-slibgcc-osf: New file.
3023 * config/alpha/libgcc-osf5.ver: New file.
3025 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3027 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3029 Add crtfastmath.o to extra_parts.
3031 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3033 * config/gmon-sol2.c: Reindent.
3035 Remove, correct casts.
3036 Use STDERR_FILENO, NULL.
3037 (BASEADDRESS): Remove.
3039 (errno, sbrk): Remove declarations.
3040 (monstartup) [hp300]: Remove.
3043 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3045 * Makefile.in (cpu_type): Define.
3046 * config.host (i[34567]86-*-rtems*): Handle it.
3047 (i[34567]86-*-solaris2*): Move body ...
3048 (*-*-solaris2*): ... here.
3049 New case, generalize.
3050 (sparc-*-elf*): Handle it.
3051 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3052 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3053 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3055 (sparc*-*-solaris2*): ... this.
3057 (sparc64-*-elf*): Handle it.
3058 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3059 Merge ../gcc/config/i386/gmon-sol2.c.
3060 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3062 Merge ../gcc/config/i386/sol2-gc1.asm.
3063 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3065 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3067 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3068 * config/i386/t-crtstuff: New file.
3069 * config/i386/t-softfp: New file.
3070 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3071 $(T)crti.o, $(T)crtn.o): Remove.
3072 (gcrt1.o): New rule.
3073 (TARGET_LIBGCC2_CFLAGS): Remove.
3074 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3075 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3076 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3077 * config/sparc/t-sol2: New file.
3078 * config/sparc/t-crtfm: Move to ...
3079 * config/t-crtfm: ... this.
3080 Use $(cpu_type), $<.
3081 * config/t-crtin: New file.
3082 * config/sparc/t-softfp: New file.
3083 * config/sparc/t-softmul: New file.
3084 * config/t-rtems: New file.
3085 * config/t-slibgcc: New file.
3086 * config/t-slibgcc-elf-ver: New file.
3087 * config/t-slibgcc-gld: New file.
3088 * config/t-slibgcc-sld: New file.
3089 * config/t-sol2: New file.
3090 * configure.ac: Include ../config/lib-ld.m4.
3091 Call AC_LIB_PROG_LD_GNU.
3092 Substitute cpu_type.
3093 * configure: Regenerate.
3095 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
3098 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3099 libgcc-std.ver in the build directory.
3100 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3101 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3103 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
3105 * libgcc-std.ver.in: New file.
3106 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3108 (libgcc-std.ver): New rule.
3109 * config/t-gnu-prefix: New file.
3111 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3113 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3115 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3117 * config/i386/darwin-lib.h: New file.
3119 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3121 * config/arm/symbian-lib.h: New.
3123 2011-05-04 Chris Demetriou <cgd@google.com>
3125 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3126 (__x86.get_pc_thunk.bx): ...this.
3127 (__morestack): Adjust for rename, remove undef of __i686.
3129 2011-05-03 Chris Demetriou <cgd@google.com>
3131 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3133 2011-03-22 Joseph Myers <joseph@codesourcery.com>
3135 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3136 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3137 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3138 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3139 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3142 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
3144 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3145 Adjust copyright year.
3147 2011-03-07 Ian Lance Taylor <iant@google.com>
3149 * generic-morestack.c (__splitstack_find): Adjust returned stack
3150 pointer to include all registers pushed by __morestack.
3152 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
3155 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3156 (toolexecdir): Calculate and AC_SUBST.
3157 (toolexeclibdir): Likewise.
3158 * Makefile.in (target_noncanonical): Import.
3159 (toolexecdir): Likewise.
3160 (toolexeclibdir): Likewise.
3161 * configure: Regenerate.
3163 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
3166 * config/arm/bpabi.h: Rename to...
3167 * config/arm/bpabi-lib.h: ...this.
3169 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3171 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3173 * configure: Regenerate.
3175 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3177 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3178 __FLOAT_WORD_ORDER__.
3179 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3182 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3185 * Makefile.in (install-strip): New phony target.
3187 2010-11-07 Ian Lance Taylor <iant@google.com>
3190 * config/i386/morestack.S (__morestack_large_model): New
3193 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
3195 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3197 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3199 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
3201 * config/arm/bpabi.h: New file.
3202 * config/frv/frv-abi.h: New file.
3204 2010-10-01 Ian Lance Taylor <iant@google.com>
3206 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3207 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3209 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3212 * config.host: Add the missing `$'.
3214 2010-09-30 Michael Eager <eager@eagercon.com>
3216 * config.host: Add microblaze*-*-*.
3217 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3218 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3219 udivsi3.asm,umodsi3.asm}: New.
3221 2010-09-28 Ian Lance Taylor <iant@google.com>
3223 * configure.ac: Adjust CFI test to test assembler directly rather
3224 than checking gcc preprocessor macro.
3225 * configure: Rebuild.
3227 2010-09-27 Ian Lance Taylor <iant@google.com>
3229 * configure.ac: Test whether assembler supports CFI directives.
3230 * config.host: Only add t-stack and i386/t-stack-i386 to
3231 tmake_file if libgcc_cv_cfi is "yes".
3232 * configure: Rebuild.
3234 2010-09-27 Ian Lance Taylor <iant@google.com>
3236 * generic-morestack.h: New file.
3237 * generic-morestack.c: New file.
3238 * generic-morestack-thread.c: New file.
3239 * config/i386/morestack.S: New file.
3240 * config/t-stack: New file.
3241 * config/i386/t-stack-i386: New file.
3242 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3243 i386/t-stack-i386 to tmake_file.
3245 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
3247 * Makefile.in (libgcc-extra-parts): Check for static archives and
3248 invoke ranlib after installing them.
3249 (gcc-extra-parts): Likewise.
3250 (install-leaf): Likewise.
3252 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
3254 * configure: Regenerated.
3256 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
3258 * configure: Regenerated.
3260 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
3261 Andrew Pinski <pinskia@gmail.com>
3264 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3266 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
3269 * configure: Regenerated.
3271 2010-09-06 Andreas Schwab <schwab@redhat.com>
3273 * configure: Regenerate.
3275 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3277 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3279 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3282 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3283 Iain Sandoe <iains@gcc.gnu.org>
3286 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3287 LIB2FUNCS_EXCLUDE functions.
3289 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3291 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3293 * configure: Regenerate.
3295 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
3297 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3298 i386/t-freebsd to tmake_file.
3299 * config/i386/t-freebsd: New file.
3300 * config/i386/libgcc-bsd.ver: New file.
3302 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3304 * config.host (powerpc*-eabispe*): Set tmake_file.
3305 (powerpc*-eabi*): Likewise.
3306 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3307 crtbeginS, crtendS, crtbeginT.
3309 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
3311 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3312 to tmake_file. Add crtfastmath.o to extra_parts.
3313 * config/mips/t-crtfm: New.
3315 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3317 * config.host (sparc64-*-rtems*): New target.
3319 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3321 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3324 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3326 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3328 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3330 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3331 alpha-dec-osf5.0* support.
3333 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
3335 * config.host: Add lm32-*-rtems*.
3337 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3338 Uros Bizjak <ubizjak@gmail.com>
3341 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3342 like other remaining 32-bit x86 OSes.
3343 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3345 * config/i386/libgcc-sol2.ver: New file.
3346 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3348 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3351 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3352 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3353 is used and substitute set_use_emutls.
3354 * configure: Regenerated.
3356 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3358 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3360 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3363 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3365 ($(T)gcrt1.o): Likewise.
3366 ($(T)crt1.o): Likewise.
3367 ($(T)crti.o): Likewise.
3368 ($(T)crtn.o): Likewise.
3370 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3373 * Makefile.in (install): Use $(MAKE) string in rule, for
3376 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
3378 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3379 * config/mmix/t-mmix: New file.
3380 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3382 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
3385 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3388 2010-01-04 Anthony Green <green@moxielogic.com>
3390 * config/moxie/crti.asm, config/moxie/crtn.asm,
3391 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3392 config/moxie/t-moxie: New files.
3393 * config.host: Add t-moxie-softfp reference.
3395 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3398 * config/t-slibgcc-darwin: Fix embedded rpaths for
3399 --enable-version-specific-runtime-libs, build extension stub
3400 libs exposing features available from current libgcc_s.
3402 2009-11-11 Jon Beniston <jon@beniston.com>
3404 * config.host: Add lm32 targets.
3405 * config/lm32: New directory.
3406 * config/lm32/libgcc_lm32.h: New file.
3407 * config/lm32/_mulsi3.c: New file.
3408 * config/lm32/_udivmodsi4.c: New file.
3409 * config/lm32/_divsi3.c: New file.
3410 * config/lm32/_modsi3.c: New file.
3411 * config/lm32/_udivsi3.c: New file.
3412 * config/lm32/_umodsi3.c: New file.
3413 * config/lm32/_lshrsi3.S: New file.
3414 * config/lm32/_ashrsi3.S: New file.
3415 * config/lm32/_ashlsi3.S: New file.
3416 * config/lm32/crti.S: New file.
3417 * config/lm32/crtn.S: New file.
3418 * config/lm32/t-lm32: New file.
3419 * config/lm32/t-elf: New file.
3420 * config/lm32/t-uclinux: New file.
3422 2009-10-26 Nick Clifton <nickc@redhat.com>
3424 * config.host: Add support for RX target.
3425 * config/rx: New directory.
3426 * config/rx/rx-abi-functions.c: New file. Supplementary
3427 functions for libgcc to support the RX ABI.
3428 * config/rx/rx-abi.h: New file. Supplementary header file for
3429 libgcc RX ABI functions.
3430 * config/rx/t-rx: New file: Makefile fragment for building
3433 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
3435 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3436 constraint of y0 to "g".
3438 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3440 * config.host: Include the s390 makefile fragments.
3441 * config/s390/32/_fixdfdi.c: New file.
3442 * config/s390/32/_fixsfdi.c: New file.
3443 * config/s390/32/_fixtfdi.c: New file.
3444 * config/s390/32/_fixunsdfdi.c: New file.
3445 * config/s390/32/_fixunssfdi.c: New file.
3446 * config/s390/32/_fixunstfdi.c: New file.
3447 * config/s390/32/t-floattodi: New file.
3448 * config/s390/libgcc-glibc.ver: New file.
3449 * config/s390/t-crtstuff: New file.
3450 * config/s390/t-linux: New file.
3451 * config/s390/t-tpf: New file.
3453 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3455 * configure.ac (AC_PREREQ): Bump to 2.64.
3457 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
3459 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3461 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3463 * configure: Regenerate.
3465 2009-08-09 Douglas B Rupp <rupp@gnat.com>
3467 * config.host (ia64-hp-*vms*): New target.
3468 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3471 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3473 * configure.ac: Add snippet for maintainer-mode.
3474 * configure: Regenerate.
3475 * Makefile.in (AUTOCONF, configure_deps): New variables.
3476 ($(srcdir)/configure)): New rule, active only with maintainer
3479 2009-06-23 DJ Delorie <dj@redhat.com>
3482 * config.host: Add mep support.
3484 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
3486 * config.host: Add i386/${host_address}/t-fprules-softfp and
3487 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3489 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3491 * config/i386/64/_multc3.c: Likewise.
3492 * config/i386/64/_powitf2.c: Likewise.
3493 * config/i386/64/eqtf2.c: Likewise.
3494 * config/i386/64/getf2.c: Likewise.
3495 * config/i386/64/letf2.c: Likewise.
3496 * config/i386/64/letf2.c: Likewise.
3497 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3498 unsigned long long for x64 mingw targets.
3499 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3500 (_FP_I_TYPE): Define as long long for x64 mingw target.
3502 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
3504 * config.host (vax-*-linux*): New.
3506 2009-05-31 Anthony Green <green@moxielogic.com>
3508 * config.host: Add moxie support.
3509 * config/moxie/t-moxie: New file.
3511 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
3513 * config.host: Add i386/${host_address}/t-fprules-softfp and
3514 t-softfp to tmake_file for i[34567]86-*-cygwin*.
3516 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
3518 * config.host: Add i386/${host_address}/t-fprules-softfp to
3519 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3521 2009-04-09 Nick Clifton <nickc@redhat.com>
3523 * config/ia64/tf-signs.c: Change copyright header to refer to
3524 version 3 of the GNU General Public License with version 3.1
3525 of the GCC Runtime Library Exception and to point readers at
3526 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3528 * config/i386/32/tf-signs.c: Likewise.
3529 * config/libbid/_addsub_dd.c: Likewise.
3530 * config/libbid/_addsub_sd.c: Likewise.
3531 * config/libbid/_addsub_td.c: Likewise.
3532 * config/libbid/_dd_to_df.c: Likewise.
3533 * config/libbid/_dd_to_di.c: Likewise.
3534 * config/libbid/_dd_to_sd.c: Likewise.
3535 * config/libbid/_dd_to_sf.c: Likewise.
3536 * config/libbid/_dd_to_si.c: Likewise.
3537 * config/libbid/_dd_to_td.c: Likewise.
3538 * config/libbid/_dd_to_tf.c: Likewise.
3539 * config/libbid/_dd_to_udi.c: Likewise.
3540 * config/libbid/_dd_to_usi.c: Likewise.
3541 * config/libbid/_dd_to_xf.c: Likewise.
3542 * config/libbid/_df_to_dd.c: Likewise.
3543 * config/libbid/_df_to_sd.c: Likewise.
3544 * config/libbid/_df_to_td.c: Likewise.
3545 * config/libbid/_di_to_dd.c: Likewise.
3546 * config/libbid/_di_to_sd.c: Likewise.
3547 * config/libbid/_di_to_td.c: Likewise.
3548 * config/libbid/_div_dd.c: Likewise.
3549 * config/libbid/_div_sd.c: Likewise.
3550 * config/libbid/_div_td.c: Likewise.
3551 * config/libbid/_eq_dd.c: Likewise.
3552 * config/libbid/_eq_sd.c: Likewise.
3553 * config/libbid/_eq_td.c: Likewise.
3554 * config/libbid/_ge_dd.c: Likewise.
3555 * config/libbid/_ge_sd.c: Likewise.
3556 * config/libbid/_ge_td.c: Likewise.
3557 * config/libbid/_gt_dd.c: Likewise.
3558 * config/libbid/_gt_sd.c: Likewise.
3559 * config/libbid/_gt_td.c: Likewise.
3560 * config/libbid/_isinfd128.c: Likewise.
3561 * config/libbid/_isinfd32.c: Likewise.
3562 * config/libbid/_isinfd64.c: Likewise.
3563 * config/libbid/_le_dd.c: Likewise.
3564 * config/libbid/_le_sd.c: Likewise.
3565 * config/libbid/_le_td.c: Likewise.
3566 * config/libbid/_lt_dd.c: Likewise.
3567 * config/libbid/_lt_sd.c: Likewise.
3568 * config/libbid/_lt_td.c: Likewise.
3569 * config/libbid/_mul_dd.c: Likewise.
3570 * config/libbid/_mul_sd.c: Likewise.
3571 * config/libbid/_mul_td.c: Likewise.
3572 * config/libbid/_ne_dd.c: Likewise.
3573 * config/libbid/_ne_sd.c: Likewise.
3574 * config/libbid/_ne_td.c: Likewise.
3575 * config/libbid/_sd_to_dd.c: Likewise.
3576 * config/libbid/_sd_to_df.c: Likewise.
3577 * config/libbid/_sd_to_di.c: Likewise.
3578 * config/libbid/_sd_to_sf.c: Likewise.
3579 * config/libbid/_sd_to_si.c: Likewise.
3580 * config/libbid/_sd_to_td.c: Likewise.
3581 * config/libbid/_sd_to_tf.c: Likewise.
3582 * config/libbid/_sd_to_udi.c: Likewise.
3583 * config/libbid/_sd_to_usi.c: Likewise.
3584 * config/libbid/_sd_to_xf.c: Likewise.
3585 * config/libbid/_sf_to_dd.c: Likewise.
3586 * config/libbid/_sf_to_sd.c: Likewise.
3587 * config/libbid/_sf_to_td.c: Likewise.
3588 * config/libbid/_si_to_dd.c: Likewise.
3589 * config/libbid/_si_to_sd.c: Likewise.
3590 * config/libbid/_si_to_td.c: Likewise.
3591 * config/libbid/_td_to_dd.c: Likewise.
3592 * config/libbid/_td_to_df.c: Likewise.
3593 * config/libbid/_td_to_di.c: Likewise.
3594 * config/libbid/_td_to_sd.c: Likewise.
3595 * config/libbid/_td_to_sf.c: Likewise.
3596 * config/libbid/_td_to_si.c: Likewise.
3597 * config/libbid/_td_to_tf.c: Likewise.
3598 * config/libbid/_td_to_udi.c: Likewise.
3599 * config/libbid/_td_to_usi.c: Likewise.
3600 * config/libbid/_td_to_xf.c: Likewise.
3601 * config/libbid/_tf_to_dd.c: Likewise.
3602 * config/libbid/_tf_to_sd.c: Likewise.
3603 * config/libbid/_tf_to_td.c: Likewise.
3604 * config/libbid/_udi_to_dd.c: Likewise.
3605 * config/libbid/_udi_to_sd.c: Likewise.
3606 * config/libbid/_udi_to_td.c: Likewise.
3607 * config/libbid/_unord_dd.c: Likewise.
3608 * config/libbid/_unord_sd.c: Likewise.
3609 * config/libbid/_unord_td.c: Likewise.
3610 * config/libbid/_usi_to_dd.c: Likewise.
3611 * config/libbid/_usi_to_sd.c: Likewise.
3612 * config/libbid/_usi_to_td.c: Likewise.
3613 * config/libbid/_xf_to_dd.c: Likewise.
3614 * config/libbid/_xf_to_sd.c: Likewise.
3615 * config/libbid/_xf_to_td.c: Likewise.
3616 * config/libbid/bid128.c: Likewise.
3617 * config/libbid/bid128_2_str.h: Likewise.
3618 * config/libbid/bid128_2_str_macros.h: Likewise.
3619 * config/libbid/bid128_2_str_tables.c: Likewise.
3620 * config/libbid/bid128_add.c: Likewise.
3621 * config/libbid/bid128_compare.c: Likewise.
3622 * config/libbid/bid128_div.c: Likewise.
3623 * config/libbid/bid128_fma.c: Likewise.
3624 * config/libbid/bid128_logb.c: Likewise.
3625 * config/libbid/bid128_minmax.c: Likewise.
3626 * config/libbid/bid128_mul.c: Likewise.
3627 * config/libbid/bid128_next.c: Likewise.
3628 * config/libbid/bid128_noncomp.c: Likewise.
3629 * config/libbid/bid128_quantize.c: Likewise.
3630 * config/libbid/bid128_rem.c: Likewise.
3631 * config/libbid/bid128_round_integral.c: Likewise.
3632 * config/libbid/bid128_scalb.c: Likewise.
3633 * config/libbid/bid128_sqrt.c: Likewise.
3634 * config/libbid/bid128_string.c: Likewise.
3635 * config/libbid/bid128_to_int16.c: Likewise.
3636 * config/libbid/bid128_to_int32.c: Likewise.
3637 * config/libbid/bid128_to_int64.c: Likewise.
3638 * config/libbid/bid128_to_int8.c: Likewise.
3639 * config/libbid/bid128_to_uint16.c: Likewise.
3640 * config/libbid/bid128_to_uint32.c: Likewise.
3641 * config/libbid/bid128_to_uint64.c: Likewise.
3642 * config/libbid/bid128_to_uint8.c: Likewise.
3643 * config/libbid/bid32_to_bid128.c: Likewise.
3644 * config/libbid/bid32_to_bid64.c: Likewise.
3645 * config/libbid/bid64_add.c: Likewise.
3646 * config/libbid/bid64_compare.c: Likewise.
3647 * config/libbid/bid64_div.c: Likewise.
3648 * config/libbid/bid64_fma.c: Likewise.
3649 * config/libbid/bid64_logb.c: Likewise.
3650 * config/libbid/bid64_minmax.c: Likewise.
3651 * config/libbid/bid64_mul.c: Likewise.
3652 * config/libbid/bid64_next.c: Likewise.
3653 * config/libbid/bid64_noncomp.c: Likewise.
3654 * config/libbid/bid64_quantize.c: Likewise.
3655 * config/libbid/bid64_rem.c: Likewise.
3656 * config/libbid/bid64_round_integral.c: Likewise.
3657 * config/libbid/bid64_scalb.c: Likewise.
3658 * config/libbid/bid64_sqrt.c: Likewise.
3659 * config/libbid/bid64_string.c: Likewise.
3660 * config/libbid/bid64_to_bid128.c: Likewise.
3661 * config/libbid/bid64_to_int16.c: Likewise.
3662 * config/libbid/bid64_to_int32.c: Likewise.
3663 * config/libbid/bid64_to_int64.c: Likewise.
3664 * config/libbid/bid64_to_int8.c: Likewise.
3665 * config/libbid/bid64_to_uint16.c: Likewise.
3666 * config/libbid/bid64_to_uint32.c: Likewise.
3667 * config/libbid/bid64_to_uint64.c: Likewise.
3668 * config/libbid/bid64_to_uint8.c: Likewise.
3669 * config/libbid/bid_b2d.h: Likewise.
3670 * config/libbid/bid_binarydecimal.c: Likewise.
3671 * config/libbid/bid_conf.h: Likewise.
3672 * config/libbid/bid_convert_data.c: Likewise.
3673 * config/libbid/bid_decimal_data.c: Likewise.
3674 * config/libbid/bid_decimal_globals.c: Likewise.
3675 * config/libbid/bid_div_macros.h: Likewise.
3676 * config/libbid/bid_dpd.c: Likewise.
3677 * config/libbid/bid_flag_operations.c: Likewise.
3678 * config/libbid/bid_from_int.c: Likewise.
3679 * config/libbid/bid_functions.h: Likewise.
3680 * config/libbid/bid_gcc_intrinsics.h: Likewise.
3681 * config/libbid/bid_inline_add.h: Likewise.
3682 * config/libbid/bid_internal.h: Likewise.
3683 * config/libbid/bid_round.c: Likewise.
3684 * config/libbid/bid_sqrt_macros.h: Likewise.
3686 2009-04-09 Jakub Jelinek <jakub@redhat.com>
3688 * Makefile.in: Change copyright header to refer to version
3689 3 of the GNU General Public License and to point readers at the
3690 COPYING3 file and the FSF's license web page.
3691 * config.host: Likewise.
3693 2009-04-07 Alan Modra <amodra@bigpond.net.au>
3695 * config.host: Reorder and merge to match config.gcc change.
3697 2009-04-03 Alan Modra <amodra@bigpond.net.au>
3699 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3701 2009-03-28 Joseph Myers <joseph@codesourcery.com>
3703 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3704 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3705 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3706 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3708 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
3710 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3711 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3713 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
3715 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3716 ia64/t-softfp-compat to tmake_file.
3718 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3720 * config/ia64/__divxf3.asm: New.
3721 * config/ia64/_fixtfdi.asm: Likewise.
3722 * config/ia64/_fixunstfdi.asm: Likewise.
3723 * config/ia64/_floatditf.asm: Likewise.
3724 * config/ia64/t-fprules-softfp: Likewise.
3725 * config/ia64/t-softfp-compat: Likewise.
3726 * config/ia64/tf-signs.c: Likewise.
3728 2009-01-18 Ben Elliston <bje@au.ibm.com>
3730 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3732 2009-01-16 Ben Elliston <bje@au.ibm.com>
3734 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3737 2009-01-13 Ben Elliston <bje@au.ibm.com>
3739 * config/t-softfp: New file.
3740 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3741 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3743 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
3745 * config.host: Add m32r*-*-rtems*.
3747 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
3749 * config.host: Add m32c*-*-rtems*.
3751 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3754 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3755 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3756 * configure: Regenerate.
3757 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3758 tmake_file here from gcc/config.gcc.
3759 Move extra_parts here from gcc/config.gcc.
3760 * config/i386/t-sol2: Move here from gcc/config/i386.
3761 Use gcc_srcdir instead of srcdir.
3763 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
3765 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3768 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
3770 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3772 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
3774 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3776 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
3779 * config.host: Add picochip-*-*.
3781 2008-08-06 Bob Wilson <bob.wilson@acm.org>
3783 * config.host: Match more processor names for Xtensa.
3785 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
3787 * config/i386/64/t-softfp-compat: Update comments.
3789 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
3791 * config/i386/64/_divtc3-compat.c: Moved to ...
3792 * config/i386/64/_divtc3.c: Here.
3794 * config/i386/64/_multc3-compat.c: Moved to ...
3795 * config/i386/64/_multc3.c: Here.
3797 * config/i386/64/_powitf2-compat.c: Moved to ...
3798 * config/i386/64/_powitf2.c: Here.
3800 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3801 .c suffix instead of -compat.c.
3803 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
3805 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3806 (_FP_MUL_MEAT_D): Ditto.
3807 (_FP_DIV_MEAT_S): Ditto.
3808 (_FP_DIV_MEAT_D): Ditto.
3810 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
3812 * Makefile.in: Add support for __sync_* libgcc functions.
3814 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
3816 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3818 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3821 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3822 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
3824 * config/i386/64/t-fprules-softfp: Moved to ...
3825 * config/i386/64/t-softfp-compat: This. New.
3827 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
3829 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3830 Initialize f with 0.0.
3832 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3835 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3837 * config/i386/64/_divtc3-compat.c: New.
3838 * config/i386/64/_multc3-compat.c: Likewise.
3839 * config/i386/64/_powitf2-compat.c: Likewise.
3840 * config/i386/64/eqtf2.c: Likewise.
3841 * config/i386/64/getf2.c: Likewise.
3842 * config/i386/64/letf2.c: Likewise.
3843 * config/i386/64/t-fprules-softfp: Likewise.
3845 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3847 * config.host: Add i386/${host_address}/t-fprules-softfp to
3848 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
3849 i[34567]86-*-linux*, x86_64-*-linux*.
3851 * configure.ac: Set host_address to 64 or 32 for x86.
3852 * configure: Regenerated.
3854 * Makefile.in (config.status): Also depend on
3855 $(srcdir)/config.host.
3857 * config/i386/32/t-fprules-softfp: New.
3858 * config/i386/32/tf-signs.c: Likewise.
3860 * config/i386/64/sfp-machine.h: New. Moved from gcc.
3862 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3863 Uros Bizjak <ubizjak@gmail.com>
3865 * config/i386/32/sfp-machine.h: New.
3867 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
3869 * config/rs6000/t-ppccomm: Remove rules that conflict with
3870 auto-generated rules.
3872 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3874 * configure.ac: sinclude override.m4.
3875 * configure: Regenerate.
3877 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
3879 * configure: Regenerate.
3881 2008-06-10 Joseph Myers <joseph@codesourcery.com>
3883 * Makefile.in (DECNUMINC): Remove
3884 -I$(MULTIBUILDTOP)../../libdecnumber.
3887 2008-06-07 Joseph Myers <joseph@codesourcery.com>
3889 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
3890 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
3891 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
3892 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
3893 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
3894 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3895 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
3896 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
3897 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
3898 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
3899 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
3900 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
3901 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
3902 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
3904 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
3906 * config.host (sh2[lbe]*-*-linux*): Allow target.
3908 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
3910 * config/rs6000/t-ppccomm: Add build rules for new files.
3911 (LIB2ADD_ST): New variable.
3913 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
3917 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
3918 * config/t-avr: New file. Build 16bit libgcc functions.
3920 2008-03-02 Jakub Jelinek <jakub@redhat.com>
3923 * config/t-slibgcc-darwin: Make install-leaf dependent on
3924 install-darwin-libgcc-stubs instead of install.
3926 2008-01-25 Joseph Myers <joseph@codesourcery.com>
3928 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
3929 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
3930 sh-*-rtemscoff*): Remove cases.
3932 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
3934 * Makefile.in (all): Use install-leaf rather than install.
3935 (install): Split most of the rule into...
3936 (install-leaf): ...this new one.
3938 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
3939 Paolo Bonzini <bonzini@gnu.org>
3942 * Makefile.in: Use @shlib_slibdir@ substitution to get
3943 correct install name on darwin.
3944 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
3946 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
3948 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
3949 cris-*-elf and cris-*-none.
3950 (crisv32-*-linux*): Similar, as cris-*-linux*.
3952 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
3954 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
3956 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
3959 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
3960 * configure: Regenerated.
3962 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
3964 * Makefile.in (dfp-filenames): Replace decimal_globals,
3965 decimal_data, binarydecimal and convert_data with
3966 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
3967 and bid_convert_data, respectively.
3969 2007-09-17 Chao-ying Fu <fu@mips.com>
3970 Nigel Stephens <nigel@mips.com>
3972 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
3973 * Makefile.in (fixed_point): Define.
3974 Check if fixed_point is yes to build support functions.
3975 * configure.ac: Check for fixed_point support.
3976 * configure: Regenerated.
3977 * gen-fixed.sh: New file to generate lists of fixed-point labels,
3978 funcs, modes, from, to.
3980 2007-09-11 Janis Johnson <janis187@us.ibm.com
3982 * Makefile.in (dfp-filenames): Add bid128_noncomp.
3984 2007-09-10 Janis Johnson <janis187@us.ibm.com>
3986 * Makefile.in (dfp-filenames): Remove decUtility, add
3987 decDouble, decPacked, decQuad, decSingle.
3989 2007-08-27 Hans Kester <hans.kester@ellips.nl>
3991 * config.host : Add x86_64-elf target.
3993 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
3995 * configure.ac (set_have_cc_tls): Add a missing =.
3996 * configure: Regenerated.
3998 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
4000 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4001 and x86_64-*-linux*.
4003 * config/t-tls: New file.
4005 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4007 * configure.ac: Include ../config/enable.m4 and
4008 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4009 supports TLS and substitute set_have_cc_tls.
4010 * configure: Regenerated.
4012 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4014 * Makefile.in: Use libbid for DFP when BID is enabled.
4016 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4018 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4019 extra_parts. Add config/i386/t-cygming to tmake_file.
4020 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4022 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
4023 Danny Smith <dannysmith@users.sourceforge.net>
4026 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4027 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4028 * config/i386/t-crtfm: Compile crtfastmath.o with
4029 -minline-all-stringops.
4031 2007-05-10 Richard Sandiford <richard@codesourcery.com>
4033 * config.host (sparc-wrs-vxworks): New target.
4035 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
4037 * config.host: Recognize fido.
4039 2007-04-04 Janis Johnson <janis187@us.ibm.com>
4041 * configure: Check host, not target, for decimal float support.
4043 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
4045 * config/i386/t-crtpc: New file.
4046 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4047 (x86_64-*-linux*): Ditto.
4049 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
4051 * config.host (x86_64-*-mingw*): New target.
4053 2007-03-23 Michael Meissner <michael.meissner@amd.com>
4054 H.J. Lu <hongjiu.lu@intel.com>
4056 * Makefile.in (enable_decimal_float): New.
4058 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4059 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4060 (decbits-filenames): This.
4061 (decbits-objects): New.
4062 (libgcc-objects): Add $(decbits-objects).
4064 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4065 Substitute enable_decimal_float.
4066 * configure: Regenerated.
4068 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
4070 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4072 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4074 * Makefile.in (install-info): New dummy target.
4076 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4078 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4080 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4082 * Makefile.in: Add install-html and install-pdf dummy
4085 2007-02-05 Roger Sayle <roger@eyesopen.com>
4086 Daniel Jacobowitz <dan@codesourcery.com>
4088 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4089 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4090 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4092 2007-01-29 Janis Johnson <janis187@us.ibm.com>
4094 * Makefile.in (dec-filenames): Add decExcept.
4096 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4099 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4102 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
4104 * configure.ac: Add --enable-version-specific-runtime-libs.
4105 Correct $slibdir default.
4106 * configure: Regenerated.
4108 2007-01-23 Joseph Myers <joseph@codesourcery.com>
4110 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4112 2007-01-21 Andrew Pinski <pinskia@gmail.com>
4115 * config.host (alpha*-*-linux*): Set extra_parts.
4117 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
4119 * config/sh/t-linux: New.
4120 * config.host (sh*-*-linux*): Set tmake_file.
4122 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4124 * Makefile.in (install): Handle multilibs.
4126 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4128 * Makefile.in: Added .PHONY entry for documentation targets.
4130 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4132 * Makefile.in: Add empty info, html, dvi, pdf targets.
4134 2007-01-04 Mike Stump <mrs@apple.com>
4136 * Makefile.in (MAKEINFO): Remove.
4139 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
4141 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4142 * configure: Regenerate.
4143 * Makefile.in (host_subdir): Substitute it.
4144 (gcc_objdir): Use it.
4146 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4148 * config.host (ia64*-*-linux*): Set tmake_file.
4150 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4152 * Makefile.in (version): Define.
4154 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4155 Paolo Bonzini <bonzini@gnu.org>
4157 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4158 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4159 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4160 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4161 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4162 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4163 * configure: Generated.