1 2012-10-23 Ian Bolton <ian.bolton@arm.com>
2 Jim MacArthur <jim.macarthur@arm.com>
3 Marcus Shawcroft <marcus.shawcroft@arm.com>
4 Nigel Stephens <nigel.stephens@arm.com>
5 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6 Richard Earnshaw <rearnsha@arm.com>
7 Sofiane Naci <sofiane.naci@arm.com>
8 Stephen Thomas <stephen.thomas@arm.com>
9 Tejas Belagod <tejas.belagod@arm.com>
10 Yufeng Zhang <yufeng.zhang@arm.com>
12 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
13 * config/aarch64/crti.S: New file.
14 * config/aarch64/crtn.S: New file.
15 * config/aarch64/linux-unwind.h: New file.
16 * config/aarch64/sfp-machine.h: New file.
17 * config/aarch64/sync-cache.c: New file.
18 * config/aarch64/t-aarch64: New file.
19 * config/aarch64/t-softfp: New file.
21 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
23 * config/mmix/crti.S: Mark program and data addresses using PRELD.
24 Remove typo'd and unnecessary alignment-LOC for .data. Remove
25 no-longer-needed LDBU insns.
27 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
30 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
31 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
33 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
35 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
37 2012-10-15 Matthias Klose <doko@ubuntu.com>
39 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
41 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
43 * configure: Regenerate.
44 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
46 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
48 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
49 instructions for 64bit targets only.
51 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
53 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
54 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
55 * config/i386/32/sfp-machine.h: ... here.
56 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
57 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
60 2012-10-07 Matthias Klose <doko@ubuntu.com>
62 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
64 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
66 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
68 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
69 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
70 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
73 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
76 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
79 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
82 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
83 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
84 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
86 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
89 * config/sh/linux-atomic.S: Delete.
90 * config/sh/linux-atomic.c: New.
91 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
92 linux-atomic.c. Add cflags to disable warnings.
94 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
97 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
99 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
100 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
101 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
102 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
103 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
105 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
107 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
109 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
110 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
112 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
114 * config.host (hppa-*-openbsd*): New target.
115 * config/pa/t-openbsd: New file.
117 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
120 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
121 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
122 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
123 (__divsa3): Use __negsi2 to negate r_quoL.
124 * config/avr/lib1funcs.S (FALIAS): New macro.
125 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
126 (__negsi2): ...this new function.
127 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
128 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
129 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
130 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
131 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
132 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
134 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
137 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
138 (lshrsi3): Reimplement as lshrsi3_r0.
140 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
143 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
146 2012-09-07 Teresa Johnson <tejohnson@google.com>
148 PR gcov-profile/54487
149 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
152 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
155 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
156 not configured --with-avrlibc=no.
157 * config/avr/t-avrlibc: New file.
158 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
159 (DPBIT_FUNCS): Ditto.
160 (TPBIT_FUNCS): Ditto.
162 2012-09-04 Teresa Johnson <tejohnson@google.com>
164 * libgcov.c (struct gcov_summary_buffer): New structure.
165 (gcov_histogram_insert): New function.
166 (gcov_compute_histogram): Ditto.
167 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
168 histograms during summary merging.
170 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
172 * config.host (x86_64-*-openbsd*): New target.
174 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
176 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
179 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
182 * config/avr/t-avr (conv_X): Rename to func_X.
184 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
187 * config/avr/lib1funcs-fixed.S: New file.
188 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
190 (neg2, neg4): New macros.
191 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
192 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
193 (__umulhisi3): Speed up MUL variant if there is enough flash.
194 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
196 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
197 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
198 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
199 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
200 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
201 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
202 (LIB2FUNCS_EXCLUDE): Add supported functions.
204 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
206 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
207 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
209 * fixed-obj.mk: Only expand dependency if $o is not in
212 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
214 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
216 2012-08-22 Joseph Myers <joseph@codesourcery.com>
218 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
219 depend on --enable-shared.
220 ($(lib1asmfuncs-o)): Use %.vis files independent of
222 * static-object.mk ($(base)$(objext), $(base).vis)
223 ($(base)_s$(objext)): Use same rules for visibility handling as in
226 2012-08-21 Ian Lance Taylor <iant@google.com>
228 * config/i386/morestack.S (__morestack_non_split): Increase amount
229 of space allocated for non-split code stack.
231 2012-08-19 Joseph Myers <joseph@codesourcery.com>
233 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
234 even if inhibit_libc.
236 2012-08-17 Julian Brown <julian@codesourcery.com>
238 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
239 -fexceptions -fnon-call-exceptions if not defined.
240 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
241 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
243 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
245 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
248 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
250 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
251 rs6000/t-slibgcc-aix.
253 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
255 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
257 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
259 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
261 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
264 * Makefile.in (version): Replace top_srcdir with srcdir.
266 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
268 * Makefile.in (version): set to BASE-VER file from gcc directory.
270 2012-08-01 Nick Clifton <nickc@redhat.com>
272 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
273 Implements __clrsb for an HImode argument.
275 2012-07-31 Nick Clifton <nickc@redhat.com>
277 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
278 Implements __clrsb for an HImode argument.
279 * config/stormy16/clrsbhi2.c: New file:
280 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
282 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
284 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
286 2012-07-19 Tristan Gingold <gingold@adacore.com>
287 Richard Henderson <rth@redhat.com>
289 * unwind-seh.c: New file.
290 * unwind-generic.h: Include windows.h for SEH.
291 (_Unwind_Exception): Use 6 private fields for SEH.
292 (_GCC_specific_handler): Declare.
293 * unwind-c.c (__gcc_personality_seh0): New function.
295 * config/i386/libgcc-cygming.ver: New file.
296 * config/i386/t-seh-eh: New file.
297 * config.host (x86_64-*-mingw*): Default to seh.
299 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
301 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
303 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
305 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
306 __builtin_expect when checking for exceptions.
307 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
309 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
311 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
312 function declaration.
313 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
315 * config/ia64/sfp-exceptions.c: New.
316 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
318 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
320 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
321 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
322 * config/i386/64/sfp-machine: ... (delete here) ...
323 * config/i386/sfp-machine.h: ... to here.
324 (FP_EX_MASK): Remove.
326 (FP_INIT_ROUNDMODE): Declare asm as volatile.
328 2012-06-11 Sriraman Tallam <tmsriram@google.com>
330 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
331 * config/i386/libgcc-sol2.ver: Ditto.
332 * config/i386/libgcc-glibc.ver: Ditto.
334 2012-06-11 Roland McGrath <mcgrathr@google.com>
336 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
337 If __GLIBC__ is defined, refer to __pthread_key_create instead of
340 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
342 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
343 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
344 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
345 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
346 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
347 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
348 * config/i386/64/sfp-machine: ... (delete here) ...
349 * config/i386/sfp-machine.h: ... to here.
351 (__sfp_handle_exceptions): New function declaration.
352 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
353 * config/i386/sfp-exceptions.c: New.
354 * config/i386/t-softfp: New.
355 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
356 i386/t-softfp to tmake_file.
358 2012-06-03 David S. Miller <davem@davemloft.net>
360 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
363 2012-05-31 David S. Miller <davem@davemloft.net>
365 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
366 multiply and divide instructions on 32-bit when V9.
367 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
369 2012-05-29 Joseph Myers <joseph@codesourcery.com>
371 * config/arm/ieee754-df.S: Fix typos.
372 * config/arm/ieee754-sf.S: Fix typos.
373 * config/c6x/libunwind.S: Fix typos.
374 * config/epiphany/udivsi3-float.c: Fix typos.
375 * config/microblaze/muldi3_hard.S: Fix typos.
376 * config/picochip/adddi3.S: Fix typos.
377 * config/picochip/ashlsi3.S: Fix typos.
378 * config/picochip/ashrsi3.S: Fix typos.
379 * config/picochip/clzsi2.S: Fix typos.
380 * config/picochip/cmpsi2.S: Fix typos.
381 * config/picochip/divmod15.S: Fix typos.
382 * config/picochip/divmodhi4.S: Fix typos.
383 * config/picochip/divmodsi4.S: Fix typos.
384 * config/picochip/longjmp.S: Fix typos.
385 * config/picochip/lshrsi3.S: Fix typos.
386 * config/picochip/parityhi2.S: Fix typos.
387 * config/picochip/popcounthi2.S: Fix typos.
388 * config/picochip/setjmp.S: Fix typos.
389 * config/picochip/subdi3.S: Fix typos.
390 * config/picochip/ucmpsi2.S: Fix typos.
391 * config/picochip/udivmodhi4.S: Fix typos.
392 * config/picochip/udivmodsi4.S: Fix typos.
393 * config/spu/divv2df3.c: Fix typos.
394 * config/spu/mfc_multi_tag_release.c: Fix typos.
395 * config/spu/mfc_tag_release.c: Fix typos.
396 * configure.ac: Fix typos.
397 * configure: Regenerate.
399 2012-05-25 Ian Lance Taylor <iant@google.com>
401 * config/i386/morestack.S (__morestack_non_split): Check whether
402 caller is varargs and needs %bp to hold the stack frame on return.
404 2012-05-25 Olivier Hainque <hainque@adacore.com>
406 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
407 sequence in the non pic case on VxWorks.
409 2012-05-24 Olivier Hainque <hainque@adacore.com>
411 * Makefile.in: Move dependency on install-unwind_h from
412 "install-leaf" to "install".
414 2012-05-24 Olivier Hainque <hainque@adacore.com>
416 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
417 Use a separate command for stamp removals.
419 2012-05-21 Andrew Pinski <apinski@cavium.com>
422 * configure.ac: Define the default includes to being none.
423 * configure: Regenerate.
425 2012-05-16 Olivier Hainque <hainque@adacore.com>
427 * Makefile.in (install-unwind_h): Rename into ...
428 (install-unwind_h-forbuild): New target.
429 (all): Use it instead of the former install-unwind_h.
430 (install-unwind_h): Reinstate, copy to user install destination
431 for include files, not to the internal gcc object directory one.
432 (install-leaf): Depend on it.
434 2012-05-15 Olivier Hainque <hainque@adacore.com>
436 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
437 register numbers. LR_REGNO replaces R_LR.
438 (ucontext_for): New, helper for ...
439 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
441 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
443 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
445 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
446 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
447 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
449 (i[34567]86-*-*, x86_64-*-*): ... here.
451 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
452 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
454 * config/i386/i386-cpuinfo.c: Rename to ...
455 * config/i386/cpuinfo.c: ... this.
456 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
458 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
459 (libgcc_cv_init_priority): New test.
460 * configure: Regenerate.
461 * config.in: New file.
462 * Makefile.in (clean): Rename config.h to auto-target.h.
463 (config.h): Likewise.
466 * config/i386/cpuinfo.c (auto-target.h): Include.
467 (CONSTRUCTOR_PRIORITY): Define.
468 (__cpu_indicator_init): Use it.
470 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
472 * longlong.h: Use a URL instead of an FSF postal address.
473 Replace spaces with tab.
475 2012-05-08 Teresa Johnson <tejohnson@google.com>
477 * libgcov.c (gcov_clear, __gcov_reset): New functions.
478 (__gcov_dump): Ditto.
479 (gcov_dump_complete): New global variable.
480 (gcov_exit): Export hidden to enable use in L_gcov_dump.
481 (__gcov_flush): Outline functionality now in gcov_clear.
482 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
484 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
486 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
487 (mips*-*-linux*): Include mips/t-tpbit when long double is
490 2012-04-25 Sriraman Tallam <tmsriram@google.com>
492 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
493 (get_available_features): New argument. Check for AVX2.
494 (__cpu_indicator_init): Modify call to get_available_features.
496 2012-04-25 Alan Modra <amodra@gmail.com>
498 * config/rs6000/crtsavevr.S: New file.
499 * config/rs6000/crtrestvr.S: New file.
500 * config/rs6000/t-savresfgpr: Build the above.
501 * config/rs6000/t-netbsd: Likewise.
503 2012-04-24 Sriraman Tallam <tmsriram@google.com>
505 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
507 2012-04-24 Sriraman Tallam <tmsriram@google.com>
509 * libgcc/config/i386/i386-cpuinfo.c: New file.
510 * libgcc/config/i386/t-cpuinfo: New file.
511 * libgcc/config.host: Include t-cpuinfo.
512 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
514 2012-04-24 Chao-ying Fu <fu@mips.com>
516 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
518 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
520 struct siginfo vs. siginfo_t
522 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
523 siginfo_t instead of struct siginfo.
524 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
525 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
526 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
527 (ia64_handle_unwabi): Likewise.
528 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
529 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
530 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
531 (sh_fallback_frame_state): Likewise.
532 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
533 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
535 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
537 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
540 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
542 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
543 if it hasn't been previously saved.
545 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
547 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
550 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
553 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
554 instead of __AVR_HAVE_8BIT_SP__.
556 2012-03-26 Tristan Gingold <gingold@adacore.com>
558 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
559 (unw_table_entry): Use unw_word instead of unsigned long.
560 (_Unwind_FindTableEntry): Likewise.
561 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
562 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
563 (_Unwind_FindTableEntry): Likewise.
564 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
565 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
566 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
567 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
568 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
569 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
570 (uw_init_context_1, uw_install_context): Likewise.
571 (unw_word): Move to unwind-ia64.h
573 2012-03-26 Tristan Gingold <gingold@adacore.com>
575 * config/vms/vms-ucrt0.c: Update copyright years.
577 (___gcc_main_flags): Declare.
578 (__main): Check flags to remap argv and exit code.
579 * config.host (*-*-*vms*): Adjust extra_parts.
580 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
583 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
585 * arm/lib1funcs.asm (ctzsi2): New function.
586 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
587 * arm/t-linux (LIB1ASMFUNCS): Likewise.
588 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
589 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
590 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
591 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
593 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
595 * config.host: Add bits to support powerpc64-*-freebsd*.
596 * config/rs6000/freebsd-unwind.h: New file.
597 * config/rs6000/t-freebsd64: New file.
599 2012-03-20 Richard Guenther <rguenther@suse.de>
601 PR gcov-profile/52627
602 * libgcov.c (init_mx): Fix mutex name.
604 2012-03-16 Tristan Gingold <gingold@adacore.com>
606 * config/ia64/vms-unwind.h: Remove ulong (and replace
607 it by unw_reg where used). Define unw_reg with __int64.
609 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
611 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
613 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
615 (sparc_is_sighandler): Likewise.
617 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
619 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
622 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
624 * config/arm/crtn.S: Fix typo.
626 2012-03-13 Richard Guenther <rguenther@suse.de>
628 * libgcov.c: Remove stdio.h include and NULL un-define.
630 2012-03-13 Richard Guenther <rguenther@suse.de>
633 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
635 2012-03-13 Richard Guenther <rguenther@suse.de>
637 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
639 2012-03-13 Richard Guenther <rguenther@suse.de>
641 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
642 and __gthread_mutex_init_function definitions.
644 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
646 * config.host (mips*-*-openbsd*): Remove.
648 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
650 * config.host: Remove alpha*-dec-osf5.1* handling.
651 * config/alpha/gthr-posix.c: Remove.
652 * config/alpha/libgcc-osf5.ver: Remove.
653 * config/alpha/osf5-unwind.h: Remove.
654 * config/alpha/t-osf-pthread: Remove.
655 * config/alpha/t-slibgcc-osf: Remove.
656 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
657 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
658 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
659 * mkmap-flat.awk: Remove osf_export handling.
661 2012-03-12 Richard Guenther <rguenther@suse.de>
663 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
664 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
665 (__gthread_mutex_init_function): New function.
666 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
669 * libgcov.c: Include gthr.h.
670 (__gcov_flush_mx): New global variable.
671 (init_mx, init_mx_once): New functions.
672 (__gcov_flush): Protect self with a mutex.
673 (__gcov_fork): Re-initialize mutex after forking.
674 * unwind-dw2-fde.c: Change condition under which to use
675 __GTHREAD_MUTEX_INIT_FUNCTION.
677 2012-03-12 Tristan Gingold <gingold@adacore.com>
679 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
680 * config/ia64/t-vms: Likewise.
682 2012-03-11 Michael Hope <michael.hope@linaro.org>
684 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
687 2012-03-07 Walter Lee <walt@tilera.com>
689 * config/tilepro/atomic.c: Rename "atomic_" prefix to
691 (atomic_xor): Rename and move definition to
692 config/tilepro/atomic.h.
693 (atomic_nand): Ditto.
694 * config/tilepro/atomic.h: Rename "atomic_" prefix to
696 (arch_atomic_xor): Move from config/tilepro/atomic.c.
697 (arch_atomic_nand): Ditto.
699 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
702 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
704 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
707 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
710 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
714 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
715 if RAMPZ affects reading from RAM.
716 (__tablejump_elpm__): Ditto.
718 (__movmemx_hi): Ditto.
719 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
720 (__do_global_dtors): Ditto.
721 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
722 (__movmemx_hi): Ditto.
724 2012-03-05 Richard Henderson <rth@redhat.com>
726 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
727 [ARM] (count_trailing_zeros): Use the builtin.
729 2012-03-01 Kai Tietz <ktietz@redhat.com>
731 * soft-fp: Imported from glibc upstream.
733 2012-02-28 Kai Tietz <ktietz@redhat.com>
735 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
736 for mingw-targets as attribute gcc_struct.
738 2012-02-28 Ian Lance Taylor <iant@google.com>
740 * generic-morestack.c (__splitstack_releasecontext): Correct call
741 to __morestack_release_segments.
743 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
746 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
747 for __linux__ when removing signals from __morestack_fullmask.
749 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
752 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
754 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
756 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
757 instead of HAVE_INITFINI_ARRAY.
758 * config/ia64/crtend.S: Likewise.
760 2012-02-20 Kai Tietz <ktietz@redhat.com>
763 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
765 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
766 to w32-unwind.h header.
768 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
770 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
771 (mips*-*-linux*): Remove t-slibgcc-libgcc.
772 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
773 * config/mips/mips16.S (__mips16_rdhwr): Delete.
775 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
777 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
779 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
782 * config/darwin-crt-tm.c: Correct typo.
784 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
785 Patrick Marlier <patrick.marlier@gmail.com>
788 * config/darwin-crt-tm.c: Generate dummy functions.
790 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
791 Patrick Marlier <patrick.marlier@gmail.com>
794 * config/darwin-crt-tm.c (getTMCloneTable): New function.
795 (__doTMRegistrations): Call it.
796 (__doTMdeRegistrations): Likewise.
798 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
799 Anatoly Sokolov <aesok@post.ru>
800 Eric Weddington <eric.weddington@atmel.com>
803 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
804 (__epilogue_restores__): Ditto.
806 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
810 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
811 Solaris 11 and slightly reformat.
812 (sparc_is_sighandler): Likewise.
814 2012-02-14 Walter Lee <walt@tilera.com>
816 * config.host: Handle tilegx and tilepro.
817 * config/tilegx/sfp-machine.h: New file.
818 * config/tilegx/sfp-machine32.h: New file.
819 * config/tilegx/sfp-machine64.h: New file.
820 * config/tilegx/t-crtstuff: New file.
821 * config/tilegx/t-softfp: New file.
822 * config/tilegx/t-tilegx: New file.
823 * config/tilepro/atomic.c: New file.
824 * config/tilepro/atomic.h: New file.
825 * config/tilepro/linux-unwind.h: New file.
826 * config/tilepro/sfp-machine.h: New file.
827 * config/tilepro/softdivide.c: New file.
828 * config/tilepro/softmpy.S: New file.
829 * config/tilepro/t-crtstuff: New file.
830 * config/tilepro/t-tilepro: New file.
832 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
836 * gthr-posix.h: Allow static initializer macros to be disabled.
837 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
839 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
841 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
842 Add t-slibgcc-libgcc to tmake_file.
843 * config/mips/libgcc-mips16.ver: Revert previous patch.
844 * config/mips/mips16.S (__mips16_rdhwr): Hide.
846 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
847 Jayant R Sonar <jayant.sonar@kpitcummins.com>
849 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
850 * config/cr16/crti.S: New file.
851 * config/cr16/crtlibid.S: New file.
852 * config/cr16/crtn.S: New file.
853 * config/cr16/lib1funcs.S: New file.
854 * config/cr16/t-cr16: New file.
855 * config/cr16/t-crtlibid: New file.
856 * config/cr16/unwind-dw2.h: New file.
857 * config/cr16/unwind-cr16.c: New file.
858 * config/cr16/divmodhi3.c: New file.
860 2012-01-25 Alan Modra <amodra@gmail.com>
862 * config/rs6000/t-linux64: Delete. Move..
863 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
864 * config/rs6000/t-linux: ..and libgcc flags to here.
866 2012-01-22 Douglas B Rupp <rupp@gnat.com>
868 * config.host (i[34567]86-*-interix3*):
869 Change triplet to i[34567]86-*-interix[3-9]*.
870 * configure: Regenerate.
872 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
873 Richard Sandiford <rdsandiford@googlemail.com>
875 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
876 * config/mips/mips16.S (__mips16_rdhwr): New function.
877 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
879 2012-01-11 Nathan Sidwell <nathan@acm.org>
881 * libgcov.c (__gcov_init): Ignore objects with no functions.
883 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
886 Extend __pgmx semantics to linearize memory.
887 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
888 * config/avr/lib1funcs.S (__xload_1): New function.
889 (__movmemx_qi, __movmemx_hi): New functions.
890 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
893 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
895 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
896 purported sigacthandler address isn't null before dereferencing it.
897 (sparc_is_sighandler): Likewise.
899 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
902 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
903 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
904 (sparc_is_sighandler): Likewise.
905 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
907 2012-01-06 Tristan Gingold <gingold@adacore.com>
909 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
910 compatibility thunks...
911 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
912 (crtbeginS.o, crtendS.o): ... and these to ...
913 * config/ia64/t-ia64-elf: ... this new file.
914 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
915 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
917 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
919 * configure: Regenerate.
920 * config/s390/t-crtstuff: Remove -fPIC.
922 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
925 * enable-execute-stack-mprotect.c (getpagesize): Do not define
928 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
931 * config/avr/lib1funcs.S: Remove FIXME comments.
932 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
934 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
936 Implement light-weight DImode support.
937 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
938 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
939 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
940 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
942 2011-12-30 Nathan Sidwell <nathan@acm.org>
944 * libgcov.c (gcov_crc32): Remove global var.
945 (free_fn_data): New function.
946 (buffer_fn_data): Pass in filename, more robust error recovery.
947 (crc32_unsigned): New function.
948 (gcov_exit): More robust detection of new program. More robust
950 (__gcov_init): Do not update program's crc here.
952 2011-12-21 Tristan Gingold <gingold@adacore.com>
954 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
956 2011-12-21 Ian Lance Taylor <iant@google.com>
958 * config/i386/morestack.S: Simplify CFI opcodes throughout.
960 2011-12-20 Ian Lance Taylor <iant@google.com>
962 * config/i386/morestack.S (__morestack_non_split): If there is
963 enough stack space already, don't split. Ask for more stack space
966 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
968 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
970 (_Unwind_DebugHook): New function.
971 (uw_restore_core_regs): New define.
972 (unwind_phase2): Use uw_restore_core_regs instead of
974 (unwind_phase2_forced): Likewise.
975 (__gnu_Unwind_Resume): Likewise.
977 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
979 * config/alpha/linux-unwind.h: Update copyright years.
980 (MD_FROB_UPDATE_CONTEXT): New define.
981 (alpha_frob_update_context): New function.
983 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
985 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
986 tmake_file rather replacing it.
988 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
990 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
991 function is not used for PPC64.
992 (save_world): Amend comments. Update the VRsave mask to reflect the
994 (rest_world): Update comments, do not clobber r10, do not use r8.
995 (eh_rest_world_r10): Amend comments, do not use r8.
996 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
997 no longer used, move restore of CR and target address to the end of
1000 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
1002 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1003 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1005 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
1008 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1009 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1011 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
1013 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1015 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
1018 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1019 * config/avr/lib1funcs.S (__muldi3): New function.
1021 2011-12-06 Andrew Pinski <apinski@cavium.com>
1023 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1025 (__frame_dummy_init_array_entry): Likewise.
1027 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
1029 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1033 * config/avr/lib1funcs.S (__prologue_saves__,
1034 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1035 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1037 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
1039 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1041 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1044 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1045 (_ITM_deregisterTMCloneTable): Likewise.
1046 (__register_frame_info): Fix unused warning.
1047 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1048 pthread_default_stacksize_np): Likewise.
1049 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1051 2011-11-29 DJ Delorie <dj@redhat.com>
1053 * config.host (rl78-*-elf): New case.
1054 * config/rl78: New directory for the Renesas RL78.
1056 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
1058 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1061 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1064 * config/rs6000/t-savresfgpr: New file.
1065 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1066 $(srcdir)/config/rs6000/eabi.S.
1067 * config/rs6000/t-ppccomm-ldbl: Remove.
1068 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1070 (powerpc-*-eabispe*): Likewise.
1071 (powerpc-*-eabi*): Likewise.
1072 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1073 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1074 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1075 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1077 (powerpc-*-eabisim*): Likewise.
1078 (powerpc-*-elf*): Likewise.
1079 (powerpc-*-eabialtivec*): Likewise.
1080 (powerpc-xilinx-eabi*): Likewise.
1081 (powerpc-*-rtems*): Likewise.
1082 (powerpcle-*-elf*): Likewise.
1083 (powerpcle-*-eabisim*): Likewise.
1084 (powerpcle-*-eabi*): Likewise.
1086 2011-11-27 Ian Lance Taylor <iant@google.com>
1088 * generic-morestack.c (__splitstack_find): Check for NULL old
1090 (__splitstack_resetcontext): New function.
1091 (__splitstack_releasecontext): New function.
1092 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1094 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1096 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1098 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
1100 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1102 2011-11-26 Richard Henderson <rth@redhat.com>
1104 * config/m68k/linux-atomic.c: New file.
1105 * config/m68k/t-linux: New file.
1106 * config.host (m68k-uclinux, m68k-linux): Use it.
1108 2011-11-26 Richard Henderson <rth@redhat.com>
1110 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1111 (__TMC_END__): Only declare if hidden is available; in the definition,
1112 if hidden is unavailable add a null record.
1113 (deregister_tm_clones, register_tm_clones): New.
1114 (__do_global_dtors_aux, frame_dummy): Use them.
1115 (__do_global_dtors, __do_global_ctors_1): Likewise.
1117 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
1119 * config/darwin-crt-tm.c: New file.
1120 * config.host (darwin): Build crttms.o crttme.o to provide
1121 startup and shutdown for tm clones.
1122 * config/t-darwin (crttms.o): New build rule.
1123 (crttme.o): Likewise.
1125 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
1127 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1130 2011-11-21 Richard Henderson <rth@redhat.com>
1132 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1133 (__TMC_LIST__, __TMC_END__): New.
1134 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1135 (__do_global_dtors): Likewise.
1136 (frame_dummy): Call _ITM_registerTMCloneTable.
1137 (__do_global_ctors_1): Likewise.
1139 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1141 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1142 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1143 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1144 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1145 * config/i386/t-darwin64: Remove.
1146 * config/sh/t-netbsd (LIB2ADD): Remove.
1148 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
1151 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1152 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1153 * config/avr/lib1funcs.S (wmov): New assembler macro.
1154 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1155 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1156 (__udivmod64): New function.
1157 (__negdi2): New function.
1159 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
1161 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1162 *-*-freebsd*aout*): Remove.
1164 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
1166 * static-object.mk (c_flags-$o): Save c_flags.
1167 ($(base)$(objext)): Use it.
1169 2011-11-18 Steve Ellcey <sje@cup.hp.com>
1171 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1173 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
1176 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1177 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1180 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1182 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1184 (aeabi_uidivmod): Likewise.
1185 (umodsi3): Likewise.
1187 (aeabi_idivmod): Likewise.
1190 2011-11-16 Tristan Gingold <gingold@adacore.com>
1192 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1194 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
1197 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1198 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1200 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1202 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1204 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1205 * config/pa/t-stublib64: Delete.
1207 2011-11-12 Richard Henderson <rth@redhat.com>
1209 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1210 cast the pointer argument to _Unwind_SetGRPtr.
1212 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1214 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1216 2011-11-09 Ian Lance Taylor <iant@google.com>
1218 * generic-morestack.c: Include <string.h>.
1219 (uintptr_type): Define.
1220 (struct initial_sp): Add dont_block_signals field. Reduce size of
1222 (allocate_segment): Set prev field to NULL. Don't set
1223 __morestack_current_segment or __morestack_segments.
1224 (__generic_morestack): Update current->prev and *pp after calling
1226 (__morestack_block_signals): Don't do anything if
1227 dont_block_signals is set.
1228 (__morestack_unblock_signals): Likewise.
1229 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1231 (__splitstack_block_signals): New function.
1232 (enum __splitstack_content_offsets): Define.
1233 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1234 (__splitstack_makecontext): New function.
1235 (__splitstack_block_signals_context): New function.
1236 (__splitstack_find_context): New function.
1237 * config/i386/morestack.S (__morestack_get_guard): New function.
1238 (__morestack_set_guard, __morestack_make_guard): New functions.
1239 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1241 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1243 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1244 (i[34567]86-*-mingw*): ... here.
1245 (x86_64-*-mingw*): ... here.
1247 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1249 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1251 2011-11-07 Nathan Sidwell <nathan@acm.org>
1253 * libgcov.c (struct gcov_fn_buffer): New struct.
1254 (buffer_fn_data): New helper.
1255 (gcov_exit): Rework for new gcov data structures.
1257 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
1260 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1262 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1264 * config.host (tmake_file): Correct comment.
1265 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1267 (bfin*-uclinux*): Likewise.
1268 (bfin*-linux-uclibc*): Likewise.
1269 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1271 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1273 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1274 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1275 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1276 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1277 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1278 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1279 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1280 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1281 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1282 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1283 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1284 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1285 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1287 * config/bfin/t-elf: Remove.
1288 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1290 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1292 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1293 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1294 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1295 (lm32-*-elf*): ... this.
1296 (lm32-*-rtems*): ... and this.
1298 (m32r-*-rtems*): Add to tmake_file.
1299 (moxie-*-rtems*): Likewise.
1300 (sparc-*-rtems*): Likewise.
1301 Remove t-rtems from tmake_file.
1302 (sparc64-*-rtems*): Likewise.
1303 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1306 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1309 * config/gthr-posix.h: Move ...
1310 * gthr-posix.h: ... here.
1311 * config/gthr-lynx.h: Reflect this.
1312 * config/gthr-vxworks.h: Likewise.
1313 * config/rs6000/gthr-aix.h: Likewise.
1314 * configure.ac (target_thread_file): Likewise.
1315 * configure: Regenerate.
1317 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1319 * config.host (arm*-*-rtemseabi*): New target.
1321 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1324 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1327 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
1329 * config.host (epiphany-*-elf*): New configuration.
1330 * config/epiphany: New Directory.
1332 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
1334 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1335 * config/avr/t-rtems: New.
1336 Filter out _exit from LIB1ASMFUNCS.
1338 2011-11-04 David S. Miller <davem@davemloft.net>
1340 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1341 * configure: Rebuild.
1343 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1345 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1348 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
1351 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1352 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1354 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
1357 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1359 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1361 * config/c6x/t-elf (LIB2ADDEH): Set.
1362 * config/c6x/t-c6x-elf: Remove.
1364 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1366 * config/i386/sol2-ci.S: Rename to ...
1367 * config/i386/crti.S: ... this.
1368 * config/i386/sol2-cn.S: Rename to ...
1369 * config/i386/crtn.S: ... this.
1370 * config/sparc/sol2-ci.S: Rename to ...
1371 * config/sparc/crti.S: ... this.
1372 * config/sparc/sol2-cn.S: Rename to ...
1373 * config/sparc/crtn.S: ... this.
1374 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1375 (crti.o, crtn.o): Remove.
1377 2011-11-04 Tristan Gingold <gingold@adacore.com>
1379 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1381 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
1383 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1385 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
1387 * config.host (crisv32-*-none, cris-*-none): Remove.
1388 (crisv32-*-elf): Append to tmake_file, don't just set it.
1389 (cris-*-elf): Add missing t-fdpbit to tmake_file.
1391 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1393 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1394 (ecrtn$(objext)): Likewise.
1395 (ncrti$(objext)): Likewise.
1396 (ncrtn$(objext)): Likewise.
1398 2011-11-03 Andreas Schwab <schwab@redhat.com>
1400 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1402 2011-11-02 David S. Miller <davem@davemloft.net>
1404 * configure.ac: Set host_address on sparc too.
1405 * configure: Regenerate.
1406 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1407 based upon host_address.
1408 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1410 2011-11-02 Jason Merrill <jason@redhat.com>
1412 * config/rs6000/t-ppccomm: Add missing \.
1414 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1416 * gthr-single.h, gthr.h: New files.
1417 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1418 config/gthr-vxworks.h, config/i386/gthr-win32.h,
1419 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1420 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1421 * config/i386/gthr-win32.c: Include "gthr-win32.h".
1422 * configure.ac (thread_header): New variable.
1423 Set it depending on target_thread_file.
1424 (gthr-default.h): Link from $thread_header.
1425 * configure: Regenerate.
1426 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1428 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1430 * configure.ac (tm_file_): New variable.
1431 Determine from tm_file.
1432 (tm_file, tm_defines): Substitute.
1433 * configure: Regenerate.
1434 * mkheader.sh: New file.
1435 * Makefile.in (clean): Remove libgcc_tm.h.
1436 ($(objects)): Depend on libgcc_tm.h.
1437 (libgcc_tm_defines, libgcc_tm_file): New variables.
1438 (libgcc_tm.h, libgcc_tm.stamp): New targets.
1439 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1440 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1441 ($(extra-parts)): Depend on libgcc_tm.h.
1442 * config.host (tm_defines, tm_file): New variable.
1443 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1444 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1445 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1446 (avr-*-rtems*): Likewise.
1447 (avr-*-*): Likewise.
1448 (frv-*-elf): Likewise.
1449 (frv-*-*linux*): Likewise.
1450 (h8300-*-rtems*): Likewise.
1451 (h8300-*-elf*): Likewise.
1452 (i[34567]86-*-darwin*): Likewise.
1453 (x86_64-*-darwin*): Likewise.
1454 (rx-*-elf): Likewise.
1455 (tic6x-*-uclinux): Likewise.
1456 (tic6x-*-elf): Likewise.
1457 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1458 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1459 * config/i386/cygming-crtbegin.c: Likewise.
1460 * config/i386/cygming-crtend.c: Likewise.
1461 * config/ia64/fde-vms.c: Likewise.
1462 * config/ia64/unwind-ia64.c: Likewise.
1463 * config/libbid/bid_gcc_intrinsics.h: Likewise.
1464 * config/rs6000/darwin-fallback.c: Likewise.
1465 * config/stormy16/lib2funcs.c: Likewise.
1466 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1467 * crtstuff.c: Likewise.
1468 * dfp-bit.h: Likewise.
1469 * emutls.c: Likewise.
1470 * fixed-bit.c: Likewise.
1471 * fp-bit.c: Likewise.
1472 * generic-morestack-thread.c: Likewise.
1473 * generic-morestack.c: Likewise.
1474 * libgcc2.c: Likewise.
1475 * libgcov.c: Likewise.
1476 * unwind-dw2-fde-dip.c: Likewise.
1477 * unwind-dw2-fde.c: Likewise.
1478 * unwind-dw2.c: Likewise.
1479 * unwind-sjlj.c: Likewise.
1481 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1483 * configure.ac: Include ../config/picflag.m4.
1484 (GCC_PICFLAG): Call it.
1486 * configure: Regenerate.
1487 * Makefile.in (gcc_srcdir): Remove.
1488 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1489 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1490 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1491 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1492 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1495 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1496 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1497 to refer to libgcc2.c.
1499 * config/darwin-64.c: New file.
1500 * config/darwin-crt3.c: Remove comment.
1501 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1502 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1503 config/udivmodsi4.c: New files.
1504 * config/memcmp.c, config/memcpy.c, config/memmove.c,
1505 config/memset.c: New files.
1506 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1507 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1508 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1509 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1510 * config/t-openbsd-thread: New file.
1511 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1512 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1513 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1514 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1517 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1518 to refer to gthr-posix.c.
1519 * config/alpha/t-vms (LIB2ADD): Set.
1520 * config/alpha/vms-gcc_shell_handler.c: New file.
1521 * config/arm/bpabi.c, config/arm/fp16.c,
1522 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1523 config/arm/unaligned-funcs.c: New files.
1524 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1525 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1526 * config/arm/t-linux: Likewise.
1527 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1528 * config/arm/t-netbsd: New file.
1529 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1530 * config/arm/t-symbian (LIB2ADD_ST): Set.
1531 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1532 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1533 * config/bfin/t-elf: New file.
1534 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1535 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1536 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1537 config/c6x/ltf.c: New files.
1538 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1539 (HOST_LIBGCC2_CFLAGS): Set.
1540 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1541 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1542 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1544 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1545 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1546 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1547 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1548 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1550 * config/frv/t-frv (LIB2ADD): Set.
1551 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1552 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1553 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1554 config/h8300/popcounthi2.c: New files.
1555 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1556 * config/i386/gthr-win32.c: New file.
1557 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1558 * config/i386/t-cygwin: Likewise.
1559 * config/i386/t-darwin, config/i386/t-darwin64,
1560 config/i386/t-gthr-win32, config/i386/t-interix: New files.
1561 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1562 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1563 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1564 * config/ia64/quadlib.c: New file.
1565 * config/ia64/t-hpux (LIB2ADD): Set.
1566 * config/ia64/t-ia64: Add comment.
1567 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1568 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1569 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1570 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1571 * config/m32c/t-m32c (LIB2ADD): Set.
1572 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1573 * config/m32r/t-m32r: Likewise.
1574 * config/m68k/fpgnulib.c: New file.
1575 * config/m68k/t-floatlib (LIB2ADD): Set.
1576 (xfgnulib.c): New target.
1577 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1578 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1579 * config/mep/t-mep (LIB2ADD): Set.
1580 * config/microblaze/divsi3.asm: Rename to divsi3.S.
1581 * config/microblaze/moddi3.asm: Rename to moddi3.S.
1582 * config/microblaze/modsi3.asm: Rename to modsi3.S.
1583 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1584 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1585 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1586 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1587 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1588 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1589 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1591 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1592 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1593 * config/pa/fptr.c, config/pa/lib2funcs.S,
1594 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1595 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1596 (LIB2ADD, LIB2ADD_ST): Set.
1597 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1598 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1600 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1601 * config/pdp11/t-pdp11: New file.
1602 * config/picochip/libgccExtras/adddi3.S,
1603 config/picochip/libgccExtras/ashlsi3.S,
1604 config/picochip/libgccExtras/ashrsi3.S,
1605 config/picochip/libgccExtras/clzsi2.S,
1606 config/picochip/libgccExtras/cmpsi2.S,
1607 config/picochip/libgccExtras/divmod15.S,
1608 config/picochip/libgccExtras/divmodhi4.S,
1609 config/picochip/libgccExtras/divmodsi4.S,
1610 config/picochip/libgccExtras/lshrsi3.S,
1611 config/picochip/libgccExtras/parityhi2.S,
1612 config/picochip/libgccExtras/popcounthi2.S,
1613 config/picochip/libgccExtras/subdi3.S,
1614 config/picochip/libgccExtras/ucmpsi2.S,
1615 config/picochip/libgccExtras/udivmodhi4.S,
1616 config/picochip/libgccExtras/udivmodsi4.S: New files.
1617 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1618 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1619 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1620 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1621 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1622 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1623 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
1624 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1626 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1627 (HOST_LIBGCC2_CFLAGS): Set.
1628 * config/rs6000/t-darwin64: New file.
1629 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1630 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1631 * config/rs6000/t-ppccomm (LIB2ADD): Add
1632 $(srcdir)/config/rs6000/tramp.S.
1633 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1634 Add $(srcdir)/config/rs6000/eabi.S.
1635 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1636 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1637 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1638 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1639 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1640 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1641 * config/rs6000/tramp.S: New file.
1642 * config/s390/t-tpf: Remove.
1643 * config/sh/linux-atomic.S: New file.
1644 * config/sh/t-linux (LIB2ADD): Set.
1645 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1646 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1647 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1649 (HOST_LIBGCC2_CFLAGS): Set.
1650 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1651 * config/spu/divmodti4.c, config/spu/divv2df3.c,
1652 config/spu/float_disf.c, config/spu/float_unsdidf.c,
1653 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1654 config/spu/mfc_multi_tag_release.c,
1655 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1656 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1657 config/spu/multi3.c: New files.
1658 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1659 (HOST_LIBGCC2_CFLAGS): Set.
1660 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1661 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1662 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1663 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1664 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1665 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1666 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1667 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1668 config/stormy16/umodsi3.c: New files.
1669 * config/xtensa/lib2funcs.S: New file.
1670 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1671 * config/xtensa/t-xtensa (LIB2ADD): Set.
1672 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1673 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1674 Add t-freebsd-thread to tmake_file for posix threads.
1675 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1676 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1677 (*-*-lynxos*): Likewise.
1678 (*-*-netbsd*): Likewise.
1679 (*-*-openbsd*): Likewise.
1680 Add t-openbsd-thread to tmake_file for posix threads.
1681 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1682 (*-*-vxworks*): Set tmake_file.
1683 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1684 (alpha*-*-freebsd*): Likewise.
1685 (alpha*-*-netbsd*): Likewise.
1686 (alpha*-*-openbsd*): Likewise.
1687 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1688 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1689 (alpha*-dec-*vms*): Likewise.
1690 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1691 (bfin*-elf*): Add bfin/t-elf to tmake_file.
1692 (bfin*-uclinux*): Likewise.
1693 (bfin*-linux-uclibc*): Likewise.
1694 (crisv32-*-elf): Add cris/t-cris to tmake_file.
1695 (crisv32-*-none): Likewise.
1696 (cris-*-elf): Likewise.
1697 (cris-*-none): Likewise.
1698 (cris-*-linux*, crisv32-*-linux*): Likewise.
1699 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1701 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1703 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1704 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1705 (x86_64-*-elf*): Likewise.
1706 (i[34567]86-*-nto-qnx*): Likewise.
1707 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1709 (x86_64-*-mingw*): Likewise.
1710 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1711 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1712 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1713 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1714 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1716 (mipsisa64sr71k-*-elf*): Likewise.
1717 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1718 (mips-*-elf*, mipsel-*-elf*): Likewise.
1719 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1720 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1721 (mips*-*-rtems*): Likewise.
1722 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1724 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1725 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1726 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1727 (spu-*-elf*): Likewise.
1728 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1730 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1732 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1733 $(srcdir) to refer to $(LIB1ASMSRC).
1735 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1736 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1737 config/arm/lib1funcs.S: New files.
1738 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1739 * config/arm/t-arm: New file.
1740 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1741 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1742 config/arm/t-strongarm-elf: New files.
1743 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1744 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1745 * config/avr/lib1funcs.S: New file.
1746 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1747 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1748 * config/c6x/lib1funcs.S: New file.
1749 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1750 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1751 * config/frv/lib1funcs.S: New file.
1752 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1753 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1754 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1755 * config/ia64/__divxf3.asm: Rename to ...
1756 * config/ia64/__divxf3.S: ... this.
1757 Adapt lib1funcs.asm filename.
1758 * config/ia64/_fixtfdi.asm: Rename to ...
1759 * config/ia64/_fixtfdi.S: ... this.
1760 Adapt lib1funcs.asm filename.
1761 * config/ia64/_fixunstfdi.asm: Rename to ...
1762 * config/ia64/_fixunstfdi.S: ... this.
1763 Adapt lib1funcs.asm filename.
1764 * config/ia64/_floatditf.asm: Rename to ...
1765 * config/ia64/_floatditf.S: ... this.
1766 Adapt lib1funcs.asm filename.
1767 * config/ia64/lib1funcs.S: New file.
1768 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1769 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1770 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1771 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1772 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1773 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1774 * config/mep/lib1funcs.S: New file.
1775 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1776 * config/mips/mips16.S: New file.
1777 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1778 * config/pa/milli64.S: New file.
1779 * config/pa/t-linux, config/pa/t-linux64: New files.
1780 * config/picochip/lib1funcs.S: New file.
1781 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1782 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1783 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1784 * config/sh/t-netbsd: New file.
1785 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1786 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1787 * config/sh/t-sh64: New file.
1788 * config/sparc/lb1spc.S: New file.
1789 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1791 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1792 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1793 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1794 config/xtensa/lib1funcs.S: New files.
1795 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1796 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1798 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1799 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1800 (arm*-*-linux*): Likewise.
1801 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1802 arm*-*-linux-*eabi, add arm/t-linux otherwise.
1803 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1804 (arm*-*-ecos-elf): Likewise.
1805 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1806 (arm*-*-rtems*): Likewise.
1807 (arm*-*-elf): Likewise.
1808 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1809 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1810 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1811 (bfin*-uclinux*): Likewise.
1812 (bfin*-linux-uclibc*): Likewise.
1813 (bfin*-rtems*): Likewise.
1814 (bfin*-*): Likewise.
1815 (fido-*-elf): Merge into m68k-*-elf*.
1816 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1817 (frv-*-*linux*): Add frv/t-frv to tmake_file.
1818 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1819 (h8300-*-elf*): Likewise.
1820 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1821 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1822 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1823 (i[34567]86-*-mingw*): Likewise.
1824 (x86_64-*-mingw*): Likewise.
1825 (i[34567]86-*-interix3*): Likewise.
1826 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1827 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1828 (m68k-*-elf*): Also handle fido-*-elf.
1829 Add m68k/t-floatlib to tmake_file.
1830 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1831 (m68k-*-linux*): Likewise.
1832 (m68k-*-rtems*): Likewise.
1833 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1834 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1836 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1837 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1838 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1839 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1840 sh/t-netbsd to tmake_file.
1841 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1842 (sh-*-rtems*): Add sh/t-sh to tmake_file.
1843 (sh-wrs-vxworks): Likewise.
1844 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1846 (v850*-*-*): Add v850/t-v850 to tmake_file.
1847 (vax-*-linux*): Add vax/t-linux to tmake_file.
1848 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1850 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1852 * crtstuff.c: New file.
1853 * Makefile.in (CRTSTUFF_CFLAGS): Define.
1854 (CRTSTUFF_T_CFLAGS): Define.
1855 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1856 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1857 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
1860 (crtbeginT.o): Use $(objext).
1861 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
1862 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
1863 (gcc-extra-parts): Remove.
1864 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
1866 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1867 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
1868 Add t-crtstuff-pic to tmake_file.
1869 (*-*-lynxos*): New case.
1870 Set tmake_file, extra_parts.
1871 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
1872 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
1873 *-*-netbsdelf[2-9]*.
1874 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
1875 (*-*-rtems*): Set extra_parts.
1876 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
1877 (*-*-uclinux*): New case.
1879 (*-*-vms*): New case.
1880 Set tmake_file, extra_parts.
1881 (*-*-elf): Set extra_parts.
1882 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
1883 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
1886 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
1888 (arm*-*-freebsd*): Add t-crtin to tmake_file.
1889 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
1890 (arm-wrs-vxworks): Append to tmake_file.
1892 (arm*-*-uclinux*): Set extra_parts.
1893 (arm*-*-ecos-elf): Likewise.
1894 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
1896 (arm*-*-rtems*): Set extra_parts.
1897 (arm*-*-elf): Likewise.
1898 (avr-*-rtems*): Clear extra_parts.
1899 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
1901 (bfin*-uclinux*): Likewise.
1902 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
1903 (bfin*-rtems*): Append to tmake_file.
1905 (bfin*-*): Likewise.
1906 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
1907 (crisv32-*-elf): ... this.
1908 (crisv32-*-none): ... this.
1909 (cris-*-elf, cris-*-none): New cases.
1910 Add cris/t-elfmulti to tmake_file.
1911 (fr30-*-elf): Append to tmake_file.
1913 (frv-*-elf): Append to tmake_file, add frv/t-frv.
1915 (h8300-*-rtems*): Append to tmake_file.
1917 (h8300-*-elf*): Likewise.
1918 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
1920 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
1922 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
1923 (x86_64-*-elf*): Likewise.
1924 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
1925 (x86_64-*-freebsd*): Likewise.
1926 (x86_64-*-netbsd*): Likewise.
1927 (i[34567]86-*-linux*): Likewise.
1928 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1929 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1930 (x86_64-*-linux*): Likewise.
1931 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1932 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
1935 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
1936 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
1937 Append to extra_parts, remove crtbegin.o, crtend.o.
1938 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
1939 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
1940 crtend.o, crtbeginS.o, crtendS.o.
1941 (ia64*-*-linux*): Comment extra_parts.
1942 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
1944 (iq2000*-*-elf*): Clear extra_parts.
1945 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
1946 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
1947 (m32r-*-elf*, m32r-*-rtems*): Split off ...
1948 (m32r-*-rtems*): ... this.
1949 Add m32r/t-m32r to tmake_file.
1950 (m68k-*-elf*): Add t-crtin to tmake_file.
1951 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
1952 (mcore-*-elf): Likewise.
1953 (microblaze*-*-*): Set extra_parts.
1954 (mips*-sde-elf*): New case.
1955 Set tmake_file, extra_parts.
1956 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1957 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1958 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
1961 (mipsisa64sr71k-*-elf*): Likewise.
1962 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1963 (mips-*-elf*, mipsel-*-elf*): Likewise.
1964 (mips64-*-elf*, mips64el-*-elf*): Likewise.
1965 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
1966 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1967 (mips*-*-rtems*): Likewise.
1968 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
1969 (moxie-*-*): Split into ...
1970 (moxie-*-elf, moxie-*-uclinux*): ... this.
1971 Add to extra_parts, remove crtbegin.o, crtend.o.
1972 (moxie-*-rtems*): New case.
1975 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
1977 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1978 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
1981 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
1982 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
1984 (powerpc-*-eabisim*): Likewise.
1985 (powerpc-*-elf*): Likewise.
1986 (powerpc-*-eabialtivec*): Likewise.
1987 (powerpc-xilinx-eabi*): Likewise.
1988 (powerpc-*-eabi*): Likewise.
1989 (powerpc-*-rtems*): Likewise.
1990 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
1993 (powerpc-*-lynxos*): Add to tmake_file.
1994 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
1995 rs6000/t-crtstuff, t-crtstuff-pic.
1997 (powerpcle-*-eabisim*): Likewise.
1998 (powerpcle-*-eabi*): Likewise.
1999 (rx-*-elf): Remove extra_parts.
2000 (s390x-ibm-tpf*): Set extra_parts.
2001 (score-*-elf): Set extra_parts.
2002 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2003 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2004 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2005 (sh64l*-*-netbsd*): Split into ...
2006 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2007 Add t-crtstuff-pic to tmake_file.
2009 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2011 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2012 (sparc-*-elf*): Remove t-crtin from tmake_file.
2013 Add to extra_parts, remove crtbegin.o, crtend.o.
2014 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2015 (sparc64-*-linux*): Likewise.
2016 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2017 Add to extra_parts, remove crtbegin.o, crtend.o.
2018 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2019 Add to extra_parts, remove crtbegin.o, crtend.o.
2020 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2021 Add to extra_parts, remove crtbegin.o, crtend.o.
2022 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2023 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2024 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2026 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2028 (tic6x-*-*): Change to ...
2029 (tic6x-*-elf): ... this.
2031 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2033 (am33_2.0-*-linux*): Add comment.
2034 (mep*-*-*): Add mep/t-mep to tmake_file.
2036 * config/alpha/t-vms: New file.
2037 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2038 * config/arm/crti.S, config/arm/crtn.S: New files.
2039 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2040 * config/bfin/crtlibid.S: New file.
2041 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2042 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2043 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2044 (crti.o, crtin.o): New rules.
2045 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2046 * config/c6x/t-uclinux: New file.
2047 * config/cris/t-elfmulti: New file.
2048 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2049 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2050 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2051 * config/frv/t-frv: New file.
2052 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2053 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2054 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2056 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2057 refer to cygming-crtbegin.c, cygming-crtend.c.
2059 * config/i386/t-nto: New file.
2060 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2061 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2062 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2063 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2066 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2067 (crtinitS.o): New rule.
2068 * config/ia64/vms-crtinit.S: New file.
2069 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2070 * config/m32r/initfini.c: New file.
2071 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2072 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2073 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2074 * config/mep/t-mep: New file.
2075 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2076 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2077 * config/mips/crti.S, config/mips/crtn.S: New files.
2078 * config/mips/t-crtstuff: New file.
2079 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2080 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2081 (CUSTOM_CRTIN): Set.
2082 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2084 Use $(srcdir) to refer to crti.S, crtn.S.
2085 Use .S extension, $<.
2086 * config/moxie/crti.asm: Rename to ...
2087 * config/moxie/crti.S: ... this.
2088 * config/moxie/crtn.asm: Rename to ...
2089 * config/moxie/crtn.S: ... this.
2090 * config/moxie/t-moxie: Remove.
2091 * config/pa/stublib.c: New file.
2092 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2093 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2094 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2095 * config/rs6000/t-crtstuff: New file.
2096 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2097 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2098 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2099 Make output file explicit.
2100 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2101 Make output file explicit.
2102 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2103 Make output file explicit.
2104 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2105 Make output file explicit.
2106 * config/score/crti.S, config/score/crtn.S: New files.
2107 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2108 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2110 * config/sh/t-sh, config/sh/t-superh: New files.
2111 * config/sparc/t-linux64: New file.
2112 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2113 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2114 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2115 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2116 * config/t-crtin: Remove.
2117 * config/t-crtstuff-pic: New file.
2118 * config/t-sol2 (CUSTOM_CRTIN): Set.
2119 (crti.o, crtn.o): New rules.
2120 * config/vms/t-vms: New file.
2121 * config/vms/vms-ucrt0.c: New file.
2122 * config/xtensa/t-elf: New file.
2124 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2126 * Makefile.in (SHLIB_NM_FLAGS): Set.
2127 * mkmap-flat.awk, mkmap-symver.awk: New files.
2128 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2130 * configure: Regenerate.
2131 * config/libgcc-glibc.ver: New file.
2132 * config/libgcc-libsystem.ver: New file.
2133 * config/t-libunwind (SHLIB_LC): Set.
2134 * config/t-linux: New file.
2135 * config/t-slibgcc (INSTALL_SHLIB): New.
2136 (SHLIB_INSTALL): Use it.
2137 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2138 to mkmap-symver.awk.
2139 (SHLIB_MAPFILES): Don't append, adapt pathname.
2140 (SHLIB_VERPFX): Set.
2141 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2142 to mkmap-symver.awk.
2143 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2144 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2145 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2146 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2148 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2149 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2150 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2151 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2152 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2153 * config/i386/libgcc-darwin.10.4.ver,
2154 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2156 * config/i386/t-darwin: Remove.
2157 * config/i386/t-darwin64: Likewise.
2158 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2159 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2160 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2161 * config/i386/t-linux: New file.
2162 * config/i386/t-mingw32: New file.
2163 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2164 * config/ia64/t-glibc: Rename to ...
2165 * config/ia64/t-linux: ... this.
2166 (SHLIB_MAPFILES): Set.
2167 * config/ia64/t-glibc-libunwind: Rename to ...
2168 * config/ia64/t-linux-libunwind: ... this.
2169 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2170 * config/ia64/t-slibgcc-hpux: New file.
2171 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2172 * config/m68k/t-slibgcc-elf-ver: New file.
2173 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2174 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2176 * config/pa/t-slibgcc-hpux: New file.
2177 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2179 * config/rs6000/libgcc-darwin.10.4.ver,
2180 config/rs6000/libgcc-darwin.10.5.ver: New files.
2181 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2182 config/rs6000/libgcc-glibc.ver.
2183 * config/rs6000/libgcc-ppc64.ver: Rename to
2184 config/rs6000/libgcc-ibm-ldouble.ver.
2185 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2186 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2187 * config/rs6000/t-ldbl128: Rename to ...
2188 * config/rs6000/t-linux: ... this.
2189 (SHLIB_MAPFILES): Adapt filename.
2190 * config/rs6000/t-slibgcc-aix: New file.
2191 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2192 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2193 libgcc-excl.ver, libgcc-glibc.ver.
2194 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2195 * config/sparc/libgcc-glibc.ver: New file.
2196 * config/sparc/t-linux: New file.
2197 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2198 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2199 t-slibgcc-elf-ver to tmake_file.
2200 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2202 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2203 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2204 t-slibgcc-elf-ver, t-linux to tmake_file.
2205 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2207 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2208 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2209 (alpha*-dec-*vms*): Likewise.
2210 (arm*-*-freebsd*): Append to tmake_file.
2211 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2212 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2214 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2215 tmake_file for arm*-*-symbianelf*.
2216 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2217 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2219 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2220 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2221 pa/t-slibgcc-dwarf-ver to tmake_file.
2222 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2223 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2224 (hppa*64*-*-hpux11*): Likewise.
2225 (hppa[12]*-*-hpux11*): Likewise.
2226 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2227 i386/t-crtpc, i386/t-crtfm.
2228 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2229 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2231 Add i386/t-cygwin to tmake_file.
2232 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2233 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2234 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2236 Add i386/t-mingw32 to tmake_file.
2237 (x86_64-*-mingw*): Likewise.
2238 (ia64*-*-freebsd*): Append to tmake_file.
2239 (ia64*-*-linux*): Append to tmake_file.
2240 Replace ia64/t-glibc by ia64/t-linux.
2241 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2243 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2244 t-slibgcc-hpux to tmake_file.
2245 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2246 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2247 (m32rle-*-linux*): Likewise.
2248 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2250 (microblaze*-linux*): New case.
2251 Append to tmake_file, add t-slibgcc-nolc-override.
2252 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2253 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2254 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2255 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2256 rs6000/t-slibgcc-aix to tmake_file.
2257 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2258 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2259 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2260 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2261 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2262 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2264 (sparc-*-linux*): Append to tmake_file for *-leon*.
2265 Add sparc/t-linux to tmake_file for non-Leon targets.
2266 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2267 (tic6x-*-uclinux): New case.
2268 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2269 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2270 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2271 (am33_2.0-*-linux*): Append to tmake_file.
2272 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2273 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2274 x86_64-*-kfreebsd*-gnu.
2275 Add i386/t-linux to tmake_file.
2277 2011-10-28 Ian Lance Taylor <iant@google.com>
2279 * config/i386/morestack.S: Correct CFI information to do proper
2280 returns throughout function. In 32-bit mode, save %ebx so that it
2281 is restored on unwind.
2283 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
2285 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2286 case where B3 isn't the return register.
2288 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2289 logic for doubleword pops.
2291 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
2293 * config/rs6000/t-freebsd: Add wildcard.
2295 2011-10-21 Paul Brook <paul@codesourcery.com>
2297 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2299 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
2300 Eric Botcazou <ebotcazou@adacore.com>
2303 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2304 fs->signal_frame to 1.
2306 2011-10-07 Ian Lance Taylor <iant@google.com>
2308 * generic-morestack-thread.c: #include <errno.h>.
2310 2011-10-07 Ian Lance Taylor <iant@google.com>
2313 * generic-morestack.c (__generic_morestack): Make sure the segment
2314 is large enough for both the stack frame and the copied
2317 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2320 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2323 2011-09-28 Nick Clifton <nickc@redhat.com>
2325 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2326 64-bit doubles are not enabled.
2327 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2328 and floatunsisf functions.
2330 2011-09-13 Paul Brook <paul@codesourcery.com>
2332 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2333 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2334 * unwind-arm-common.inc: New file.
2335 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2336 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2337 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2338 * config/c6x/libunwind.S: New file.
2339 * config/c6x/pr-support.c: New file.
2340 * config/c6x/unwind-c6x.c: New file.
2341 * config/c6x/unwind-c6x.h: New file.
2342 * config/c6x/t-c6x-elf: New file.
2344 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
2346 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2347 (ASM_DIVZERO): Ditto.
2348 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2350 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
2352 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2354 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
2357 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2358 instead of an assembly one.
2360 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
2363 * Makefile.in (install-unwind_h): Create
2364 $(gcc_objdir)/include/unwind.h atomically.
2366 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2368 * Makefile.in (install-unwind_h): Remove destination file first.
2370 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2373 * config/mips/t-mips16: New file.
2374 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2375 (mips*-*-linux*): Likewise.
2376 (mips*-sde-elf*): Likewise.
2377 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2378 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2379 Add mips/t-mips16 to tmake_file.
2380 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2381 (mips-*-elf*): Likewise.
2382 (mips64-*-elf*): Likewise.
2383 (mips64orion-*-elf*): Likewise.
2384 (mips*-*-rtems*): Likewise.
2385 (mipstx39-*-elf*): Likewise.
2386 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2387 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2389 Use $(srcdir) to refer to sync.c.
2391 ($(libgcc-sync-funcs-o)): Likewise.
2392 ($(libgcc-sync-size-funcs-s-o)): Likewise.
2393 ($(libgcc-sync-funcs-s-o)): Likewise.
2395 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
2397 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2400 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
2403 * config/i386/value-unwind.h: New.
2405 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
2407 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2408 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2409 Add to tmake_file rather than overriding it.
2411 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2413 * config/t-softfp: Remove.
2414 * soft-fp: Moved from ../gcc/config.
2415 * soft-fp/README: Remove t-softfp reference.
2416 * soft-fp/t-softfp: Move to config/t-softfp.
2417 (softfp_machine_header): Remove.
2418 (softfp_file_list): Remove config subdir.
2419 (soft-fp-objects): New variable.
2420 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2421 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2422 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2423 * config/t-softfp-excl: New file.
2424 * config/t-softfp-sfdf: New file.
2425 * config/t-softfp-tf: New file.
2426 * config/no-sfp-machine.h: New file.
2427 * config/arm/sfp-machine.h: New file.
2428 * config/arm/t-softfp: New file.
2429 * config/c6x/sfp-machine.h: New file.
2430 * config/i386/32/t-fprules-softfp: Rename to ...
2431 * config/i386/32/t-softfp: ... this.
2432 (tifunctions, LIB2ADD): Remove.
2433 (softfp_int_modes): Override.
2434 * config/i386/64/t-softfp-compat (tf-functions): Remove config
2436 * config/i386/64/eqtf2.c: Likewise.
2437 * config/i386/64/getf2.c: Likewise.
2438 * config/i386/64/letf2.c: Likewise.
2439 * config/ia64/sft-machine.h: New file.
2440 * config/ia64/t-fprules-softfp: Rename to ...
2441 * config/ia64/t-softfp: ... this.
2442 * config/lm32/sfp-machine.h: New file.
2443 * config/moxie/t-moxie-softfp: Remove.
2444 * config/rs6000/ibm-ldouble-format: New file.
2445 * config/rs6000/ibm-ldouble.c: New file.
2446 * config/rs6000/libgcc-ppc-glibc.ver: New file
2447 * config/rs6000/libgcc-ppc64.ver: New file
2448 * config/rs6000/sfp-machine.h: New file.
2449 * config/rs6000/t-freebsd: New file.
2450 * config/rs6000/t-ibm-ldouble: New file.
2451 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2452 libgcc-ppc-glibc.ver.
2453 * config/rs6000/t-linux64: New file.
2454 * config/rs6000/t-ppccomm (LIB2ADD): Add
2455 $(srcdir)/config/rs6000/ibm-ldouble.c.
2456 * config/rs6000/t-ppccomm-ldbl: New file.
2457 * config/score/sfp-machine.h: New file.
2458 * config.host (sfp_machine_header): Explain.
2459 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2460 t-softfp to tmake_file.
2461 (arm*-*-uclinux*): Likewise.
2462 (arm*-*-ecos-elf): Likewise.
2463 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2464 (arm*-*-rtems*): Likewise.
2465 (arm*-*-elf): Likewise.
2466 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2468 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2469 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2470 (lm32-*-uclinux*): Likewise.
2471 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2472 t-softfp-excl, t-softfp.
2473 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2474 (powerpc64-*-darwin*): Likewise.
2475 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2477 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2479 (powerpc-*-eabisim*): Likewise.
2480 (powerpc-*-elf*): Likewise.
2481 (powerpc-*-eabialtivec*): Likewise.
2482 (powerpc-xilinx-eabi*): Likewise.
2483 (powerpc-*-rtems*): Likewise.
2484 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2485 t-softfp-excl, t-softfp to tmake_file.
2486 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2487 rs6000/t-ppccomm-ldbl to tmake_file.
2488 (powerpcle-*-elf*): Likewise.
2489 (powerpcle-*-eabisim*): Likewise.
2490 (powerpcle-*-eabi*): Likewise.
2491 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2492 rs6000/t-ibm-ldouble to tmake_file.
2493 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2494 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2495 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2496 (tic6x-*-*): Likewise.
2497 (i[34567]86-*-darwin*, x86_64-*-darwin*,
2498 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2499 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2500 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2501 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2502 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2503 t-softfp to tmake_file.
2504 * configure.ac (sfp_machine_header): Provide default if unset.
2506 Link sfp-machine.h to config/$sfp_machine_header.
2507 * configure: Regenerate.
2509 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2511 * Makefile.in (double_type_size, long_double_type_size): Set.
2512 Remove $(fpbit-in-libgcc) support.
2513 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2514 (fpbit-src): New variable.
2515 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2516 Compile with -DFLOAT $(FPBIT_CFLAGS).
2518 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2519 Compile with $(FPBIT_CFLAGS).
2521 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2522 Compile with -DFLOAT $(TPBIT_CFLAGS).
2524 * configure.ac (double_type_size, long_double_type_size):
2525 Determine and substitute.
2526 * configure: Regenerate.
2527 * fp-bit.c, fp-bit.h: New files.
2528 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2529 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2530 * config/mips/t-mips: New file.
2531 * config/mips/t-sdemtk: New file.
2532 * config/rs6000/ppc64-fp.c: New file.
2533 * config/rs6000/t-darwin (LIB2ADD): Add
2534 $(srcdir)/config/rs6000/ppc64-fp.c.
2535 * config/rs6000/t-ppc64-fp: New file.
2536 * config/rx/rx-lib.h: New file.
2537 * config/rx/t-rx (FPBIT): Set to true.
2538 ($(gcc_objdir)/fp-bit.c): Remove.
2539 (DPBIT): Set to true only with -m64bit-doubles.
2540 ($(gcc_objdir)/dp-bit.c): Remove.
2541 * config/sparc/t-softfp: Remove.
2542 * config/spu/t-elf: New file.
2543 * config/t-fdpbit, config/t-fpbit: New files.
2544 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2545 (mips*-*-*): Likewise.
2546 (arm-wrs-vxworks): Likewise.
2547 (arm*-*-freebsd*): Likewise.
2548 (avr-*-rtems*): Add t-fpbit to tmake_file.
2549 (avr-*-*): Likewise.
2550 (bfin*-elf*): Add t-fdpbit to tmake_file.
2551 (bfin*-uclinux*): Likewise.
2552 (bfin*-linux-uclibc*): Likewise.
2553 (bfin*-rtems*): New case.
2554 Add t-fdpbit to tmake_file.
2555 (bfin*-*): Add t-fdpbit to tmake_file.
2556 (crisv32-*-elf): Likewise.
2557 (cris-*-linux*): Likewise.
2558 (fr30-*-elf): Likewise.
2559 (frv-*-elf, frv-*-*linux*): Likewise.
2560 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2561 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2562 (m32r-*-elf*): Likewise.
2563 (m32rle-*-elf*): Likewise.
2564 (m32r-*-linux*): Likewise.
2565 (m32rle-*-linux*): Likewise.
2566 (mcore-*-elf): Add t-fdpbit to tmake_file.
2567 (microblaze*-*-*): Likewise.
2568 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2569 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2570 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2572 Add mips/t-tpbit to tmake-file.
2573 (mips*-*-linux*): Fix typo.
2574 (mips*-sde-elf*): New case
2575 Add mips/t-sdemtk unless using newlib.
2576 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2577 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2578 (mn10300-*-*): Likewise.
2579 (pdp11-*-*): Likewise.
2580 (picochip-*-*): Add t-fpbit to tmake_file.
2581 (powerpc-*-eabisimaltivec*): Likewise.
2582 (powerpc-*-eabisim*): Likewise.
2583 (powerpc-*-elf*): Likewise.
2584 (powerpc-*-eabialtivec*): Likewise.
2585 (powerpc-xilinx-eabi*): New case.
2586 Add t-fdpbit to tmake_file.
2587 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
2588 (powerpc-*-rtems*): Likewise.
2589 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2591 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2593 (powerpc-*-lynxos*): Likewise.
2594 (powerpcle-*-elf*): Likewise.
2595 (powerpcle-*-eabisim*): Likewise.
2596 (powerpcle-*-eabi*): Likewise.
2597 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2598 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2599 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2600 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2601 (rx-*-elf): Add t-fdpbit to tmake_file.
2602 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2603 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2604 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2605 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2607 (sh-*-rtems*): Add t-fdpbit to tmake_file.
2608 (sh-wrs-vxworks): Likewise.
2609 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2610 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2611 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2612 (sparc64-*-rtems*): ... new case.
2613 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2614 (spu-*-elf*): Likewise.
2615 Add spu/t-elf to tmake_file.
2616 (v850*-*-*): Add t-fdpbit to tmake_file.
2617 (xstormy16-*-elf): Likewise.
2618 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2619 (mep*-*-*): Likewise.
2621 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2623 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2625 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2626 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2627 (install-unwind_h): New target.
2628 (all): Depend on it.
2629 * config.host (unwind_header): New variable.
2630 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2631 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2632 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2633 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2634 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2636 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2638 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2640 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2642 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2643 (ia64*-*-freebsd*): Likewise.
2644 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2646 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2647 $with_system_libunwind.
2648 (ia64*-*-hpux*): Set tmake_file.
2649 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2650 (picochip-*-*): Set tmake_file.
2651 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2653 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2654 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2655 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2656 (xtensa*-*-elf*): Set tmake_file.
2657 (xtensa*-*-linux*): Likewise.
2658 * configure.ac: Include ../config/unwind_ipinfo.m4.
2659 Call GCC_CHECK_UNWIND_GETIPINFO.
2660 Link unwind.h to $unwind_header.
2661 * configure: Regenerate.
2662 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2663 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2664 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2665 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2666 * config/unwind-dw2-fde-darwin.c: New file.
2667 * config/arm/libunwind.S, config/arm/pr-support.c,
2668 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2669 config/arm/unwind-arm.h,: New files.
2670 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2671 config/ia64/t-eh-ia64, config/ia64/t-glibc,
2672 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2673 config/ia64/t-vms, config/ia64/unwind-ia64.c,
2674 config/ia64/unwind-ia64.h: New files.
2675 * config/picochip/t-picochip: New file.
2676 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2678 * config/rs6000/t-darwin (LIB2ADDEH): Set.
2679 * config/s390/t-tpf (LIB2ADDEH): Remove.
2680 * config/t-darwin (LIB2ADDEH): Set.
2681 * config/t-eh-dw2-dip: New file.
2682 * config/t-libunwind, config/t-libunwind-elf: New files.
2683 * config/t-sol2 (LIB2ADDEH): Remove.
2684 * config/xtensa/t-xtensa: New file.
2686 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
2688 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2689 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2690 long long to check rt_sigreturn syscall.
2692 2011-08-02 Alan Modra <amodra@gmail.com>
2694 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2695 Restore for indirect call bcrtl from correct stack slot, and only
2696 if cfa+40 isn't valid.
2698 2011-08-01 Julian Brown <julian@codesourcery.com>
2700 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2701 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2702 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2704 2011-08-01 Julian Brown <julian@codesourcery.com>
2706 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2707 (libgcc-std.ver.in): Use above.
2708 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2709 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
2711 * config/t-fixedpoint-gnu-prefix: New file.
2712 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2713 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2716 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
2718 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2719 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2720 for x86-64. Properly check __x86_64__ and __LP64__.
2722 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
2724 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2726 (_FP_WS_TYPE): Likewise.
2727 (_FP_I_TYPE): Likewise.
2729 2011-07-28 Alan Modra <amodra@gmail.com>
2731 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2732 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2733 in a plt call stub. Do restore r2 if stopped on bctrl.
2735 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2737 * config.host (i[3456x]86-*-netware*): Remove.
2738 * config/i386/netware-crt0.c, config/i386/t-nwld,
2739 config/i386/t-slibgcc-nwld: Remove.
2741 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
2743 * config.host: Handle tic6x-*-*.
2744 * config/c6x/c6x-abi.h: New file.
2746 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2748 * config/i386/crtprec.c: New file.
2749 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2750 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2751 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2752 (x86_64-*-darwin*): Likewise.
2753 (i[34567]86-*-solaris2*: Likewise.
2755 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2757 * config/alpha/crtfastmath.c: New file.
2758 * config/i386/crtfastmath.c: New file.
2759 * config/ia64/crtfastmath.c: New file.
2760 * config/mips/crtfastmath.c: New file.
2761 * config/sparc/crtfastmath.c: New file.
2763 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2765 Add -frandom-seed=gcc-crtfastmath.
2766 * config/alpha/t-crtfm: Remove.
2767 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2768 * config/ia64/t-ia64 (crtfastmath.o): Remove.
2770 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2771 (alpha*-dec-osf5.1*): Likewise.
2772 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2773 Add crtfastmath.o to extra_parts.
2774 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2775 Add crtfastmath.o to extra_parts.
2776 (x86_64-*-darwin*): Likewise.
2777 (x86_64-*-mingw*): Likewise.
2778 (ia64*-*-elf*): Add t-crtfm to tmake_file.
2779 (ia64*-*-freebsd*): Likewise.
2780 (ia64*-*-linux*): Likewise.
2781 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2782 Add crtfastmath.o to extra_parts.
2784 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2786 * config/darwin-crt3.o: New file.
2787 * config/rs6000/darwin-crt2.c: New file.
2788 * config/t-darwin: New file.
2789 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2791 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2792 (powerpc-*-darwin*): Add crt2.o to extra_parts.
2793 (powerpc64-*-darwin*): Likewise.
2795 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2797 * config/i386/netware-crt0.c: New file.
2798 * config/i386/t-nwld: Rename to ...
2799 * config/i386/t-slibgcc-nwld: ... this.
2800 * config/i386/t-nwld: New file.
2801 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2803 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2806 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2808 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2810 * configure: Regenerate.
2812 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2814 * dfp-bit.c, dfp-bit.h: New files.
2815 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2817 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2818 ($(d64pbit-o)): Likewise.
2819 ($(d128pbit-o)): Likewise.
2820 * config/t-dfprules: New file.
2821 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2822 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2823 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2824 (x86_64-*-linux*): Likewise.
2825 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2826 (i[34567]86-*-cygwin*): Likewise.
2827 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
2828 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2830 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2832 * Makfile.in (LIBGCOV): New variable.
2833 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2834 * libgcov.c: New file.
2836 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2838 * fixed-bit.c, fixed-bit.h: New files.
2839 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2840 refer to fixed-bit.c.
2842 2011-07-07 Joseph Myers <joseph@codesourcery.com>
2844 * config.host (*local*): Remove.
2846 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2849 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2850 like i?86-*-solaris2.1[0-9]*.
2851 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2852 * configure.ac (i?86-*-solaris2*): Likewise.
2853 * configure: Regenerate.
2855 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
2857 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2858 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2859 md_unwind_header by splitting out of...
2860 (i[34567]86-*-linux*): ... this.
2861 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
2862 Remove md_unwind_header by splitting out of...
2863 (x86_64-*-linux*): ... this.
2865 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
2867 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
2869 2011-06-28 Nick Clifton <nickc@redhat.com>
2871 * config.host: Recognize all V850 variants.
2873 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
2875 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
2877 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2879 * shared-object.mk (c_flags-$o): Save c_flags.
2880 ($(base)$(objext)): Use it.
2881 ($(base)_s$(objext)): Likewise.
2883 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
2885 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
2886 * libgcc-std.ver.in (GCC_4.7.0): New section.
2888 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
2892 * config/avr/t-avr: Fix line endings.
2893 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
2896 2011-06-14 Olivier Hainque <hainque@adacore.com>
2897 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2899 * config/mips/irix6-unwind.h: New file.
2900 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
2902 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
2904 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
2905 (sparc64_fallback_frame_state): Use it.
2906 (sparc64_frob_update_context): Further adjust context.
2907 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
2908 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
2909 * config/sparc/sol2-cn.S: Likewise.
2911 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2913 * enable-execute-stack-empty.c: New file.
2914 * enable-execute-stack-mprotect.c: New file.
2915 * config/i386/enable-execute-stack-mingw32.c: New file.
2916 * config.host (enable_execute_stack): New variable.
2917 Select appropriate variants.
2918 * configure.ac: Link enable-execute-stack.c to
2919 $enable_execute_stack.
2920 * configure: Regenerate.
2921 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
2922 (lib2funcs): Remove _enable_execute_stack.
2924 2011-06-09 David S. Miller <davem@davemloft.net>
2925 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2927 * config.host (sparc-*-linux*): Correct md_unwind_header
2929 (s390x-ibm-tpf*): Fix typo.
2931 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2933 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
2934 Add crtfastmath.o to extra_parts.
2935 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
2937 * config/mips/t-crtfm: Remove.
2939 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2941 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
2943 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
2945 * config.host (sh*-*-linux*): Fix typo.
2947 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2949 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
2950 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
2951 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
2952 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
2953 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
2954 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
2955 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
2956 Wrap in !__MINGW64__.
2957 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
2958 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
2959 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
2960 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
2961 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
2962 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
2963 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
2965 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
2966 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
2967 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
2968 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
2969 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
2970 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
2971 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
2972 * config/no-unwind.h: New file.
2973 * config.host (md_unwind_header): Document.
2975 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
2976 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
2977 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
2978 hppa[12]*-*-hpux11*): Set md_unwind_header.
2979 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
2980 Set md_unwind_header.
2981 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
2982 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
2983 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
2984 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
2985 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
2986 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
2987 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
2989 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
2990 * configure: Regenerate.
2992 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2994 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
2995 Set tmake_file, extra_parts.
2996 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
2998 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3000 * config/mips/t-irix6: New file.
3001 * config/mips/t-slibgcc-irix: New file.
3003 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3005 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3006 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3008 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3010 * configure.ac (target_thread_file): Determine thread model.
3011 * configure: Regenerate.
3012 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3013 * config/alpha/t-alpha: New file.
3014 * config/alpha/t-crtfm: Use $<.
3015 * config/alpha/t-ieee: New file.
3016 * config/alpha/t-osf-pthread: New file.
3017 * config/alpha/t-slibgcc-osf: New file.
3018 * config/alpha/libgcc-osf5.ver: New file.
3020 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3022 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3024 Add crtfastmath.o to extra_parts.
3026 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3028 * config/gmon-sol2.c: Reindent.
3030 Remove, correct casts.
3031 Use STDERR_FILENO, NULL.
3032 (BASEADDRESS): Remove.
3034 (errno, sbrk): Remove declarations.
3035 (monstartup) [hp300]: Remove.
3038 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3040 * Makefile.in (cpu_type): Define.
3041 * config.host (i[34567]86-*-rtems*): Handle it.
3042 (i[34567]86-*-solaris2*): Move body ...
3043 (*-*-solaris2*): ... here.
3044 New case, generalize.
3045 (sparc-*-elf*): Handle it.
3046 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3047 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3048 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3050 (sparc*-*-solaris2*): ... this.
3052 (sparc64-*-elf*): Handle it.
3053 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3054 Merge ../gcc/config/i386/gmon-sol2.c.
3055 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3057 Merge ../gcc/config/i386/sol2-gc1.asm.
3058 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3060 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3062 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3063 * config/i386/t-crtstuff: New file.
3064 * config/i386/t-softfp: New file.
3065 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3066 $(T)crti.o, $(T)crtn.o): Remove.
3067 (gcrt1.o): New rule.
3068 (TARGET_LIBGCC2_CFLAGS): Remove.
3069 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3070 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3071 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3072 * config/sparc/t-sol2: New file.
3073 * config/sparc/t-crtfm: Move to ...
3074 * config/t-crtfm: ... this.
3075 Use $(cpu_type), $<.
3076 * config/t-crtin: New file.
3077 * config/sparc/t-softfp: New file.
3078 * config/sparc/t-softmul: New file.
3079 * config/t-rtems: New file.
3080 * config/t-slibgcc: New file.
3081 * config/t-slibgcc-elf-ver: New file.
3082 * config/t-slibgcc-gld: New file.
3083 * config/t-slibgcc-sld: New file.
3084 * config/t-sol2: New file.
3085 * configure.ac: Include ../config/lib-ld.m4.
3086 Call AC_LIB_PROG_LD_GNU.
3087 Substitute cpu_type.
3088 * configure: Regenerate.
3090 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
3093 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3094 libgcc-std.ver in the build directory.
3095 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3096 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3098 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
3100 * libgcc-std.ver.in: New file.
3101 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3103 (libgcc-std.ver): New rule.
3104 * config/t-gnu-prefix: New file.
3106 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3108 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3110 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3112 * config/i386/darwin-lib.h: New file.
3114 2011-05-10 Joseph Myers <joseph@codesourcery.com>
3116 * config/arm/symbian-lib.h: New.
3118 2011-05-04 Chris Demetriou <cgd@google.com>
3120 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3121 (__x86.get_pc_thunk.bx): ...this.
3122 (__morestack): Adjust for rename, remove undef of __i686.
3124 2011-05-03 Chris Demetriou <cgd@google.com>
3126 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3128 2011-03-22 Joseph Myers <joseph@codesourcery.com>
3130 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3131 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3132 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3133 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3134 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3137 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
3139 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3140 Adjust copyright year.
3142 2011-03-07 Ian Lance Taylor <iant@google.com>
3144 * generic-morestack.c (__splitstack_find): Adjust returned stack
3145 pointer to include all registers pushed by __morestack.
3147 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
3150 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3151 (toolexecdir): Calculate and AC_SUBST.
3152 (toolexeclibdir): Likewise.
3153 * Makefile.in (target_noncanonical): Import.
3154 (toolexecdir): Likewise.
3155 (toolexeclibdir): Likewise.
3156 * configure: Regenerate.
3158 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
3161 * config/arm/bpabi.h: Rename to...
3162 * config/arm/bpabi-lib.h: ...this.
3164 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3166 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3168 * configure: Regenerate.
3170 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
3172 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3173 __FLOAT_WORD_ORDER__.
3174 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3177 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3180 * Makefile.in (install-strip): New phony target.
3182 2010-11-07 Ian Lance Taylor <iant@google.com>
3185 * config/i386/morestack.S (__morestack_large_model): New
3188 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
3190 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3192 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3194 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
3196 * config/arm/bpabi.h: New file.
3197 * config/frv/frv-abi.h: New file.
3199 2010-10-01 Ian Lance Taylor <iant@google.com>
3201 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3202 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3204 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
3207 * config.host: Add the missing `$'.
3209 2010-09-30 Michael Eager <eager@eagercon.com>
3211 * config.host: Add microblaze*-*-*.
3212 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3213 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3214 udivsi3.asm,umodsi3.asm}: New.
3216 2010-09-28 Ian Lance Taylor <iant@google.com>
3218 * configure.ac: Adjust CFI test to test assembler directly rather
3219 than checking gcc preprocessor macro.
3220 * configure: Rebuild.
3222 2010-09-27 Ian Lance Taylor <iant@google.com>
3224 * configure.ac: Test whether assembler supports CFI directives.
3225 * config.host: Only add t-stack and i386/t-stack-i386 to
3226 tmake_file if libgcc_cv_cfi is "yes".
3227 * configure: Rebuild.
3229 2010-09-27 Ian Lance Taylor <iant@google.com>
3231 * generic-morestack.h: New file.
3232 * generic-morestack.c: New file.
3233 * generic-morestack-thread.c: New file.
3234 * config/i386/morestack.S: New file.
3235 * config/t-stack: New file.
3236 * config/i386/t-stack-i386: New file.
3237 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3238 i386/t-stack-i386 to tmake_file.
3240 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
3242 * Makefile.in (libgcc-extra-parts): Check for static archives and
3243 invoke ranlib after installing them.
3244 (gcc-extra-parts): Likewise.
3245 (install-leaf): Likewise.
3247 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
3249 * configure: Regenerated.
3251 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
3253 * configure: Regenerated.
3255 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
3256 Andrew Pinski <pinskia@gmail.com>
3259 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3261 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
3264 * configure: Regenerated.
3266 2010-09-06 Andreas Schwab <schwab@redhat.com>
3268 * configure: Regenerate.
3270 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3272 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3274 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3277 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
3278 Iain Sandoe <iains@gcc.gnu.org>
3281 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3282 LIB2FUNCS_EXCLUDE functions.
3284 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3286 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3288 * configure: Regenerate.
3290 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
3292 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3293 i386/t-freebsd to tmake_file.
3294 * config/i386/t-freebsd: New file.
3295 * config/i386/libgcc-bsd.ver: New file.
3297 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
3299 * config.host (powerpc*-eabispe*): Set tmake_file.
3300 (powerpc*-eabi*): Likewise.
3301 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3302 crtbeginS, crtendS, crtbeginT.
3304 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
3306 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3307 to tmake_file. Add crtfastmath.o to extra_parts.
3308 * config/mips/t-crtfm: New.
3310 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
3312 * config.host (sparc64-*-rtems*): New target.
3314 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3316 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3319 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
3321 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3323 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3325 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3326 alpha-dec-osf5.0* support.
3328 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
3330 * config.host: Add lm32-*-rtems*.
3332 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3333 Uros Bizjak <ubizjak@gmail.com>
3336 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3337 like other remaining 32-bit x86 OSes.
3338 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3340 * config/i386/libgcc-sol2.ver: New file.
3341 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3343 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
3346 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3347 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3348 is used and substitute set_use_emutls.
3349 * configure: Regenerated.
3351 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
3353 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3355 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3358 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3360 ($(T)gcrt1.o): Likewise.
3361 ($(T)crt1.o): Likewise.
3362 ($(T)crti.o): Likewise.
3363 ($(T)crtn.o): Likewise.
3365 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3368 * Makefile.in (install): Use $(MAKE) string in rule, for
3371 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
3373 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3374 * config/mmix/t-mmix: New file.
3375 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3377 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
3380 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3383 2010-01-04 Anthony Green <green@moxielogic.com>
3385 * config/moxie/crti.asm, config/moxie/crtn.asm,
3386 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3387 config/moxie/t-moxie: New files.
3388 * config.host: Add t-moxie-softfp reference.
3390 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3393 * config/t-slibgcc-darwin: Fix embedded rpaths for
3394 --enable-version-specific-runtime-libs, build extension stub
3395 libs exposing features available from current libgcc_s.
3397 2009-11-11 Jon Beniston <jon@beniston.com>
3399 * config.host: Add lm32 targets.
3400 * config/lm32: New directory.
3401 * config/lm32/libgcc_lm32.h: New file.
3402 * config/lm32/_mulsi3.c: New file.
3403 * config/lm32/_udivmodsi4.c: New file.
3404 * config/lm32/_divsi3.c: New file.
3405 * config/lm32/_modsi3.c: New file.
3406 * config/lm32/_udivsi3.c: New file.
3407 * config/lm32/_umodsi3.c: New file.
3408 * config/lm32/_lshrsi3.S: New file.
3409 * config/lm32/_ashrsi3.S: New file.
3410 * config/lm32/_ashlsi3.S: New file.
3411 * config/lm32/crti.S: New file.
3412 * config/lm32/crtn.S: New file.
3413 * config/lm32/t-lm32: New file.
3414 * config/lm32/t-elf: New file.
3415 * config/lm32/t-uclinux: New file.
3417 2009-10-26 Nick Clifton <nickc@redhat.com>
3419 * config.host: Add support for RX target.
3420 * config/rx: New directory.
3421 * config/rx/rx-abi-functions.c: New file. Supplementary
3422 functions for libgcc to support the RX ABI.
3423 * config/rx/rx-abi.h: New file. Supplementary header file for
3424 libgcc RX ABI functions.
3425 * config/rx/t-rx: New file: Makefile fragment for building
3428 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
3430 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3431 constraint of y0 to "g".
3433 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3435 * config.host: Include the s390 makefile fragments.
3436 * config/s390/32/_fixdfdi.c: New file.
3437 * config/s390/32/_fixsfdi.c: New file.
3438 * config/s390/32/_fixtfdi.c: New file.
3439 * config/s390/32/_fixunsdfdi.c: New file.
3440 * config/s390/32/_fixunssfdi.c: New file.
3441 * config/s390/32/_fixunstfdi.c: New file.
3442 * config/s390/32/t-floattodi: New file.
3443 * config/s390/libgcc-glibc.ver: New file.
3444 * config/s390/t-crtstuff: New file.
3445 * config/s390/t-linux: New file.
3446 * config/s390/t-tpf: New file.
3448 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3450 * configure.ac (AC_PREREQ): Bump to 2.64.
3452 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
3454 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3456 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3458 * configure: Regenerate.
3460 2009-08-09 Douglas B Rupp <rupp@gnat.com>
3462 * config.host (ia64-hp-*vms*): New target.
3463 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3466 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3468 * configure.ac: Add snippet for maintainer-mode.
3469 * configure: Regenerate.
3470 * Makefile.in (AUTOCONF, configure_deps): New variables.
3471 ($(srcdir)/configure)): New rule, active only with maintainer
3474 2009-06-23 DJ Delorie <dj@redhat.com>
3477 * config.host: Add mep support.
3479 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
3481 * config.host: Add i386/${host_address}/t-fprules-softfp and
3482 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3484 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3486 * config/i386/64/_multc3.c: Likewise.
3487 * config/i386/64/_powitf2.c: Likewise.
3488 * config/i386/64/eqtf2.c: Likewise.
3489 * config/i386/64/getf2.c: Likewise.
3490 * config/i386/64/letf2.c: Likewise.
3491 * config/i386/64/letf2.c: Likewise.
3492 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3493 unsigned long long for x64 mingw targets.
3494 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3495 (_FP_I_TYPE): Define as long long for x64 mingw target.
3497 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
3499 * config.host (vax-*-linux*): New.
3501 2009-05-31 Anthony Green <green@moxielogic.com>
3503 * config.host: Add moxie support.
3504 * config/moxie/t-moxie: New file.
3506 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
3508 * config.host: Add i386/${host_address}/t-fprules-softfp and
3509 t-softfp to tmake_file for i[34567]86-*-cygwin*.
3511 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
3513 * config.host: Add i386/${host_address}/t-fprules-softfp to
3514 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3516 2009-04-09 Nick Clifton <nickc@redhat.com>
3518 * config/ia64/tf-signs.c: Change copyright header to refer to
3519 version 3 of the GNU General Public License with version 3.1
3520 of the GCC Runtime Library Exception and to point readers at
3521 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3523 * config/i386/32/tf-signs.c: Likewise.
3524 * config/libbid/_addsub_dd.c: Likewise.
3525 * config/libbid/_addsub_sd.c: Likewise.
3526 * config/libbid/_addsub_td.c: Likewise.
3527 * config/libbid/_dd_to_df.c: Likewise.
3528 * config/libbid/_dd_to_di.c: Likewise.
3529 * config/libbid/_dd_to_sd.c: Likewise.
3530 * config/libbid/_dd_to_sf.c: Likewise.
3531 * config/libbid/_dd_to_si.c: Likewise.
3532 * config/libbid/_dd_to_td.c: Likewise.
3533 * config/libbid/_dd_to_tf.c: Likewise.
3534 * config/libbid/_dd_to_udi.c: Likewise.
3535 * config/libbid/_dd_to_usi.c: Likewise.
3536 * config/libbid/_dd_to_xf.c: Likewise.
3537 * config/libbid/_df_to_dd.c: Likewise.
3538 * config/libbid/_df_to_sd.c: Likewise.
3539 * config/libbid/_df_to_td.c: Likewise.
3540 * config/libbid/_di_to_dd.c: Likewise.
3541 * config/libbid/_di_to_sd.c: Likewise.
3542 * config/libbid/_di_to_td.c: Likewise.
3543 * config/libbid/_div_dd.c: Likewise.
3544 * config/libbid/_div_sd.c: Likewise.
3545 * config/libbid/_div_td.c: Likewise.
3546 * config/libbid/_eq_dd.c: Likewise.
3547 * config/libbid/_eq_sd.c: Likewise.
3548 * config/libbid/_eq_td.c: Likewise.
3549 * config/libbid/_ge_dd.c: Likewise.
3550 * config/libbid/_ge_sd.c: Likewise.
3551 * config/libbid/_ge_td.c: Likewise.
3552 * config/libbid/_gt_dd.c: Likewise.
3553 * config/libbid/_gt_sd.c: Likewise.
3554 * config/libbid/_gt_td.c: Likewise.
3555 * config/libbid/_isinfd128.c: Likewise.
3556 * config/libbid/_isinfd32.c: Likewise.
3557 * config/libbid/_isinfd64.c: Likewise.
3558 * config/libbid/_le_dd.c: Likewise.
3559 * config/libbid/_le_sd.c: Likewise.
3560 * config/libbid/_le_td.c: Likewise.
3561 * config/libbid/_lt_dd.c: Likewise.
3562 * config/libbid/_lt_sd.c: Likewise.
3563 * config/libbid/_lt_td.c: Likewise.
3564 * config/libbid/_mul_dd.c: Likewise.
3565 * config/libbid/_mul_sd.c: Likewise.
3566 * config/libbid/_mul_td.c: Likewise.
3567 * config/libbid/_ne_dd.c: Likewise.
3568 * config/libbid/_ne_sd.c: Likewise.
3569 * config/libbid/_ne_td.c: Likewise.
3570 * config/libbid/_sd_to_dd.c: Likewise.
3571 * config/libbid/_sd_to_df.c: Likewise.
3572 * config/libbid/_sd_to_di.c: Likewise.
3573 * config/libbid/_sd_to_sf.c: Likewise.
3574 * config/libbid/_sd_to_si.c: Likewise.
3575 * config/libbid/_sd_to_td.c: Likewise.
3576 * config/libbid/_sd_to_tf.c: Likewise.
3577 * config/libbid/_sd_to_udi.c: Likewise.
3578 * config/libbid/_sd_to_usi.c: Likewise.
3579 * config/libbid/_sd_to_xf.c: Likewise.
3580 * config/libbid/_sf_to_dd.c: Likewise.
3581 * config/libbid/_sf_to_sd.c: Likewise.
3582 * config/libbid/_sf_to_td.c: Likewise.
3583 * config/libbid/_si_to_dd.c: Likewise.
3584 * config/libbid/_si_to_sd.c: Likewise.
3585 * config/libbid/_si_to_td.c: Likewise.
3586 * config/libbid/_td_to_dd.c: Likewise.
3587 * config/libbid/_td_to_df.c: Likewise.
3588 * config/libbid/_td_to_di.c: Likewise.
3589 * config/libbid/_td_to_sd.c: Likewise.
3590 * config/libbid/_td_to_sf.c: Likewise.
3591 * config/libbid/_td_to_si.c: Likewise.
3592 * config/libbid/_td_to_tf.c: Likewise.
3593 * config/libbid/_td_to_udi.c: Likewise.
3594 * config/libbid/_td_to_usi.c: Likewise.
3595 * config/libbid/_td_to_xf.c: Likewise.
3596 * config/libbid/_tf_to_dd.c: Likewise.
3597 * config/libbid/_tf_to_sd.c: Likewise.
3598 * config/libbid/_tf_to_td.c: Likewise.
3599 * config/libbid/_udi_to_dd.c: Likewise.
3600 * config/libbid/_udi_to_sd.c: Likewise.
3601 * config/libbid/_udi_to_td.c: Likewise.
3602 * config/libbid/_unord_dd.c: Likewise.
3603 * config/libbid/_unord_sd.c: Likewise.
3604 * config/libbid/_unord_td.c: Likewise.
3605 * config/libbid/_usi_to_dd.c: Likewise.
3606 * config/libbid/_usi_to_sd.c: Likewise.
3607 * config/libbid/_usi_to_td.c: Likewise.
3608 * config/libbid/_xf_to_dd.c: Likewise.
3609 * config/libbid/_xf_to_sd.c: Likewise.
3610 * config/libbid/_xf_to_td.c: Likewise.
3611 * config/libbid/bid128.c: Likewise.
3612 * config/libbid/bid128_2_str.h: Likewise.
3613 * config/libbid/bid128_2_str_macros.h: Likewise.
3614 * config/libbid/bid128_2_str_tables.c: Likewise.
3615 * config/libbid/bid128_add.c: Likewise.
3616 * config/libbid/bid128_compare.c: Likewise.
3617 * config/libbid/bid128_div.c: Likewise.
3618 * config/libbid/bid128_fma.c: Likewise.
3619 * config/libbid/bid128_logb.c: Likewise.
3620 * config/libbid/bid128_minmax.c: Likewise.
3621 * config/libbid/bid128_mul.c: Likewise.
3622 * config/libbid/bid128_next.c: Likewise.
3623 * config/libbid/bid128_noncomp.c: Likewise.
3624 * config/libbid/bid128_quantize.c: Likewise.
3625 * config/libbid/bid128_rem.c: Likewise.
3626 * config/libbid/bid128_round_integral.c: Likewise.
3627 * config/libbid/bid128_scalb.c: Likewise.
3628 * config/libbid/bid128_sqrt.c: Likewise.
3629 * config/libbid/bid128_string.c: Likewise.
3630 * config/libbid/bid128_to_int16.c: Likewise.
3631 * config/libbid/bid128_to_int32.c: Likewise.
3632 * config/libbid/bid128_to_int64.c: Likewise.
3633 * config/libbid/bid128_to_int8.c: Likewise.
3634 * config/libbid/bid128_to_uint16.c: Likewise.
3635 * config/libbid/bid128_to_uint32.c: Likewise.
3636 * config/libbid/bid128_to_uint64.c: Likewise.
3637 * config/libbid/bid128_to_uint8.c: Likewise.
3638 * config/libbid/bid32_to_bid128.c: Likewise.
3639 * config/libbid/bid32_to_bid64.c: Likewise.
3640 * config/libbid/bid64_add.c: Likewise.
3641 * config/libbid/bid64_compare.c: Likewise.
3642 * config/libbid/bid64_div.c: Likewise.
3643 * config/libbid/bid64_fma.c: Likewise.
3644 * config/libbid/bid64_logb.c: Likewise.
3645 * config/libbid/bid64_minmax.c: Likewise.
3646 * config/libbid/bid64_mul.c: Likewise.
3647 * config/libbid/bid64_next.c: Likewise.
3648 * config/libbid/bid64_noncomp.c: Likewise.
3649 * config/libbid/bid64_quantize.c: Likewise.
3650 * config/libbid/bid64_rem.c: Likewise.
3651 * config/libbid/bid64_round_integral.c: Likewise.
3652 * config/libbid/bid64_scalb.c: Likewise.
3653 * config/libbid/bid64_sqrt.c: Likewise.
3654 * config/libbid/bid64_string.c: Likewise.
3655 * config/libbid/bid64_to_bid128.c: Likewise.
3656 * config/libbid/bid64_to_int16.c: Likewise.
3657 * config/libbid/bid64_to_int32.c: Likewise.
3658 * config/libbid/bid64_to_int64.c: Likewise.
3659 * config/libbid/bid64_to_int8.c: Likewise.
3660 * config/libbid/bid64_to_uint16.c: Likewise.
3661 * config/libbid/bid64_to_uint32.c: Likewise.
3662 * config/libbid/bid64_to_uint64.c: Likewise.
3663 * config/libbid/bid64_to_uint8.c: Likewise.
3664 * config/libbid/bid_b2d.h: Likewise.
3665 * config/libbid/bid_binarydecimal.c: Likewise.
3666 * config/libbid/bid_conf.h: Likewise.
3667 * config/libbid/bid_convert_data.c: Likewise.
3668 * config/libbid/bid_decimal_data.c: Likewise.
3669 * config/libbid/bid_decimal_globals.c: Likewise.
3670 * config/libbid/bid_div_macros.h: Likewise.
3671 * config/libbid/bid_dpd.c: Likewise.
3672 * config/libbid/bid_flag_operations.c: Likewise.
3673 * config/libbid/bid_from_int.c: Likewise.
3674 * config/libbid/bid_functions.h: Likewise.
3675 * config/libbid/bid_gcc_intrinsics.h: Likewise.
3676 * config/libbid/bid_inline_add.h: Likewise.
3677 * config/libbid/bid_internal.h: Likewise.
3678 * config/libbid/bid_round.c: Likewise.
3679 * config/libbid/bid_sqrt_macros.h: Likewise.
3681 2009-04-09 Jakub Jelinek <jakub@redhat.com>
3683 * Makefile.in: Change copyright header to refer to version
3684 3 of the GNU General Public License and to point readers at the
3685 COPYING3 file and the FSF's license web page.
3686 * config.host: Likewise.
3688 2009-04-07 Alan Modra <amodra@bigpond.net.au>
3690 * config.host: Reorder and merge to match config.gcc change.
3692 2009-04-03 Alan Modra <amodra@bigpond.net.au>
3694 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3696 2009-03-28 Joseph Myers <joseph@codesourcery.com>
3698 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3699 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3700 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3701 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3703 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
3705 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3706 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3708 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
3710 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3711 ia64/t-softfp-compat to tmake_file.
3713 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3715 * config/ia64/__divxf3.asm: New.
3716 * config/ia64/_fixtfdi.asm: Likewise.
3717 * config/ia64/_fixunstfdi.asm: Likewise.
3718 * config/ia64/_floatditf.asm: Likewise.
3719 * config/ia64/t-fprules-softfp: Likewise.
3720 * config/ia64/t-softfp-compat: Likewise.
3721 * config/ia64/tf-signs.c: Likewise.
3723 2009-01-18 Ben Elliston <bje@au.ibm.com>
3725 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3727 2009-01-16 Ben Elliston <bje@au.ibm.com>
3729 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3732 2009-01-13 Ben Elliston <bje@au.ibm.com>
3734 * config/t-softfp: New file.
3735 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3736 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3738 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
3740 * config.host: Add m32r*-*-rtems*.
3742 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
3744 * config.host: Add m32c*-*-rtems*.
3746 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3749 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3750 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3751 * configure: Regenerate.
3752 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3753 tmake_file here from gcc/config.gcc.
3754 Move extra_parts here from gcc/config.gcc.
3755 * config/i386/t-sol2: Move here from gcc/config/i386.
3756 Use gcc_srcdir instead of srcdir.
3758 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
3760 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3763 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
3765 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3767 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
3769 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3771 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
3774 * config.host: Add picochip-*-*.
3776 2008-08-06 Bob Wilson <bob.wilson@acm.org>
3778 * config.host: Match more processor names for Xtensa.
3780 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
3782 * config/i386/64/t-softfp-compat: Update comments.
3784 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
3786 * config/i386/64/_divtc3-compat.c: Moved to ...
3787 * config/i386/64/_divtc3.c: Here.
3789 * config/i386/64/_multc3-compat.c: Moved to ...
3790 * config/i386/64/_multc3.c: Here.
3792 * config/i386/64/_powitf2-compat.c: Moved to ...
3793 * config/i386/64/_powitf2.c: Here.
3795 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3796 .c suffix instead of -compat.c.
3798 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
3800 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3801 (_FP_MUL_MEAT_D): Ditto.
3802 (_FP_DIV_MEAT_S): Ditto.
3803 (_FP_DIV_MEAT_D): Ditto.
3805 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
3807 * Makefile.in: Add support for __sync_* libgcc functions.
3809 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
3811 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3813 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3816 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3817 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
3819 * config/i386/64/t-fprules-softfp: Moved to ...
3820 * config/i386/64/t-softfp-compat: This. New.
3822 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
3824 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3825 Initialize f with 0.0.
3827 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3830 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3832 * config/i386/64/_divtc3-compat.c: New.
3833 * config/i386/64/_multc3-compat.c: Likewise.
3834 * config/i386/64/_powitf2-compat.c: Likewise.
3835 * config/i386/64/eqtf2.c: Likewise.
3836 * config/i386/64/getf2.c: Likewise.
3837 * config/i386/64/letf2.c: Likewise.
3838 * config/i386/64/t-fprules-softfp: Likewise.
3840 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3842 * config.host: Add i386/${host_address}/t-fprules-softfp to
3843 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
3844 i[34567]86-*-linux*, x86_64-*-linux*.
3846 * configure.ac: Set host_address to 64 or 32 for x86.
3847 * configure: Regenerated.
3849 * Makefile.in (config.status): Also depend on
3850 $(srcdir)/config.host.
3852 * config/i386/32/t-fprules-softfp: New.
3853 * config/i386/32/tf-signs.c: Likewise.
3855 * config/i386/64/sfp-machine.h: New. Moved from gcc.
3857 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
3858 Uros Bizjak <ubizjak@gmail.com>
3860 * config/i386/32/sfp-machine.h: New.
3862 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
3864 * config/rs6000/t-ppccomm: Remove rules that conflict with
3865 auto-generated rules.
3867 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3869 * configure.ac: sinclude override.m4.
3870 * configure: Regenerate.
3872 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
3874 * configure: Regenerate.
3876 2008-06-10 Joseph Myers <joseph@codesourcery.com>
3878 * Makefile.in (DECNUMINC): Remove
3879 -I$(MULTIBUILDTOP)../../libdecnumber.
3882 2008-06-07 Joseph Myers <joseph@codesourcery.com>
3884 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
3885 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
3886 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
3887 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
3888 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
3889 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3890 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
3891 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
3892 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
3893 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
3894 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
3895 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
3896 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
3897 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
3899 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
3901 * config.host (sh2[lbe]*-*-linux*): Allow target.
3903 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
3905 * config/rs6000/t-ppccomm: Add build rules for new files.
3906 (LIB2ADD_ST): New variable.
3908 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
3912 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
3913 * config/t-avr: New file. Build 16bit libgcc functions.
3915 2008-03-02 Jakub Jelinek <jakub@redhat.com>
3918 * config/t-slibgcc-darwin: Make install-leaf dependent on
3919 install-darwin-libgcc-stubs instead of install.
3921 2008-01-25 Joseph Myers <joseph@codesourcery.com>
3923 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
3924 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
3925 sh-*-rtemscoff*): Remove cases.
3927 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
3929 * Makefile.in (all): Use install-leaf rather than install.
3930 (install): Split most of the rule into...
3931 (install-leaf): ...this new one.
3933 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
3934 Paolo Bonzini <bonzini@gnu.org>
3937 * Makefile.in: Use @shlib_slibdir@ substitution to get
3938 correct install name on darwin.
3939 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
3941 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
3943 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
3944 cris-*-elf and cris-*-none.
3945 (crisv32-*-linux*): Similar, as cris-*-linux*.
3947 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
3949 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
3951 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
3954 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
3955 * configure: Regenerated.
3957 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
3959 * Makefile.in (dfp-filenames): Replace decimal_globals,
3960 decimal_data, binarydecimal and convert_data with
3961 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
3962 and bid_convert_data, respectively.
3964 2007-09-17 Chao-ying Fu <fu@mips.com>
3965 Nigel Stephens <nigel@mips.com>
3967 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
3968 * Makefile.in (fixed_point): Define.
3969 Check if fixed_point is yes to build support functions.
3970 * configure.ac: Check for fixed_point support.
3971 * configure: Regenerated.
3972 * gen-fixed.sh: New file to generate lists of fixed-point labels,
3973 funcs, modes, from, to.
3975 2007-09-11 Janis Johnson <janis187@us.ibm.com
3977 * Makefile.in (dfp-filenames): Add bid128_noncomp.
3979 2007-09-10 Janis Johnson <janis187@us.ibm.com>
3981 * Makefile.in (dfp-filenames): Remove decUtility, add
3982 decDouble, decPacked, decQuad, decSingle.
3984 2007-08-27 Hans Kester <hans.kester@ellips.nl>
3986 * config.host : Add x86_64-elf target.
3988 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
3990 * configure.ac (set_have_cc_tls): Add a missing =.
3991 * configure: Regenerated.
3993 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
3995 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
3996 and x86_64-*-linux*.
3998 * config/t-tls: New file.
4000 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4002 * configure.ac: Include ../config/enable.m4 and
4003 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4004 supports TLS and substitute set_have_cc_tls.
4005 * configure: Regenerated.
4007 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
4009 * Makefile.in: Use libbid for DFP when BID is enabled.
4011 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
4013 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4014 extra_parts. Add config/i386/t-cygming to tmake_file.
4015 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4017 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
4018 Danny Smith <dannysmith@users.sourceforge.net>
4021 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4022 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4023 * config/i386/t-crtfm: Compile crtfastmath.o with
4024 -minline-all-stringops.
4026 2007-05-10 Richard Sandiford <richard@codesourcery.com>
4028 * config.host (sparc-wrs-vxworks): New target.
4030 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
4032 * config.host: Recognize fido.
4034 2007-04-04 Janis Johnson <janis187@us.ibm.com>
4036 * configure: Check host, not target, for decimal float support.
4038 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
4040 * config/i386/t-crtpc: New file.
4041 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4042 (x86_64-*-linux*): Ditto.
4044 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
4046 * config.host (x86_64-*-mingw*): New target.
4048 2007-03-23 Michael Meissner <michael.meissner@amd.com>
4049 H.J. Lu <hongjiu.lu@intel.com>
4051 * Makefile.in (enable_decimal_float): New.
4053 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4054 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4055 (decbits-filenames): This.
4056 (decbits-objects): New.
4057 (libgcc-objects): Add $(decbits-objects).
4059 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4060 Substitute enable_decimal_float.
4061 * configure: Regenerated.
4063 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
4065 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4067 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
4069 * Makefile.in (install-info): New dummy target.
4071 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
4073 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4075 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
4077 * Makefile.in: Add install-html and install-pdf dummy
4080 2007-02-05 Roger Sayle <roger@eyesopen.com>
4081 Daniel Jacobowitz <dan@codesourcery.com>
4083 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4084 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4085 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4087 2007-01-29 Janis Johnson <janis187@us.ibm.com>
4089 * Makefile.in (dec-filenames): Add decExcept.
4091 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4094 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4097 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
4099 * configure.ac: Add --enable-version-specific-runtime-libs.
4100 Correct $slibdir default.
4101 * configure: Regenerated.
4103 2007-01-23 Joseph Myers <joseph@codesourcery.com>
4105 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4107 2007-01-21 Andrew Pinski <pinskia@gmail.com>
4110 * config.host (alpha*-*-linux*): Set extra_parts.
4112 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
4114 * config/sh/t-linux: New.
4115 * config.host (sh*-*-linux*): Set tmake_file.
4117 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4119 * Makefile.in (install): Handle multilibs.
4121 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4123 * Makefile.in: Added .PHONY entry for documentation targets.
4125 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
4127 * Makefile.in: Add empty info, html, dvi, pdf targets.
4129 2007-01-04 Mike Stump <mrs@apple.com>
4131 * Makefile.in (MAKEINFO): Remove.
4134 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
4136 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4137 * configure: Regenerate.
4138 * Makefile.in (host_subdir): Substitute it.
4139 (gcc_objdir): Use it.
4141 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4143 * config.host (ia64*-*-linux*): Set tmake_file.
4145 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4147 * Makefile.in (version): Define.
4149 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
4150 Paolo Bonzini <bonzini@gnu.org>
4152 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4153 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4154 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4155 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4156 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4157 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4158 * configure: Generated.