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