2015-10-21 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / libgcc / ChangeLog
blobd63a1716367626c3a194247c46bb777f0889a880
1 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
3         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4         * config/rl78/divmodsi.S: Update return register to r8.
5         * config/rl78/divmodhi.S: Update return register to r8,r9.
6         Branch to main_loop_done_himode to pop registers before return.
8 2015-10-09  Venkataramanan kumar <venkataramanan.kumar@amd.com>
10         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
11         (__cpu_indicator_init): Fix model selection for AMD CPUs.
13 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
15         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
17 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
19         * config.host (xtensa*-*-uclinux*): New configuration.
21 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
23         * config/i386/cpuinfo.c (processor_features): Add
24         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
26 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
28         * soft-fp/adddf3.c: Update from glibc.
29         * soft-fp/addsf3.c: Likewise.
30         * soft-fp/addtf3.c: Likewise.
31         * soft-fp/divdf3.c: Likewise.
32         * soft-fp/divsf3.c: Likewise.
33         * soft-fp/divtf3.c: Likewise.
34         * soft-fp/double.h: Likewise.
35         * soft-fp/eqdf2.c: Likewise.
36         * soft-fp/eqsf2.c: Likewise.
37         * soft-fp/eqtf2.c: Likewise.
38         * soft-fp/extenddftf2.c: Likewise.
39         * soft-fp/extended.h: Likewise.
40         * soft-fp/extendsfdf2.c: Likewise.
41         * soft-fp/extendsftf2.c: Likewise.
42         * soft-fp/extendxftf2.c: Likewise.
43         * soft-fp/fixdfdi.c: Likewise.
44         * soft-fp/fixdfsi.c: Likewise.
45         * soft-fp/fixdfti.c: Likewise.
46         * soft-fp/fixsfdi.c: Likewise.
47         * soft-fp/fixsfsi.c: Likewise.
48         * soft-fp/fixsfti.c: Likewise.
49         * soft-fp/fixtfdi.c: Likewise.
50         * soft-fp/fixtfsi.c: Likewise.
51         * soft-fp/fixtfti.c: Likewise.
52         * soft-fp/fixunsdfdi.c: Likewise.
53         * soft-fp/fixunsdfsi.c: Likewise.
54         * soft-fp/fixunsdfti.c: Likewise.
55         * soft-fp/fixunssfdi.c: Likewise.
56         * soft-fp/fixunssfsi.c: Likewise.
57         * soft-fp/fixunssfti.c: Likewise.
58         * soft-fp/fixunstfdi.c: Likewise.
59         * soft-fp/fixunstfsi.c: Likewise.
60         * soft-fp/fixunstfti.c: Likewise.
61         * soft-fp/floatdidf.c: Likewise.
62         * soft-fp/floatdisf.c: Likewise.
63         * soft-fp/floatditf.c: Likewise.
64         * soft-fp/floatsidf.c: Likewise.
65         * soft-fp/floatsisf.c: Likewise.
66         * soft-fp/floatsitf.c: Likewise.
67         * soft-fp/floattidf.c: Likewise.
68         * soft-fp/floattisf.c: Likewise.
69         * soft-fp/floattitf.c: Likewise.
70         * soft-fp/floatundidf.c: Likewise.
71         * soft-fp/floatundisf.c: Likewise.
72         * soft-fp/floatunditf.c: Likewise.
73         * soft-fp/floatunsidf.c: Likewise.
74         * soft-fp/floatunsisf.c: Likewise.
75         * soft-fp/floatunsitf.c: Likewise.
76         * soft-fp/floatuntidf.c: Likewise.
77         * soft-fp/floatuntisf.c: Likewise.
78         * soft-fp/floatuntitf.c: Likewise.
79         * soft-fp/gedf2.c: Likewise.
80         * soft-fp/gesf2.c: Likewise.
81         * soft-fp/getf2.c: Likewise.
82         * soft-fp/ledf2.c: Likewise.
83         * soft-fp/lesf2.c: Likewise.
84         * soft-fp/letf2.c: Likewise.
85         * soft-fp/muldf3.c: Likewise.
86         * soft-fp/mulsf3.c: Likewise.
87         * soft-fp/multf3.c: Likewise.
88         * soft-fp/negdf2.c: Likewise.
89         * soft-fp/negsf2.c: Likewise.
90         * soft-fp/negtf2.c: Likewise.
91         * soft-fp/op-1.h: Likewise.
92         * soft-fp/op-2.h: Likewise.
93         * soft-fp/op-4.h: Likewise.
94         * soft-fp/op-8.h: Likewise.
95         * soft-fp/op-common.h: Likewise.
96         * soft-fp/quad.h: Likewise.
97         * soft-fp/single.h: Likewise.
98         * soft-fp/soft-fp.h: Likewise.
99         * soft-fp/subdf3.c: Likewise.
100         * soft-fp/subsf3.c: Likewise.
101         * soft-fp/subtf3.c: Likewise.
102         * soft-fp/truncdfsf2.c: Likewise.
103         * soft-fp/trunctfdf2.c: Likewise.
104         * soft-fp/trunctfsf2.c: Likewise.
105         * soft-fp/trunctfxf2.c: Likewise.
106         * soft-fp/unorddf2.c: Likewise.
107         * soft-fp/unordsf2.c: Likewise.
108         * soft-fp/unordtf2.c: Likewise.
110 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
112         PR libgcc/67624
113         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
115 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
117         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
118         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
119         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
120         messages.
121         (internal_mcount): Likewise.
122         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
123         crt_compile, add CRTSTUFF_T_CFLAGS_S.
125 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
127         * configure.ac (libgcc_cv_solaris_crts): New test.
128         * configure: Regenerate.
129         * config.in: Regenerate.
130         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
131         * config/gmon-sol2.c: Rename to ...
132         * config/sol2/gmon.c: ... this.
133         Include auto-target.h.
134         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
135         * config/t-sol2: Rename to ...
136         * config/sol2/t-sol2: ... this.
137         (gmon.o): Reflect renaming.
138         (crtp.o, crtpg.o): New rules.
139         * config.host (*-*-solaris2*): Reflect renaming.
140         Use system CRTs if present.
141         Remove default CRT case.
143 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
145         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
146         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
147         __kernel_cmpxchg2.
148         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
149         (__sync_val_compare_and_swap_##WIDTH): Likewise.
150         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
151         (__sync_lock_test_and_set_##WIDTH): Likewise.
152         (__sync_lock_release_##WIDTH): Likewise.
153         (__sync_fetch_and_##OP##_4): Change result to match type of
154         __kernel_cmpxchg.
155         (__sync_##OP##_and_fetch_4): Likewise.
156         (__sync_val_compare_and_swap_4): Likewise.
157         (__sync_bool_compare_and_swap_4): likewise.
158         (__sync_lock_test_and_set_4): Likewise.
159         (__sync_lock_release_4): Likewise.
160         (FETCH_AND_OP_2): Add long long variants.
161         (OP_AND_FETCH_2): Likewise.
162         (COMPARE_AND_SWAP_2 ): Likewise.
163         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
164         (SYNC_LOCK_RELEASE_2): Likewise.
165         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
167 2015-09-22  Kirill Yukhin <kirill.yukhin@intel.com>
169         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
170         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
171         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
172         (get_available_features): Habdle new features.
174 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
176         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
177         memory layout. Deal correctly with BSS region larger than 32K.
178         Handle a watchdog reset like a power-on reset. Clean up unused
179         code.
181 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
182             David Edelsohn  <dje.gcc@gmail.com>
184         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
185         * config/rs6000/crtdbase.S: New file.
186         * config/rs6000/t-aix-cxa: Build crtdbase.o.
188 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
190         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
191         Add support for call0 ABI.
193 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
195         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
197 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
199         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
200         (__GTHREAD_HAS_COND): Likewise.
201         (__gthread_t): Likewise.
202         (__gthread_cond_t): Likewise.
203         (__gthread_time_t): Likewise.
204         (__GTHREAD_MUTEX_INIT): Likewise.
205         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
206         (__GTHREAD_COND_INIT): Likewise.
207         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
208         (__GTHREAD_TIME_INIT): Likewise.
209         (__gthread_create): Likewise.
210         (__gthread_join): Likewise.
211         (__gthread_detach): Likewise.
212         (__gthread_equal): Likewise.
213         (__gthread_self): Likewise.
214         (__gthread_yield): Likewise.
215         (__gthread_cond_broadcast): Likewise.
216         (__gthread_cond_signal): Likewise.
217         (__gthread_cond_wait): Likewise.
218         (__gthread_cond_timedwait): Likewise.
219         (__gthread_cond_wait_recursive): Likewise.
220         (__gthread_cond_destroy): Likewise.
221         (rtems_gxx_once): Delete.
222         (rtems_gxx_key_create): Likewise.
223         (rtems_gxx_key_delete): Likewise.
224         (rtems_gxx_getspecific): Likewise.
225         (rtems_gxx_setspecific): Likewise.
226         (rtems_gxx_mutex_init): Likewise.
227         (rtems_gxx_mutex_destroy): Likewise.
228         (rtems_gxx_mutex_lock): Likewise.
229         (rtems_gxx_mutex_trylock): Likewise.
230         (rtems_gxx_mutex_unlock): Likewise.
231         (rtems_gxx_recursive_mutex_init): Likewise.
232         (rtems_gxx_recursive_mutex_lock): Likewise.
233         (rtems_gxx_recursive_mutex_trylock): Likewise.
234         (rtems_gxx_recursive_mutex_unlock): Likewise.
235         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
236         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
237         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
238         (__gthread_once): Likewise.
239         (__gthread_key_create): Likewise.
240         (__gthread_key_delete): Likewise.
241         (__gthread_getspecific): Likewise.
242         (__gthread_setspecific): Likewise.
243         (__gthread_key_t): Use <pthread.h> type.
244         (__gthread_once_t): Likewise
245         (__gthread_mutex_t): Use <sys/lock.h> type.
246         (__gthread_recursive_mutex_t): Likewise
247         (__gthread_mutex_lock): Use <sys/lock.h> function.
248         (__gthread_mutex_trylock): Likewise.
249         (__gthread_mutex_timedlock): Likewise.
250         (__gthread_mutex_unlock): Likewise.
251         (__gthread_mutex_destroy): Likewise.
252         (__gthread_recursive_mutex_lock): Likewise.
253         (__gthread_recursive_mutex_trylock): Likewise.
254         (__gthread_recursive_mutex_timedlock): Likewise.
255         (__gthread_recursive_mutex_unlock): Likewise.
256         (__gthread_recursive_mutex_destroy): Likewise.
258 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
260         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
261         context->sp instead of context->cfa.
263 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
265         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
266         with unwind-dw2-fde-dip.
268 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
270         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
271         CALL12 followed by series of ENTRY to spill windowed registers.
272         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
273         instead of making linux spill syscall.
275 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
277         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
278         (get_intel_cpu): Likewise.
280 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
282         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
283         (get_intel_cpu): Add Knights Landing support.
285 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
287         PR target/66954
288         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
289         (get_available_features): Handle FEATURE_PCLMUL.
291 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
293         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
294         Broadwell.
296 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
298         PR target/66954
299         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
300         (get_available_features): Handle FEATURE_AES.
302 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
304         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
305         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
307 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
309         * offloadstuff.c: Constify host data.
311 2015-07-17  Jan Beulich  <jbeulich@suse.com>
313         * config/t-softfp: Split up "else ifneq".
315 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
316             Cesar Philippidis  <cesar@codesourcery.com>
317             Chung-Lin Tang  <cltang@codesourcery.com>
319         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
320         for __nios2_arch__ level.
322 2015-07-13  John Marino  <gnugcc@marino.st>
324         * config/i386/t-dragonfly: New.
326 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
328         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
329         better match light-weight syscall argument order.
330         (__kernel_cmpxchg2): Likewise.
331         Adjust callers.
333 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
335         * config.host: Support i[34567]86-*-elfiamcu target.
336         * config/t-softfp-sfdftf: New file.
337         * config/i386/32/t-iamcu: Likewise.
338         * configure: Regenerated.
340 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
342         libgcc/config/arm/
343         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
345 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
347         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
349 2015-05-27  John Marino <gnugcc@marino.st>
351         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
352         md_unwind_header
353         * config/i386/freebsd-unwind.h: New.
355 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
357         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
358         i386/t-crtfm to tmake_file.
359         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
360         (set_fast_math): Use set_fast_math_sse for SSE targets.
361         * config/i386/t-crtfm: Remove.
363 2015-05-21  Alan Modra  <amodra@gmail.com>
365         PR libgcc/66225
366         * config/rs6000/morestack.S: Remove ".abiversion 1".
368 2015-05-20  Alan Modra  <amodra@gmail.com>
370         * config/rs6000/morestack.S: New.
371         * config/rs6000/t-stack-rs6000: New.
372         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
373         to tmake_file.
374         * generic-morestack.c: Don't build for powerpc 32-bit.
376 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
378         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
379         Remove useless endif/ifneq ($(enable_shared),yes) pair.
381 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
383         * config.host: FT32 target added.
384         * config/ft32/*: New files for FT32 target.
386 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
388         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
389         New macros.
390         * config/arm/ieee754-df.S: Add CFI directives.
391         * config/arm/ieee754-sf.S: Add CFI directives.
393 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
395         * configure.ac: Include config/sjlj.m4.
396         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
397         * config.in: Regenerate.
398         * configure: Likewise.
399         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
401 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
403         * libgcov-util.c: Add space between string literal and macro name.
405 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
406             Chris Jones  <chrisj@nvidia.com>
407             Joshua Conner  <jconner@nvidia.com>
409         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
410         (arm*-*-uclinux*): Likewise.
411         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
412         * config/arm/crtfastmath.c: New file.
414 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
416         * Makefile.in (real_host_noncanonical): New variable.
417         (libsubdir): Use it.
418         * configure.ac (real_host_noncanonical): Compute.  Remove special
419         case for intelmicemul.
420         * configure: Regenerate.
422 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
424         * config/frv/elf-lib.h: New file.
425         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
426         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
427         to tm_file.
429 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
431         * config/frv/frvbengin.c: Do not include defaults.h
432         * config/frv/frvend.c: Ditto.
434 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
436         * config.host: Add h8300-*-linux
437         * config/h8300/t-linux: New file.
438         * config/h8300/lib1funs.s: Change symbol prefix.
439         * config/h8300/sfp-machine.h: 64bit double support.
441 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
442             Szabolcs Nagy  <szabolcs.nagy@arm.com>
444         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
445         Linux if target provides dl_iterate_phdr.
447 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
449         PR target/65612
450         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
451         * config/i386/cpuinfo.c (__cpu_model): Initialize.
452         (__cpu_indicator_init@GCC_4.8.0): New.
453         (__cpu_model@GCC_4.8.0): Likewise.
454         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
455         -DUSE_ELF_SYMVER.
457 2015-04-16  Nick Clifton  <nickc@redhat.com>
459         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
460         and __modhi3 functions.
461         * config/rl78/divmodso.S: Add G14 and G13 versions of the
462         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
464 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
466         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
467         do-while loop as macro body to avoid warnings.
469 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
470             Iain Sandoe  <iain@codesourcery.com>
472         PR target/65351
473         * configure: Regenerate.
475 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
476             Iain Sandoe  <iain@codesourcery.com>
478         PR target/65351
479         * configure: Regenerate.
481 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
483         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
485 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
487         Implement call0 ABI for xtensa
488         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
489         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
490         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
491         use ret in call0 ABI.
492         * config/xtensa/t-windowed: New file.
493         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
494         * libgcc/configure: Regenerated.
495         * libgcc/configure.ac: Check if xtensa target is configured for
496         windowed ABI and thus needs to use custom unwind code.
498 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
500         PR libgcc/64885
501         * gthr-single.h: Use __unused__ attribute instead of unused.
502         * config/gthr-vxworks.h: Likewise.
503         * config/i386/gthr-win32.h: Likewise.
505 2015-02-27  Kai Tietz  <ktietz@redhat.com>
507         PR target/65038
508         * config.in: Regenerated.
509         * configure: Likewise.
510         * configure.ac (AC_HEADER_STDC): Added explicit.
511         (AC_CHECK_HEADERS): Check for default headers  plus
512         for ftw.h header.
513         * libgcov-util.c (gcov_read_profile_dir): Disable use
514         of ftw-function, if header is not found.
515         (ftw_read_file): Likewise.
517 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
519         PR target/65181
520         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
521         -Dinhibit_libc.
523 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
525         * config/arm/bpabi.S (test_div_by_zero): Make label names
526         consistent between thumb2 and arm mode cases.  Separate the
527         signed comparison on the high word of the numerator from the
528         unsigned comparison on the low word.
529         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
530         signed comparison.
532 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
534         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
535         and <string.h>.
536         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
538 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
540         PR gcov-profile/61889
541         * libgcov-driver-system.c: undefine clashing macro for mkdir.
543 2015-02-02  Nick Clifton  <nickc@redhat.com>
545         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
546         rounding up the fraction.
548 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
550         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
551         oldval and newval to const void *.  Fix typo.
552         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
553         (FETCH_AND_OP_WORD): Likewise.
554         (OP_AND_FETCH_WORD): Likewise.
555         (COMPARE_AND_SWAP_2): Likewise.
556         (__sync_val_compare_and_swap_4): Likewise.
557         (__sync_lock_test_and_set_4): Likewise.
558         (SYNC_LOCK_RELEASE_2): Likewise.
559         Remove support for long long atomic operations.
561 2015-01-27  Caroline Tice  <cmtice@google.com>
563         Committing VTV Cywin/Ming patch for Patrick Wollgast
564         * Makefile.in: Move rules to build vtv_*.o out of the check
565         for CUSTOM_CRTSTUFF.
566         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
567         i[34567]86-*-mingw*)
568          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
569         enable_vtable_verify.
571 2015-01-27  Nick Clifton  <nickc@redhat.com>
573         * config/rl78/cmpsi2.S: Use function start and end macros.
574         (__gcc_bcmp): New function.
575         * config/rl78/lshrsi3.S: Use function start and end macros.
576         * config/rl78/mulsi3.S: Add support for G10.
577         (__mulqi3): New function for G10.
578         * config/rl78/signbit.S: Use function start and end macros.
579         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
580         fpmath-sf.S.
581         (LIB2FUNCS_EXCLUDE): Define.
582         (LIB2FUNCS_ST): Define.
583         * config/rl78/trampoline.S: Use function start and end macros.
584         * config/rl78/vregs.h (START_FUNC): New macro.
585         (START_ANOTHER_FUNC): New macro.
586         (END_FUNC): New macro.
587         (END_ANOTHER_FUNC): New macro.
588         * config/rl78/bit-count.S: New file.  Contains assembler
589         implementations of the bit counting functions: ___clzhi2,
590         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
591         __paritysi2, __popcounthi2 and __popcountsi2.
592         * config/rl78/fpbit-sf.S: New file.  Contains assembler
593         implementationas of the math functions: __negsf2, __cmpsf2,
594         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
595         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
596         * config/rl78/fpmath-sf.S: New file.  Contains assembler
597         implementations of the math functions: __subsf3, __addsf3,
598         __mulsf3 and __divsf3
600 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
602         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
603         Add i386/elf-lib.h to tm_file.
604         * config/i386/elf-lib.h: Fix comment.
605         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
606         && __sun__ && __svr4__]: Remove workaround.
608 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
610         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
611         FEATURE_BMI2.
612         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
614 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
616         * config/i386/cpuinfo.c (processor_subtypes): Add
617         INTEL_COREI7_BROADWELL.
618         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
619         model numbers.
621 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
623         * config/i386/elf-lib.h: New file.
624         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
625         Wrap definition in #ifdef __i386__.
626         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
627         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
628         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
629         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
630         to tm_file.
632 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
634         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
635         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
637 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
639         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
640         Update rt_sigframe format and address for current Nios II
641         Linux conventions.
643 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
645         * config.host (arm*-*-freebsd*): Add new configuration for
646         arm*-*-freebsd*.
647         * config/arm/freebsd-atomic.c: New file.
648         * config/arm/t-freebsd: Likewise.
649         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
650         'PC-relative indirect' OS's.
652 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
654         * config.host: Add Visium support.
655         * config/visium: New directory.
657 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
659         Update copyright years.
661 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
663         * config.host: Support mipsisa32r6 and mipsisa64r6.
664         * config/mips/mips16.S: Do not build for R6.
666 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
668         * config/sh/crt.h: New.
669         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
670         symbols.
671         * config/sh/crt1.S: Likewise.
673 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
675         PR libgcc/63832
676         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
677         func_ptr *dtor_list temporary variable to avoid "array subscript
678         is above array bounds" warnings.
680 2014-12-09  Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
682         * Makefile.in (with_aix_soname): Define.
683         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
684         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
685         * configure: Recreate.
687 2014-12-05  Olivier Hainque  <hainque@adacore.com>
689         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
690         now provided by defaults.h.
692 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
694         PR target/55351
695         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
696         whether it's defined.
698 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
700         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
701         * config/i386/cpuinfo.c (get_available_features): Detect it.
703 2014-11-27  Tony Wang  <tony.wang@arm.com>
705         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
706         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
707         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
709 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
711         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
713 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
715         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
716         instead.
718 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
719             John David Anglin  <danglin@gcc.gnu.org>
721         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
722         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
723         (OP_AND_FETCH_2): Likewise.
724         (COMPARE_AND_SWAP_2): Likewise.
725         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
726         (SYNC_LOCK_RELEASE_2): Likewise.
727         (SUBWORD_SYNC_OP): Remove.
728         (SUBWORD_VAL_CAS): Likewise.
729         (SUBWORD_BOOL_CAS): Likewise.
730         (FETCH_AND_OP_WORD): Update.
731         Consistently use signed types.
733 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
734             Thomas Schwinge  <thomas@codesourcery.com>
735             Ilya Verbin  <ilya.verbin@intel.com>
736             Andrey Turetskiy  <andrey.turetskiy@intel.com>
738         * Makefile.in (crtoffloadbegin$(objext)): New rule.
739         (crtoffloadend$(objext)): Likewise.
740         * configure: Regenerate.
741         * configure.ac (accel_dir_suffix): Compute new variable.
742         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
743         if enable_offload_targets is not empty.
744         * offloadstuff.c: New file.
746 2014-11-13  Nick Clifton  <nickc@redhat.com>
748         * config/rl78/divmodhi.S: Add support for the G10 architecture.
749         Use START_FUNC and END_FUNC macros to enable linker garbage
750         collection.
751         * config/rl78/divmodqi.S: Likewise.
752         * config/rl78/divmodsi.S: Likewise.
753         * config/rl78/mulsi3.S: Likewise.
754         * config/rl78/lib2div.c: Remove G10 functions.
755         * config/rl78/lib2muls.c: Likewise.
756         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
757         * config/rl78/vregs.h (START_FUNC): New macro.
758         (END_FUNC): New macro.
760 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
762         * config/mips/mips16.S: Set .module when supported.  Update O32
763         FP64 calling convention and use for FPXX when possible.  Add FPXX
764         calling convention fallback case.
766 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
768         * config.host: Handle nvptx-*-*.
769         * shared-object.mk (as-flags-$o): Define.
770         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
771         -xassembler-with-cpp.
772         * static-object.mk: Identical changes.
773         * config/nvptx/t-nvptx: New file.
774         * config/nvptx/crt0.s: New file.
775         * config/nvptx/free.asm: New file.
776         * config/nvptx/malloc.asm: New file.
777         * config/nvptx/realloc.c: New file.
779 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
781         * Makefile.in (libgcc.map.in): New target.
782         (libgcc.map): Use libgcc.map.in.
783         * config/t-softfp (softfp_compat): New variable to be set by
784         users.
785         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
786         variables.
787         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
788         directory.
789         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
790         that use compat symbols and disable all code unless [SHARED].
791         * config/t-softfp-compat: New file.
792         * find-symver.awk: New file.
793         * configure.ac (--with-glibc-version): New configure option.
794         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
795         * configure: Regenerate.
796         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
797         soft-float and e500.
799 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
801         * config/t-hardfp (hardfp_exclusions): Document new variable for
802         user to define.
803         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
804         * config/t-softfp (softfp_extras): Document new variable for user
805         to define.
806         (softfp_func_list): Add functions from $(softfp_extras).
807         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
808         * config.host (powerpc*-*-linux*): For e500v1, use
809         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
810         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
811         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
813 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
815         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
816         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
817         memory read accesses are ok.
819 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
821         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
822         * configure: Regenerate.
823         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
824         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
825         of soft-fp for 32-bit classic hard float.  Do not use
826         t-softfp-excl for soft float.
828 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
830         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
831         configurations.
832         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
833         Remove variables.
835 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
837         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
838         introduced with 2014-10-21 trunk r216525.
840 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
841             Vidya Praveen <vidya.praveen@atmel.com>
842             Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
843             Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
844             Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
846         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
847         order.
849         Updated library functions for AVRTINY arch.
850         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
851         Replaced occurrences of r0/r1 with tmp/zero reg macros.
852         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
853         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
854         wsubi/wadi macors.
855         (__mulsi3_helper): Update stack, preserve callee saved regs and
856         argument from stack. Restore callee save registers.
857         (__mulpsi3): Likewise.
858         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
859         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
860         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
861         AVRTINY.
862         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
863         (__do_copy_data): Added new definition for AVRTINY.
864         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
865         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
866         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
867         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
868         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
869         macors.
870         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
871         AVRTINY.
873         Fix broken long multiplication on tiny arch.
875 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
877         * soft-fp/double.h: Update from glibc.
878         * soft-fp/eqdf2.c: Likewise.
879         * soft-fp/eqsf2.c: Likewise.
880         * soft-fp/eqtf2.c: Likewise.
881         * soft-fp/extenddftf2.c: Likewise.
882         * soft-fp/extended.h: Likewise.
883         * soft-fp/extendsfdf2.c: Likewise.
884         * soft-fp/extendsftf2.c: Likewise.
885         * soft-fp/extendxftf2.c: Likewise.
886         * soft-fp/gedf2.c: Likewise.
887         * soft-fp/gesf2.c: Likewise.
888         * soft-fp/getf2.c: Likewise.
889         * soft-fp/ledf2.c: Likewise.
890         * soft-fp/lesf2.c: Likewise.
891         * soft-fp/letf2.c: Likewise.
892         * soft-fp/op-1.h: Likewise.
893         * soft-fp/op-2.h: Likewise.
894         * soft-fp/op-4.h: Likewise.
895         * soft-fp/op-8.h: Likewise.
896         * soft-fp/op-common.h: Likewise.
897         * soft-fp/quad.h: Likewise.
898         * soft-fp/single.h: Likewise.
899         * soft-fp/soft-fp.h: Likewise.
900         * soft-fp/unorddf2.c: Likewise.
901         * soft-fp/unordsf2.c: Likewise.
902         * soft-fp/unordtf2.c: Likewise.
903         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
904         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
905         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
906         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
907         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
908         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
909         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
910         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
911         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
912         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
914 2014-10-08  Rong Xu  <xur@google.com>
916         * libgcov-util.c (read_gcda_file): Fix format.
917         (find_match_gcov_info): Ditto.
918         (calculate_2_entries): New.
919         (compute_one_gcov): Ditto.
920         (gcov_info_count_all_cold): Ditto.
921         (gcov_info_count_all_zero): Ditto.
922         (extract_file_basename): Ditto.
923         (get_file_basename): Ditto.
924         (set_flag): Ditto.
925         (matched_gcov_info): Ditto.
926         (calculate_overlap): Ditto.
927         (gcov_profile_overlap): Ditto.
928         * libgcov-driver.c (compute_summary): Make
929         it avavilable for external calls.
931 2014-10-06  Rong Xu  <xur@google.com>
933         * Makefile.in: Ditto.
934         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
935         (gcov_sort_icall_topn_counter): Ditto.
936         (gcov_sort_topn_counter_arrays): Ditto.
937         (dump_one_gcov): Sort indirect_call topn counters.
938         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
939         function.
940         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
941         utility function.
942         (__gcov_indirect_call_topn_profiler): New profiler function.
943         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
944         * libgcov.h: New decls.
946 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
948         * config.host: Remove support for score-*.
950 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
952         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
953         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
954         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
955         __LIBGCC_XF_MANT_DIG__.
956         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
957         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
958         __LIBGCC_TF_MANT_DIG__.
959         * libgcc2.c (NOTRUNC): Define in terms of
960         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
961         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
963 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
965         PR target/63312
966         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
967         New macros.
969 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
971         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
972         override USE_PT_GNU_EH_FRAME.
973         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
974         check USE_EH_FRAME_REGISTRY_ALWAYS against
975         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
976         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
977         variable for substituted force_explicit_eh_registry.
978         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
979         * configure.ac (explicit-exception-frame-registration):
980         New AC_ARG_ENABLE.
981         * configure: Regenerate.
983 2014-09-19  Olivier Hainque  <hainque@adacore.com>
985         * config.host (powerpc-wrs-vxworksmils): New configuration,
986         same as vxworksae.
988 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
990         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
992 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
994         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
995         bits not set bits as indicating trapping exceptions.
997 2014-09-17  Nathan sidwell  <nathan@acm.org>
999         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
1000         (LIBGCOV_DRIVER): ... here.
1001         * libgcov-driver.c (gcov_master): New.
1002         (gcov_exit): Remove from master chain.
1003         (__gcov_init): Add to master chain if version compatible.  Don't
1004         clear the version.
1005         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
1006         (gcov_reset_int): Clear master chain, if compatible.
1007         (gcov_dump_int): New internal interface.  Dump master chain, if
1008         compatible.
1009         (gcov_dump): Alias for gcov_dump_int.
1010         * libgcov.h (struct gcov_root): Add next and prev fields.
1011         (struct gcov_master): New struct.
1012         (__gcov_master): New.
1013         (gcov_dump_int): Declare.
1015 2014-09-17  Olivier Hainque  <hainque@adacore.com>
1017         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
1018         and crtbegin.o + crtend.o to extra_parts.
1020 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
1022         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
1023         __LIBGCC_HAS_SF_MODE__.
1024         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1025         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1026         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1027         * config/libbid/bid_gcc_intrinsics.h
1028         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1029         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1030         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1031         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1032         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
1033         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1035 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
1037         PR target/63223
1038         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
1039         and R24 as needed.  Make work for all devices and .text locations.
1040         (__do_global_ctors, __do_global_dtors): Use word addresses.
1041         (__tablejump__, __tablejump_elpm__): Remove functions.
1042         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
1043         Add _tablejump2.
1044         (XICALL, XIJMP): New macros.
1046 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1047         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1049         * config.host (aarch64*): Include crtfastmath.o and
1050         t-crtfm.
1051         * config/aarch64/crtfastmath.c: New file.
1053 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
1055         * config.host: Remove picochip support.
1056         * config/picochip/adddi3.S: Remove.
1057         * config/picochip/ashlsi3.S: Remove.
1058         * config/picochip/ashlsi3.c: Remove.
1059         * config/picochip/ashrsi3.S: Remove.
1060         * config/picochip/ashrsi3.c: Remove.
1061         * config/picochip/clzsi2.S: Remove.
1062         * config/picochip/cmpsi2.S: Remove.
1063         * config/picochip/divmod15.S: Remove.
1064         * config/picochip/divmodhi4.S: Remove.
1065         * config/picochip/divmodsi4.S: Remove.
1066         * config/picochip/lib1funcs.S: Remove.
1067         * config/picochip/longjmp.S: Remove.
1068         * config/picochip/lshrsi3.S: Remove.
1069         * config/picochip/lshrsi3.c: Remove.
1070         * config/picochip/parityhi2.S: Remove.
1071         * config/picochip/popcounthi2.S: Remove.
1072         * config/picochip/setjmp.S: Remove.
1073         * config/picochip/subdi3.S: Remove.
1074         * config/picochip/t-picochip: Remove.
1075         * config/picochip/ucmpsi2.S: Remove.
1076         * config/picochip/udivmodhi4.S: Remove.
1077         * config/picochip/udivmodsi4.S: Remove.
1079 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
1081         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
1082         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
1083         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
1084         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
1085         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
1086         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
1087         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
1088         defined and LIBGCC2_HAS_DF_MODE is defined.
1089         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
1090         defined and LIBGCC2_HAS_XF_MODE is defined.
1091         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
1092         defined and LIBGCC2_HAS_TF_MODE is defined.
1094 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
1096         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
1097         and ROUND_TOWARDS_ZERO conditionals.
1099 2014-09-07  Nathan sidwell  <nathan@acm.org>
1101         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
1102         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
1104 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
1106         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
1107         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
1108         uses to __LIBGCC_STACK_POINTER_REGNUM__.
1109         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
1110         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1111         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
1112         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1113         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
1114         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
1115         (DWARF_FRAME_REGISTERS): Change all uses to
1116         __LIBGCC_DWARF_FRAME_REGISTERS__.
1117         (EH_RETURN_STACKADJ_RTX): Change all uses to
1118         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
1119         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
1120         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
1121         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
1122         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
1123         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
1124         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
1125         to __LIBGCC_EH_FRAME_SECTION_NAME__.
1126         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
1127         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
1128         __LIBGCC_STACK_POINTER_REGNUM__.
1129         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
1130         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1131         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
1132         to __LIBGCC_STACK_POINTER_REGNUM__.
1133         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
1134         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1135         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
1136         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1137         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
1138         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1139         (STACK_POINTER_REGNUM): Change all uses to
1140         __LIBGCC_STACK_POINTER_REGNUM__.
1141         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
1142         use to __LIBGCC_STACK_POINTER_REGNUM__.
1143         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
1144         uses to __LIBGCC_STACK_POINTER_REGNUM__.
1145         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
1146         to __LIBGCC_DWARF_FRAME_REGISTERS__.
1147         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
1148         to __LIBGCC_DWARF_FRAME_REGISTERS__.
1149         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
1150         to __LIBGCC_STACK_POINTER_REGNUM__.
1151         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
1152         Remove conditional definition.
1153         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
1154         __LIBGCC_TEXT_SECTION_ASM_OP__.
1155         (EH_FRAME_SECTION_NAME): Change all uses to
1156         __LIBGCC_EH_FRAME_SECTION_NAME__.
1157         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
1158         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
1159         (CTORS_SECTION_ASM_OP): Change all uses to
1160         __LIBGCC_CTORS_SECTION_ASM_OP__.
1161         (DTORS_SECTION_ASM_OP): Change all uses to
1162         __LIBGCC_DTORS_SECTION_ASM_OP__.
1163         (JCR_SECTION_NAME): Change all uses to
1164         __LIBGCC_JCR_SECTION_NAME__.
1165         (INIT_SECTION_ASM_OP): Change all uses to
1166         __LIBGCC_INIT_SECTION_ASM_OP__.
1167         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
1168         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
1169         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
1170         __LIBGCC_STACK_GROWS_DOWNWARD__.
1171         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
1172         __LIBGCC_INIT_SECTION_ASM_OP__.
1173         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
1174         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
1175         (EH_FRAME_SECTION_NAME): Change all uses to
1176         __LIBGCC_EH_FRAME_SECTION_NAME__.
1177         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
1178         definitions.  Change all uses to
1179         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
1180         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
1181         __LIBGCC_STACK_GROWS_DOWNWARD__.
1182         (DWARF_FRAME_REGISTERS): Change all uses to
1183         __LIBGCC_DWARF_FRAME_REGISTERS__.
1184         (EH_RETURN_STACKADJ_RTX): Change all uses to
1185         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
1186         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
1187         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
1188         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
1189         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
1190         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
1192 2014-09-02  Nathan sidwell  <nathan@acm.org>
1194         * libgcov-interface.c (STRONG_ALIAS): New.
1195         (__gcov_flush): Call __gcov_reset_int.
1196         (__gcov_reset): Strong alias for ...
1197         (__gcov_reset_ing): ... this renamed hidden version.
1198         * libgcov.h (__gcov_reset_int): New declaration.
1200 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
1202         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
1203         call from here...
1204         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
1205         (__dso_handle): Define on Cygwin.
1206         * config/i386/t-cygming (crtbeginS.o): New rule.
1207         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
1209         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
1210         declaration syntax.
1212 2014-08-13  Steve Ellcey  <sellcey@mips.com>
1214         * crtstuff.c: Undef caddr_t.
1216 2014-08-12  Steve Ellcey  <sellcey@mips.com>
1218         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
1220 2014-08-07  Nathan Sidwell  <nathan@acm.org>
1222         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
1223         (LIBGCOV_DRIVER): ... to here.
1224         * libgcov.h (gcov_do_dump): New #define.
1225         (struct gcov_root): New.
1226         (__gcov_root): New declaration.
1227         (__gcov_dump_one): Declare.
1228         * libgcov-driver.c (gcov_list, gcov_dump_complete,
1229         run_accounted): Delete.
1230         (gcov_compute_histogram): Add LIST argument, adjust.
1231         (compute_summary): Adjust gcov_compute_histogram call.
1232         (gcov_do_dump): Not hidden, static in libgcov.
1233         (gcov_clear): Move  to interface.c.
1234         (__gcov_dump_one): New, broken out of ...
1235         (gcov_exit): ... here.  Make static.
1236         (__gcov_root): New.
1237         (__gcov_init): Adjust.
1238         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
1239         declarations.
1240         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
1241         (gcov_clear): Moved from driver.c.   Add LIST argument.
1242         (__gcov_reset): Adjust for changed interfaces.
1243         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
1245 2014-08-04  Rohit  <rohitarulraj@freescale.com>
1247         PR target/60102
1248         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
1249         based on change in SPE high register numbers and 3 HTM registers.
1251 2014-08-01  Nathan Sidwell  <nathan@acm.org>
1253         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
1254         LIBGCOV_INTERFACE): Reformat.
1255         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
1256         IN_GCOV_TOOL.
1257         * libgcov-interface.c: Reformat some comments.
1258         (__gcov_flush_mx): Add declaration.  Tidy up definition.
1260 2014-07-31  Alan Modra  <amodra@gmail.com>
1261             Peter Bergner  <bergner@vnet.ibm.com>
1263         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
1264         (pack_ldouble): New function.
1265         (__gcc_qadd): Use it.
1266         (__gcc_qmul): Likewise.
1267         (__gcc_qdiv): Likewise.
1268         (__gcc_qneg): Likewise.
1269         (__gcc_stoq): Likewise.
1270         (__gcc_dtoq): Likewise.
1272 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
1274         * config/s390/tpf-unwind.h: Include <stdbool.h>.
1275         (__tpf_eh_return): Add original return address as second parameter.
1276         Handle cases where unwinder routines were called directly, instead
1277         of from within the C++ library.
1279 2014-07-29  Nathan Sidwell  <nathan@acm.org>
1281         * libgcov.h: Move renaming of entry points to lib gcov specific
1282         portion.
1283         (gcov_do_dump): New rename.
1284         (gcov_rewrite): Remove inline, make HIDDEN.
1285         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
1286         (gcov_exit_compute_summary): Rename to ...
1287         (compute_summary): ... here.  Add LIST argument.
1288         (gcov_exit_merge_gcda): Rename to ...
1289         (merge_one_data): ... here.
1290         (gcov_exit_write_gcda): Rename to ...
1291         (write_one_data): ... here.
1292         (gcov_exit_merge_summary): Rename to ...
1293         (merge_summary): Add RUN_COUNTED argument.
1294         (gcov_exit_dump_gcov): Rename to ...
1295         (dump_one_gcov): Add RUN_COUNTED argument.
1296         (gcov_do_dump): New function, broken out of ...
1297         (gcov_exit): ... here.  Call it.
1299 2014-07-27  Anthony Green  <green@moxielogic.com>
1301         * config.host: Add moxiebox configuration suppport.
1303 2014-07-27  Nathan Sidwell  <nathan@acm.org>
1305         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
1306         (struct gcov_filename): ... here.  Include buffer and max length
1307         fields.
1308         (gcov_max_filename): Remove.
1309         (gi_filename): Remove.
1310         (gcov_exit_compute_summary): Compute max filename here.
1311         (gcov_exit_merge_gcda): Add filename parm, adjust.
1312         (gcov_exit_merge_summary): Likewise.
1313         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
1314         (gcov_exit): Likewise.
1315         (__gcov_init): Don't calculate max length here.
1316         * libgcov_util.c (max_filename_len): Remove.
1317         (read_gcda_file): Don't calculate max length here.
1318         (gcov_read_profile_dir): Don't propagate here.
1319         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
1320         struct gcov_filename changes.
1321         (gcov_exit_open_gcda_file): Likewise.
1323 2014-07-25  Nathan Sidwell  <nathan@acm.org>
1325         * libgcov-driver.c (set_gcov_dump_complete,
1326         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
1327         functions polluting user's namespace.
1328         (gcov_exit): Set variable directly.
1329         (gcov_clear): Reset variable directly.
1330         * libgcov-interface.c (get_gcov_dymp_complete,
1331         reset_gov_dump_complete): Remove declarations.
1332         (__gcov_reset, __gcov_dump): Don't call them.
1334 2014-07-24  DJ Delorie  <dj@redhat.com>
1336         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
1337         (__gcc_deregister_frame): Move logic to detect deregister function
1338         to ...
1339         (__gcc_register_frame): here, so it's consistent with the register
1340         logic.
1342 2014-07-23  Nathan Sidwell  <nathan@acm.org>
1344         * libgcov-driver.c (set_gcov_list): Remove.
1345         (gcov_list): Make non-static in GCOV_TOOL.
1346         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
1348 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
1350         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
1351         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
1352         Don't use SYNC_LOCK_RELEASE for int type.
1354 2014-07-14  Richard Biener  <rguenther@suse.de>
1356         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
1358 2014-07-11  Rong Xu  <xur@google.com>
1360         * libgcov-util.c (gcov_max_filename): Fix declartion.
1362 2014-07-10  Rong Xu  <xur@google.com>
1364         Add gcov-tool: an offline gcda profile processing tool
1365         Support.
1366         * libgcov-driver.c (gcov_max_filename): Make available
1367         to gcov-tool.
1368         * libgcov-merge.c (__gcov_merge_add): Replace
1369         gcov_read_counter() with a Macro.
1370         (__gcov_merge_ior): Ditto.
1371         (__gcov_merge_time_profile): Ditto.
1372         (__gcov_merge_single): Ditto.
1373         (__gcov_merge_delta): Ditto.
1374         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
1375         in the utility functions.
1376         (set_fn_ctrs): Utility function for reading gcda files to in-memory
1377         gcov_list object link lists.
1378         (tag_function): Ditto.
1379         (tag_blocks): Ditto.
1380         (tag_arcs): Ditto.
1381         (tag_lines): Ditto.
1382         (tag_counters): Ditto.
1383         (tag_summary): Ditto.
1384         (read_gcda_finalize): Ditto.
1385         (read_gcda_file): Ditto.
1386         (ftw_read_file): Ditto.
1387         (read_profile_dir_init): Ditto.
1388         (gcov_read_profile_dir): Ditto.
1389         (gcov_read_counter_mem): Ditto.
1390         (gcov_get_merge_weight): Ditto.
1391         (merge_wrapper): A wrapper function that calls merging handler.
1392         (gcov_merge): Merge two gcov_info objects with weights.
1393         (find_match_gcov_info): Find the matched gcov_info in the list.
1394         (gcov_profile_merge): Merge two gcov_info object lists.
1395         (__gcov_add_counter_op): Process edge profile counter values.
1396         (__gcov_ior_counter_op): Process IOR profile counter values.
1397         (__gcov_delta_counter_op): Process delta profile counter values.
1398         (__gcov_single_counter_op): Process single  profile counter values.
1399         (fp_scale): Callback function for float-point scaling.
1400         (int_scale): Callback function for integer fraction scaling.
1401         (gcov_profile_scale): Scaling profile counters.
1402         (gcov_profile_normalize): Normalize profile counters.
1403         * libgcov.h: Add headers and functions for gcov-tool use.
1404         (gcov_get_counter): New.
1405         (gcov_get_counter_target): Ditto.
1406         (struct gcov_info): Make the functions field mutable in gcov-tool
1407         compilation.
1409 2014-06-23  Kai Tietz  <ktietz@redhat.com>
1411         PR libgcc/61585
1412         * unwind-seh.c (_Unwind_GetGR): Check for proper
1413         index range.
1414         (_Unwind_SetGR): Likewise.
1416 2014-05-22  Nick Clifton  <nickc@redhat.com>
1418         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
1419         -mhwmult=none.
1421 2014-05-22  Teresa Johnson  <tejohnson@google.com>
1423         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
1424         include.
1426 2014-05-20  John Marino  <gnugcc@marino.st>
1428         * config.host (*-*-dragonfly*): New target.
1429         * crtstuff.c: Make dl_iterate_support generic on *bsd.
1430         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
1431         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
1432         * config/i386/dragonfly-unwind.h: New.
1434 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
1436         PR libgcc/60166
1437         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
1438         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
1440 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1442         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
1443         implementation.
1445 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
1447         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
1449 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1451         PR libgcc/61097
1452         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
1453         if --enable-shared.
1455 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1457         Work around for current cygwin32 build problems.
1458         * config/i386/cygming-crtbegin.c (__register_frame_info,
1459         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
1460         functions only for 64-bit systems.
1462 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1464         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
1465         (sigill_caught, sigill_hdlr): Remove.
1467 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1469         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
1470         check.
1471         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1472         Solaris 9 single-threaded support.
1473         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1474         Solaris 9 single-threaded support.  Add call_user_handler code
1475         sequences.
1476         (sparc_is_sighandler): Likewise.
1478 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1480         * config.host: Append t-floattodi to tmake_file depending on
1481         host_address.
1483 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
1485         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
1487 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
1489         PR libgcc/60472
1490         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
1491         variable to avoid "array subscript is above array bounds" warnings.
1492         Use __builtin_expect when checking *jcr_list for NULL.
1494 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1496         PR libgcc/59339
1497         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
1498         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
1499         vtv_*.o to extra_parts if enable_vtable_verify.
1501 2014-03-06  Nick Clifton  <nickc@redhat.com>
1503         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
1504         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
1506 2014-02-28  Joey Ye  <joey.ye@arm.com>
1508         PR libgcc/60166
1509         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
1510         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
1511         Set to zero.
1513 2014-02-24  Walter Lee  <walt@tilera.com>
1515         * config.host: Support "tilegx*" and "tilepro*" triplets.
1516         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
1517         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
1519 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
1520             Chung-Lin Tang  <cltang@codesourcery.com>
1522         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
1523         * config/nios2/crti.S: Remove .file directive.
1524         * config/nios2/crtn.S: Likewise.
1526 2014-02-18  Kai Tietz  <ktietz@redhat.com>
1527         Jonathan Schleifer  <js@webkeks.org>
1529         PR objc/56870
1530         * unwind-seh.c (_GCC_specific_handler): Pass proper
1531         value to unwind-handler.
1533 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
1535         * soft-fp/adddf3.c: Update from glibc.
1536         * soft-fp/addsf3.c: Likewise.
1537         * soft-fp/addtf3.c: Likewise.
1538         * soft-fp/divdf3.c: Likewise.
1539         * soft-fp/divsf3.c: Likewise.
1540         * soft-fp/divtf3.c: Likewise.
1541         * soft-fp/double.h: Likewise.
1542         * soft-fp/eqdf2.c: Likewise.
1543         * soft-fp/eqsf2.c: Likewise.
1544         * soft-fp/eqtf2.c: Likewise.
1545         * soft-fp/extenddftf2.c: Likewise.
1546         * soft-fp/extended.h: Likewise.
1547         * soft-fp/extendsfdf2.c: Likewise.
1548         * soft-fp/extendsftf2.c: Likewise.
1549         * soft-fp/extendxftf2.c: Likewise.
1550         * soft-fp/fixdfdi.c: Likewise.
1551         * soft-fp/fixdfsi.c: Likewise.
1552         * soft-fp/fixdfti.c: Likewise.
1553         * soft-fp/fixsfdi.c: Likewise.
1554         * soft-fp/fixsfsi.c: Likewise.
1555         * soft-fp/fixsfti.c: Likewise.
1556         * soft-fp/fixtfdi.c: Likewise.
1557         * soft-fp/fixtfsi.c: Likewise.
1558         * soft-fp/fixtfti.c: Likewise.
1559         * soft-fp/fixunsdfdi.c: Likewise.
1560         * soft-fp/fixunsdfsi.c: Likewise.
1561         * soft-fp/fixunsdfti.c: Likewise.
1562         * soft-fp/fixunssfdi.c: Likewise.
1563         * soft-fp/fixunssfsi.c: Likewise.
1564         * soft-fp/fixunssfti.c: Likewise.
1565         * soft-fp/fixunstfdi.c: Likewise.
1566         * soft-fp/fixunstfsi.c: Likewise.
1567         * soft-fp/fixunstfti.c: Likewise.
1568         * soft-fp/floatdidf.c: Likewise.
1569         * soft-fp/floatdisf.c: Likewise.
1570         * soft-fp/floatditf.c: Likewise.
1571         * soft-fp/floatsidf.c: Likewise.
1572         * soft-fp/floatsisf.c: Likewise.
1573         * soft-fp/floatsitf.c: Likewise.
1574         * soft-fp/floattidf.c: Likewise.
1575         * soft-fp/floattisf.c: Likewise.
1576         * soft-fp/floattitf.c: Likewise.
1577         * soft-fp/floatundidf.c: Likewise.
1578         * soft-fp/floatundisf.c: Likewise.
1579         * soft-fp/floatunditf.c: Likewise.
1580         * soft-fp/floatunsidf.c: Likewise.
1581         * soft-fp/floatunsisf.c: Likewise.
1582         * soft-fp/floatunsitf.c: Likewise.
1583         * soft-fp/floatuntidf.c: Likewise.
1584         * soft-fp/floatuntisf.c: Likewise.
1585         * soft-fp/floatuntitf.c: Likewise.
1586         * soft-fp/gedf2.c: Likewise.
1587         * soft-fp/gesf2.c: Likewise.
1588         * soft-fp/getf2.c: Likewise.
1589         * soft-fp/ledf2.c: Likewise.
1590         * soft-fp/lesf2.c: Likewise.
1591         * soft-fp/letf2.c: Likewise.
1592         * soft-fp/muldf3.c: Likewise.
1593         * soft-fp/mulsf3.c: Likewise.
1594         * soft-fp/multf3.c: Likewise.
1595         * soft-fp/negdf2.c: Likewise.
1596         * soft-fp/negsf2.c: Likewise.
1597         * soft-fp/negtf2.c: Likewise.
1598         * soft-fp/op-1.h: Likewise.
1599         * soft-fp/op-2.h: Likewise.
1600         * soft-fp/op-4.h: Likewise.
1601         * soft-fp/op-8.h: Likewise.
1602         * soft-fp/op-common.h: Likewise.
1603         * soft-fp/quad.h: Likewise.
1604         * soft-fp/single.h: Likewise.
1605         * soft-fp/soft-fp.h: Likewise.
1606         * soft-fp/subdf3.c: Likewise.
1607         * soft-fp/subsf3.c: Likewise.
1608         * soft-fp/subtf3.c: Likewise.
1609         * soft-fp/truncdfsf2.c: Likewise.
1610         * soft-fp/trunctfdf2.c: Likewise.
1611         * soft-fp/trunctfsf2.c: Likewise.
1612         * soft-fp/trunctfxf2.c: Likewise.
1613         * soft-fp/unorddf2.c: Likewise.
1614         * soft-fp/unordsf2.c: Likewise.
1615         * soft-fp/unordtf2.c: Likewise.
1616         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
1617         macro.
1618         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1619         Likewise.
1620         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1621         Likewise.
1622         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1623         Likewise.
1624         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1625         Likewise.
1626         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1627         Likewise.
1628         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1629         Likewise.
1630         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1631         Likewise.
1632         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1633         Likewise.
1634         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1635         Likewise.
1636         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1637         Likewise.
1638         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1639         Likewise.
1640         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1641         Likewise.
1642         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
1643         Likewise.
1644         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
1645         Likewise.
1646         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1647         Likewise.
1649 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1651         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
1652         cannot be represented.
1653         * config/s390/32/_fixsfdi.c: Likewise.
1654         * config/s390/32/_fixtfdi.c: Likewise.
1655         * config/s390/32/_fixunsdfdi.c: Likewise.
1656         * config/s390/32/_fixunssfdi.c: Likewise.
1657         * config/s390/32/_fixunstfdi.c: Likewise.
1659 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
1661         * configure.ac (libgcc_cv_mips_hard_float): New.
1662         * configure: Regenerate.
1663         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
1664         t-softfp-sfdf for hard-float targets.
1665         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
1666         (softfp_float_modes, softfp_int_modes, softfp_extensions)
1667         (softfp_truncations, softfp_exclude_libgcc2): New.
1668         * config/t-hardfp: New file.
1669         * config/t-hardfp-sfdf: Likewise.
1670         * config/hardfp.c: Likewise.
1672 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1674         * config.host: Include t-floattodi also for s390x.
1675         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
1676         * config/s390/32/_fixsfdi.c: Likewise.
1677         * config/s390/32/_fixtfdi.c: Likewise.
1678         * config/s390/32/_fixunsdfdi.c: Likewise.
1679         * config/s390/32/_fixunssfdi.c: Likewise.
1680         * config/s390/32/_fixunstfdi.c: Likewise.
1682 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1684         PR target/59788
1685         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
1686         (install-libgcc-unwind-map-forbuild): New target.
1687         (all): Depend on install-libgcc-unwind-map-forbuild.
1688         (install-libgcc-unwind-map): New target.
1689         (install): Depend on install-libgcc-unwind-map.
1691 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
1693         * config/nios2/crti.S (_init): Initialize GOT pointer from
1694         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
1696 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
1698         * configure.ac: Check __mips64 when setting host_address.
1699         * configure: Regenerate.
1700         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
1701         mips/t-mips64 and t-softfp.
1702         (mips*-*-linux*): Don't add mips/t-tpbit.
1703         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
1704         (DPBIT, DPBIT_CFLAGS): Delete.
1705         * config/mips/sfp-machine.h: New file.
1706         * config/mips/t-mips64: Likewise.
1707         * config/mips/t-softfp-tf: Likewise.
1708         * config/mips/t-tpbit: Delete.
1710 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1712         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
1713         as long long.
1715 2014-01-25  Walter Lee  <walt@tilera.com>
1717         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
1718         config.h or system.h.
1719         (bool) Define.
1721 2014-01-25  Walter Lee  <walt@tilera.com>
1723         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
1724         (post_atomic_barrier): Ditto.
1725         (__fetch_and_do): New macro.
1726         (__atomic_fetch_and_do): Use __fetch_and_do.
1727         (__sync_fetch_and_do): New macro.
1728         (__sync_fetch_and_add_4): New function.
1729         (__sync_fetch_and_sub_4): New function.
1730         (__sync_fetch_and_or_4): New function.
1731         (__sync_fetch_and_and_4): New function.
1732         (__sync_fetch_and_xor_4): New function.
1733         (__sync_fetch_and_nand_4): New function.
1734         (__sync_fetch_and_add_8): New function.
1735         (__sync_fetch_and_sub_8): New function.
1736         (__sync_fetch_and_or_8): New function.
1737         (__sync_fetch_and_and_8): New function.
1738         (__sync_fetch_and_xor_8): New function.
1739         (__sync_fetch_and_nand_8): New function.
1740         (__do_and_fetch): New macro.
1741         (__atomic_do_and_fetch): Use __do_and_fetch.
1742         (__sync_do_and_fetch): New macro.
1743         (__sync_add_and_fetch_4): New function.
1744         (__sync_sub_and_fetch_4): New function.
1745         (__sync_or_and_fetch_4): New function.
1746         (__sync_and_and_fetch_4): New function.
1747         (__sync_xor_and_fetch_4): New function.
1748         (__sync_nand_and_fetch_4): New function.
1749         (__sync_add_and_fetch_8): New function.
1750         (__sync_sub_and_fetch_8): New function.
1751         (__sync_or_and_fetch_8): New function.
1752         (__sync_and_and_fetch_8): New function.
1753         (__sync_xor_and_fetch_8): New function.
1754         (__sync_nand_and_fetch_8): New function.
1755         (__sync_exchange_methods): New macro.
1756         (__sync_val_compare_and_swap_4): New function.
1757         (__sync_bool_compare_and_swap_4): New function.
1758         (__sync_lock_test_and_test_4): New function.
1759         (__sync_val_compare_and_swap_8): New function.
1760         (__sync_bool_compare_and_swap_8): New function.
1761         (__sync_lock_test_and_test_8): New function.
1762         (__subword_cmpxchg_body): New macro.
1763         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
1764         (__atomic_compare_exchange_2): Ditto.
1765         (__sync_subword_cmpxchg): New macro.
1766         (__sync_val_compare_and_swap_1): New function.
1767         (__sync_bool_compare_and_swap_1): New function.
1768         (__sync_val_compare_and_swap_2): New function.
1769         (__sync_bool_compare_and_swap_2): New function.
1770         (__atomic_subword): Rename to ...
1771         (__subword): ... New name.
1772         (__atomic_subword_fetch): Use __subword.
1773         (__sync_subword_fetch): New macro.
1774         (__sync_fetch_and_add_1): New function.
1775         (__sync_fetch_and_sub_1): New function.
1776         (__sync_fetch_and_or_1): New function.
1777         (__sync_fetch_and_and_1): New function.
1778         (__sync_fetch_and_xor_1): New function.
1779         (__sync_fetch_and_nand_1): New function.
1780         (__sync_fetch_and_add_2): New function.
1781         (__sync_fetch_and_sub_2): New function.
1782         (__sync_fetch_and_or_2): New function.
1783         (__sync_fetch_and_and_2): New function.
1784         (__sync_fetch_and_xor_2): New function.
1785         (__sync_fetch_and_nand_2): New function.
1786         (__sync_add_and_fetch_1): New function.
1787         (__sync_sub_and_fetch_1): New function.
1788         (__sync_or_and_fetch_1): New function.
1789         (__sync_and_and_fetch_1): New function.
1790         (__sync_xor_and_fetch_1): New function.
1791         (__sync_nand_and_fetch_1): New function.
1792         (__sync_add_and_fetch_2): New function.
1793         (__sync_sub_and_fetch_2): New function.
1794         (__sync_or_and_fetch_2): New function.
1795         (__sync_and_and_fetch_2): New function.
1796         (__sync_xor_and_fetch_2): New function.
1797         (__sync_nand_and_fetch_2): New function.
1798         (__atomic_subword_lock): Use __subword.
1799         (__sync_subword_lock): New macro.
1800         (__sync_lock_test_and_set_1): New function.
1801         (__sync_lock_test_and_set_2): New function.
1803 2014-01-25  Walter Lee  <walt@tilera.com>
1805         * config/tilepro/atomic.c (BIT_OFFSET): Define.
1806         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
1807         (__atomic_subword): Ditto.
1809 2014-01-25  Walter Lee  <walt@tilera.com>
1811         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
1812         a prefix op argument.
1813         (__atomic_nand_fetch_4): Add prefix op.
1814         (__atomic_nand_fetch_8): Ditto.
1816 2014-01-21  Baruch Siach <barch@tkos.co.il>
1818         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
1820 2014-01-09  Rong Xu  <xur@google.com>
1822         * libgcov-driver.c (this_prg): make it local to save
1823         bss space.
1824         (gcov_exit_compute_summary): Ditto.
1825         (gcov_exit_merge_gcda): Ditto.
1826         (gcov_exit_merge_summary): Ditto.
1827         (gcov_exit_dump_gcov): Ditto.
1829 2014-01-08  Rong Xu  <xur@google.com>
1831         * libgcov-driver.c: Use libgcov.h.
1832         (buffer_fn_data): Use xmalloc instead of malloc.
1833         (gcov_exit_merge_gcda): Ditto.
1834         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
1835         * libgcov.h: New common header files for libgcov-*.h.
1836         * libgcov-interface.c: Use libgcov.h
1837         * libgcov-merge.c: Ditto.
1838         * libgcov-profiler.c: Ditto.
1839         * Makefile.in: Add dependence to libgcov.h
1841 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
1843         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
1844         case of small numerator and finite nonzero result.
1846 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1848         Update copyright years
1850 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1852         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
1853         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
1854         config/arc/dp-hack.h, config/arc/fp-hack.h,
1855         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
1856         config/arc/ieee-754/arc600-dsp/divdf3.S,
1857         config/arc/ieee-754/arc600-dsp/divsf3.S,
1858         config/arc/ieee-754/arc600-dsp/muldf3.S,
1859         config/arc/ieee-754/arc600-dsp/mulsf3.S,
1860         config/arc/ieee-754/arc600-mul64/divdf3.S,
1861         config/arc/ieee-754/arc600-mul64/divsf3.S,
1862         config/arc/ieee-754/arc600-mul64/muldf3.S,
1863         config/arc/ieee-754/arc600-mul64/mulsf3.S,
1864         config/arc/ieee-754/arc600/divsf3.S,
1865         config/arc/ieee-754/arc600/mulsf3.S,
1866         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
1867         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
1868         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
1869         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
1870         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
1871         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
1872         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
1873         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
1874         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
1875         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
1876         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
1877         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
1878         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
1879         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
1880         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
1881         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
1882         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
1883         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
1884         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
1885         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
1886         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
1887         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
1888         vtv_start_preinit.c: Use the standard form for the copyright notice.
1890 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
1891             Chung-Lin Tang  <cltang@codesourcery.com>
1892             Based on patches from Altera Corporation
1894         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
1895         * config/nios2/lib2-nios2.h: New file.
1896         * config/nios2/lib2-divmod-hi.c: New file.
1897         * config/nios2/linux-unwind.h: New file.
1898         * config/nios2/lib2-divmod.c: New file.
1899         * config/nios2/linux-atomic.c: New file.
1900         * config/nios2/t-nios2: New file.
1901         * config/nios2/crti.asm: New file.
1902         * config/nios2/t-linux: New file.
1903         * config/nios2/lib2-divtable.c: New file.
1904         * config/nios2/lib2-mul.c: New file.
1905         * config/nios2/tramp.c: New file.
1906         * config/nios2/crtn.asm: New file.
1908 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
1910         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
1911         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
1912         from cpuid.h to check vendor signatures.
1914 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
1916         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
1917         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
1918         (get_amd_cpu): Likewise.
1920 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
1922         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
1923         Haswell.
1925 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
1926             H.J. Lu  <hongjiu.lu@intel.com>
1928         PR target/59422
1929         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
1930         and AMD_JAGUAR.
1931         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
1932         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
1933         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
1934         FEATURE_XOP and FEATURE_FMA.
1935         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
1936         AMDFAM15H_BDVER3.
1937         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
1938         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
1939         FEATURE_FMA4 and FEATURE_XOP.
1941 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
1943         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
1944         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
1945         (get_intel_cpu): Updated.
1947 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
1949         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
1951 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
1953         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1954         instructions when __SSE_MATH__ is defined.
1956 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
1958         * config.host (microblaze-*-rtems*): New.
1960 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
1962         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
1963         architectures that do not have hardware divide instruction.
1964         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
1966 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
1968         * longlong.h: Delete (moved to include/).
1970 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1972         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
1973         of normal number and qNaN to not raise an inexact exception.
1975 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
1977         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
1979 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
1981         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
1982         for correct opcodes on BE.
1984 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
1986         * soft-fp/op-4.h: Update from glibc.
1988 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
1990         * libgcc2.c (__udivmoddi4): Define new implementation when
1991         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
1992         divide instructions.
1994 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
1996         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
1998 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2000         * config/t-softfp (soft-fp-objects-base): New variable.
2001         (soft-fp-objects): Use it.
2003 2013-11-23  David Edelson  <dje.gcc@gmail.com>
2004             Andrew Dixie  <andrewd@gentrack.com>
2006         PR target/33704
2007         * config/rs6000/aixinitfini.c: New file.
2008         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
2009         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
2010         symbols.
2012 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
2014         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
2016 2013-11-18  Jan Hubicka  <jh@suse.cz>
2018         * libgcov-driver.c (run_accounted): Make global level static.
2019         (gcov_exit_merge_summary): Silence warning; do not clear
2020         run_accounted here.
2021         (gcov_exit): Clear it here.
2023         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
2024         run_accounted.
2026         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
2027         (all_prg, crc32): Remove static vars.
2028         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
2029         all_prg.
2030         (gcov_exit_merge_gcda): Add crc32 parameter.
2031         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
2032         do not account run if it was already accounted.
2033         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
2034         (gcov_exit): Initialize all_prg; update.
2036 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
2038         * configure: Regenerate.
2040 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2041             Alan Modra  <amodra@gmail.com>
2043         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
2044         (frob_update_context): Use it.
2046 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2047             Alan Modra  <amodra@gmail.com>
2049         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
2050         (trampoline_initial): Provide ELFv2 variant.
2051         (__trampoline_setup): Likewise.
2053         * config/rs6000/linux-unwind.h (frob_update_context): Do not
2054         check for AIX indirect function call sequence if _CALL_ELF == 2.
2056 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2057             Alan Modra  <amodra@gmail.com>
2059         * config/rs6000/linux-unwind.h (get_regs): Do not support
2060         old kernel versions if _CALL_ELF == 2.
2061         (frob_update_context): Do not support PLT stub variants only
2062         generated by old linkers if _CALL_ELF == 2.
2064 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2065             Alan Modra  <amodra@gmail.com>
2067         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
2068         location of CR save area for 64-bit little-endian systems.
2070 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
2072         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
2073         in tmake_file.
2074         * config/arm/t-vxworks: Delete.
2076 2013-11-10  Kai Tietz  <ktietz@redhat.com>
2078         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
2079         Increment load-count on use of LIBGCC_SONAME DLL.
2080         (hmod_libgcc): New static variable to hold handle of
2081         LIBGCC_SONAME DLL.
2082         (__gcc_deregister_frame): Decrement load-count of
2083         LIBGCC_SONAME DLL.
2085 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
2087         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
2088         availability.
2089         * configure: Regenerate
2091 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
2093         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
2094         FP_EX_DENORM.  Store result to volatile location after SSE division
2095         to close interrupt window.  Remove unneeded fwait after x87
2096         division since interrupt window will be closed by emitted fstp.
2097         Rewrite FP_EX_INEXACT handling.
2099 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
2101         * soft-fp/README: Update.
2102         * soft-fp/adddf3.c: Update from glibc.
2103         * soft-fp/addsf3.c: Likewise.
2104         * soft-fp/addtf3.c: Likewise.
2105         * soft-fp/divdf3.c: Likewise.
2106         * soft-fp/divsf3.c: Likewise.
2107         * soft-fp/divtf3.c: Likewise.
2108         * soft-fp/double.h: Likewise.
2109         * soft-fp/eqdf2.c: Likewise.
2110         * soft-fp/eqsf2.c: Likewise.
2111         * soft-fp/eqtf2.c: Likewise.
2112         * soft-fp/extenddftf2.c: Likewise.
2113         * soft-fp/extended.h: Likewise.
2114         * soft-fp/extendsfdf2.c: Likewise.
2115         * soft-fp/extendsftf2.c: Likewise.
2116         * soft-fp/extendxftf2.c: Likewise.
2117         * soft-fp/fixdfdi.c: Likewise.
2118         * soft-fp/fixdfsi.c: Likewise.
2119         * soft-fp/fixdfti.c: Likewise.
2120         * soft-fp/fixsfdi.c: Likewise.
2121         * soft-fp/fixsfsi.c: Likewise.
2122         * soft-fp/fixsfti.c: Likewise.
2123         * soft-fp/fixtfdi.c: Likewise.
2124         * soft-fp/fixtfsi.c: Likewise.
2125         * soft-fp/fixtfti.c: Likewise.
2126         * soft-fp/fixunsdfdi.c: Likewise.
2127         * soft-fp/fixunsdfsi.c: Likewise.
2128         * soft-fp/fixunsdfti.c: Likewise.
2129         * soft-fp/fixunssfdi.c: Likewise.
2130         * soft-fp/fixunssfsi.c: Likewise.
2131         * soft-fp/fixunssfti.c: Likewise.
2132         * soft-fp/fixunstfdi.c: Likewise.
2133         * soft-fp/fixunstfsi.c: Likewise.
2134         * soft-fp/fixunstfti.c: Likewise.
2135         * soft-fp/floatdidf.c: Likewise.
2136         * soft-fp/floatdisf.c: Likewise.
2137         * soft-fp/floatditf.c: Likewise.
2138         * soft-fp/floatsidf.c: Likewise.
2139         * soft-fp/floatsisf.c: Likewise.
2140         * soft-fp/floatsitf.c: Likewise.
2141         * soft-fp/floattidf.c: Likewise.
2142         * soft-fp/floattisf.c: Likewise.
2143         * soft-fp/floattitf.c: Likewise.
2144         * soft-fp/floatundidf.c: Likewise.
2145         * soft-fp/floatundisf.c: Likewise.
2146         * soft-fp/floatunditf.c: Likewise.
2147         * soft-fp/floatunsidf.c: Likewise.
2148         * soft-fp/floatunsisf.c: Likewise.
2149         * soft-fp/floatunsitf.c: Likewise.
2150         * soft-fp/floatuntidf.c: Likewise.
2151         * soft-fp/floatuntisf.c: Likewise.
2152         * soft-fp/floatuntitf.c: Likewise.
2153         * soft-fp/gedf2.c: Likewise.
2154         * soft-fp/gesf2.c: Likewise.
2155         * soft-fp/getf2.c: Likewise.
2156         * soft-fp/ledf2.c: Likewise.
2157         * soft-fp/lesf2.c: Likewise.
2158         * soft-fp/letf2.c: Likewise.
2159         * soft-fp/muldf3.c: Likewise.
2160         * soft-fp/mulsf3.c: Likewise.
2161         * soft-fp/multf3.c: Likewise.
2162         * soft-fp/negdf2.c: Likewise.
2163         * soft-fp/negsf2.c: Likewise.
2164         * soft-fp/negtf2.c: Likewise.
2165         * soft-fp/op-1.h: Likewise.
2166         * soft-fp/op-2.h: Likewise.
2167         * soft-fp/op-4.h: Likewise.
2168         * soft-fp/op-8.h: Likewise.
2169         * soft-fp/op-common.h: Likewise.
2170         * soft-fp/quad.h: Likewise.
2171         * soft-fp/single.h: Likewise.
2172         * soft-fp/soft-fp.h: Likewise.
2173         * soft-fp/subdf3.c: Likewise.
2174         * soft-fp/subsf3.c: Likewise.
2175         * soft-fp/subtf3.c: Likewise.
2176         * soft-fp/truncdfsf2.c: Likewise.
2177         * soft-fp/trunctfdf2.c: Likewise.
2178         * soft-fp/trunctfsf2.c: Likewise.
2179         * soft-fp/trunctfxf2.c: Likewise.
2180         * soft-fp/unorddf2.c: Likewise.
2181         * soft-fp/unordsf2.c: Likewise.
2182         * soft-fp/unordtf2.c: Likewise.
2184 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
2186         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
2187         (_FP_MUL_MEAT_D): Ditto.
2188         (_FP_DIV_MEAT_S): Ditto.
2189         (_FP_DIV_MEAT_D): Ditto.
2190         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
2191         t-softfp-sfdf and t-softfp to tmake_file.
2193 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
2195         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
2196         * config/i386/crtprec.c: Ditto.
2198 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
2199             Shiva Chen  <shiva0217@gmail.com>
2201         * config.host (nds32*-elf*): Add nds32 target.
2202         * config/nds32 : New directory and files.
2204 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
2206         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
2207         * config.host (cpu_type) <Setting default>: Add entry for
2208         crisv32-*-*.
2209         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
2210         <crisv32-*-linux*>: Adjust.
2211         * longlong.h: Wrap the whole CRIS section in a single
2212         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
2213         and sub_ddmmss.
2214         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
2215         defined.
2216         [__CRIS__] (__umulsidi3): Define.
2217         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
2218         * config/cris/sfp-machine.h: New file.
2219         * config/cris/umulsidi3.S: New file.
2220         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
2221         * config/cris/arit.c (SIGNMULT): New macro.
2222         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
2223         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
2224         saving 3 out of originally 33 cycles from the fastest
2225         path, 3 out of 54 from the medium path and one from the longest
2226         path.  Improve comments.
2228 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
2230         * sync.c: Remove static aliases and define each function directly
2231         under its real name.
2233 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
2235         * config.host (hppa*64*-*-linux*): Define extra_parts.
2236         (hppa*-*-linux*): Likewise.
2238 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
2240         * config/arc/crtgend.S: Add 2013 to Copyright years.
2241         * config/arc/gmon/atomic.h: Likewise.
2242         * config/arc/gmon/auxreg.h: Likewise.
2243         * config/arc/gmon/sys/gmon_out.h: Likewise.
2244         * config/arc/gmon/sys/gmon.h: Likewise.
2245         * config/arc/gmon/prof-freq.c: Likewise.
2246         * config/arc/gmon/mcount.c: Likewise.
2247         * config/arc/gmon/prof-freq-stub.S: Likewise.
2248         * config/arc/gmon/gmon.c: Likewise.
2249         * config/arc/gmon/machine-gmon.h: Likewise.
2250         * config/arc/gmon/profil.S: Likewise.
2251         * config/arc/gmon/dcache_linesz.S: Likewise.
2252         * config/arc/crtg.S: Likewise.
2253         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
2254         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
2255         * config/arc/ieee-754/adddf3.S: Likewise.
2256         * config/arc/ieee-754/truncdfsf2.S: Likewise.
2257         * config/arc/ieee-754/fixsfsi.S: Likewise.
2258         * config/arc/ieee-754/gtsf2.S: Likewise.
2259         * config/arc/ieee-754/floatsisf.S: Likewise.
2260         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
2261         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
2262         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
2263         * config/arc/ieee-754/fixdfsi.S: Likewise.
2264         * config/arc/ieee-754/addsf3.S: Likewise.
2265         * config/arc/ieee-754/gesf2.S: Likewise.
2266         * config/arc/ieee-754/floatsidf.S: Likewise.
2267         * config/arc/ieee-754/extendsfdf2.S: Likewise.
2268         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
2269         * config/arc/ieee-754/gtdf2.S: Likewise.
2270         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
2271         * config/arc/ieee-754/uneqdf2.S: Likewise.
2272         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2273         * config/arc/ieee-754/uneqsf2.S: Likewise.
2274         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
2275         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
2276         * config/arc/ieee-754/eqdf2.S: Likewise.
2277         * config/arc/ieee-754/ordsf2.S: Likewise.
2278         * config/arc/ieee-754/divsf3.S: Likewise.
2279         * config/arc/ieee-754/divdf3.S: Likewise.
2280         * config/arc/ieee-754/floatunsidf.S: Likewise.
2281         * config/arc/ieee-754/orddf2.S: Likewise.
2282         * config/arc/ieee-754/eqsf2.S: Likewise.
2283         * config/arc/ieee-754/gedf2.S: Likewise.
2284         * config/arc/crtn.S: Likewise.
2285         * config/arc/crti.S: Likewise.
2286         * config/arc/t-arc700-uClibc: Likewise.
2287         * config/arc/asm.h: Likewise.
2288         * config/arc/libgcc-excl.ver: Likewise.
2289         * config/arc/t-arc-newlib: Likewise.
2290         * config/arc/divtab-arc700.c: Likewise.
2291         * config/arc/initfini.c: Likewise.
2292         * config/arc/fp-hack.h: Likewise.
2294 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
2295             Diego Novillo  <dnovillo@google.com>
2297         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
2298         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
2299         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
2300         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
2302 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
2303             Brendan Kehoe  <brendan@zen.org>
2304             Simon Cook  <simon.cook@embecosm.com>
2306         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
2307         * config/arc: New directory.
2308         * longlong.h [__arc__] (umul_ppmm): Remove.
2309         [__arc__] (__umulsidi3): Define.
2310         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
2311         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
2313 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
2315         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
2316         CreateSemaphoreA.
2317         * config/i386/gthr-win32.h: Likewise.
2319 2013-09-16  DJ Delorie  <dj@redhat.com>
2321         * config/rl78/vregs.h: Add G10 register definitions.
2322         * config/rl78/lib2mul.c: Enable for RL78/G10.
2323         * config/rl78/lib2div.c: Likewise.
2324         * config/rl78/lshrsi3.S: Use vregs.h.
2325         * config/rl78/cmpsi2.S: Likewise.
2326         * config/rl78/trampoline.S: Likewise.
2327         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
2329 2013-09-14  DJ Delorie  <dj@redhat.com>
2330             Nick Clifton  <nickc@redhat.com>
2332         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
2333         * config/rl78/vregs.h: New.
2334         * config/rl78/signbit.S: New file.  Implements signbit function.
2335         * config/rl78/divmodsi.S: New.
2336         * config/rl78/divmodhi.S: New.
2337         * config/rl78/divmodqi.S: New.
2338         * config/rl78/t-rl78: Build them here...
2339         * config/rl78/lib2div.c: ...but not here.
2341 2013-09-12  DJ Delorie  <dj@redhat.com>
2343         * config.host (msp*-*-elf): New.
2344         * config/msp430/: New port.
2346 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
2348         PR gcov-profile/58127
2349         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
2350         __thread var for emulated TLS.
2351         (__gcov_indirect_call_counters): Likewise.
2353 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
2354             Catherine Moore  <clm@codesourcery.com>
2355             Richard Sandiford <rdsandiford@googlemail.com>
2357         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
2358         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
2359         (CALL_STUB_NO_RET): Likewise.
2360         (CALL_STUB_RET): Likewise.
2361         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
2362         __mips16_ret call/return stub symbols.
2363         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
2364         to tmake_file.
2366 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
2368         * config.host <mips*-*-linux*>: Remove a stray comment.
2370 2013-08-10  Jan Hubicka  <jh@suse.cz>
2372         Work around binutils PR14342
2373         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
2374         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
2375         (L_gcov_indirect_call_profiler_v2): New.
2377 2013-08-06  Jan Hubicka  <jh@suse.cz>
2379         * libgcov.c (__gcov_indirect_call_callee,
2380         __gcov_indirect_call_counters): New global vars.
2381         (__gcov_indirect_call_profiler): replace by ...
2382         (__gcov_indirect_call_profiler_v2) ... this one.
2384 2013-08-06  Caroline Tice  <cmtice@google.com>
2386         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2387         vtv_start_preinit.o and vtv_end_preinit.o.
2388         * configure.ac: Add code to check/set enable_vtable_verify.
2389         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2390         true.
2391         * vtv_start_preinit.c: New file.
2392         * vtv_end_preinit.c: New file.
2393         * vtv_start.c: New file.
2394         * vtv_end.c: New file.
2395         * configure: Regenerated.
2397 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
2399         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
2400         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
2401         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
2402         GPL-3.0-with-GCC-exception.
2404 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
2406         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
2407         ISA and up.
2409 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2411         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
2412         mapping for FPRs when creating the fallback framestate.
2414 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
2416         PR target/57516
2417         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
2418         (__round_s2_const, __round_u2_const)
2419         (__round_s4_const, __round_u4_const, __round_x8):
2420         Saturate result if addition result cannot be represented.
2422 2013-07-15  Matthias Klose  <doko@ubuntu.com>
2424         * libgcc2.c: Don't include <limits.h>.
2426 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
2428         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
2430 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
2432         PR target/29776
2433         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
2435 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
2437         PR middle-end/36041
2438         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
2439         Define.
2440         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
2441         instead of table lookups.
2442         (__popcountDI2): Likewise.
2444 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
2446         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
2447         correctly.
2449 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
2451         PR other/53317
2452         * soft-fp/adddf3.c: Update from glibc.
2453         * soft-fp/addsf3.c: Likewise.
2454         * soft-fp/addtf3.c: Likewise.
2455         * soft-fp/divdf3.c: Likewise.
2456         * soft-fp/divsf3.c: Likewise.
2457         * soft-fp/divtf3.c: Likewise.
2458         * soft-fp/double.h: Likewise.
2459         * soft-fp/eqdf2.c: Likewise.
2460         * soft-fp/eqsf2.c: Likewise.
2461         * soft-fp/eqtf2.c: Likewise.
2462         * soft-fp/extenddftf2.c: Likewise.
2463         * soft-fp/extended.h: Likewise.
2464         * soft-fp/extendsfdf2.c: Likewise.
2465         * soft-fp/extendsftf2.c: Likewise.
2466         * soft-fp/fixdfdi.c: Likewise.
2467         * soft-fp/fixdfsi.c: Likewise.
2468         * soft-fp/fixsfdi.c: Likewise.
2469         * soft-fp/fixsfsi.c: Likewise.
2470         * soft-fp/fixtfdi.c: Likewise.
2471         * soft-fp/fixtfsi.c: Likewise.
2472         * soft-fp/fixunsdfdi.c: Likewise.
2473         * soft-fp/fixunsdfsi.c: Likewise.
2474         * soft-fp/fixunssfdi.c: Likewise.
2475         * soft-fp/fixunssfsi.c: Likewise.
2476         * soft-fp/fixunstfdi.c: Likewise.
2477         * soft-fp/fixunstfsi.c: Likewise.
2478         * soft-fp/floatdidf.c: Likewise.
2479         * soft-fp/floatdisf.c: Likewise.
2480         * soft-fp/floatditf.c: Likewise.
2481         * soft-fp/floatsidf.c: Likewise.
2482         * soft-fp/floatsisf.c: Likewise.
2483         * soft-fp/floatsitf.c: Likewise.
2484         * soft-fp/floatundidf.c: Likewise.
2485         * soft-fp/floatundisf.c: Likewise.
2486         * soft-fp/floatunditf.c: Likewise.
2487         * soft-fp/floatunsidf.c: Likewise.
2488         * soft-fp/floatunsisf.c: Likewise.
2489         * soft-fp/floatunsitf.c: Likewise.
2490         * soft-fp/gedf2.c: Likewise.
2491         * soft-fp/gesf2.c: Likewise.
2492         * soft-fp/getf2.c: Likewise.
2493         * soft-fp/ledf2.c: Likewise.
2494         * soft-fp/lesf2.c: Likewise.
2495         * soft-fp/letf2.c: Likewise.
2496         * soft-fp/muldf3.c: Likewise.
2497         * soft-fp/mulsf3.c: Likewise.
2498         * soft-fp/multf3.c: Likewise.
2499         * soft-fp/negdf2.c: Likewise.
2500         * soft-fp/negsf2.c: Likewise.
2501         * soft-fp/negtf2.c: Likewise.
2502         * soft-fp/op-1.h: Likewise.
2503         * soft-fp/op-2.h: Likewise.
2504         * soft-fp/op-4.h: Likewise.
2505         * soft-fp/op-8.h: Likewise.
2506         * soft-fp/op-common.h: Likewise.
2507         * soft-fp/quad.h: Likewise.
2508         * soft-fp/single.h: Likewise.
2509         * soft-fp/soft-fp.h: Likewise.
2510         * soft-fp/subdf3.c: Likewise.
2511         * soft-fp/subsf3.c: Likewise.
2512         * soft-fp/subtf3.c: Likewise.
2513         * soft-fp/truncdfsf2.c: Likewise.
2514         * soft-fp/trunctfdf2.c: Likewise.
2515         * soft-fp/trunctfsf2.c: Likewise.
2516         * soft-fp/unorddf2.c: Likewise.
2517         * soft-fp/unordsf2.c: Likewise.
2518         * soft-fp/unordtf2.c: Likewise.
2519         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
2520         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2521         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2522         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2523         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2524         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2525         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2526         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2527         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2528         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
2529         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
2530         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2532 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
2534         * config/mips/lib2funcs.c: New file.
2535         * config/mips/t-mips (LIB2ADD_ST): Add it.
2537 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
2539         PR target/6526
2540         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
2541         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
2543 2013-06-08  Walter Lee  <walt@tilera.com>
2545         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
2546         Replace int64_t with long long.  Add __extension__ where
2547         appropriate.
2548         * config/tilepro/atomic.c: Include config.h.
2550 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
2552         * config.host (arm-wrs-vxworks): Configure with other soft float.
2554 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
2556         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
2557         (mips64r5900el-*-elf*): New configurations.
2559 2013-06-04  Alan Modra  <amodra@gmail.com>
2561         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
2563 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
2565         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
2567 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
2569         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
2570         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
2571         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
2573 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
2575         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
2576         (powerpc-wrs-vxworks): Likewise.
2578 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
2580         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
2581         signal frames as well.
2582         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
2583         STACK_BIAS to the CFA offset.
2585 2013-05-17  Richard Henderson  <rth@redhat.com>
2587         PR target/49146
2588         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
2589         (execute_cfa_program): Use it when storing to fs->regs.
2591 2013-05-08  Kai Tietz  <ktietz@redhat.com>
2593         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
2594         (__deregister_frame_info): Likewise.
2596 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
2598         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
2599         NaN's payload.
2601         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
2603 2013-04-25  Alan Modra  <amodra@gmail.com>
2605         * config.host: Match little-endian powerpc-linux.
2607 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
2609         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
2610         as 'unsigned long long' instead of 'unsigned long'.
2611         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
2612         'signed long'.
2614 2013-04-10  Julian Brown  <julian@codesourcery.com>
2616         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
2617         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
2618         unsigned char/unsigned short.
2619         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
2621 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2623         PR other/55274
2624         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
2626 2013-04-04  Meador Inge  <meadori@codesourcery.com>
2628         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
2629         computing the location of the link register.
2630         (aeabi_uldivmod): Ditto.
2632 2013-03-27  Kai Tietz  <ktietz@redhat.com>
2634         * config.host: Add support for cygwin x64 target.
2635         * configure: Regenerated.
2637 2013-03-26  Walter Lee  <walt@tilera.com>
2639         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
2640         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
2642 2013-03-25  Kai Tietz  <ktietz@redhat.com>
2644         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
2646 2013-03-20  Robert Mason  <rbmj@verizon.net>
2648         * config/vxlib-tls.c (__gthread_get_tsd_data,)
2649         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
2650         (__gthread_leave_tsd_dtor_context): Add prototypes.
2651         (tls_delete_hook): Update.
2653 2013-03-20  Catherine Moore  <clm@codesourcery.com>
2654             Joseph Myers  <joseph@codesourcery.com>
2655             Chao-ying Fu  <fu@mips.com>
2657         * config/mips/mips16.S:  Don't build for microMIPS.
2658         * config/mips/linux-unwind.h: Handle microMIPS frame.
2659         * config/mips/crtn.S (fini, init): New labels.
2661 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
2663         PR tree-optimization/53265
2664         * unwind-dw2.c (execute_cfa_program): Avoid
2665         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
2666         on targets with DWARF_FRAME_REGISTERS < 32.
2668 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
2670         PR target/49880
2671         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
2672         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
2674 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
2676         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
2677         sandybridge processors.
2679 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
2681         PR target/56529
2682         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
2683         inclusion list.
2685 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
2687         * config/microblaze/crti.S: Setup stack protection at entry
2689 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
2691         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
2692         (__rotldi3): Shift bytewise if applicable.
2694 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
2696         * config/aarch64/sync-cache.c
2697         (__aarch64_sync_cache_range): Silence warnings.
2699 2013-02-25  Catherine Moore  <clm@codesourcery.com>
2701         Revert:
2702         2013-02-24  Catherine Moore  <clm@codesourcery.com>
2703             Joseph Myers  <joseph@codesourcery.com>
2704             Chao-ying Fu  <fu@mips.com>
2706         * config/mips/mips16.S:  Don't build for microMIPS.
2707         * config/mips/linux-unwind.h: Handle microMIPS frame.
2708         * config/mips/crtn.S (fini, init): New labels.
2710 2013-02-24  Catherine Moore  <clm@codesourcery.com>
2711             Joseph Myers  <joseph@codesourcery.com>
2712             Chao-ying Fu  <fu@mips.com>
2714         * config/mips/mips16.S:  Don't build for microMIPS.
2715         * config/mips/linux-unwind.h: Handle microMIPS frame.
2716         * config/mips/crtn.S (fini, init): New labels.
2718 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
2719         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
2720         as dividend.
2722 2013-02-16  Alan Modra  <amodra@gmail.com>
2724         PR target/55431
2725         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
2726         (ppc_fallback_frame_state): Always set up save locations for fp
2727         and altivec.  Don't bother with non-callee-saved regs, r0-r13
2728         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
2730 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
2732         PR target/54222
2733         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
2734         _ssmulHA, _ssmulSA.
2735         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
2736         _ssmulha3, _usmulusa3, _ssmulsa3.
2737         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
2738         (__muldi3): XCALL __muldi3_6 instead of rcall.
2739         (__umulsidi3, __mulsidi3): New functions.
2740         (do_prologue_saves, do_epilogue_restores): New .macros.
2741         (__divdi3_moddi3): Use them.
2742         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
2743         (__usmulusa3, __ssmulsa3): New functions.
2745 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
2746             Jack Howarth  <howarth@bromo.med.uc.edu>
2747             Patrick Marlier  <patrick.marlier@gmail.com>
2749         PR libitm/55693
2750         * config/darwin-crt-tm.c: Remove dummy functions hack.
2752 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
2754         PR target/54222
2755         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
2756         * config/avr/lib2-object.mk: New iterator to build objects from it.
2757         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
2758         lib2funcs.c.
2759         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
2760         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
2761         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
2762         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
2763         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
2764         * config/avr/lib1funcs-fixed.S: Implement them.
2766 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
2768         Update copyright years.
2770 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
2772         PR target/54601
2773         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
2774         Add crtcxa to extra_parts.
2775         * config/rs6000/exit.h: New file.
2776         * config/rs6000/cxa_atexit.c: New file.
2777         * config/rs6000/cxa_finalize.c: New file.
2778         * config/rs6000/crtcxa.c: New file.
2779         * config/rs6000/t-aix-cxa: New file.
2780         * config/rs6000/libgcc-aix-cxa.ver: New file.
2782 2013-01-31  Nick Clifton  <nickc@redhat.com>
2784         * config/v850/lib1funcs.S: Add support for e3v5 architecture
2785         variant.
2787 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
2789         PR target/54222
2790         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
2791         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
2792         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
2793         _divQQ,  _divHQ,  _divHA,  _divSA,
2794         _divUQQ, _divUHQ, _divUHA, _divUSA.
2796 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
2798         * config.host(microblaze*-linux*): tmake_file: Remove
2799         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
2800         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
2801         to exclude functions from being built with libgcc.c and use
2802         the microblaze assembly.
2804 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
2806         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
2807         extra_parts.
2809 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
2811         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
2812         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
2813         __UINTPTR_TYPE__; also cast 'base' to the same type before the
2814         alignment operation.
2816 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
2818         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
2819         loop start address for cache clearing.
2821 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2823         * config/avr/lib1funcs.S: Remove trailing blanks.
2824         * config/avr/lib1funcs-fixed.S: Ditto.
2826 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2828         * config/avr/avr-lib.h: Add GPL copyright notice.
2830 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2832         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
2833         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
2834         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
2835         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
2837 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
2839         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
2840         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2842 2013-01-04  Nick Clifton  <nickc@redhat.com>
2844         * config/v850/lib1funcs.S: Only provide CALLT support functions if
2845         the CALLT instruction is supported.
2847 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
2849         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
2850         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
2852 2012-12-13  John Tytgat  <John@bass-software.com>
2854         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
2855         is 25.
2857 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
2859         PR libgcc/55451
2860         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
2861         undefined signed overflows.
2863 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
2865         PR target/55344
2866         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
2868 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
2870         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
2871         (FP_TRAPPING_EXCEPTIONS): Define.
2872         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
2873         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
2875 2012-12-04  Richard Henderson  <rth@redhat.com>
2877         PR bootstrap/55571
2878         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
2880 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
2882         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
2883         (FP_EX_SHIFT): Define.
2884         (FP_TRAPPING_EXCEPTIONS): Define.
2886 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
2888         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
2889         (FP_ROUNDMODE): Use FP_RND_MASK.
2890         * config/aarch64/sfp-exceptions.c: New.
2891         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2892         Use __sfp_handle_exceptions.
2894 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
2896         * config.host: (arm*-*-freebsd*): Remove.
2897         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
2898         (arm*-*-elf*): Remove.
2899         (arm*-*-wince-pe*): Remove.
2900         * arm/unwind-arm.c (struct fpa_reg): Delete.
2901         (struct fpa_regs): Delete.
2902         (phase1_vrs): Remove fpa element.
2903         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
2904         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
2905         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
2906         * ieee754-sf.S (floatundisf): Remove FPA support.
2907         (floatdisf): Likewise.
2908         * ieee75f-df.S (floatundidf): Likewise.
2909         (floatdidf): Likewise.
2911 2012-11-29  Kai Tietz  <ktietz@redhat.com>
2913         PR target/55445
2914         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
2915         * unwind-generic.h: Likewise.
2916         * unwind-seh.c: Likewise.
2918 2012-11-28  Richard Henderson  <rth@redhat.com>
2920         PR libgcc/48076
2921         * emutls.c (__emutls_get_address): Avoid race condition between
2922         obj->loc.offset read and emutls_key initialization.
2924 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
2926         Adjust decimal point of signed accum mode to GCC default.
2928         PR target/54222
2929         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
2930         _divqq_helper.
2931         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
2932         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
2933         (__mulha3, __mulsa3)
2934         (__divqq3, __divha3, __divsa3): Adjust to new position of
2935         decimal point of signed accum types.
2937         (__mulusa3_round): New function.
2938         (__mulusa3): Use it.
2939         (__divqq_helper): New function.
2940         (__udivuqq3): Use it.
2942 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
2944         PR bootstrap/55370
2945         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
2947 2012-11-18  Teresa Johnson  <tejohnson@google.com>
2949         PR bootstrap/55051
2950         * libgcov.c (gcov_exit): Remove merged program summary
2951         comparison unless !GCOV_LOCKED.
2953 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
2955         * soft-fp: Updated from glibc upstream.
2957 2012-11-06  Ian Lance Taylor  <iant@google.com>
2959         * generic-morestack.c (__generic_morestack): Align the returned
2960         stack pointer to a 32 byte boundary.
2961         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
2962         increment the return address until we have decided that we don't
2963         have a varargs function.
2964         (__morestack) [32-bit]: Align stack correctly when calling C
2965         functions.
2966         (__morestack) [64-bit]: Likewise.
2968 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
2970         * configure: Regenerate.
2972 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
2974         PR target/55175
2975         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
2976         * config/i386/sfp-machine.h: Guard exception handling
2977         code with _SOFT_FLOAT.
2978         * config/i386/32/sfp-machine.h: Guard rounding handling
2979         code with _SOFT_FLOAT.
2980         * config/i386/64/sfp-machine.h: Ditto.
2982 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
2984         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
2985         as extra_parts.
2987 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
2989         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
2990         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
2991         when appropriate.  Correct structure element types.
2992         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
2993         -minline-all-stringops from compile flags.
2995 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
2997         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
2999 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
3001         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
3003 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3005         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
3006         tmake_file.
3008 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
3009             Jim MacArthur  <jim.macarthur@arm.com>
3010             Marcus Shawcroft  <marcus.shawcroft@arm.com>
3011             Nigel Stephens  <nigel.stephens@arm.com>
3012             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3013             Richard Earnshaw  <rearnsha@arm.com>
3014             Sofiane Naci  <sofiane.naci@arm.com>
3015             Stephen Thomas  <stephen.thomas@arm.com>
3016             Tejas Belagod  <tejas.belagod@arm.com>
3017             Yufeng Zhang  <yufeng.zhang@arm.com>
3019         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
3020         * config/aarch64/crti.S: New file.
3021         * config/aarch64/crtn.S: New file.
3022         * config/aarch64/linux-unwind.h: New file.
3023         * config/aarch64/sfp-machine.h: New file.
3024         * config/aarch64/sync-cache.c: New file.
3025         * config/aarch64/t-aarch64: New file.
3026         * config/aarch64/t-softfp: New file.
3028 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
3030         * config/mmix/crti.S: Mark program and data addresses using PRELD.
3031         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
3032         no-longer-needed LDBU insns.
3034 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
3036         * config.host
3037         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
3038         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
3040 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
3042         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
3044 2012-10-15  Matthias Klose  <doko@ubuntu.com>
3046         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
3048 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
3050         * configure: Regenerate.
3051         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
3053 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
3055         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3056         instructions for 64bit targets only.
3058 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
3060         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
3061         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
3062         * config/i386/32/sfp-machine.h: ... here.
3063         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
3064         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
3065         New defines.
3067 2012-10-07  Matthias Klose  <doko@ubuntu.com>
3069         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
3070         as unused.
3071         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
3073 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
3075         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
3076         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
3077         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
3078         (ElfW): Likewise.
3080 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
3082         PR other/53889
3083         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
3084         Fix parameter names.
3086 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
3088         PR target/33135
3089         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
3090         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
3091         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
3093 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
3095         PR target/50457
3096         * config/sh/linux-atomic.S: Delete.
3097         * config/sh/linux-atomic.c: New.
3098         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
3099         linux-atomic.c.  Add cflags to disable warnings.
3101 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
3103         PR other/53889
3104         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
3105         function.
3106         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
3107         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
3108         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
3109         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
3110         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
3111         Likewise.
3112         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
3113         Likewise.
3114         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
3115         Likewise.
3116         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
3117         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
3119 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
3121         * config.host (hppa-*-openbsd*): New target.
3122         * config/pa/t-openbsd: New file.
3124 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
3126         PR target/54222
3127         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
3128         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
3129         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
3130         (__divsa3): Use __negsi2 to negate r_quoL.
3131         * config/avr/lib1funcs.S (FALIAS): New macro.
3132         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
3133         (__negsi2): ...this new function.
3134         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
3135         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
3136         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
3137         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
3138         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
3139         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
3141 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
3143         PR target/54089
3144         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
3145         (lshrsi3): Reimplement as lshrsi3_r0.
3147 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
3149         PR target/46191
3150         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
3151         of libgcc.a.
3153 2012-09-07  Teresa Johnson  <tejohnson@google.com>
3155         PR gcov-profile/54487
3156         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
3157         differences.
3159 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
3161         PR target/54461
3162         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
3163         not configured --with-avrlibc=no.
3164         * config/avr/t-avrlibc: New file.
3165         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
3166         (DPBIT_FUNCS): Ditto.
3167         (TPBIT_FUNCS): Ditto.
3169 2012-09-04  Teresa Johnson  <tejohnson@google.com>
3171         * libgcov.c (struct gcov_summary_buffer): New structure.
3172         (gcov_histogram_insert): New function.
3173         (gcov_compute_histogram): Ditto.
3174         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
3175         histograms during summary merging.
3177 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
3179         * config.host (x86_64-*-openbsd*): New target.
3181 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
3183         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
3184         attribute.
3186 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
3188         PR target/54222
3189         * config/avr/t-avr (conv_X): Rename to func_X.
3191 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
3193         PR target/54222
3194         * config/avr/lib1funcs-fixed.S: New file.
3195         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
3196         after they are used.
3197         (neg2, neg4): New macros.
3198         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
3199         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
3200         (__umulhisi3): Speed up MUL variant if there is enough flash.
3201         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
3202         avr-modes.def.
3203         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
3204         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
3205         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
3206         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
3207         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
3208         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
3209         (LIB2FUNCS_EXCLUDE): Add supported functions.
3211 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
3213         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
3214         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
3215         libgcc-s-objects.
3216         * fixed-obj.mk: Only expand dependency if $o is not in
3217         LIB2FUNCS_EXCLUDE.
3219 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
3221         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
3223 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
3225         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
3226         depend on --enable-shared.
3227         ($(lib1asmfuncs-o)): Use %.vis files independent of
3228         --enable-shared.
3229         * static-object.mk ($(base)$(objext), $(base).vis)
3230         ($(base)_s$(objext)): Use same rules for visibility handling as in
3231         shared-object.mk.
3233 2012-08-21  Ian Lance Taylor  <iant@google.com>
3235         * config/i386/morestack.S (__morestack_non_split): Increase amount
3236         of space allocated for non-split code stack.
3238 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
3240         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
3241         even if inhibit_libc.
3243 2012-08-17  Julian Brown  <julian@codesourcery.com>
3245         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
3246         -fexceptions -fnon-call-exceptions if not defined.
3247         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
3248         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
3250 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
3252         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
3253         type.
3255 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
3257         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
3258         rs6000/t-slibgcc-aix.
3260 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
3262         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
3264 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
3266         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
3268 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
3270         PR driver/54171
3271         * Makefile.in (version): Replace top_srcdir with srcdir.
3273 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
3275         * Makefile.in (version): set to BASE-VER file from gcc directory.
3277 2012-08-01  Nick Clifton  <nickc@redhat.com>
3279         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
3280         Implements __clrsb for an HImode argument.
3282 2012-07-31  Nick Clifton  <nickc@redhat.com>
3284         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
3285         Implements __clrsb for an HImode argument.
3286         * config/stormy16/clrsbhi2.c: New file:
3287         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
3289 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
3291         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
3293 2012-07-19  Tristan Gingold  <gingold@adacore.com>
3294             Richard Henderson  <rth@redhat.com>
3296         * unwind-seh.c: New file.
3297         * unwind-generic.h: Include windows.h for SEH.
3298         (_Unwind_Exception): Use 6 private fields for SEH.
3299         (_GCC_specific_handler): Declare.
3300         * unwind-c.c (__gcc_personality_seh0): New function.
3301         Adjust for SEH.
3302         * config/i386/libgcc-cygming.ver: New file.
3303         * config/i386/t-seh-eh: New file.
3304         * config.host (x86_64-*-mingw*): Default to seh.
3306 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
3308         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
3310 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
3312         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
3313         __builtin_expect when checking for exceptions.
3314         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
3316 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
3318         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
3319         function declaration.
3320         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3321         (FP_RND_MASK): New.
3322         * config/ia64/sfp-exceptions.c: New.
3323         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
3325 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
3327         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
3328         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
3329         * config/i386/64/sfp-machine: ... (delete here) ...
3330         * config/i386/sfp-machine.h: ... to here.
3331         (FP_EX_MASK): Remove.
3332         (FP_RND_MASK): New.
3333         (FP_INIT_ROUNDMODE): Declare asm as volatile.
3335 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
3337         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
3338         * config/i386/libgcc-sol2.ver: Ditto.
3339         * config/i386/libgcc-glibc.ver: Ditto.
3341 2012-06-11  Roland McGrath  <mcgrathr@google.com>
3343         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
3344         If __GLIBC__ is defined, refer to __pthread_key_create instead of
3345         pthread_cancel.
3347 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
3349         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
3350         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
3351         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
3352         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
3353         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
3354         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
3355         * config/i386/64/sfp-machine: ... (delete here) ...
3356         * config/i386/sfp-machine.h: ... to here.
3357         (FP_EX_MASK): New.
3358         (__sfp_handle_exceptions): New function declaration.
3359         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3360         * config/i386/sfp-exceptions.c: New.
3361         * config/i386/t-softfp: New.
3362         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
3363         i386/t-softfp to tmake_file.
3365 2012-06-03  David S. Miller  <davem@davemloft.net>
3367         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
3368         change.
3370 2012-05-31  David S. Miller  <davem@davemloft.net>
3372         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
3373         multiply and divide instructions on 32-bit when V9.
3374         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
3376 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
3378         * config/arm/ieee754-df.S: Fix typos.
3379         * config/arm/ieee754-sf.S: Fix typos.
3380         * config/c6x/libunwind.S: Fix typos.
3381         * config/epiphany/udivsi3-float.c: Fix typos.
3382         * config/microblaze/muldi3_hard.S: Fix typos.
3383         * config/picochip/adddi3.S: Fix typos.
3384         * config/picochip/ashlsi3.S: Fix typos.
3385         * config/picochip/ashrsi3.S: Fix typos.
3386         * config/picochip/clzsi2.S: Fix typos.
3387         * config/picochip/cmpsi2.S: Fix typos.
3388         * config/picochip/divmod15.S: Fix typos.
3389         * config/picochip/divmodhi4.S: Fix typos.
3390         * config/picochip/divmodsi4.S: Fix typos.
3391         * config/picochip/longjmp.S: Fix typos.
3392         * config/picochip/lshrsi3.S: Fix typos.
3393         * config/picochip/parityhi2.S: Fix typos.
3394         * config/picochip/popcounthi2.S: Fix typos.
3395         * config/picochip/setjmp.S: Fix typos.
3396         * config/picochip/subdi3.S: Fix typos.
3397         * config/picochip/ucmpsi2.S: Fix typos.
3398         * config/picochip/udivmodhi4.S: Fix typos.
3399         * config/picochip/udivmodsi4.S: Fix typos.
3400         * config/spu/divv2df3.c: Fix typos.
3401         * config/spu/mfc_multi_tag_release.c: Fix typos.
3402         * config/spu/mfc_tag_release.c: Fix typos.
3403         * configure.ac: Fix typos.
3404         * configure: Regenerate.
3406 2012-05-25  Ian Lance Taylor  <iant@google.com>
3408         * config/i386/morestack.S (__morestack_non_split): Check whether
3409         caller is varargs and needs %bp to hold the stack frame on return.
3411 2012-05-25  Olivier Hainque  <hainque@adacore.com>
3413         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
3414         sequence in the non pic case on VxWorks.
3416 2012-05-24  Olivier Hainque  <hainque@adacore.com>
3418         * Makefile.in: Move dependency on install-unwind_h from
3419         "install-leaf" to "install".
3421 2012-05-24  Olivier Hainque  <hainque@adacore.com>
3423         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
3424         Use a separate command for stamp removals.
3426 2012-05-21  Andrew Pinski  <apinski@cavium.com>
3428         PR bootstrap/53183
3429         * configure.ac: Define the default includes to being none.
3430         * configure: Regenerate.
3432 2012-05-16  Olivier Hainque  <hainque@adacore.com>
3434         * Makefile.in (install-unwind_h): Rename into ...
3435         (install-unwind_h-forbuild): New target.
3436         (all): Use it instead of the former install-unwind_h.
3437         (install-unwind_h): Reinstate, copy to user install destination
3438         for include files, not to the internal gcc object directory one.
3439         (install-leaf): Depend on it.
3441 2012-05-15  Olivier Hainque  <hainque@adacore.com>
3443         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
3444         register numbers. LR_REGNO replaces R_LR.
3445         (ucontext_for): New, helper for ...
3446         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
3447         and 5.3 of ...
3448         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
3450 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3452         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
3453         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
3454         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
3455         i386/t-cpuinfo ...
3456         (i[34567]86-*-*, x86_64-*-*): ... here.
3458         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
3459         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
3461         * config/i386/i386-cpuinfo.c: Rename to ...
3462         * config/i386/cpuinfo.c: ... this.
3463         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
3465         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
3466         (libgcc_cv_init_priority): New test.
3467         * configure: Regenerate.
3468         * config.in: New file.
3469         * Makefile.in (clean): Rename config.h to auto-target.h.
3470         (config.h): Likewise.
3471         (stamp-h): Likewise.
3473         * config/i386/cpuinfo.c (auto-target.h): Include.
3474         (CONSTRUCTOR_PRIORITY): Define.
3475         (__cpu_indicator_init): Use it.
3477 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
3479         * longlong.h: Use a URL instead of an FSF postal address.
3480         Replace spaces with tab.
3482 2012-05-08  Teresa Johnson  <tejohnson@google.com>
3484         * libgcov.c (gcov_clear, __gcov_reset): New functions.
3485         (__gcov_dump): Ditto.
3486         (gcov_dump_complete): New global variable.
3487         (gcov_exit): Export hidden to enable use in L_gcov_dump.
3488         (__gcov_flush): Outline functionality now in gcov_clear.
3489         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
3491 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
3493         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
3494         (mips*-*-linux*): Include mips/t-tpbit when long double is
3495         16 bytes long.
3497 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
3499         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
3500         (get_available_features): New argument. Check for AVX2.
3501         (__cpu_indicator_init): Modify call to get_available_features.
3503 2012-04-25  Alan Modra  <amodra@gmail.com>
3505         * config/rs6000/crtsavevr.S: New file.
3506         * config/rs6000/crtrestvr.S: New file.
3507         * config/rs6000/t-savresfgpr: Build the above.
3508         * config/rs6000/t-netbsd: Likewise.
3510 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
3512         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
3514 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
3516         * libgcc/config/i386/i386-cpuinfo.c: New file.
3517         * libgcc/config/i386/t-cpuinfo: New file.
3518         * libgcc/config.host: Include t-cpuinfo.
3519         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
3521 2012-04-24  Chao-ying Fu  <fu@mips.com>
3523         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
3525 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
3527         struct siginfo vs. siginfo_t
3529         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
3530         siginfo_t instead of struct siginfo.
3531         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
3532         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
3533         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
3534         (ia64_handle_unwabi): Likewise.
3535         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
3536         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
3537         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
3538         (sh_fallback_frame_state): Likewise.
3539         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
3540         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
3542 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
3544         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
3545         system call number.
3547 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
3549         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
3550         if it hasn't been previously saved.
3552 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
3554         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
3555         only for glibc.
3557 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
3559         PR target/52737
3560         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
3561         instead of __AVR_HAVE_8BIT_SP__.
3563 2012-03-26  Tristan Gingold  <gingold@adacore.com>
3565         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
3566         (unw_table_entry): Use unw_word instead of unsigned long.
3567         (_Unwind_FindTableEntry): Likewise.
3568         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
3569         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
3570         (_Unwind_FindTableEntry): Likewise.
3571         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
3572         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
3573         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
3574         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
3575         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
3576         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
3577         (uw_init_context_1, uw_install_context): Likewise.
3578         (unw_word): Move to unwind-ia64.h
3580 2012-03-26  Tristan Gingold  <gingold@adacore.com>
3582         * config/vms/vms-ucrt0.c: Update copyright years.
3583         Add a sanity check.
3584         (___gcc_main_flags): Declare.
3585         (__main): Check flags to remap argv and exit code.
3586         * config.host (*-*-*vms*): Adjust extra_parts.
3587         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
3588         (crt0.o): Add.
3590 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
3592         * arm/lib1funcs.asm (ctzsi2): New function.
3593         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
3594         * arm/t-linux (LIB1ASMFUNCS): Likewise.
3595         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
3596         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
3597         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
3598         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
3600 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
3602         * config.host: Add bits to support powerpc64-*-freebsd*.
3603         * config/rs6000/freebsd-unwind.h: New file.
3604         * config/rs6000/t-freebsd64: New file.
3606 2012-03-20  Richard Guenther  <rguenther@suse.de>
3608         PR gcov-profile/52627
3609         * libgcov.c (init_mx): Fix mutex name.
3611 2012-03-16  Tristan Gingold  <gingold@adacore.com>
3613         * config/ia64/vms-unwind.h: Remove ulong (and replace
3614         it by unw_reg where used).  Define unw_reg with __int64.
3616 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3618         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3619         Solaris 8 handling.
3620         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3621         Solaris 8 handling.
3622         (sparc_is_sighandler): Likewise.
3624 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
3626         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
3627         <= saved reg size.
3629 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3631         * config/arm/crtn.S: Fix typo.
3633 2012-03-13  Richard Guenther  <rguenther@suse.de>
3635         * libgcov.c: Remove stdio.h include and NULL un-define.
3637 2012-03-13  Richard Guenther  <rguenther@suse.de>
3639         PR target/52569
3640         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
3642 2012-03-13  Richard Guenther  <rguenther@suse.de>
3644         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
3646 2012-03-13  Richard Guenther  <rguenther@suse.de>
3648         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
3649         and __gthread_mutex_init_function definitions.
3651 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3653         * config.host (mips*-*-openbsd*): Remove.
3655 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3657         * config.host: Remove alpha*-dec-osf5.1* handling.
3658         * config/alpha/gthr-posix.c: Remove.
3659         * config/alpha/libgcc-osf5.ver: Remove.
3660         * config/alpha/osf5-unwind.h: Remove.
3661         * config/alpha/t-osf-pthread: Remove.
3662         * config/alpha/t-slibgcc-osf: Remove.
3663         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
3664         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
3665         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
3666         * mkmap-flat.awk: Remove osf_export handling.
3668 2012-03-12  Richard Guenther  <rguenther@suse.de>
3670         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
3671         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3672         (__gthread_mutex_init_function): New function.
3673         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3675         PR gcov/49484
3676         * libgcov.c: Include gthr.h.
3677         (__gcov_flush_mx): New global variable.
3678         (init_mx, init_mx_once): New functions.
3679         (__gcov_flush): Protect self with a mutex.
3680         (__gcov_fork): Re-initialize mutex after forking.
3681         * unwind-dw2-fde.c: Change condition under which to use
3682         __GTHREAD_MUTEX_INIT_FUNCTION.
3684 2012-03-12  Tristan Gingold  <gingold@adacore.com>
3686         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
3687         * config/ia64/t-vms: Likewise.
3689 2012-03-11  Michael Hope  <michael.hope@linaro.org>
3691         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
3692         for Thumb-2.
3694 2012-03-07  Walter Lee  <walt@tilera.com>
3696         * config/tilepro/atomic.c: Rename "atomic_" prefix to
3697         "arch_atomic_".
3698         (atomic_xor): Rename and move definition to
3699         config/tilepro/atomic.h.
3700         (atomic_nand): Ditto.
3701         * config/tilepro/atomic.h: Rename "atomic_" prefix to
3702         "arch_atomic_".
3703         (arch_atomic_xor): Move from config/tilepro/atomic.c.
3704         (arch_atomic_nand): Ditto.
3706 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
3708         PR target/52507
3709         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
3711 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
3713         PR target/52505
3714         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
3715         from RAM.
3717 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
3719         PR target/52461
3720         PR target/52508
3721         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
3722         if RAMPZ affects reading from RAM.
3723         (__tablejump_elpm__): Ditto.
3724         (.xload): Ditto.
3725         (__movmemx_hi): Ditto.
3726         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
3727         (__do_global_dtors): Ditto.
3728         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
3729         (__movmemx_hi): Ditto.
3731 2012-03-05  Richard Henderson  <rth@redhat.com>
3733         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
3734         [ARM] (count_trailing_zeros): Use the builtin.
3736 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3738         * soft-fp: Imported from glibc upstream.
3740 2012-02-28  Kai Tietz  <ktietz@redhat.com>
3742         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
3743         for mingw-targets as attribute gcc_struct.
3745 2012-02-28  Ian Lance Taylor  <iant@google.com>
3747         * generic-morestack.c (__splitstack_releasecontext): Correct call
3748         to __morestack_release_segments.
3750 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3752         PR target/52390
3753         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
3754         for __linux__ when removing signals from __morestack_fullmask.
3756 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
3758         PR target/52261
3759         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
3761 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3763         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
3764         instead of HAVE_INITFINI_ARRAY.
3765         * config/ia64/crtend.S: Likewise.
3767 2012-02-20  Kai Tietz  <ktietz@redhat.com>
3769         PR libstdc++/52300
3770         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
3772         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
3773         to w32-unwind.h header.
3775 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
3777         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
3778         (mips*-*-linux*): Remove t-slibgcc-libgcc.
3779         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
3780         * config/mips/mips16.S (__mips16_rdhwr): Delete.
3782 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
3784         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
3786 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
3788         PR libitm/52220
3789         * config/darwin-crt-tm.c: Correct typo.
3791 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
3792             Patrick Marlier  <patrick.marlier@gmail.com>
3794         PR libitm/52220
3795         * config/darwin-crt-tm.c: Generate dummy functions.
3797 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
3798             Patrick Marlier  <patrick.marlier@gmail.com>
3800         PR libitm/52042
3801         * config/darwin-crt-tm.c (getTMCloneTable): New function.
3802         (__doTMRegistrations): Call it.
3803         (__doTMdeRegistrations): Likewise.
3805 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
3806             Anatoly Sokolov <aesok@post.ru>
3807             Eric Weddington <eric.weddington@atmel.com>
3809         PR target/52261
3810         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
3811         (__epilogue_restores__): Ditto.
3813 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
3815         PR target/51921
3816         PR target/52205
3817         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
3818         Solaris 11 and slightly reformat.
3819         (sparc_is_sighandler): Likewise.
3821 2012-02-14  Walter Lee  <walt@tilera.com>
3823         * config.host: Handle tilegx and tilepro.
3824         * config/tilegx/sfp-machine.h: New file.
3825         * config/tilegx/sfp-machine32.h: New file.
3826         * config/tilegx/sfp-machine64.h: New file.
3827         * config/tilegx/t-crtstuff: New file.
3828         * config/tilegx/t-softfp: New file.
3829         * config/tilegx/t-tilegx: New file.
3830         * config/tilepro/atomic.c: New file.
3831         * config/tilepro/atomic.h: New file.
3832         * config/tilepro/linux-unwind.h: New file.
3833         * config/tilepro/sfp-machine.h: New file.
3834         * config/tilepro/softdivide.c: New file.
3835         * config/tilepro/softmpy.S: New file.
3836         * config/tilepro/t-crtstuff: New file.
3837         * config/tilepro/t-tilepro: New file.
3839 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
3841         PR libstdc++/51296
3842         PR libstdc++/51906
3843         * gthr-posix.h: Allow static initializer macros to be disabled.
3844         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
3846 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
3848         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
3849         Add t-slibgcc-libgcc to tmake_file.
3850         * config/mips/libgcc-mips16.ver: Revert previous patch.
3851         * config/mips/mips16.S (__mips16_rdhwr): Hide.
3853 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
3854             Jayant R Sonar <jayant.sonar@kpitcummins.com>
3856         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
3857         * config/cr16/crti.S: New file.
3858         * config/cr16/crtlibid.S: New file.
3859         * config/cr16/crtn.S: New file.
3860         * config/cr16/lib1funcs.S: New file.
3861         * config/cr16/t-cr16: New file.
3862         * config/cr16/t-crtlibid: New file.
3863         * config/cr16/unwind-dw2.h: New file.
3864         * config/cr16/unwind-cr16.c: New file.
3865         * config/cr16/divmodhi3.c: New file.
3867 2012-01-25  Alan Modra  <amodra@gmail.com>
3869         * config/rs6000/t-linux64: Delete.  Move..
3870         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
3871         * config/rs6000/t-linux: ..and libgcc flags to here.
3873 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
3875         * config.host (i[34567]86-*-interix3*):
3876         Change triplet to i[34567]86-*-interix[3-9]*.
3877         * configure: Regenerate.
3879 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
3880             Richard Sandiford  <rdsandiford@googlemail.com>
3882         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
3883         * config/mips/mips16.S (__mips16_rdhwr): New function.
3884         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
3886 2012-01-11  Nathan Sidwell  <nathan@acm.org>
3888         * libgcov.c (__gcov_init): Ignore objects with no functions.
3890 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
3892         PR target/49868
3893         Extend __pgmx semantics to linearize memory.
3894         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
3895         * config/avr/lib1funcs.S (__xload_1): New function.
3896         (__movmemx_qi, __movmemx_hi): New functions.
3897         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
3898         semantics.
3900 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
3902         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
3903         purported sigacthandler address isn't null before dereferencing it.
3904         (sparc_is_sighandler): Likewise.
3906 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
3908         PR ada/41929
3909         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
3910         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
3911         (sparc_is_sighandler): Likewise.
3912         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
3914 2012-01-06  Tristan Gingold  <gingold@adacore.com>
3916         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
3917         compatibility thunks...
3918         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
3919         (crtbeginS.o, crtendS.o): ... and these to ...
3920         * config/ia64/t-ia64-elf: ... this new file.
3921         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
3922         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
3924 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3926         * configure: Regenerate.
3927         * config/s390/t-crtstuff: Remove -fPIC.
3929 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
3931         PR bootstrap/51006
3932         * enable-execute-stack-mprotect.c (getpagesize): Do not define
3933         for NetBSD.
3935 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
3937         PR target/51345
3938         * config/avr/lib1funcs.S: Remove FIXME comments.
3939         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
3941 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
3943         Implement light-weight DImode support.
3944         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
3945         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
3946         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
3947         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
3949 2011-12-30  Nathan Sidwell  <nathan@acm.org>
3951         * libgcov.c (gcov_crc32): Remove global var.
3952         (free_fn_data): New function.
3953         (buffer_fn_data): Pass in filename, more robust error recovery.
3954         (crc32_unsigned): New function.
3955         (gcov_exit): More robust detection of new program. More robust
3956         error recovery.
3957         (__gcov_init): Do not update program's crc here.
3959 2011-12-21  Tristan Gingold  <gingold@adacore.com>
3961         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
3963 2011-12-21  Ian Lance Taylor  <iant@google.com>
3965         * config/i386/morestack.S: Simplify CFI opcodes throughout.
3967 2011-12-20  Ian Lance Taylor  <iant@google.com>
3969         * config/i386/morestack.S (__morestack_non_split): If there is
3970         enough stack space already, don't split.  Ask for more stack space
3971         than we required.
3973 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
3975         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
3976         `sys/sdt.h'.
3977         (_Unwind_DebugHook): New function.
3978         (uw_restore_core_regs): New define.
3979         (unwind_phase2): Use uw_restore_core_regs instead of
3980         restore_core_regs.
3981         (unwind_phase2_forced): Likewise.
3982         (__gnu_Unwind_Resume): Likewise.
3984 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
3986         * config/alpha/linux-unwind.h: Update copyright years.
3987         (MD_FROB_UPDATE_CONTEXT): New define.
3988         (alpha_frob_update_context): New function.
3990 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
3992         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
3993         tmake_file rather replacing it.
3995 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
3997         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
3998         function is not used for PPC64.
3999         (save_world): Amend comments.  Update the VRsave mask to reflect the
4000         saved regs.
4001         (rest_world): Update comments, do not  clobber r10, do not use r8.
4002         (eh_rest_world_r10): Amend comments, do not use r8.
4003         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
4004         no longer used, move restore of CR and target address to the end of
4005         the routine.
4007 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
4009         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
4010         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
4012 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
4014         PR target/49313
4015         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
4016         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
4018 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
4020         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
4022 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
4024         PR target/49313
4025         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
4026         * config/avr/lib1funcs.S (__muldi3): New function.
4028 2011-12-06  Andrew Pinski  <apinski@cavium.com>
4030         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
4031         size of func_ptr.
4032         (__frame_dummy_init_array_entry): Likewise.
4034 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
4036         Forward-port from gcc-4_6-branch r181936 2011-12-02.
4038         PR target/51345
4039         PR target/51002
4040         * config/avr/lib1funcs.S (__prologue_saves__,
4041         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
4042         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
4044 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
4046         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
4048 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4050         PR other/51272
4051         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
4052         (_ITM_deregisterTMCloneTable): Likewise.
4053         (__register_frame_info): Fix unused warning.
4054         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
4055         pthread_default_stacksize_np): Likewise.
4056         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
4058 2011-11-29  DJ Delorie  <dj@redhat.com>
4060         * config.host (rl78-*-elf): New case.
4061         * config/rl78: New directory for the Renesas RL78.
4063 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
4065         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
4066         formatting.
4068 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4070         PR other/51022
4071         * config/rs6000/t-savresfgpr: New file.
4072         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
4073         $(srcdir)/config/rs6000/eabi.S.
4074         * config/rs6000/t-ppccomm-ldbl: Remove.
4075         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
4076         tmake_file.
4077         (powerpc-*-eabispe*): Likewise.
4078         (powerpc-*-eabi*): Likewise.
4079         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4080         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
4081         to tmake_file, remove rs6000/t-ppccomm-ldbl.
4082         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
4083         tmake_file.
4084         (powerpc-*-eabisim*): Likewise.
4085         (powerpc-*-elf*): Likewise.
4086         (powerpc-*-eabialtivec*): Likewise.
4087         (powerpc-xilinx-eabi*): Likewise.
4088         (powerpc-*-rtems*): Likewise.
4089         (powerpcle-*-elf*): Likewise.
4090         (powerpcle-*-eabisim*): Likewise.
4091         (powerpcle-*-eabi*): Likewise.
4093 2011-11-27  Ian Lance Taylor  <iant@google.com>
4095         * generic-morestack.c (__splitstack_find): Check for NULL old
4096         stack value.
4097         (__splitstack_resetcontext): New function.
4098         (__splitstack_releasecontext): New function.
4099         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
4101 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
4103         * config/darwin-crt-tm.c: Correct comments, use correct licence.
4105 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
4107         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
4109 2011-11-26  Richard Henderson  <rth@redhat.com>
4111         * config/m68k/linux-atomic.c: New file.
4112         * config/m68k/t-linux: New file.
4113         * config.host (m68k-uclinux, m68k-linux): Use it.
4115 2011-11-26  Richard Henderson  <rth@redhat.com>
4117         * crtstuff.c (__TMC_LIST__): Mark used not unused.
4118         (__TMC_END__): Only declare if hidden is available; in the definition,
4119         if hidden is unavailable add a null record.
4120         (deregister_tm_clones, register_tm_clones): New.
4121         (__do_global_dtors_aux, frame_dummy): Use them.
4122         (__do_global_dtors, __do_global_ctors_1): Likewise.
4124 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
4126         * config/darwin-crt-tm.c: New file.
4127         * config.host (darwin): Build crttms.o crttme.o to provide
4128         startup and shutdown for tm clones.
4129         * config/t-darwin (crttms.o): New build rule.
4130         (crttme.o): Likewise.
4132 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
4134         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
4135         et al.
4137 2011-11-21  Richard Henderson  <rth@redhat.com>
4139         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
4140         (__TMC_LIST__, __TMC_END__): New.
4141         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
4142         (__do_global_dtors): Likewise.
4143         (frame_dummy): Call _ITM_registerTMCloneTable.
4144         (__do_global_ctors_1): Likewise.
4146 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4148         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
4149         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
4150         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
4151         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
4152         * config/i386/t-darwin64: Remove.
4153         * config/sh/t-netbsd (LIB2ADD): Remove.
4155 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
4157         PR target/49313
4158         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
4159         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
4160         * config/avr/lib1funcs.S (wmov): New assembler macro.
4161         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
4162         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
4163         (__udivmod64): New function.
4164         (__negdi2): New function.
4166 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
4168         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
4169         *-*-freebsd*aout*): Remove.
4171 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
4173         * static-object.mk (c_flags-$o): Save c_flags.
4174         ($(base)$(objext)): Use it.
4176 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
4178         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
4180 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
4182         PR target/49868
4183         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
4184         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
4185         New functions.
4187 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
4189         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
4190         functions.
4191         (aeabi_uidivmod): Likewise.
4192         (umodsi3): Likewise.
4193         (divsi3): Likewise.
4194         (aeabi_idivmod): Likewise.
4195         (modsi3): Likewise.
4197 2011-11-16  Tristan Gingold  <gingold@adacore.com>
4199         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
4201 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
4203         PR target/49868
4204         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
4205         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
4207 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4209         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
4210         tmake_file list.
4211         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
4212         * config/pa/t-stublib64: Delete.
4214 2011-11-12  Richard Henderson  <rth@redhat.com>
4216         * config/rs6000/linux-unwind.h (frob_update_context): Properly
4217         cast the pointer argument to _Unwind_SetGRPtr.
4219 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4221         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
4223 2011-11-09  Ian Lance Taylor  <iant@google.com>
4225         * generic-morestack.c: Include <string.h>.
4226         (uintptr_type): Define.
4227         (struct initial_sp): Add dont_block_signals field.  Reduce size of
4228         extra array by 1.
4229         (allocate_segment): Set prev field to NULL.  Don't set
4230         __morestack_current_segment or __morestack_segments.
4231         (__generic_morestack): Update current->prev and *pp after calling
4232         allocate_segment.
4233         (__morestack_block_signals): Don't do anything if
4234         dont_block_signals is set.
4235         (__morestack_unblock_signals): Likewise.
4236         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
4237         uintptr_type.
4238         (__splitstack_block_signals): New function.
4239         (enum __splitstack_content_offsets): Define.
4240         (__splitstack_getcontext, __splitstack_setcontext): New functions.
4241         (__splitstack_makecontext): New function.
4242         (__splitstack_block_signals_context): New function.
4243         (__splitstack_find_context): New function.
4244         * config/i386/morestack.S (__morestack_get_guard): New function.
4245         (__morestack_set_guard, __morestack_make_guard): New functions.
4246         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
4248 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4250         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
4251         (i[34567]86-*-mingw*): ... here.
4252         (x86_64-*-mingw*): ... here.
4254 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4256         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
4258 2011-11-07  Nathan Sidwell  <nathan@acm.org>
4260         * libgcov.c (struct gcov_fn_buffer): New struct.
4261         (buffer_fn_data): New helper.
4262         (gcov_exit): Rework for new gcov data structures.
4264 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
4266         PR target/49313
4267         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
4269 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4271         * config.host (tmake_file): Correct comment.
4272         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
4273         t-libgcc-pic.
4274         (bfin*-uclinux*): Likewise.
4275         (bfin*-linux-uclibc*): Likewise.
4276         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
4278         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
4279         assigning.
4280         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4281         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
4282         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4283         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
4284         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4285         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
4286         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
4287         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4288         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
4289         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
4290         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
4291         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
4292         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
4294         * config/bfin/t-elf: Remove.
4295         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
4297 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4299         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
4300         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
4301         (lm32-*-elf*, lm32-*-rtems*): Split into ...
4302         (lm32-*-elf*): ... this.
4303         (lm32-*-rtems*): ... and this.
4304         Add to tmake_file.
4305         (m32r-*-rtems*): Add to tmake_file.
4306         (moxie-*-rtems*): Likewise.
4307         (sparc-*-rtems*): Likewise.
4308         Remove t-rtems from tmake_file.
4309         (sparc64-*-rtems*): Likewise.
4310         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
4311         instead.
4313 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4315         PR bootstrap/50982
4316         * config/gthr-posix.h: Move ...
4317         * gthr-posix.h: ... here.
4318         * config/gthr-lynx.h: Reflect this.
4319         * config/gthr-vxworks.h: Likewise.
4320         * config/rs6000/gthr-aix.h: Likewise.
4321         * configure.ac (target_thread_file): Likewise.
4322         * configure: Regenerate.
4324 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4326         * config.host (arm*-*-rtemseabi*): New target.
4328 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4330         PR other/50991
4331         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
4332         extra-parts.
4334 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
4336         * config.host (epiphany-*-elf*): New configuration.
4337         * config/epiphany: New Directory.
4339 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
4341         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
4342         * config/avr/t-rtems: New.
4343         Filter out _exit from LIB1ASMFUNCS.
4345 2011-11-04  David S. Miller  <davem@davemloft.net>
4347         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
4348         * configure: Rebuild.
4350 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4352         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
4353         variable.
4355 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
4357         PR target/50931
4358         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
4359         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
4361 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
4363         PR target/50989
4364         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
4366 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4368         * config/c6x/t-elf (LIB2ADDEH): Set.
4369         * config/c6x/t-c6x-elf: Remove.
4371 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4373         * config/i386/sol2-ci.S: Rename to ...
4374         * config/i386/crti.S: ... this.
4375         * config/i386/sol2-cn.S: Rename to ...
4376         * config/i386/crtn.S: ... this.
4377         * config/sparc/sol2-ci.S: Rename to ...
4378         * config/sparc/crti.S: ... this.
4379         * config/sparc/sol2-cn.S: Rename to ...
4380         * config/sparc/crtn.S: ... this.
4381         * config/t-sol2 (CUSTOM_CRTIN): Remove.
4382         (crti.o, crtn.o): Remove.
4384 2011-11-04  Tristan Gingold  <gingold@adacore.com>
4386         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
4388 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
4390         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
4392 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
4394         * config.host (crisv32-*-none, cris-*-none): Remove.
4395         (crisv32-*-elf): Append to tmake_file, don't just set it.
4396         (cris-*-elf): Add missing t-fdpbit to tmake_file.
4398 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4400         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
4401         (ecrtn$(objext)): Likewise.
4402         (ncrti$(objext)): Likewise.
4403         (ncrtn$(objext)): Likewise.
4405 2011-11-03  Andreas Schwab  <schwab@redhat.com>
4407         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
4409 2011-11-02  David S. Miller  <davem@davemloft.net>
4411         * configure.ac: Set host_address on sparc too.
4412         * configure: Regenerate.
4413         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
4414         based upon host_address.
4415         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
4417 2011-11-02  Jason Merrill  <jason@redhat.com>
4419         * config/rs6000/t-ppccomm: Add missing \.
4421 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4423         * gthr-single.h, gthr.h: New files.
4424         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
4425         config/gthr-vxworks.h, config/i386/gthr-win32.h,
4426         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
4427         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
4428         * config/i386/gthr-win32.c: Include "gthr-win32.h".
4429         * configure.ac (thread_header): New variable.
4430         Set it depending on target_thread_file.
4431         (gthr-default.h): Link from $thread_header.
4432         * configure: Regenerate.
4433         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
4435 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4437         * configure.ac (tm_file_): New variable.
4438         Determine from tm_file.
4439         (tm_file, tm_defines): Substitute.
4440         * configure: Regenerate.
4441         * mkheader.sh: New file.
4442         * Makefile.in (clean): Remove libgcc_tm.h.
4443         ($(objects)): Depend on libgcc_tm.h.
4444         (libgcc_tm_defines, libgcc_tm_file): New variables.
4445         (libgcc_tm.h, libgcc_tm.stamp): New targets.
4446         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
4447         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
4448         ($(extra-parts)): Depend on libgcc_tm.h.
4449         * config.host (tm_defines, tm_file): New variable.
4450         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
4451         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
4452         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
4453         (avr-*-rtems*): Likewise.
4454         (avr-*-*): Likewise.
4455         (frv-*-elf): Likewise.
4456         (frv-*-*linux*): Likewise.
4457         (h8300-*-rtems*): Likewise.
4458         (h8300-*-elf*): Likewise.
4459         (i[34567]86-*-darwin*): Likewise.
4460         (x86_64-*-darwin*): Likewise.
4461         (rx-*-elf): Likewise.
4462         (tic6x-*-uclinux): Likewise.
4463         (tic6x-*-elf): Likewise.
4464         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
4465         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
4466         * config/i386/cygming-crtbegin.c: Likewise.
4467         * config/i386/cygming-crtend.c: Likewise.
4468         * config/ia64/fde-vms.c: Likewise.
4469         * config/ia64/unwind-ia64.c: Likewise.
4470         * config/libbid/bid_gcc_intrinsics.h: Likewise.
4471         * config/rs6000/darwin-fallback.c: Likewise.
4472         * config/stormy16/lib2funcs.c: Likewise.
4473         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
4474         * crtstuff.c: Likewise.
4475         * dfp-bit.h: Likewise.
4476         * emutls.c: Likewise.
4477         * fixed-bit.c: Likewise.
4478         * fp-bit.c: Likewise.
4479         * generic-morestack-thread.c: Likewise.
4480         * generic-morestack.c: Likewise.
4481         * libgcc2.c: Likewise.
4482         * libgcov.c: Likewise.
4483         * unwind-dw2-fde-dip.c: Likewise.
4484         * unwind-dw2-fde.c: Likewise.
4485         * unwind-dw2.c: Likewise.
4486         * unwind-sjlj.c: Likewise.
4488 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4490         * configure.ac: Include ../config/picflag.m4.
4491         (GCC_PICFLAG): Call it.
4492         Substitute.
4493         * configure: Regenerate.
4494         * Makefile.in (gcc_srcdir): Remove.
4495         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
4496         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
4497         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
4498         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
4499         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
4500         Use $<.
4501         Remove comment.
4502         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
4503         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
4504         to refer to libgcc2.c.
4505         Use $<.
4506         * config/darwin-64.c: New file.
4507         * config/darwin-crt3.c: Remove comment.
4508         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
4509         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
4510         config/udivmodsi4.c: New files.
4511         * config/memcmp.c, config/memcpy.c, config/memmove.c,
4512         config/memset.c: New files.
4513         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
4514         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
4515         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
4516         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
4517         * config/t-openbsd-thread: New file.
4518         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
4519         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
4520         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
4521         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
4522         qrnnd.S.
4523         Adapt filename.
4524         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
4525         to refer to gthr-posix.c.
4526         * config/alpha/t-vms (LIB2ADD): Set.
4527         * config/alpha/vms-gcc_shell_handler.c: New file.
4528         * config/arm/bpabi.c, config/arm/fp16.c,
4529         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
4530         config/arm/unaligned-funcs.c: New files.
4531         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
4532         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4533         * config/arm/t-linux: Likewise.
4534         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
4535         * config/arm/t-netbsd: New file.
4536         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
4537         * config/arm/t-symbian (LIB2ADD_ST): Set.
4538         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
4539         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4540         * config/bfin/t-elf: New file.
4541         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
4542         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
4543         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
4544         config/c6x/ltf.c: New files.
4545         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
4546         (HOST_LIBGCC2_CFLAGS): Set.
4547         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
4548         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4549         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
4550         New files.
4551         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
4552         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
4553         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
4554         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
4555         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
4556         files.
4557         * config/frv/t-frv (LIB2ADD): Set.
4558         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4559         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
4560         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
4561         config/h8300/popcounthi2.c: New files.
4562         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4563         * config/i386/gthr-win32.c: New file.
4564         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
4565         * config/i386/t-cygwin: Likewise.
4566         * config/i386/t-darwin, config/i386/t-darwin64,
4567         config/i386/t-gthr-win32, config/i386/t-interix: New files.
4568         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
4569         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4570         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4571         * config/ia64/quadlib.c: New file.
4572         * config/ia64/t-hpux (LIB2ADD): Set.
4573         * config/ia64/t-ia64: Add comment.
4574         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
4575         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4576         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
4577         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
4578         * config/m32c/t-m32c (LIB2ADD): Set.
4579         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4580         * config/m32r/t-m32r: Likewise.
4581         * config/m68k/fpgnulib.c: New file.
4582         * config/m68k/t-floatlib (LIB2ADD): Set.
4583         (xfgnulib.c): New target.
4584         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
4585         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
4586         * config/mep/t-mep (LIB2ADD): Set.
4587         * config/microblaze/divsi3.asm: Rename to divsi3.S.
4588         * config/microblaze/moddi3.asm: Rename to moddi3.S.
4589         * config/microblaze/modsi3.asm: Rename to modsi3.S.
4590         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
4591         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
4592         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
4593         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
4594         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
4595         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
4596         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
4597         New files.
4598         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
4599         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
4600         * config/pa/fptr.c, config/pa/lib2funcs.S,
4601         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
4602         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4603         (LIB2ADD, LIB2ADD_ST): Set.
4604         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
4605         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
4606         Set.
4607         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
4608         * config/pdp11/t-pdp11: New file.
4609         * config/picochip/libgccExtras/adddi3.S,
4610         config/picochip/libgccExtras/ashlsi3.S,
4611         config/picochip/libgccExtras/ashrsi3.S,
4612         config/picochip/libgccExtras/clzsi2.S,
4613         config/picochip/libgccExtras/cmpsi2.S,
4614         config/picochip/libgccExtras/divmod15.S,
4615         config/picochip/libgccExtras/divmodhi4.S,
4616         config/picochip/libgccExtras/divmodsi4.S,
4617         config/picochip/libgccExtras/lshrsi3.S,
4618         config/picochip/libgccExtras/parityhi2.S,
4619         config/picochip/libgccExtras/popcounthi2.S,
4620         config/picochip/libgccExtras/subdi3.S,
4621         config/picochip/libgccExtras/ucmpsi2.S,
4622         config/picochip/libgccExtras/udivmodhi4.S,
4623         config/picochip/libgccExtras/udivmodsi4.S: New files.
4624         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
4625         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
4626         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
4627         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
4628         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
4629         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
4630         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
4631         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
4632         files.
4633         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
4634         (HOST_LIBGCC2_CFLAGS): Set.
4635         * config/rs6000/t-darwin64: New file.
4636         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
4637         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
4638         * config/rs6000/t-ppccomm (LIB2ADD): Add
4639         $(srcdir)/config/rs6000/tramp.S.
4640         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
4641         Add  $(srcdir)/config/rs6000/eabi.S.
4642         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
4643         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
4644         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
4645         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
4646         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
4647         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
4648         * config/rs6000/tramp.S: New file.
4649         * config/s390/t-tpf: Remove.
4650         * config/sh/linux-atomic.S: New file.
4651         * config/sh/t-linux (LIB2ADD): Set.
4652         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
4653         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4654         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
4655         to unwind-dw2.c.
4656         (HOST_LIBGCC2_CFLAGS): Set.
4657         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4658         * config/spu/divmodti4.c, config/spu/divv2df3.c,
4659         config/spu/float_disf.c, config/spu/float_unsdidf.c,
4660         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
4661         config/spu/mfc_multi_tag_release.c,
4662         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
4663         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
4664         config/spu/multi3.c: New files.
4665         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
4666         (HOST_LIBGCC2_CFLAGS): Set.
4667         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
4668         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
4669         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
4670         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
4671         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
4672         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
4673         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
4674         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
4675         config/stormy16/umodsi3.c: New files.
4676         * config/xtensa/lib2funcs.S: New file.
4677         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4678         * config/xtensa/t-xtensa (LIB2ADD): Set.
4679         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
4680         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
4681         Add t-freebsd-thread to tmake_file for posix threads.
4682         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
4683         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
4684         (*-*-lynxos*): Likewise.
4685         (*-*-netbsd*): Likewise.
4686         (*-*-openbsd*): Likewise.
4687         Add t-openbsd-thread to tmake_file for posix threads.
4688         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
4689         (*-*-vxworks*): Set tmake_file.
4690         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4691         (alpha*-*-freebsd*): Likewise.
4692         (alpha*-*-netbsd*): Likewise.
4693         (alpha*-*-openbsd*): Likewise.
4694         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
4695         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4696         (alpha*-dec-*vms*): Likewise.
4697         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
4698         (bfin*-elf*): Add bfin/t-elf to tmake_file.
4699         (bfin*-uclinux*): Likewise.
4700         (bfin*-linux-uclibc*): Likewise.
4701         (crisv32-*-elf): Add cris/t-cris to tmake_file.
4702         (crisv32-*-none): Likewise.
4703         (cris-*-elf): Likewise.
4704         (cris-*-none): Likewise.
4705         (cris-*-linux*, crisv32-*-linux*): Likewise.
4706         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
4707         tmake_file.
4708         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
4709         tmake_file.
4710         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
4711         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
4712         (x86_64-*-elf*): Likewise.
4713         (i[34567]86-*-nto-qnx*): Likewise.
4714         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
4715         win32 threads.
4716         (x86_64-*-mingw*): Likewise.
4717         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
4718         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
4719         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4720         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4721         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
4722         tmake_file.
4723         (mipsisa64sr71k-*-elf*): Likewise.
4724         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4725         (mips-*-elf*, mipsel-*-elf*): Likewise.
4726         (mips64-*-elf*, mips64el-*-elf*): Likewise.
4727         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
4728         (mips*-*-rtems*): Likewise.
4729         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
4730         to tmake_file.
4731         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
4732         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
4733         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
4734         (spu-*-elf*): Likewise.
4735         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
4737 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4739         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
4740         $(srcdir) to refer to $(LIB1ASMSRC).
4741         Use $<.
4742         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
4743         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
4744         config/arm/lib1funcs.S: New files.
4745         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
4746         * config/arm/t-arm: New file.
4747         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
4748         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
4749         config/arm/t-strongarm-elf: New files.
4750         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
4751         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
4752         * config/avr/lib1funcs.S: New file.
4753         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4754         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
4755         * config/c6x/lib1funcs.S: New file.
4756         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4757         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
4758         * config/frv/lib1funcs.S: New file.
4759         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4760         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
4761         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
4762         * config/ia64/__divxf3.asm: Rename to ...
4763         * config/ia64/__divxf3.S: ... this.
4764         Adapt lib1funcs.asm filename.
4765         * config/ia64/_fixtfdi.asm: Rename to ...
4766         * config/ia64/_fixtfdi.S: ... this.
4767         Adapt lib1funcs.asm filename.
4768         * config/ia64/_fixunstfdi.asm: Rename to ...
4769         * config/ia64/_fixunstfdi.S: ... this.
4770         Adapt lib1funcs.asm filename.
4771         * config/ia64/_floatditf.asm: Rename to ...
4772         * config/ia64/_floatditf.S: ... this.
4773         Adapt lib1funcs.asm filename.
4774         * config/ia64/lib1funcs.S: New file.
4775         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
4776         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4777         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
4778         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
4779         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
4780         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
4781         * config/mep/lib1funcs.S: New file.
4782         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4783         * config/mips/mips16.S: New file.
4784         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4785         * config/pa/milli64.S: New file.
4786         * config/pa/t-linux, config/pa/t-linux64: New files.
4787         * config/picochip/lib1funcs.S: New file.
4788         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4789         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
4790         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
4791         * config/sh/t-netbsd: New file.
4792         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
4793         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
4794         * config/sh/t-sh64: New file.
4795         * config/sparc/lb1spc.S: New file.
4796         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
4797         filename.
4798         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
4799         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
4800         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
4801         config/xtensa/lib1funcs.S: New files.
4802         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4803         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
4804         tmake_file.
4805         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
4806         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
4807         (arm*-*-linux*): Likewise.
4808         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
4809         arm*-*-linux-*eabi, add arm/t-linux otherwise.
4810         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
4811         (arm*-*-ecos-elf): Likewise.
4812         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4813         (arm*-*-rtems*): Likewise.
4814         (arm*-*-elf): Likewise.
4815         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
4816         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
4817         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
4818         (bfin*-uclinux*): Likewise.
4819         (bfin*-linux-uclibc*): Likewise.
4820         (bfin*-rtems*): Likewise.
4821         (bfin*-*): Likewise.
4822         (fido-*-elf): Merge into m68k-*-elf*.
4823         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
4824         (frv-*-*linux*): Add frv/t-frv to tmake_file.
4825         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
4826         (h8300-*-elf*): Likewise.
4827         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
4828         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
4829         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
4830         (i[34567]86-*-mingw*): Likewise.
4831         (x86_64-*-mingw*): Likewise.
4832         (i[34567]86-*-interix3*): Likewise.
4833         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
4834         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
4835         (m68k-*-elf*): Also handle fido-*-elf.
4836         Add m68k/t-floatlib to tmake_file.
4837         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
4838         (m68k-*-linux*): Likewise.
4839         (m68k-*-rtems*): Likewise.
4840         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
4841         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
4842         sh64*-*-*.
4843         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
4844         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
4845         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
4846         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
4847         sh/t-netbsd to tmake_file.
4848         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
4849         (sh-*-rtems*): Add sh/t-sh to tmake_file.
4850         (sh-wrs-vxworks): Likewise.
4851         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
4852         *-leon[3-9]*.
4853         (v850*-*-*): Add v850/t-v850 to tmake_file.
4854         (vax-*-linux*): Add vax/t-linux to tmake_file.
4855         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
4857 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4859         * crtstuff.c: New file.
4860         * Makefile.in (CRTSTUFF_CFLAGS): Define.
4861         (CRTSTUFF_T_CFLAGS): Define.
4862         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
4863         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
4864         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
4865         crtstuff.c.
4866         Use $<.
4867         (crtbeginT.o): Use $(objext).
4868         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
4869         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
4870         (gcc-extra-parts): Remove.
4871         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
4872         Set extra_parts.
4873         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4874         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
4875         Add t-crtstuff-pic to tmake_file.
4876         (*-*-lynxos*): New case.
4877         Set tmake_file, extra_parts.
4878         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
4879         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
4880         *-*-netbsdelf[2-9]*.
4881         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
4882         (*-*-rtems*): Set extra_parts.
4883         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
4884         (*-*-uclinux*): New case.
4885         Set extra_parts.
4886         (*-*-vms*): New case.
4887         Set tmake_file, extra_parts.
4888         (*-*-elf): Set extra_parts.
4889         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
4890         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
4891         vms/t-vms64.
4892         Set extra_parts.
4893         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
4894         Set extra_parts.
4895         (arm*-*-freebsd*): Add t-crtin to tmake_file.
4896         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
4897         (arm-wrs-vxworks): Append to tmake_file.
4898         Set extra_parts.
4899         (arm*-*-uclinux*): Set extra_parts.
4900         (arm*-*-ecos-elf): Likewise.
4901         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
4902         arm*-*-eabi*.
4903         (arm*-*-rtems*): Set extra_parts.
4904         (arm*-*-elf): Likewise.
4905         (avr-*-rtems*): Clear extra_parts.
4906         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
4907         Set extra_parts.
4908         (bfin*-uclinux*): Likewise.
4909         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
4910         (bfin*-rtems*): Append to tmake_file.
4911         Set extra_parts.
4912         (bfin*-*): Likewise.
4913         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
4914         (crisv32-*-elf): ... this.
4915         (crisv32-*-none): ... this.
4916         (cris-*-elf, cris-*-none): New cases.
4917         Add cris/t-elfmulti to tmake_file.
4918         (fr30-*-elf): Append to tmake_file.
4919         Set extra_parts.
4920         (frv-*-elf): Append to tmake_file, add frv/t-frv.
4921         Set extra_parts.
4922         (h8300-*-rtems*): Append to tmake_file.
4923         Set extra_parts.
4924         (h8300-*-elf*): Likewise.
4925         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
4926         Set extra_parts.
4927         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
4928         Set extra_parts.
4929         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
4930         (x86_64-*-elf*): Likewise.
4931         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
4932         (x86_64-*-freebsd*): Likewise.
4933         (x86_64-*-netbsd*): Likewise.
4934         (i[34567]86-*-linux*): Likewise.
4935         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4936         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4937         (x86_64-*-linux*): Likewise.
4938         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4939         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
4940         tmake_file.
4941         Set extra_parts.
4942         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
4943         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
4944         Append to extra_parts, remove crtbegin.o, crtend.o.
4945         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
4946         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
4947         crtend.o, crtbeginS.o, crtendS.o.
4948         (ia64*-*-linux*): Comment extra_parts.
4949         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
4950         Set extra_parts.
4951         (iq2000*-*-elf*): Clear extra_parts.
4952         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
4953         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
4954         (m32r-*-elf*, m32r-*-rtems*): Split off ...
4955         (m32r-*-rtems*): ... this.
4956         Add m32r/t-m32r to tmake_file.
4957         (m68k-*-elf*): Add t-crtin to tmake_file.
4958         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
4959         (mcore-*-elf): Likewise.
4960         (microblaze*-*-*): Set extra_parts.
4961         (mips*-sde-elf*): New case.
4962         Set tmake_file, extra_parts.
4963         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4964         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4965         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
4966         tmake_file.
4967         Set extra_parts.
4968         (mipsisa64sr71k-*-elf*): Likewise.
4969         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4970         (mips-*-elf*, mipsel-*-elf*): Likewise.
4971         (mips64-*-elf*, mips64el-*-elf*): Likewise.
4972         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
4973         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
4974         (mips*-*-rtems*): Likewise.
4975         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
4976         (moxie-*-*): Split into ...
4977         (moxie-*-elf, moxie-*-uclinux*): ... this.
4978         Add to extra_parts, remove crtbegin.o, crtend.o.
4979         (moxie-*-rtems*): New case.
4980         Set tmake_file.
4981         Clear extra_parts.
4982         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
4983         Set extra_parts.
4984         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
4985         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
4986         tmake_file.
4987         Set extra_parts.
4988         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
4989         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
4990         Set extra_parts.
4991         (powerpc-*-eabisim*): Likewise.
4992         (powerpc-*-elf*): Likewise.
4993         (powerpc-*-eabialtivec*): Likewise.
4994         (powerpc-xilinx-eabi*): Likewise.
4995         (powerpc-*-eabi*): Likewise.
4996         (powerpc-*-rtems*): Likewise.
4997         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
4998         tmake_file.
4999         Set extra_parts.
5000         (powerpc-*-lynxos*): Add to tmake_file.
5001         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
5002         rs6000/t-crtstuff, t-crtstuff-pic.
5003         Set extra_parts.
5004         (powerpcle-*-eabisim*): Likewise.
5005         (powerpcle-*-eabi*): Likewise.
5006         (rx-*-elf): Remove extra_parts.
5007         (s390x-ibm-tpf*): Set extra_parts.
5008         (score-*-elf): Set extra_parts.
5009         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5010         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5011         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5012         (sh64l*-*-netbsd*): Split into ...
5013         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
5014         Add t-crtstuff-pic to tmake_file.
5015         Set extra_parts.
5016         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
5017         Set extra_parts.
5018         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
5019         (sparc-*-elf*): Remove t-crtin from tmake_file.
5020         Add to extra_parts, remove crtbegin.o, crtend.o.
5021         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
5022         (sparc64-*-linux*): Likewise.
5023         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
5024         Add to extra_parts, remove crtbegin.o, crtend.o.
5025         (sparc64-*-elf*): Remove t-crtin from tmake_file.
5026         Add to extra_parts, remove crtbegin.o, crtend.o.
5027         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
5028         Add to extra_parts, remove crtbegin.o, crtend.o.
5029         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
5030         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
5031         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
5032         Set extra_parts.
5033         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
5034         Set extra_parts.
5035         (tic6x-*-*): Change to ...
5036         (tic6x-*-elf): ... this.
5037         Set extra_parts.
5038         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
5039         Set extra_parts.
5040         (am33_2.0-*-linux*): Add comment.
5041         (mep*-*-*): Add mep/t-mep to tmake_file.
5042         Set extra_parts.
5043         * config/alpha/t-vms: New file.
5044         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
5045         * config/arm/crti.S, config/arm/crtn.S: New files.
5046         * config/bfin/crti.S, config/bfin/crtn.S: New files.
5047         * config/bfin/crtlibid.S: New file.
5048         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
5049         * config/c6x/crti.S, config/c6x/crtn.S: New files.
5050         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
5051         (crti.o, crtin.o): New rules.
5052         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
5053         * config/c6x/t-uclinux: New file.
5054         * config/cris/t-elfmulti: New file.
5055         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
5056         * config/fr30/crti.S, config/fr30/crtn.S: New files.
5057         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
5058         * config/frv/t-frv: New file.
5059         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
5060         * config/h8300/crti.S, config/h8300/crtn.S: New files.
5061         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
5062         New files.
5063         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
5064         refer to cygming-crtbegin.c, cygming-crtend.c.
5065         Use $<.
5066         * config/i386/t-nto: New file.
5067         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
5068         * config/ia64/crti.S, config/ia64/crtn.S: New files.
5069         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
5070         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
5071         Use .S extension.
5072         Use $<.
5073         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
5074         (crtinitS.o): New rule.
5075         * config/ia64/vms-crtinit.S: New file.
5076         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
5077         * config/m32r/initfini.c: New file.
5078         * config/m32r/t-linux, config/m32r/t-m32r: New files.
5079         * config/m68k/crti.S, config/m68k/crtn.S: New files.
5080         * config/mcore/crti.S, config/mcore/crtn.S: New files.
5081         * config/mep/t-mep: New file.
5082         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
5083         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
5084         * config/mips/crti.S, config/mips/crtn.S: New files.
5085         * config/mips/t-crtstuff: New file.
5086         * config/mmix/crti.S, config/mmix/crtn.S: New files.
5087         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
5088         (CUSTOM_CRTIN): Set.
5089         ($(T)crti.o, $(T)crtn.o): Remove $(T),
5090         dependencies.
5091         Use $(srcdir) to refer to crti.S, crtn.S.
5092         Use .S extension, $<.
5093         * config/moxie/crti.asm: Rename to ...
5094         * config/moxie/crti.S: ... this.
5095         * config/moxie/crtn.asm: Rename to ...
5096         * config/moxie/crtn.S: ... this.
5097         * config/moxie/t-moxie: Remove.
5098         * config/pa/stublib.c: New file.
5099         * config/pa/t-stublib, config/pa/t-stublib64: New files.
5100         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
5101         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
5102         * config/rs6000/t-crtstuff: New file.
5103         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
5104         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
5105         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
5106         Make output file explicit.
5107         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
5108         Make output file explicit.
5109         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
5110         Make output file explicit.
5111         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
5112         Make output file explicit.
5113         * config/score/crti.S, config/score/crtn.S: New files.
5114         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
5115         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
5116         files.
5117         * config/sh/t-sh, config/sh/t-superh: New files.
5118         * config/sparc/t-linux64: New file.
5119         * config/spu/cache.S, config/spu/cachemgr.c: New files.
5120         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
5121         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
5122         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
5123         * config/t-crtin: Remove.
5124         * config/t-crtstuff-pic: New file.
5125         * config/t-sol2 (CUSTOM_CRTIN): Set.
5126         (crti.o, crtn.o): New rules.
5127         * config/vms/t-vms: New file.
5128         * config/vms/vms-ucrt0.c: New file.
5129         * config/xtensa/t-elf: New file.
5131 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5133         * Makefile.in (SHLIB_NM_FLAGS): Set.
5134         * mkmap-flat.awk, mkmap-symver.awk: New files.
5135         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
5136         exceptions.
5137         * configure: Regenerate.
5138         * config/libgcc-glibc.ver: New file.
5139         * config/libgcc-libsystem.ver: New file.
5140         * config/t-libunwind (SHLIB_LC): Set.
5141         * config/t-linux: New file.
5142         * config/t-slibgcc (INSTALL_SHLIB): New.
5143         (SHLIB_INSTALL): Use it.
5144         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
5145         to mkmap-symver.awk.
5146         (SHLIB_MAPFILES): Don't append, adapt pathname.
5147         (SHLIB_VERPFX): Set.
5148         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
5149         to mkmap-symver.awk.
5150         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
5151         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
5152         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
5153         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
5154         to mkmap-flat.awk.
5155         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
5156         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
5157         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
5158         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
5159         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
5160         * config/i386/libgcc-darwin.10.4.ver,
5161         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
5162         New files.
5163         * config/i386/t-darwin: Remove.
5164         * config/i386/t-darwin64: Likewise.
5165         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
5166         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
5167         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
5168         * config/i386/t-linux: New file.
5169         * config/i386/t-mingw32: New file.
5170         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
5171         * config/ia64/t-glibc: Rename to ...
5172         * config/ia64/t-linux: ... this.
5173         (SHLIB_MAPFILES): Set.
5174         * config/ia64/t-glibc-libunwind: Rename to ...
5175         * config/ia64/t-linux-libunwind: ... this.
5176         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
5177         * config/ia64/t-slibgcc-hpux: New file.
5178         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
5179         * config/m68k/t-slibgcc-elf-ver: New file.
5180         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
5181         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
5182         to mkmap-flat.awk.
5183         * config/pa/t-slibgcc-hpux: New file.
5184         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
5185         files.
5186         * config/rs6000/libgcc-darwin.10.4.ver,
5187         config/rs6000/libgcc-darwin.10.5.ver: New files.
5188         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
5189         config/rs6000/libgcc-glibc.ver.
5190         * config/rs6000/libgcc-ppc64.ver: Rename to
5191         config/rs6000/libgcc-ibm-ldouble.ver.
5192         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
5193         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
5194         * config/rs6000/t-ldbl128: Rename to ...
5195         * config/rs6000/t-linux: ... this.
5196         (SHLIB_MAPFILES): Adapt filename.
5197         * config/rs6000/t-slibgcc-aix: New file.
5198         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
5199         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
5200         libgcc-excl.ver, libgcc-glibc.ver.
5201         (SHLIB_LINK, SHLIB_INSTALL): Remove.
5202         * config/sparc/libgcc-glibc.ver: New file.
5203         * config/sparc/t-linux: New file.
5204         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
5205         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
5206         t-slibgcc-elf-ver to tmake_file.
5207         Add t-slibgcc-nolc-override to tmake_file for posix threads on
5208         *-*-freebsd[34].
5209         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5210         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
5211         t-slibgcc-elf-ver, t-linux to tmake_file.
5212         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
5213         tmake_file.
5214         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
5215         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
5216         (alpha*-dec-*vms*): Likewise.
5217         (arm*-*-freebsd*): Append to tmake_file.
5218         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
5219         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
5220         arm*-*-linux-*eabi.
5221         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
5222         tmake_file for arm*-*-symbianelf*.
5223         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
5224         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
5225         cris/t-linux.
5226         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
5227         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
5228         pa/t-slibgcc-dwarf-ver to tmake_file.
5229         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
5230         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
5231         (hppa*64*-*-hpux11*): Likewise.
5232         (hppa[12]*-*-hpux11*): Likewise.
5233         (x86_64-*-darwin*): Don't override tmake_file, but only keep
5234         i386/t-crtpc, i386/t-crtfm.
5235         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
5236         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5237         to tmake_file.
5238         Add i386/t-cygwin to tmake_file.
5239         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
5240         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
5241         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5242         to tmake_file.
5243         Add i386/t-mingw32 to tmake_file.
5244         (x86_64-*-mingw*): Likewise.
5245         (ia64*-*-freebsd*): Append to tmake_file.
5246         (ia64*-*-linux*): Append to tmake_file.
5247         Replace ia64/t-glibc by ia64/t-linux.
5248         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
5249         system libunwind.
5250         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
5251         t-slibgcc-hpux to tmake_file.
5252         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
5253         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
5254         (m32rle-*-linux*): Likewise.
5255         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
5256         sjlj exceptions.
5257         (microblaze*-linux*): New case.
5258         Append to tmake_file, add t-slibgcc-nolc-override.
5259         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
5260         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5261         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
5262         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5263         rs6000/t-slibgcc-aix to tmake_file.
5264         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5265         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5266         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5267         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5268         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5269         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
5270         sh*-*-linux*.
5271         (sparc-*-linux*): Append to tmake_file for *-leon*.
5272         Add sparc/t-linux to tmake_file for non-Leon targets.
5273         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
5274         (tic6x-*-uclinux): New case.
5275         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
5276         (tic6x-*-*): Add c6x/t-elf to tmake_file.
5277         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
5278         (am33_2.0-*-linux*): Append to tmake_file.
5279         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5280         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
5281         x86_64-*-kfreebsd*-gnu.
5282         Add i386/t-linux to tmake_file.
5284 2011-10-28  Ian Lance Taylor  <iant@google.com>
5286         * config/i386/morestack.S: Correct CFI information to do proper
5287         returns throughout function.  In 32-bit mode, save %ebx so that it
5288         is restored on unwind.
5290 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
5292         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
5293         case where B3 isn't the return register.
5295         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
5296         logic for doubleword pops.
5298 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
5300         * config/rs6000/t-freebsd: Add wildcard.
5302 2011-10-21  Paul Brook  <paul@codesourcery.com>
5304         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
5306 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
5307             Eric Botcazou  <ebotcazou@adacore.com>
5309         PR target/50737
5310         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
5311         fs->signal_frame to 1.
5313 2011-10-07  Ian Lance Taylor  <iant@google.com>
5315         * generic-morestack-thread.c: #include <errno.h>.
5317 2011-10-07  Ian Lance Taylor  <iant@google.com>
5319         PR target/46093
5320         * generic-morestack.c (__generic_morestack): Make sure the segment
5321         is large enough for both the stack frame and the copied
5322         parameters.
5324 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5326         PR bootstrap/49804
5327         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
5328         extra_parts.
5330 2011-09-28  Nick Clifton  <nickc@redhat.com>
5332         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
5333         64-bit doubles are not enabled.
5334         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
5335         and floatunsisf functions.
5337 2011-09-13  Paul Brook  <paul@codesourcery.com>
5339         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
5340         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
5341         * unwind-arm-common.inc: New file.
5342         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
5343         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
5344         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
5345         * config/c6x/libunwind.S: New file.
5346         * config/c6x/pr-support.c: New file.
5347         * config/c6x/unwind-c6x.c: New file.
5348         * config/c6x/unwind-c6x.h: New file.
5349         * config/c6x/t-c6x-elf: New file.
5351 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
5353         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
5354         (ASM_DIVZERO): Ditto.
5355         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
5357 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
5359         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
5361 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
5363         PR target/50090
5364         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
5365         instead of an assembly one.
5367 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
5369         PR bootstrap/50047
5370         * Makefile.in (install-unwind_h): Create
5371         $(gcc_objdir)/include/unwind.h atomically.
5373 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5375         * Makefile.in (install-unwind_h): Remove destination file first.
5377 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5379         * sync.c: New file.
5380         * config/mips/t-mips16: New file.
5381         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
5382         (mips*-*-linux*): Likewise.
5383         (mips*-sde-elf*): Likewise.
5384         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
5385         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
5386         Add mips/t-mips16 to tmake_file.
5387         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
5388         (mips-*-elf*): Likewise.
5389         (mips64-*-elf*): Likewise.
5390         (mips64orion-*-elf*): Likewise.
5391         (mips*-*-rtems*): Likewise.
5392         (mipstx39-*-elf*): Likewise.
5393         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
5394         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
5395         LIBGCC_SYNC_CFLAGS.
5396         Use $(srcdir) to refer to sync.c.
5397         Use $<.
5398         ($(libgcc-sync-funcs-o)): Likewise.
5399         ($(libgcc-sync-size-funcs-s-o)): Likewise.
5400         ($(libgcc-sync-funcs-s-o)): Likewise.
5402 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
5404         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
5405         t-libunwind.
5407 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
5409         PR other/48007
5410         * config/i386/value-unwind.h: New.
5412 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
5414         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
5415         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
5416         Add to tmake_file rather than overriding it.
5418 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5420         * config/t-softfp: Remove.
5421         * soft-fp: Moved from ../gcc/config.
5422         * soft-fp/README: Remove t-softfp reference.
5423         * soft-fp/t-softfp: Move to config/t-softfp.
5424         (softfp_machine_header): Remove.
5425         (softfp_file_list): Remove config subdir.
5426         (soft-fp-objects): New variable.
5427         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
5428         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
5429         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
5430         * config/t-softfp-excl: New file.
5431         * config/t-softfp-sfdf: New file.
5432         * config/t-softfp-tf: New file.
5433         * config/no-sfp-machine.h: New file.
5434         * config/arm/sfp-machine.h: New file.
5435         * config/arm/t-softfp: New file.
5436         * config/c6x/sfp-machine.h: New file.
5437         * config/i386/32/t-fprules-softfp: Rename to ...
5438         * config/i386/32/t-softfp: ... this.
5439         (tifunctions, LIB2ADD): Remove.
5440         (softfp_int_modes): Override.
5441         * config/i386/64/t-softfp-compat (tf-functions): Remove config
5442         subdir.
5443         * config/i386/64/eqtf2.c: Likewise.
5444         * config/i386/64/getf2.c: Likewise.
5445         * config/i386/64/letf2.c: Likewise.
5446         * config/ia64/sft-machine.h: New file.
5447         * config/ia64/t-fprules-softfp: Rename to ...
5448         * config/ia64/t-softfp: ... this.
5449         * config/lm32/sfp-machine.h: New file.
5450         * config/moxie/t-moxie-softfp: Remove.
5451         * config/rs6000/ibm-ldouble-format: New file.
5452         * config/rs6000/ibm-ldouble.c: New file.
5453         * config/rs6000/libgcc-ppc-glibc.ver: New file
5454         * config/rs6000/libgcc-ppc64.ver: New file
5455         * config/rs6000/sfp-machine.h: New file.
5456         * config/rs6000/t-freebsd: New file.
5457         * config/rs6000/t-ibm-ldouble: New file.
5458         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
5459         libgcc-ppc-glibc.ver.
5460         * config/rs6000/t-linux64: New file.
5461         * config/rs6000/t-ppccomm (LIB2ADD): Add
5462         $(srcdir)/config/rs6000/ibm-ldouble.c.
5463         * config/rs6000/t-ppccomm-ldbl: New file.
5464         * config/score/sfp-machine.h: New file.
5465         * config.host (sfp_machine_header): Explain.
5466         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
5467         t-softfp to tmake_file.
5468         (arm*-*-uclinux*): Likewise.
5469         (arm*-*-ecos-elf): Likewise.
5470         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5471         (arm*-*-rtems*): Likewise.
5472         (arm*-*-elf): Likewise.
5473         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
5474         in tmake_file.
5475         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
5476         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
5477         (lm32-*-uclinux*): Likewise.
5478         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
5479         t-softfp-excl, t-softfp.
5480         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
5481         (powerpc64-*-darwin*): Likewise.
5482         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
5483         to tmake_file.
5484         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
5485         tmake_file.
5486         (powerpc-*-eabisim*): Likewise.
5487         (powerpc-*-elf*): Likewise.
5488         (powerpc-*-eabialtivec*): Likewise.
5489         (powerpc-xilinx-eabi*): Likewise.
5490         (powerpc-*-rtems*): Likewise.
5491         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
5492         t-softfp-excl, t-softfp to tmake_file.
5493         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
5494         rs6000/t-ppccomm-ldbl to tmake_file.
5495         (powerpcle-*-elf*): Likewise.
5496         (powerpcle-*-eabisim*): Likewise.
5497         (powerpcle-*-eabi*): Likewise.
5498         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5499         rs6000/t-ibm-ldouble to tmake_file.
5500         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5501         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5502         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
5503         (tic6x-*-*): Likewise.
5504         (i[34567]86-*-darwin*, x86_64-*-darwin*,
5505         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
5506         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
5507         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
5508         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
5509         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
5510         t-softfp to tmake_file.
5511         * configure.ac (sfp_machine_header): Provide default if unset.
5512         Substitute.
5513         Link sfp-machine.h to config/$sfp_machine_header.
5514         * configure: Regenerate.
5516 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5518         * Makefile.in (double_type_size, long_double_type_size): Set.
5519         Remove $(fpbit-in-libgcc) support.
5520         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
5521         (fpbit-src): New variable.
5522         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
5523         Compile with -DFLOAT $(FPBIT_CFLAGS).
5524         Use $<.
5525         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
5526         Compile with $(FPBIT_CFLAGS).
5527         Use $<.
5528         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
5529         Compile with -DFLOAT $(TPBIT_CFLAGS).
5530         Use $<.
5531         * configure.ac (double_type_size, long_double_type_size):
5532         Determine and substitute.
5533         * configure: Regenerate.
5534         * fp-bit.c, fp-bit.h: New files.
5535         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
5536         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
5537         * config/mips/t-mips: New file.
5538         * config/mips/t-sdemtk: New file.
5539         * config/rs6000/ppc64-fp.c: New file.
5540         * config/rs6000/t-darwin (LIB2ADD): Add
5541         $(srcdir)/config/rs6000/ppc64-fp.c.
5542         * config/rs6000/t-ppc64-fp: New file.
5543         * config/rx/rx-lib.h: New file.
5544         * config/rx/t-rx (FPBIT): Set to true.
5545         ($(gcc_objdir)/fp-bit.c): Remove.
5546         (DPBIT): Set to true only with -m64bit-doubles.
5547         ($(gcc_objdir)/dp-bit.c): Remove.
5548         * config/sparc/t-softfp: Remove.
5549         * config/spu/t-elf: New file.
5550         * config/t-fdpbit, config/t-fpbit: New files.
5551         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
5552         (mips*-*-*): Likewise.
5553         (arm-wrs-vxworks): Likewise.
5554         (arm*-*-freebsd*): Likewise.
5555         (avr-*-rtems*): Add t-fpbit to tmake_file.
5556         (avr-*-*): Likewise.
5557         (bfin*-elf*): Add t-fdpbit to tmake_file.
5558         (bfin*-uclinux*): Likewise.
5559         (bfin*-linux-uclibc*): Likewise.
5560         (bfin*-rtems*): New case.
5561         Add t-fdpbit to tmake_file.
5562         (bfin*-*): Add t-fdpbit to tmake_file.
5563         (crisv32-*-elf): Likewise.
5564         (cris-*-linux*): Likewise.
5565         (fr30-*-elf): Likewise.
5566         (frv-*-elf, frv-*-*linux*): Likewise.
5567         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
5568         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
5569         (m32r-*-elf*): Likewise.
5570         (m32rle-*-elf*): Likewise.
5571         (m32r-*-linux*): Likewise.
5572         (m32rle-*-linux*): Likewise.
5573         (mcore-*-elf): Add t-fdpbit to tmake_file.
5574         (microblaze*-*-*): Likewise.
5575         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
5576         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
5577         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
5578         Fix typo.
5579         Add mips/t-tpbit to tmake-file.
5580         (mips*-*-linux*): Fix typo.
5581         (mips*-sde-elf*): New case
5582         Add mips/t-sdemtk unless using newlib.
5583         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
5584         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
5585         (mn10300-*-*): Likewise.
5586         (pdp11-*-*): Likewise.
5587         (picochip-*-*): Add t-fpbit to tmake_file.
5588         (powerpc-*-eabisimaltivec*): Likewise.
5589         (powerpc-*-eabisim*): Likewise.
5590         (powerpc-*-elf*): Likewise.
5591         (powerpc-*-eabialtivec*): Likewise.
5592         (powerpc-xilinx-eabi*): New case.
5593         Add t-fdpbit to tmake_file.
5594         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
5595         (powerpc-*-rtems*): Likewise.
5596         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
5597         tmake_file.
5598         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
5599         tmake_file.
5600         (powerpc-*-lynxos*): Likewise.
5601         (powerpcle-*-elf*): Likewise.
5602         (powerpcle-*-eabisim*): Likewise.
5603         (powerpcle-*-eabi*): Likewise.
5604         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5605         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
5606         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5607         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5608         (rx-*-elf): Add t-fdpbit to tmake_file.
5609         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5610         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5611         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5612         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
5613         sh*-*-netbsd*.
5614         (sh-*-rtems*): Add t-fdpbit to tmake_file.
5615         (sh-wrs-vxworks): Likewise.
5616         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
5617         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
5618         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
5619         (sparc64-*-rtems*): ... new case.
5620         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
5621         (spu-*-elf*): Likewise.
5622         Add spu/t-elf to tmake_file.
5623         (v850*-*-*): Add t-fdpbit to tmake_file.
5624         (xstormy16-*-elf): Likewise.
5625         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
5626         (mep*-*-*): Likewise.
5628 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5630         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
5631         variables.
5632         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
5633         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
5634         (install-unwind_h): New target.
5635         (all): Depend on it.
5636         * config.host (unwind_header): New variable.
5637         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
5638         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5639         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
5640         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
5641         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
5642         Set unwind_header.
5643         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
5644         Set unwind_header.
5645         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
5646         arm*-*-eabi*.
5647         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
5648         Set unwind_header.
5649         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
5650         (ia64*-*-freebsd*): Likewise.
5651         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
5652         tmake_file.
5653         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
5654         $with_system_libunwind.
5655         (ia64*-*-hpux*): Set tmake_file.
5656         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
5657         (picochip-*-*): Set tmake_file.
5658         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
5659         md_unwind_header.
5660         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5661         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5662         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
5663         (xtensa*-*-elf*): Set tmake_file.
5664         (xtensa*-*-linux*): Likewise.
5665         * configure.ac: Include ../config/unwind_ipinfo.m4.
5666         Call GCC_CHECK_UNWIND_GETIPINFO.
5667         Link unwind.h to $unwind_header.
5668         * configure: Regenerate.
5669         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
5670         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
5671         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
5672         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
5673         * config/unwind-dw2-fde-darwin.c: New file.
5674         * config/arm/libunwind.S, config/arm/pr-support.c,
5675         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
5676         config/arm/unwind-arm.h,: New files.
5677         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
5678         config/ia64/t-eh-ia64, config/ia64/t-glibc,
5679         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
5680         config/ia64/t-vms, config/ia64/unwind-ia64.c,
5681         config/ia64/unwind-ia64.h: New files.
5682         * config/picochip/t-picochip: New file.
5683         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
5684         files.
5685         * config/rs6000/t-darwin (LIB2ADDEH): Set.
5686         * config/s390/t-tpf (LIB2ADDEH): Remove.
5687         * config/t-darwin (LIB2ADDEH): Set.
5688         * config/t-eh-dw2-dip: New file.
5689         * config/t-libunwind, config/t-libunwind-elf: New files.
5690         * config/t-sol2 (LIB2ADDEH): Remove.
5691         * config/xtensa/t-xtensa: New file.
5693 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
5695         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
5696         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
5697         long long to check rt_sigreturn syscall.
5699 2011-08-02  Alan Modra  <amodra@gmail.com>
5701         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5702         Restore for indirect call bcrtl from correct stack slot, and only
5703         if cfa+40 isn't valid.
5705 2011-08-01  Julian Brown  <julian@codesourcery.com>
5707         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
5708         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
5709         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
5711 2011-08-01  Julian Brown  <julian@codesourcery.com>
5713         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
5714         (libgcc-std.ver.in): Use above.
5715         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
5716         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
5717         throughout file.
5718         * config/t-fixedpoint-gnu-prefix: New file.
5719         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
5720         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
5721         instead of __PFX__.
5723 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
5725         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
5726         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
5727         for x86-64.  Properly check __x86_64__ and __LP64__.
5729 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
5731         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
5732         version.
5733         (_FP_WS_TYPE): Likewise.
5734         (_FP_I_TYPE): Likewise.
5736 2011-07-28  Alan Modra  <amodra@gmail.com>
5738         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5739         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
5740         in a plt call stub.  Do restore r2 if stopped on bctrl.
5742 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5744         * config.host (i[3456x]86-*-netware*): Remove.
5745         * config/i386/netware-crt0.c, config/i386/t-nwld,
5746         config/i386/t-slibgcc-nwld: Remove.
5748 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
5750         * config.host: Handle tic6x-*-*.
5751         * config/c6x/c6x-abi.h: New file.
5753 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5755         * config/i386/crtprec.c: New file.
5756         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
5757         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
5758         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
5759         (x86_64-*-darwin*): Likewise.
5760         (i[34567]86-*-solaris2*: Likewise.
5762 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5764         * config/alpha/crtfastmath.c: New file.
5765         * config/i386/crtfastmath.c: New file.
5766         * config/ia64/crtfastmath.c: New file.
5767         * config/mips/crtfastmath.c: New file.
5768         * config/sparc/crtfastmath.c: New file.
5770         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
5771         crtfastmath.c.
5772         Add -frandom-seed=gcc-crtfastmath.
5773         * config/alpha/t-crtfm: Remove.
5774         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
5775         * config/ia64/t-ia64 (crtfastmath.o): Remove.
5777         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
5778         (alpha*-dec-osf5.1*): Likewise.
5779         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
5780         Add crtfastmath.o to extra_parts.
5781         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
5782         Add crtfastmath.o to extra_parts.
5783         (x86_64-*-darwin*): Likewise.
5784         (x86_64-*-mingw*): Likewise.
5785         (ia64*-*-elf*): Add t-crtfm to tmake_file.
5786         (ia64*-*-freebsd*): Likewise.
5787         (ia64*-*-linux*): Likewise.
5788         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
5789         Add crtfastmath.o to extra_parts.
5791 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5793         * config/darwin-crt3.o: New file.
5794         * config/rs6000/darwin-crt2.c: New file.
5795         * config/t-darwin: New file.
5796         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
5797         (crt2.o): New rule.
5798         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
5799         (powerpc-*-darwin*): Add crt2.o to extra_parts.
5800         (powerpc64-*-darwin*): Likewise.
5802 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5804         * config/i386/netware-crt0.c: New file.
5805         * config/i386/t-nwld: Rename to ...
5806         * config/i386/t-slibgcc-nwld: ... this.
5807         * config/i386/t-nwld: New file.
5808         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
5809         tmake_file.
5810         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
5811         extra_parts.
5813 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5815         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
5816         i386/t-crtstuff.
5817         * configure: Regenerate.
5819 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5821         * dfp-bit.c, dfp-bit.h: New files.
5822         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
5823         variables.
5824         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
5825         ($(d64pbit-o)): Likewise.
5826         ($(d128pbit-o)): Likewise.
5827         * config/t-dfprules: New file.
5828         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
5829         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
5830         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5831         (x86_64-*-linux*): Likewise.
5832         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5833         (i[34567]86-*-cygwin*): Likewise.
5834         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
5835         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5837 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5839         * Makfile.in (LIBGCOV): New variable.
5840         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
5841         * libgcov.c: New file.
5843 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5845         * fixed-bit.c, fixed-bit.h: New files.
5846         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
5847         refer to fixed-bit.c.
5849 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
5851         * config.host (*local*): Remove.
5853 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5855         PR target/39150
5856         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
5857         like i?86-*-solaris2.1[0-9]*.
5858         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
5859         * configure.ac (i?86-*-solaris2*): Likewise.
5860         * configure: Regenerate.
5862 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
5864         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5865         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
5866         md_unwind_header by splitting out of...
5867         (i[34567]86-*-linux*): ... this.
5868         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
5869         Remove md_unwind_header by splitting out of...
5870         (x86_64-*-linux*): ... this.
5872 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
5874         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
5876 2011-06-28  Nick Clifton  <nickc@redhat.com>
5878         * config.host: Recognize all V850 variants.
5880 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
5882         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
5884 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5886         * shared-object.mk (c_flags-$o): Save c_flags.
5887         ($(base)$(objext)): Use it.
5888         ($(base)_s$(objext)): Likewise.
5890 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
5892         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
5893         * libgcc-std.ver.in (GCC_4.7.0): New section.
5895 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
5897         PR target/49313
5898         PR target/29524
5899         * config/avr/t-avr: Fix line endings.
5900         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
5901         _parityXX2.
5903 2011-06-14  Olivier Hainque  <hainque@adacore.com>
5904             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5906         * config/mips/irix6-unwind.h: New file.
5907         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
5909 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
5911         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
5912         (sparc64_fallback_frame_state): Use it.
5913         (sparc64_frob_update_context): Further adjust context.
5914         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
5915         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
5916         * config/sparc/sol2-cn.S: Likewise.
5918 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5920         * enable-execute-stack-empty.c: New file.
5921         * enable-execute-stack-mprotect.c: New file.
5922         * config/i386/enable-execute-stack-mingw32.c: New file.
5923         * config.host (enable_execute_stack): New variable.
5924         Select appropriate variants.
5925         * configure.ac: Link enable-execute-stack.c to
5926         $enable_execute_stack.
5927         * configure: Regenerate.
5928         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
5929         (lib2funcs): Remove _enable_execute_stack.
5931 2011-06-09  David S. Miller  <davem@davemloft.net>
5932             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5934         * config.host (sparc-*-linux*): Correct md_unwind_header
5935         filename.
5936         (s390x-ibm-tpf*): Fix typo.
5938 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5940         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
5941         Add crtfastmath.o to extra_parts.
5942         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
5943         mips/t-crtfm.
5944         * config/mips/t-crtfm: Remove.
5946 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5948         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
5950 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
5952         * config.host (sh*-*-linux*): Fix typo.
5954 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5956         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
5957         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
5958         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
5959         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
5960         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
5961         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
5962         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
5963         Wrap in !__MINGW64__.
5964         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
5965         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
5966         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
5967         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
5968         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
5969         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
5970         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
5971         Wrap in !__LP64__.
5972         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
5973         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
5974         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
5975         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
5976         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
5977         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
5978         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
5979         * config/no-unwind.h: New file.
5980         * config.host (md_unwind_header): Document.
5981         Define.
5982         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
5983         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
5984         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
5985         hppa[12]*-*-hpux11*): Set md_unwind_header.
5986         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
5987         Set md_unwind_header.
5988         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
5989         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
5990         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
5991         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
5992         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
5993         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
5994         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
5995         md_unwind_header.
5996         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
5997         * configure: Regenerate.
5999 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6001         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
6002         Set tmake_file, extra_parts.
6003         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
6004         Remove O32 support.
6005         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
6006         Remove O32 support.
6007         * config/mips/t-irix6: New file.
6008         * config/mips/t-slibgcc-irix: New file.
6010 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6012         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
6013         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
6015 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6017         * configure.ac (target_thread_file): Determine thread model.
6018         * configure: Regenerate.
6019         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
6020         * config/alpha/t-alpha: New file.
6021         * config/alpha/t-crtfm: Use $<.
6022         * config/alpha/t-ieee: New file.
6023         * config/alpha/t-osf-pthread: New file.
6024         * config/alpha/t-slibgcc-osf: New file.
6025         * config/alpha/libgcc-osf5.ver: New file.
6027 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6029         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
6030         tmake_file.
6031         Add crtfastmath.o to extra_parts.
6033 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6035         * config/gmon-sol2.c: Reindent.
6036         Cleanup comments.
6037         Remove, correct casts.
6038         Use STDERR_FILENO, NULL.
6039         (BASEADDRESS): Remove.
6040         (minbrk): Remove.
6041         (errno, sbrk): Remove declarations.
6042         (monstartup) [hp300]: Remove.
6043         (mcount): Remove.
6045 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6047         * Makefile.in (cpu_type): Define.
6048         * config.host (i[34567]86-*-rtems*): Handle it.
6049         (i[34567]86-*-solaris2*): Move body ...
6050         (*-*-solaris2*): ... here.
6051         New case, generalize.
6052         (sparc-*-elf*): Handle it.
6053         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
6054         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
6055         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
6056         Fold into ...
6057         (sparc*-*-solaris2*): ... this.
6058         New case.
6059         (sparc64-*-elf*): Handle it.
6060         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
6061         Merge ../gcc/config/i386/gmon-sol2.c.
6062         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
6063         Use C comments.
6064         Merge ../gcc/config/i386/sol2-gc1.asm.
6065         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
6066         Use C comments.
6067         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
6068         Use C comments.
6069         * config/i386/t-crtfm (crtfastmath.o): Use $<.
6070         * config/i386/t-crtstuff: New file.
6071         * config/i386/t-softfp: New file.
6072         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
6073         $(T)crti.o, $(T)crtn.o): Remove.
6074         (gcrt1.o): New rule.
6075         (TARGET_LIBGCC2_CFLAGS): Remove.
6076         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
6077         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
6078         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
6079         * config/sparc/t-sol2: New file.
6080         * config/sparc/t-crtfm: Move to ...
6081         * config/t-crtfm: ... this.
6082         Use $(cpu_type), $<.
6083         * config/t-crtin: New file.
6084         * config/sparc/t-softfp: New file.
6085         * config/sparc/t-softmul: New file.
6086         * config/t-rtems: New file.
6087         * config/t-slibgcc: New file.
6088         * config/t-slibgcc-elf-ver: New file.
6089         * config/t-slibgcc-gld: New file.
6090         * config/t-slibgcc-sld: New file.
6091         * config/t-sol2: New file.
6092         * configure.ac: Include ../config/lib-ld.m4.
6093         Call AC_LIB_PROG_LD_GNU.
6094         Substitute cpu_type.
6095         * configure: Regenerate.
6097 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
6099         PR bootstrap/49173
6100         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
6101         libgcc-std.ver in the build directory.
6102         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
6103         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
6105 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
6107         * libgcc-std.ver.in: New file.
6108         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
6109         variables.
6110         (libgcc-std.ver): New rule.
6111         * config/t-gnu-prefix: New file.
6113 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6115         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
6117 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
6119         * config/i386/darwin-lib.h: New file.
6121 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
6123         * config/arm/symbian-lib.h: New.
6125 2011-05-04  Chris Demetriou  <cgd@google.com>
6127         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
6128         (__x86.get_pc_thunk.bx): ...this.
6129         (__morestack): Adjust for rename, remove undef of __i686.
6131 2011-05-03  Chris Demetriou  <cgd@google.com>
6133         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
6135 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
6137         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
6138         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
6139         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
6140         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
6141         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
6142         Remove cases.
6144 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
6146         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
6147         Adjust copyright year.
6149 2011-03-07  Ian Lance Taylor  <iant@google.com>
6151         * generic-morestack.c (__splitstack_find): Adjust returned stack
6152         pointer to include all registers pushed by __morestack.
6154 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
6156         PR target/40125
6157         * configure.ac: Call ACX_NONCANONICAL_TARGET.
6158         (toolexecdir): Calculate and AC_SUBST.
6159         (toolexeclibdir): Likewise.
6160         * Makefile.in (target_noncanonical): Import.
6161         (toolexecdir): Likewise.
6162         (toolexeclibdir): Likewise.
6163         * configure: Regenerate.
6165 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
6167         PR target/46040
6168         * config/arm/bpabi.h: Rename to...
6169         * config/arm/bpabi-lib.h: ...this.
6171 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6173         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
6174         appropriate.
6175         * configure: Regenerate.
6177 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
6179         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
6180         __FLOAT_WORD_ORDER__.
6181         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
6182         Delete.
6184 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6186         PR other/46202
6187         * Makefile.in (install-strip): New phony target.
6189 2010-11-07  Ian Lance Taylor  <iant@google.com>
6191         PR target/46089
6192         * config/i386/morestack.S (__morestack_large_model): New
6193         function.
6195 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
6197         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
6198         Delete.
6199         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
6201 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
6203         * config/arm/bpabi.h: New file.
6204         * config/frv/frv-abi.h: New file.
6206 2010-10-01  Ian Lance Taylor  <iant@google.com>
6208         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
6209         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
6211 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6213         PR target/45858
6214         * config.host: Add the missing `$'.
6216 2010-09-30  Michael Eager  <eager@eagercon.com>
6218         * config.host: Add microblaze*-*-*.
6219         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
6220         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
6221         udivsi3.asm,umodsi3.asm}:  New.
6223 2010-09-28  Ian Lance Taylor  <iant@google.com>
6225         * configure.ac: Adjust CFI test to test assembler directly rather
6226         than checking gcc preprocessor macro.
6227         * configure: Rebuild.
6229 2010-09-27  Ian Lance Taylor  <iant@google.com>
6231         * configure.ac: Test whether assembler supports CFI directives.
6232         * config.host: Only add t-stack and i386/t-stack-i386 to
6233         tmake_file if libgcc_cv_cfi is "yes".
6234         * configure: Rebuild.
6236 2010-09-27  Ian Lance Taylor  <iant@google.com>
6238         * generic-morestack.h: New file.
6239         * generic-morestack.c: New file.
6240         * generic-morestack-thread.c: New file.
6241         * config/i386/morestack.S: New file.
6242         * config/t-stack: New file.
6243         * config/i386/t-stack-i386: New file.
6244         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
6245         i386/t-stack-i386 to tmake_file.
6247 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
6249         * Makefile.in (libgcc-extra-parts):  Check for static archives and
6250         invoke ranlib after installing them.
6251         (gcc-extra-parts): Likewise.
6252         (install-leaf): Likewise.
6254 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
6256         * configure: Regenerated.
6258 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
6260         * configure: Regenerated.
6262 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
6263             Andrew Pinski  <pinskia@gmail.com>
6265         PR target/40959
6266         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
6268 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
6270         PR target/45524
6271         * configure: Regenerated.
6273 2010-09-06  Andreas Schwab  <schwab@redhat.com>
6275         * configure: Regenerate.
6277 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
6279         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
6280         64bit targets.
6281         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
6282         for 64bit targets.
6284 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
6285             Iain Sandoe  <iains@gcc.gnu.org>
6287         PR target/45476
6288         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
6289         LIB2FUNCS_EXCLUDE functions.
6291 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6293         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
6294         Include dfp.m4.
6295         * configure: Regenerate.
6297 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
6299         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
6300         i386/t-freebsd to tmake_file.
6301         * config/i386/t-freebsd: New file.
6302         * config/i386/libgcc-bsd.ver: New file.
6304 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
6306         * config.host (powerpc*-eabispe*): Set tmake_file.
6307         (powerpc*-eabi*): Likewise.
6308         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
6309         crtbeginS, crtendS, crtbeginT.
6311 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
6313         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
6314         to tmake_file.  Add crtfastmath.o to extra_parts.
6315         * config/mips/t-crtfm: New.
6317 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
6319         * config.host (sparc64-*-rtems*): New target.
6321 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6323         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
6324         assembler syntax.
6326 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
6328         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
6330 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6332         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
6333         alpha-dec-osf5.0* support.
6335 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
6337         * config.host: Add lm32-*-rtems*.
6339 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6340             Uros Bizjak <ubizjak@gmail.com>
6342         PR target/39048
6343         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
6344         like other remaining 32-bit x86 OSes.
6345         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
6346         assembler syntax.
6347         * config/i386/libgcc-sol2.ver: New file.
6348         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
6350 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
6352         PR c/43553
6353         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
6354         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
6355         is used and substitute set_use_emutls.
6356         * configure: Regenerated.
6358 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
6360         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
6362 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6364         PR target/38085
6365         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
6366         MULTILIB_CFLAGS.
6367         ($(T)gcrt1.o): Likewise.
6368         ($(T)crt1.o): Likewise.
6369         ($(T)crti.o): Likewise.
6370         ($(T)crtn.o): Likewise.
6372 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6374         PR other/42980
6375         * Makefile.in (install): Use $(MAKE) string in rule, for
6376         parallel make.
6378 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
6380         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
6381         * config/mmix/t-mmix: New file.
6382         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
6384 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
6386         PR java/41991
6387         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
6388         SHLIB_MAPFILES.
6390 2010-01-04  Anthony Green  <green@moxielogic.com>
6392         * config/moxie/crti.asm, config/moxie/crtn.asm,
6393         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
6394         config/moxie/t-moxie: New files.
6395         * config.host: Add t-moxie-softfp reference.
6397 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
6399         PR other/39888
6400         * config/t-slibgcc-darwin: Fix embedded rpaths for
6401         --enable-version-specific-runtime-libs, build extension stub
6402         libs exposing features available from current libgcc_s.
6404 2009-11-11  Jon Beniston <jon@beniston.com>
6406         * config.host: Add lm32 targets.
6407         * config/lm32: New directory.
6408         * config/lm32/libgcc_lm32.h: New file.
6409         * config/lm32/_mulsi3.c: New file.
6410         * config/lm32/_udivmodsi4.c: New file.
6411         * config/lm32/_divsi3.c: New file.
6412         * config/lm32/_modsi3.c: New file.
6413         * config/lm32/_udivsi3.c: New file.
6414         * config/lm32/_umodsi3.c: New file.
6415         * config/lm32/_lshrsi3.S: New file.
6416         * config/lm32/_ashrsi3.S: New file.
6417         * config/lm32/_ashlsi3.S: New file.
6418         * config/lm32/crti.S: New file.
6419         * config/lm32/crtn.S: New file.
6420         * config/lm32/t-lm32: New file.
6421         * config/lm32/t-elf: New file.
6422         * config/lm32/t-uclinux: New file.
6424 2009-10-26  Nick Clifton  <nickc@redhat.com>
6426         * config.host: Add support for RX target.
6427         * config/rx: New directory.
6428         * config/rx/rx-abi-functions.c: New file. Supplementary
6429         functions for libgcc to support the RX ABI.
6430         * config/rx/rx-abi.h: New file.  Supplementary header file for
6431         libgcc RX ABI functions.
6432         * config/rx/t-rx: New file: Makefile fragment for building
6433         libgcc for the RX.
6435 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
6437         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
6438         constraint of y0 to "g".
6440 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6442         * config.host: Include the s390 makefile fragments.
6443         * config/s390/32/_fixdfdi.c: New file.
6444         * config/s390/32/_fixsfdi.c: New file.
6445         * config/s390/32/_fixtfdi.c: New file.
6446         * config/s390/32/_fixunsdfdi.c: New file.
6447         * config/s390/32/_fixunssfdi.c: New file.
6448         * config/s390/32/_fixunstfdi.c: New file.
6449         * config/s390/32/t-floattodi: New file.
6450         * config/s390/libgcc-glibc.ver: New file.
6451         * config/s390/t-crtstuff: New file.
6452         * config/s390/t-linux: New file.
6453         * config/s390/t-tpf: New file.
6455 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6457         * configure.ac (AC_PREREQ): Bump to 2.64.
6459 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
6461         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
6463 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6465         * configure: Regenerate.
6467 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
6469         * config.host (ia64-hp-*vms*): New target.
6470         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
6471         with ia64-hp-*vms*.
6473 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6475         * configure.ac: Add snippet for maintainer-mode.
6476         * configure: Regenerate.
6477         * Makefile.in (AUTOCONF, configure_deps): New variables.
6478         ($(srcdir)/configure)): New rule, active only with maintainer
6479         mode turned on.
6481 2009-06-23  DJ Delorie  <dj@redhat.com>
6483         Add MeP port.
6484         * config.host: Add mep support.
6486 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
6488         * config.host: Add i386/${host_address}/t-fprules-softfp and
6489         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
6491         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
6492         for mingw targets.
6493         * config/i386/64/_multc3.c: Likewise.
6494         * config/i386/64/_powitf2.c: Likewise.
6495         * config/i386/64/eqtf2.c: Likewise.
6496         * config/i386/64/getf2.c: Likewise.
6497         * config/i386/64/letf2.c: Likewise.
6498         * config/i386/64/letf2.c: Likewise.
6499         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
6500         unsigned long long for x64 mingw targets.
6501         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
6502         (_FP_I_TYPE): Define as long long for x64 mingw target.
6504 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
6506         * config.host (vax-*-linux*): New.
6508 2009-05-31  Anthony Green  <green@moxielogic.com>
6510         * config.host: Add moxie support.
6511         * config/moxie/t-moxie: New file.
6513 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
6515         * config.host: Add i386/${host_address}/t-fprules-softfp and
6516         t-softfp to tmake_file for i[34567]86-*-cygwin*.
6518 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
6520         * config.host: Add i386/${host_address}/t-fprules-softfp to
6521         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
6523 2009-04-09  Nick Clifton  <nickc@redhat.com>
6525         * config/ia64/tf-signs.c: Change copyright header to refer to
6526         version 3 of the GNU General Public License with version 3.1
6527         of the GCC Runtime Library Exception and to point readers at
6528         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
6529         web page.
6530         * config/i386/32/tf-signs.c: Likewise.
6531         * config/libbid/_addsub_dd.c: Likewise.
6532         * config/libbid/_addsub_sd.c: Likewise.
6533         * config/libbid/_addsub_td.c: Likewise.
6534         * config/libbid/_dd_to_df.c: Likewise.
6535         * config/libbid/_dd_to_di.c: Likewise.
6536         * config/libbid/_dd_to_sd.c: Likewise.
6537         * config/libbid/_dd_to_sf.c: Likewise.
6538         * config/libbid/_dd_to_si.c: Likewise.
6539         * config/libbid/_dd_to_td.c: Likewise.
6540         * config/libbid/_dd_to_tf.c: Likewise.
6541         * config/libbid/_dd_to_udi.c: Likewise.
6542         * config/libbid/_dd_to_usi.c: Likewise.
6543         * config/libbid/_dd_to_xf.c: Likewise.
6544         * config/libbid/_df_to_dd.c: Likewise.
6545         * config/libbid/_df_to_sd.c: Likewise.
6546         * config/libbid/_df_to_td.c: Likewise.
6547         * config/libbid/_di_to_dd.c: Likewise.
6548         * config/libbid/_di_to_sd.c: Likewise.
6549         * config/libbid/_di_to_td.c: Likewise.
6550         * config/libbid/_div_dd.c: Likewise.
6551         * config/libbid/_div_sd.c: Likewise.
6552         * config/libbid/_div_td.c: Likewise.
6553         * config/libbid/_eq_dd.c: Likewise.
6554         * config/libbid/_eq_sd.c: Likewise.
6555         * config/libbid/_eq_td.c: Likewise.
6556         * config/libbid/_ge_dd.c: Likewise.
6557         * config/libbid/_ge_sd.c: Likewise.
6558         * config/libbid/_ge_td.c: Likewise.
6559         * config/libbid/_gt_dd.c: Likewise.
6560         * config/libbid/_gt_sd.c: Likewise.
6561         * config/libbid/_gt_td.c: Likewise.
6562         * config/libbid/_isinfd128.c: Likewise.
6563         * config/libbid/_isinfd32.c: Likewise.
6564         * config/libbid/_isinfd64.c: Likewise.
6565         * config/libbid/_le_dd.c: Likewise.
6566         * config/libbid/_le_sd.c: Likewise.
6567         * config/libbid/_le_td.c: Likewise.
6568         * config/libbid/_lt_dd.c: Likewise.
6569         * config/libbid/_lt_sd.c: Likewise.
6570         * config/libbid/_lt_td.c: Likewise.
6571         * config/libbid/_mul_dd.c: Likewise.
6572         * config/libbid/_mul_sd.c: Likewise.
6573         * config/libbid/_mul_td.c: Likewise.
6574         * config/libbid/_ne_dd.c: Likewise.
6575         * config/libbid/_ne_sd.c: Likewise.
6576         * config/libbid/_ne_td.c: Likewise.
6577         * config/libbid/_sd_to_dd.c: Likewise.
6578         * config/libbid/_sd_to_df.c: Likewise.
6579         * config/libbid/_sd_to_di.c: Likewise.
6580         * config/libbid/_sd_to_sf.c: Likewise.
6581         * config/libbid/_sd_to_si.c: Likewise.
6582         * config/libbid/_sd_to_td.c: Likewise.
6583         * config/libbid/_sd_to_tf.c: Likewise.
6584         * config/libbid/_sd_to_udi.c: Likewise.
6585         * config/libbid/_sd_to_usi.c: Likewise.
6586         * config/libbid/_sd_to_xf.c: Likewise.
6587         * config/libbid/_sf_to_dd.c: Likewise.
6588         * config/libbid/_sf_to_sd.c: Likewise.
6589         * config/libbid/_sf_to_td.c: Likewise.
6590         * config/libbid/_si_to_dd.c: Likewise.
6591         * config/libbid/_si_to_sd.c: Likewise.
6592         * config/libbid/_si_to_td.c: Likewise.
6593         * config/libbid/_td_to_dd.c: Likewise.
6594         * config/libbid/_td_to_df.c: Likewise.
6595         * config/libbid/_td_to_di.c: Likewise.
6596         * config/libbid/_td_to_sd.c: Likewise.
6597         * config/libbid/_td_to_sf.c: Likewise.
6598         * config/libbid/_td_to_si.c: Likewise.
6599         * config/libbid/_td_to_tf.c: Likewise.
6600         * config/libbid/_td_to_udi.c: Likewise.
6601         * config/libbid/_td_to_usi.c: Likewise.
6602         * config/libbid/_td_to_xf.c: Likewise.
6603         * config/libbid/_tf_to_dd.c: Likewise.
6604         * config/libbid/_tf_to_sd.c: Likewise.
6605         * config/libbid/_tf_to_td.c: Likewise.
6606         * config/libbid/_udi_to_dd.c: Likewise.
6607         * config/libbid/_udi_to_sd.c: Likewise.
6608         * config/libbid/_udi_to_td.c: Likewise.
6609         * config/libbid/_unord_dd.c: Likewise.
6610         * config/libbid/_unord_sd.c: Likewise.
6611         * config/libbid/_unord_td.c: Likewise.
6612         * config/libbid/_usi_to_dd.c: Likewise.
6613         * config/libbid/_usi_to_sd.c: Likewise.
6614         * config/libbid/_usi_to_td.c: Likewise.
6615         * config/libbid/_xf_to_dd.c: Likewise.
6616         * config/libbid/_xf_to_sd.c: Likewise.
6617         * config/libbid/_xf_to_td.c: Likewise.
6618         * config/libbid/bid128.c: Likewise.
6619         * config/libbid/bid128_2_str.h: Likewise.
6620         * config/libbid/bid128_2_str_macros.h: Likewise.
6621         * config/libbid/bid128_2_str_tables.c: Likewise.
6622         * config/libbid/bid128_add.c: Likewise.
6623         * config/libbid/bid128_compare.c: Likewise.
6624         * config/libbid/bid128_div.c: Likewise.
6625         * config/libbid/bid128_fma.c: Likewise.
6626         * config/libbid/bid128_logb.c: Likewise.
6627         * config/libbid/bid128_minmax.c: Likewise.
6628         * config/libbid/bid128_mul.c: Likewise.
6629         * config/libbid/bid128_next.c: Likewise.
6630         * config/libbid/bid128_noncomp.c: Likewise.
6631         * config/libbid/bid128_quantize.c: Likewise.
6632         * config/libbid/bid128_rem.c: Likewise.
6633         * config/libbid/bid128_round_integral.c: Likewise.
6634         * config/libbid/bid128_scalb.c: Likewise.
6635         * config/libbid/bid128_sqrt.c: Likewise.
6636         * config/libbid/bid128_string.c: Likewise.
6637         * config/libbid/bid128_to_int16.c: Likewise.
6638         * config/libbid/bid128_to_int32.c: Likewise.
6639         * config/libbid/bid128_to_int64.c: Likewise.
6640         * config/libbid/bid128_to_int8.c: Likewise.
6641         * config/libbid/bid128_to_uint16.c: Likewise.
6642         * config/libbid/bid128_to_uint32.c: Likewise.
6643         * config/libbid/bid128_to_uint64.c: Likewise.
6644         * config/libbid/bid128_to_uint8.c: Likewise.
6645         * config/libbid/bid32_to_bid128.c: Likewise.
6646         * config/libbid/bid32_to_bid64.c: Likewise.
6647         * config/libbid/bid64_add.c: Likewise.
6648         * config/libbid/bid64_compare.c: Likewise.
6649         * config/libbid/bid64_div.c: Likewise.
6650         * config/libbid/bid64_fma.c: Likewise.
6651         * config/libbid/bid64_logb.c: Likewise.
6652         * config/libbid/bid64_minmax.c: Likewise.
6653         * config/libbid/bid64_mul.c: Likewise.
6654         * config/libbid/bid64_next.c: Likewise.
6655         * config/libbid/bid64_noncomp.c: Likewise.
6656         * config/libbid/bid64_quantize.c: Likewise.
6657         * config/libbid/bid64_rem.c: Likewise.
6658         * config/libbid/bid64_round_integral.c: Likewise.
6659         * config/libbid/bid64_scalb.c: Likewise.
6660         * config/libbid/bid64_sqrt.c: Likewise.
6661         * config/libbid/bid64_string.c: Likewise.
6662         * config/libbid/bid64_to_bid128.c: Likewise.
6663         * config/libbid/bid64_to_int16.c: Likewise.
6664         * config/libbid/bid64_to_int32.c: Likewise.
6665         * config/libbid/bid64_to_int64.c: Likewise.
6666         * config/libbid/bid64_to_int8.c: Likewise.
6667         * config/libbid/bid64_to_uint16.c: Likewise.
6668         * config/libbid/bid64_to_uint32.c: Likewise.
6669         * config/libbid/bid64_to_uint64.c: Likewise.
6670         * config/libbid/bid64_to_uint8.c: Likewise.
6671         * config/libbid/bid_b2d.h: Likewise.
6672         * config/libbid/bid_binarydecimal.c: Likewise.
6673         * config/libbid/bid_conf.h: Likewise.
6674         * config/libbid/bid_convert_data.c: Likewise.
6675         * config/libbid/bid_decimal_data.c: Likewise.
6676         * config/libbid/bid_decimal_globals.c: Likewise.
6677         * config/libbid/bid_div_macros.h: Likewise.
6678         * config/libbid/bid_dpd.c: Likewise.
6679         * config/libbid/bid_flag_operations.c: Likewise.
6680         * config/libbid/bid_from_int.c: Likewise.
6681         * config/libbid/bid_functions.h: Likewise.
6682         * config/libbid/bid_gcc_intrinsics.h: Likewise.
6683         * config/libbid/bid_inline_add.h: Likewise.
6684         * config/libbid/bid_internal.h: Likewise.
6685         * config/libbid/bid_round.c: Likewise.
6686         * config/libbid/bid_sqrt_macros.h: Likewise.
6688 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
6690         * Makefile.in: Change copyright header to refer to version
6691         3 of the GNU General Public License and to point readers at the
6692         COPYING3 file and the FSF's license web page.
6693         * config.host: Likewise.
6695 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
6697         * config.host: Reorder and merge to match config.gcc change.
6699 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
6701         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
6703 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
6705         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
6706         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
6707         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
6708         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
6710 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
6712         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
6713         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6715 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
6717         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
6718         ia64/t-softfp-compat to tmake_file.
6720         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
6722         * config/ia64/__divxf3.asm: New.
6723         * config/ia64/_fixtfdi.asm: Likewise.
6724         * config/ia64/_fixunstfdi.asm: Likewise.
6725         * config/ia64/_floatditf.asm: Likewise.
6726         * config/ia64/t-fprules-softfp: Likewise.
6727         * config/ia64/t-softfp-compat: Likewise.
6728         * config/ia64/tf-signs.c: Likewise.
6730 2009-01-18  Ben Elliston  <bje@au.ibm.com>
6732         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6734 2009-01-16  Ben Elliston  <bje@au.ibm.com>
6736         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
6737         to tmake_file.
6739 2009-01-13  Ben Elliston  <bje@au.ibm.com>
6741         * config/t-softfp: New file.
6742         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
6743         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
6745 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
6747         * config.host: Add m32r*-*-rtems*.
6749 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
6751         * config.host: Add m32c*-*-rtems*.
6753 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6755         PR bootstrap/33100
6756         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
6757         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
6758         * configure: Regenerate.
6759         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
6760         tmake_file here from gcc/config.gcc.
6761         Move extra_parts here from gcc/config.gcc.
6762         * config/i386/t-sol2: Move here from gcc/config/i386.
6763         Use gcc_srcdir instead of srcdir.
6765 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
6767         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
6768         case.
6770 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
6772         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
6774 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
6776         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
6778 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
6780         Add picoChip port.
6781         * config.host: Add picochip-*-*.
6783 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
6785         * config.host: Match more processor names for Xtensa.
6787 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
6789         * config/i386/64/t-softfp-compat: Update comments.
6791 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6793         * config/i386/64/_divtc3-compat.c: Moved to ...
6794         * config/i386/64/_divtc3.c: Here.
6796         * config/i386/64/_multc3-compat.c: Moved to ...
6797         * config/i386/64/_multc3.c: Here.
6799         * config/i386/64/_powitf2-compat.c: Moved to ...
6800         * config/i386/64/_powitf2.c: Here.
6802         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
6803         .c suffix instead of -compat.c.
6805 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
6807         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
6808         (_FP_MUL_MEAT_D): Ditto.
6809         (_FP_DIV_MEAT_S): Ditto.
6810         (_FP_DIV_MEAT_D): Ditto.
6812 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
6814         * Makefile.in: Add support for __sync_* libgcc functions.
6816 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
6818         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
6820 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6822         PR boostrap/36702
6823         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
6824         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
6826         * config/i386/64/t-fprules-softfp: Moved to ...
6827         * config/i386/64/t-softfp-compat: This.  New.
6829 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
6831         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
6832         Initialize f with 0.0.
6834 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6836         PR target/36669
6837         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
6839         * config/i386/64/_divtc3-compat.c: New.
6840         * config/i386/64/_multc3-compat.c: Likewise.
6841         * config/i386/64/_powitf2-compat.c: Likewise.
6842         * config/i386/64/eqtf2.c: Likewise.
6843         * config/i386/64/getf2.c: Likewise.
6844         * config/i386/64/letf2.c: Likewise.
6845         * config/i386/64/t-fprules-softfp: Likewise.
6847 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6849         * config.host: Add i386/${host_address}/t-fprules-softfp to
6850         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
6851         i[34567]86-*-linux*, x86_64-*-linux*.
6853         * configure.ac: Set host_address to 64 or 32 for x86.
6854         * configure: Regenerated.
6856         * Makefile.in (config.status): Also depend on
6857         $(srcdir)/config.host.
6859         * config/i386/32/t-fprules-softfp: New.
6860         * config/i386/32/tf-signs.c: Likewise.
6862         * config/i386/64/sfp-machine.h: New. Moved from gcc.
6864 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6865             Uros Bizjak  <ubizjak@gmail.com>
6867         * config/i386/32/sfp-machine.h: New.
6869 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
6871         * config/rs6000/t-ppccomm: Remove rules that conflict with
6872         auto-generated rules.
6874 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6876         * configure.ac: sinclude override.m4.
6877         * configure: Regenerate.
6879 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
6881         * configure: Regenerate.
6883 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
6885         * Makefile.in (DECNUMINC): Remove
6886         -I$(MULTIBUILDTOP)../../libdecnumber.
6887         * gstdint.h: New.
6889 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
6891         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
6892         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
6893         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
6894         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
6895         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
6896         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
6897         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
6898         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
6899         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
6900         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
6901         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
6902         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
6903         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
6904         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
6906 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
6908         * config.host (sh2[lbe]*-*-linux*): Allow target.
6910 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
6912         * config/rs6000/t-ppccomm: Add build rules for new files.
6913         (LIB2ADD_ST): New variable.
6915 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
6917         PR target/34210
6918         PR target/35508
6919         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
6920         * config/t-avr: New file. Build 16bit libgcc functions.
6922 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
6924         PR target/35401
6925         * config/t-slibgcc-darwin: Make install-leaf dependent on
6926         install-darwin-libgcc-stubs instead of install.
6928 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
6930         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
6931         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
6932         sh-*-rtemscoff*): Remove cases.
6934 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
6936         * Makefile.in (all): Use install-leaf rather than install.
6937         (install): Split most of the rule into...
6938         (install-leaf): ...this new one.
6940 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
6941             Paolo Bonzini  <bonzini@gnu.org>
6943         PR target/30572
6944         * Makefile.in: Use @shlib_slibdir@ substitution to get
6945         correct install name on darwin.
6946         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
6948 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
6950         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
6951         cris-*-elf and cris-*-none.
6952         (crisv32-*-linux*): Similar, as cris-*-linux*.
6954 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
6956         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
6958 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
6960         PR regression/33926
6961         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
6962         * configure: Regenerated.
6964 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
6966         * Makefile.in (dfp-filenames): Replace decimal_globals,
6967         decimal_data, binarydecimal and convert_data with
6968         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
6969         and bid_convert_data, respectively.
6971 2007-09-17  Chao-ying Fu  <fu@mips.com>
6972             Nigel Stephens  <nigel@mips.com>
6974         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
6975         * Makefile.in (fixed_point): Define.
6976         Check if fixed_point is yes to build support functions.
6977         * configure.ac: Check for fixed_point support.
6978         * configure: Regenerated.
6979         * gen-fixed.sh: New file to generate lists of fixed-point labels,
6980         funcs, modes, from, to.
6982 2007-09-11  Janis Johnson  <janis187@us.ibm.com
6984         * Makefile.in (dfp-filenames): Add bid128_noncomp.
6986 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
6988         * Makefile.in (dfp-filenames): Remove decUtility, add
6989         decDouble, decPacked, decQuad, decSingle.
6991 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
6993         * config.host : Add x86_64-elf target.
6995 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
6997         * configure.ac (set_have_cc_tls): Add a missing =.
6998         * configure: Regenerated.
7000 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
7002         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
7003         and x86_64-*-linux*.
7005         * config/t-tls: New file.
7007         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
7009         * configure.ac: Include ../config/enable.m4 and
7010         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
7011         supports TLS and substitute set_have_cc_tls.
7012         * configure: Regenerated.
7014 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
7016         * Makefile.in: Use libbid for DFP when BID is enabled.
7018 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
7020         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
7021         extra_parts. Add config/i386/t-cygming to tmake_file.
7022         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
7024 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
7025             Danny Smith  <dannysmith@users.sourceforge.net>
7027         PR target/29498
7028         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
7029         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
7030         * config/i386/t-crtfm: Compile crtfastmath.o with
7031         -minline-all-stringops.
7033 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
7035         * config.host (sparc-wrs-vxworks): New target.
7037 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
7039         * config.host: Recognize fido.
7041 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
7043         * configure: Check host, not target, for decimal float support.
7045 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
7047         * config/i386/t-crtpc: New file.
7048         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
7049         (x86_64-*-linux*): Ditto.
7051 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
7053         * config.host (x86_64-*-mingw*): New target.
7055 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
7056             H.J. Lu  <hongjiu.lu@intel.com>
7058         * Makefile.in (enable_decimal_float): New.
7059         (DECNUMINC): Add
7060         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
7061         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
7062         (decbits-filenames): This.
7063         (decbits-objects): New.
7064         (libgcc-objects): Add $(decbits-objects).
7066         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
7067         Substitute enable_decimal_float.
7068         * configure: Regenerated.
7070 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
7072         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
7074 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
7076         * Makefile.in (install-info): New dummy target.
7078 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
7080         * config.host (bfin*-linux-uclibc*): Set extra_parts.
7082 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
7084         * Makefile.in: Add install-html and install-pdf dummy
7085         targets.
7087 2007-02-05  Roger Sayle  <roger@eyesopen.com>
7088             Daniel Jacobowitz  <dan@codesourcery.com>
7090         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
7091         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
7092         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
7094 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
7096         * Makefile.in (dec-filenames): Add decExcept.
7098 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
7100         PR bootstrap/30469
7101         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
7102         -fprofile-use.
7104 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
7106         * configure.ac: Add --enable-version-specific-runtime-libs.
7107         Correct $slibdir default.
7108         * configure: Regenerated.
7110 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
7112         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
7114 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
7116         PR target/30519
7117         * config.host (alpha*-*-linux*): Set extra_parts.
7119 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
7121         * config/sh/t-linux: New.
7122         * config.host (sh*-*-linux*): Set tmake_file.
7124 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
7126         * Makefile.in (install): Handle multilibs.
7128 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
7130         * Makefile.in: Added .PHONY entry for documentation targets.
7132 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
7134         * Makefile.in: Add empty info, html, dvi, pdf targets.
7136 2007-01-04  Mike Stump  <mrs@apple.com>
7138         * Makefile.in (MAKEINFO): Remove.
7139         (PERL): Likewise.
7141 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
7143         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
7144         * configure: Regenerate.
7145         * Makefile.in (host_subdir): Substitute it.
7146         (gcc_objdir): Use it.
7148 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
7150         * config.host (ia64*-*-linux*): Set tmake_file.
7152 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
7154         * Makefile.in (version): Define.
7156 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
7157             Paolo Bonzini  <bonzini@gnu.org>
7159         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
7160         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
7161         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
7162         config/sparc/t-crtfm, config/t-slibgcc-darwin,
7163         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
7164         shared-object.mk, siditi-object.mk, static-object.mk: New files.
7165         * configure: Generated.