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