2015-12-18 Ville Voutilainen <ville.voutilainen@gmail.com>
[official-gcc.git] / libgcc / ChangeLog
blobf66646cc5b000667e3f0a0d3913a57e7018bec4a
1 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
3         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4         soft-fp targets 
6 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
8         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
9         instead of abort to avoid dependency on stdlib.h.
11 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
13         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
14         to initialize call to __dl_fixup once.
16 2015-12-04  Nick Clifton  <nickc@redhat.com>
18         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
19         Allow for the second argument being negative.
20         * config.host (extra_parts): Define for MSP430.  Create separate
21         libraries for each of the hardware multiply formats.
22         * config/msp430/lib2hw_mul.S: Build only the multiply routines
23         that are needed.
24         * config/msp430/lib2mul.c: Likewise.
25         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
26         Add rules to build hardware multiply libraries.
27         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
28         __mspabi_divul function.
29         (__mspabi_divllu): New stub function.
31 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
33         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
34         fixup values if saved GOT address doesn't match runtime address.
35         (fixup_branch_offset): Reorder list.
37 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
39         * Makefile.in (VTV_CFLAGS): New variable.
40         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
41         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
42         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
43         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
44         to extra_parts if $enable_vtable_verify = yes.
46 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
48         PR target/68059
49         * config/arm/linux-atomic-64bit.c (__write): Rename to...
50         (write): ...this and fix the return type.
52 2015-11-19  DJ Delorie  <dj@redhat.com>
54         * config/msp430/lib2hw_mul.S: Fix alignment.
56 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
58         * config/nvptx/reduction.c: New.
59         * config/nvptx/t-nvptx (LIB2ADD): Add it.
61 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
63         * config/rs6000/on_exit.c: New file.
64         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
65         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
67 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
69         * config/arc/dp-hack.h: Add support for ARCHS.
70         * config/arc/ieee-754/divdf3.S: Likewise.
71         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
72         * config/arc/ieee-754/muldf3.S: Likewise.
73         * config/arc/ieee-754/mulsf3.S: Likewise
74         * config/arc/lib1funcs.S: Likewise
75         * config/arc/gmon/dcache_linesz.S: Don't read the build register
76         for ARCv2 cores.
77         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
78         for ARCv2 cores.
79         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
80         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
81         cores.
83 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
85         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
86         value.
87         * config/ia64/crtend.S: Likewise.
89 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
91         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
92         __CHAR_BIT__ instead of BITS_PER_UNIT.
93         * fixed-bit.h: Likewise.
94         * fp-bit.h: Likewise.
95         * libgcc2.c (__popcountSI2): Likewise.
96         (__popcountDI2): Likewise.
97         * libgcc2.h: Likewise.
98         * libgcov.h: Likewise.
100 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
102         * config/rs6000/atexit.c: New file.
103         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
104         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
105         * config/rs6000/cxa_finalize.c
106         (catomic_compare_and_exchange_bool_acq): Negate return value.
108 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
110         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
111         (processor_subtypes): Add znver1.
112         (get_amd_cpu): Detect znver1.
114 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
116         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
117         Include crtfastmath.o.
119 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
121         PR libgcc/66883
122         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
124 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
126         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
127         * config/rl78/divmodsi.S: Update return register to r8.
128         * config/rl78/divmodhi.S: Update return register to r8,r9.
129         Branch to main_loop_done_himode to pop registers before return.
131 2015-10-09  Venkataramanan kumar <venkataramanan.kumar@amd.com>
133         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
134         (__cpu_indicator_init): Fix model selection for AMD CPUs.
136 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
138         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
140 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
142         * config.host (xtensa*-*-uclinux*): New configuration.
144 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
146         * config/i386/cpuinfo.c (processor_features): Add
147         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
149 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
151         * soft-fp/adddf3.c: Update from glibc.
152         * soft-fp/addsf3.c: Likewise.
153         * soft-fp/addtf3.c: Likewise.
154         * soft-fp/divdf3.c: Likewise.
155         * soft-fp/divsf3.c: Likewise.
156         * soft-fp/divtf3.c: Likewise.
157         * soft-fp/double.h: Likewise.
158         * soft-fp/eqdf2.c: Likewise.
159         * soft-fp/eqsf2.c: Likewise.
160         * soft-fp/eqtf2.c: Likewise.
161         * soft-fp/extenddftf2.c: Likewise.
162         * soft-fp/extended.h: Likewise.
163         * soft-fp/extendsfdf2.c: Likewise.
164         * soft-fp/extendsftf2.c: Likewise.
165         * soft-fp/extendxftf2.c: Likewise.
166         * soft-fp/fixdfdi.c: Likewise.
167         * soft-fp/fixdfsi.c: Likewise.
168         * soft-fp/fixdfti.c: Likewise.
169         * soft-fp/fixsfdi.c: Likewise.
170         * soft-fp/fixsfsi.c: Likewise.
171         * soft-fp/fixsfti.c: Likewise.
172         * soft-fp/fixtfdi.c: Likewise.
173         * soft-fp/fixtfsi.c: Likewise.
174         * soft-fp/fixtfti.c: Likewise.
175         * soft-fp/fixunsdfdi.c: Likewise.
176         * soft-fp/fixunsdfsi.c: Likewise.
177         * soft-fp/fixunsdfti.c: Likewise.
178         * soft-fp/fixunssfdi.c: Likewise.
179         * soft-fp/fixunssfsi.c: Likewise.
180         * soft-fp/fixunssfti.c: Likewise.
181         * soft-fp/fixunstfdi.c: Likewise.
182         * soft-fp/fixunstfsi.c: Likewise.
183         * soft-fp/fixunstfti.c: Likewise.
184         * soft-fp/floatdidf.c: Likewise.
185         * soft-fp/floatdisf.c: Likewise.
186         * soft-fp/floatditf.c: Likewise.
187         * soft-fp/floatsidf.c: Likewise.
188         * soft-fp/floatsisf.c: Likewise.
189         * soft-fp/floatsitf.c: Likewise.
190         * soft-fp/floattidf.c: Likewise.
191         * soft-fp/floattisf.c: Likewise.
192         * soft-fp/floattitf.c: Likewise.
193         * soft-fp/floatundidf.c: Likewise.
194         * soft-fp/floatundisf.c: Likewise.
195         * soft-fp/floatunditf.c: Likewise.
196         * soft-fp/floatunsidf.c: Likewise.
197         * soft-fp/floatunsisf.c: Likewise.
198         * soft-fp/floatunsitf.c: Likewise.
199         * soft-fp/floatuntidf.c: Likewise.
200         * soft-fp/floatuntisf.c: Likewise.
201         * soft-fp/floatuntitf.c: Likewise.
202         * soft-fp/gedf2.c: Likewise.
203         * soft-fp/gesf2.c: Likewise.
204         * soft-fp/getf2.c: Likewise.
205         * soft-fp/ledf2.c: Likewise.
206         * soft-fp/lesf2.c: Likewise.
207         * soft-fp/letf2.c: Likewise.
208         * soft-fp/muldf3.c: Likewise.
209         * soft-fp/mulsf3.c: Likewise.
210         * soft-fp/multf3.c: Likewise.
211         * soft-fp/negdf2.c: Likewise.
212         * soft-fp/negsf2.c: Likewise.
213         * soft-fp/negtf2.c: Likewise.
214         * soft-fp/op-1.h: Likewise.
215         * soft-fp/op-2.h: Likewise.
216         * soft-fp/op-4.h: Likewise.
217         * soft-fp/op-8.h: Likewise.
218         * soft-fp/op-common.h: Likewise.
219         * soft-fp/quad.h: Likewise.
220         * soft-fp/single.h: Likewise.
221         * soft-fp/soft-fp.h: Likewise.
222         * soft-fp/subdf3.c: Likewise.
223         * soft-fp/subsf3.c: Likewise.
224         * soft-fp/subtf3.c: Likewise.
225         * soft-fp/truncdfsf2.c: Likewise.
226         * soft-fp/trunctfdf2.c: Likewise.
227         * soft-fp/trunctfsf2.c: Likewise.
228         * soft-fp/trunctfxf2.c: Likewise.
229         * soft-fp/unorddf2.c: Likewise.
230         * soft-fp/unordsf2.c: Likewise.
231         * soft-fp/unordtf2.c: Likewise.
233 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
235         PR libgcc/67624
236         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
238 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
240         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
241         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
242         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
243         messages.
244         (internal_mcount): Likewise.
245         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
246         crt_compile, add CRTSTUFF_T_CFLAGS_S.
248 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
250         * configure.ac (libgcc_cv_solaris_crts): New test.
251         * configure: Regenerate.
252         * config.in: Regenerate.
253         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
254         * config/gmon-sol2.c: Rename to ...
255         * config/sol2/gmon.c: ... this.
256         Include auto-target.h.
257         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
258         * config/t-sol2: Rename to ...
259         * config/sol2/t-sol2: ... this.
260         (gmon.o): Reflect renaming.
261         (crtp.o, crtpg.o): New rules.
262         * config.host (*-*-solaris2*): Reflect renaming.
263         Use system CRTs if present.
264         Remove default CRT case.
266 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
268         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
269         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
270         __kernel_cmpxchg2.
271         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
272         (__sync_val_compare_and_swap_##WIDTH): Likewise.
273         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
274         (__sync_lock_test_and_set_##WIDTH): Likewise.
275         (__sync_lock_release_##WIDTH): Likewise.
276         (__sync_fetch_and_##OP##_4): Change result to match type of
277         __kernel_cmpxchg.
278         (__sync_##OP##_and_fetch_4): Likewise.
279         (__sync_val_compare_and_swap_4): Likewise.
280         (__sync_bool_compare_and_swap_4): likewise.
281         (__sync_lock_test_and_set_4): Likewise.
282         (__sync_lock_release_4): Likewise.
283         (FETCH_AND_OP_2): Add long long variants.
284         (OP_AND_FETCH_2): Likewise.
285         (COMPARE_AND_SWAP_2 ): Likewise.
286         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
287         (SYNC_LOCK_RELEASE_2): Likewise.
288         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
290 2015-09-22  Kirill Yukhin <kirill.yukhin@intel.com>
292         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
293         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
294         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
295         (get_available_features): Habdle new features.
297 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
299         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
300         memory layout. Deal correctly with BSS region larger than 32K.
301         Handle a watchdog reset like a power-on reset. Clean up unused
302         code.
304 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
305             David Edelsohn  <dje.gcc@gmail.com>
307         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
308         * config/rs6000/crtdbase.S: New file.
309         * config/rs6000/t-aix-cxa: Build crtdbase.o.
311 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
313         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
314         Add support for call0 ABI.
316 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
318         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
320 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
322         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
323         (__GTHREAD_HAS_COND): Likewise.
324         (__gthread_t): Likewise.
325         (__gthread_cond_t): Likewise.
326         (__gthread_time_t): Likewise.
327         (__GTHREAD_MUTEX_INIT): Likewise.
328         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
329         (__GTHREAD_COND_INIT): Likewise.
330         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
331         (__GTHREAD_TIME_INIT): Likewise.
332         (__gthread_create): Likewise.
333         (__gthread_join): Likewise.
334         (__gthread_detach): Likewise.
335         (__gthread_equal): Likewise.
336         (__gthread_self): Likewise.
337         (__gthread_yield): Likewise.
338         (__gthread_cond_broadcast): Likewise.
339         (__gthread_cond_signal): Likewise.
340         (__gthread_cond_wait): Likewise.
341         (__gthread_cond_timedwait): Likewise.
342         (__gthread_cond_wait_recursive): Likewise.
343         (__gthread_cond_destroy): Likewise.
344         (rtems_gxx_once): Delete.
345         (rtems_gxx_key_create): Likewise.
346         (rtems_gxx_key_delete): Likewise.
347         (rtems_gxx_getspecific): Likewise.
348         (rtems_gxx_setspecific): Likewise.
349         (rtems_gxx_mutex_init): Likewise.
350         (rtems_gxx_mutex_destroy): Likewise.
351         (rtems_gxx_mutex_lock): Likewise.
352         (rtems_gxx_mutex_trylock): Likewise.
353         (rtems_gxx_mutex_unlock): Likewise.
354         (rtems_gxx_recursive_mutex_init): Likewise.
355         (rtems_gxx_recursive_mutex_lock): Likewise.
356         (rtems_gxx_recursive_mutex_trylock): Likewise.
357         (rtems_gxx_recursive_mutex_unlock): Likewise.
358         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
359         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
360         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
361         (__gthread_once): Likewise.
362         (__gthread_key_create): Likewise.
363         (__gthread_key_delete): Likewise.
364         (__gthread_getspecific): Likewise.
365         (__gthread_setspecific): Likewise.
366         (__gthread_key_t): Use <pthread.h> type.
367         (__gthread_once_t): Likewise
368         (__gthread_mutex_t): Use <sys/lock.h> type.
369         (__gthread_recursive_mutex_t): Likewise
370         (__gthread_mutex_lock): Use <sys/lock.h> function.
371         (__gthread_mutex_trylock): Likewise.
372         (__gthread_mutex_timedlock): Likewise.
373         (__gthread_mutex_unlock): Likewise.
374         (__gthread_mutex_destroy): Likewise.
375         (__gthread_recursive_mutex_lock): Likewise.
376         (__gthread_recursive_mutex_trylock): Likewise.
377         (__gthread_recursive_mutex_timedlock): Likewise.
378         (__gthread_recursive_mutex_unlock): Likewise.
379         (__gthread_recursive_mutex_destroy): Likewise.
381 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
383         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
384         context->sp instead of context->cfa.
386 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
388         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
389         with unwind-dw2-fde-dip.
391 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
393         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
394         CALL12 followed by series of ENTRY to spill windowed registers.
395         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
396         instead of making linux spill syscall.
398 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
400         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
401         (get_intel_cpu): Likewise.
403 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
405         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
406         (get_intel_cpu): Add Knights Landing support.
408 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
410         PR target/66954
411         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
412         (get_available_features): Handle FEATURE_PCLMUL.
414 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
416         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
417         Broadwell.
419 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
421         PR target/66954
422         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
423         (get_available_features): Handle FEATURE_AES.
425 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
427         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
428         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
430 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
432         * offloadstuff.c: Constify host data.
434 2015-07-17  Jan Beulich  <jbeulich@suse.com>
436         * config/t-softfp: Split up "else ifneq".
438 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
439             Cesar Philippidis  <cesar@codesourcery.com>
440             Chung-Lin Tang  <cltang@codesourcery.com>
442         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
443         for __nios2_arch__ level.
445 2015-07-13  John Marino  <gnugcc@marino.st>
447         * config/i386/t-dragonfly: New.
449 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
451         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
452         better match light-weight syscall argument order.
453         (__kernel_cmpxchg2): Likewise.
454         Adjust callers.
456 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
458         * config.host: Support i[34567]86-*-elfiamcu target.
459         * config/t-softfp-sfdftf: New file.
460         * config/i386/32/t-iamcu: Likewise.
461         * configure: Regenerated.
463 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
465         libgcc/config/arm/
466         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
468 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
470         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
472 2015-05-27  John Marino <gnugcc@marino.st>
474         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
475         md_unwind_header
476         * config/i386/freebsd-unwind.h: New.
478 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
480         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
481         i386/t-crtfm to tmake_file.
482         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
483         (set_fast_math): Use set_fast_math_sse for SSE targets.
484         * config/i386/t-crtfm: Remove.
486 2015-05-21  Alan Modra  <amodra@gmail.com>
488         PR libgcc/66225
489         * config/rs6000/morestack.S: Remove ".abiversion 1".
491 2015-05-20  Alan Modra  <amodra@gmail.com>
493         * config/rs6000/morestack.S: New.
494         * config/rs6000/t-stack-rs6000: New.
495         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
496         to tmake_file.
497         * generic-morestack.c: Don't build for powerpc 32-bit.
499 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
501         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
502         Remove useless endif/ifneq ($(enable_shared),yes) pair.
504 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
506         * config.host: FT32 target added.
507         * config/ft32/*: New files for FT32 target.
509 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
511         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
512         New macros.
513         * config/arm/ieee754-df.S: Add CFI directives.
514         * config/arm/ieee754-sf.S: Add CFI directives.
516 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
518         * configure.ac: Include config/sjlj.m4.
519         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
520         * config.in: Regenerate.
521         * configure: Likewise.
522         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
524 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
526         * libgcov-util.c: Add space between string literal and macro name.
528 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
529             Chris Jones  <chrisj@nvidia.com>
530             Joshua Conner  <jconner@nvidia.com>
532         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
533         (arm*-*-uclinux*): Likewise.
534         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
535         * config/arm/crtfastmath.c: New file.
537 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
539         * Makefile.in (real_host_noncanonical): New variable.
540         (libsubdir): Use it.
541         * configure.ac (real_host_noncanonical): Compute.  Remove special
542         case for intelmicemul.
543         * configure: Regenerate.
545 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
547         * config/frv/elf-lib.h: New file.
548         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
549         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
550         to tm_file.
552 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
554         * config/frv/frvbengin.c: Do not include defaults.h
555         * config/frv/frvend.c: Ditto.
557 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
559         * config.host: Add h8300-*-linux
560         * config/h8300/t-linux: New file.
561         * config/h8300/lib1funs.s: Change symbol prefix.
562         * config/h8300/sfp-machine.h: 64bit double support.
564 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
565             Szabolcs Nagy  <szabolcs.nagy@arm.com>
567         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
568         Linux if target provides dl_iterate_phdr.
570 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
572         PR target/65612
573         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
574         * config/i386/cpuinfo.c (__cpu_model): Initialize.
575         (__cpu_indicator_init@GCC_4.8.0): New.
576         (__cpu_model@GCC_4.8.0): Likewise.
577         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
578         -DUSE_ELF_SYMVER.
580 2015-04-16  Nick Clifton  <nickc@redhat.com>
582         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
583         and __modhi3 functions.
584         * config/rl78/divmodso.S: Add G14 and G13 versions of the
585         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
587 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
589         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
590         do-while loop as macro body to avoid warnings.
592 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
593             Iain Sandoe  <iain@codesourcery.com>
595         PR target/65351
596         * configure: Regenerate.
598 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
599             Iain Sandoe  <iain@codesourcery.com>
601         PR target/65351
602         * configure: Regenerate.
604 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
606         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
608 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
610         Implement call0 ABI for xtensa
611         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
612         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
613         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
614         use ret in call0 ABI.
615         * config/xtensa/t-windowed: New file.
616         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
617         * libgcc/configure: Regenerated.
618         * libgcc/configure.ac: Check if xtensa target is configured for
619         windowed ABI and thus needs to use custom unwind code.
621 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
623         PR libgcc/64885
624         * gthr-single.h: Use __unused__ attribute instead of unused.
625         * config/gthr-vxworks.h: Likewise.
626         * config/i386/gthr-win32.h: Likewise.
628 2015-02-27  Kai Tietz  <ktietz@redhat.com>
630         PR target/65038
631         * config.in: Regenerated.
632         * configure: Likewise.
633         * configure.ac (AC_HEADER_STDC): Added explicit.
634         (AC_CHECK_HEADERS): Check for default headers  plus
635         for ftw.h header.
636         * libgcov-util.c (gcov_read_profile_dir): Disable use
637         of ftw-function, if header is not found.
638         (ftw_read_file): Likewise.
640 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
642         PR target/65181
643         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
644         -Dinhibit_libc.
646 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
648         * config/arm/bpabi.S (test_div_by_zero): Make label names
649         consistent between thumb2 and arm mode cases.  Separate the
650         signed comparison on the high word of the numerator from the
651         unsigned comparison on the low word.
652         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
653         signed comparison.
655 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
657         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
658         and <string.h>.
659         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
661 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
663         PR gcov-profile/61889
664         * libgcov-driver-system.c: undefine clashing macro for mkdir.
666 2015-02-02  Nick Clifton  <nickc@redhat.com>
668         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
669         rounding up the fraction.
671 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
673         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
674         oldval and newval to const void *.  Fix typo.
675         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
676         (FETCH_AND_OP_WORD): Likewise.
677         (OP_AND_FETCH_WORD): Likewise.
678         (COMPARE_AND_SWAP_2): Likewise.
679         (__sync_val_compare_and_swap_4): Likewise.
680         (__sync_lock_test_and_set_4): Likewise.
681         (SYNC_LOCK_RELEASE_2): Likewise.
682         Remove support for long long atomic operations.
684 2015-01-27  Caroline Tice  <cmtice@google.com>
686         Committing VTV Cywin/Ming patch for Patrick Wollgast
687         * Makefile.in: Move rules to build vtv_*.o out of the check
688         for CUSTOM_CRTSTUFF.
689         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
690         i[34567]86-*-mingw*)
691          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
692         enable_vtable_verify.
694 2015-01-27  Nick Clifton  <nickc@redhat.com>
696         * config/rl78/cmpsi2.S: Use function start and end macros.
697         (__gcc_bcmp): New function.
698         * config/rl78/lshrsi3.S: Use function start and end macros.
699         * config/rl78/mulsi3.S: Add support for G10.
700         (__mulqi3): New function for G10.
701         * config/rl78/signbit.S: Use function start and end macros.
702         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
703         fpmath-sf.S.
704         (LIB2FUNCS_EXCLUDE): Define.
705         (LIB2FUNCS_ST): Define.
706         * config/rl78/trampoline.S: Use function start and end macros.
707         * config/rl78/vregs.h (START_FUNC): New macro.
708         (START_ANOTHER_FUNC): New macro.
709         (END_FUNC): New macro.
710         (END_ANOTHER_FUNC): New macro.
711         * config/rl78/bit-count.S: New file.  Contains assembler
712         implementations of the bit counting functions: ___clzhi2,
713         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
714         __paritysi2, __popcounthi2 and __popcountsi2.
715         * config/rl78/fpbit-sf.S: New file.  Contains assembler
716         implementationas of the math functions: __negsf2, __cmpsf2,
717         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
718         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
719         * config/rl78/fpmath-sf.S: New file.  Contains assembler
720         implementations of the math functions: __subsf3, __addsf3,
721         __mulsf3 and __divsf3
723 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
725         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
726         Add i386/elf-lib.h to tm_file.
727         * config/i386/elf-lib.h: Fix comment.
728         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
729         && __sun__ && __svr4__]: Remove workaround.
731 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
733         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
734         FEATURE_BMI2.
735         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
737 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
739         * config/i386/cpuinfo.c (processor_subtypes): Add
740         INTEL_COREI7_BROADWELL.
741         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
742         model numbers.
744 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
746         * config/i386/elf-lib.h: New file.
747         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
748         Wrap definition in #ifdef __i386__.
749         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
750         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
751         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
752         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
753         to tm_file.
755 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
757         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
758         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
760 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
762         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
763         Update rt_sigframe format and address for current Nios II
764         Linux conventions.
766 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
768         * config.host (arm*-*-freebsd*): Add new configuration for
769         arm*-*-freebsd*.
770         * config/arm/freebsd-atomic.c: New file.
771         * config/arm/t-freebsd: Likewise.
772         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
773         'PC-relative indirect' OS's.
775 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
777         * config.host: Add Visium support.
778         * config/visium: New directory.
780 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
782         Update copyright years.
784 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
786         * config.host: Support mipsisa32r6 and mipsisa64r6.
787         * config/mips/mips16.S: Do not build for R6.
789 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
791         * config/sh/crt.h: New.
792         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
793         symbols.
794         * config/sh/crt1.S: Likewise.
796 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
798         PR libgcc/63832
799         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
800         func_ptr *dtor_list temporary variable to avoid "array subscript
801         is above array bounds" warnings.
803 2014-12-09  Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
805         * Makefile.in (with_aix_soname): Define.
806         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
807         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
808         * configure: Recreate.
810 2014-12-05  Olivier Hainque  <hainque@adacore.com>
812         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
813         now provided by defaults.h.
815 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
817         PR target/55351
818         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
819         whether it's defined.
821 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
823         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
824         * config/i386/cpuinfo.c (get_available_features): Detect it.
826 2014-11-27  Tony Wang  <tony.wang@arm.com>
828         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
829         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
830         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
832 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
834         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
836 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
838         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
839         instead.
841 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
842             John David Anglin  <danglin@gcc.gnu.org>
844         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
845         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
846         (OP_AND_FETCH_2): Likewise.
847         (COMPARE_AND_SWAP_2): Likewise.
848         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
849         (SYNC_LOCK_RELEASE_2): Likewise.
850         (SUBWORD_SYNC_OP): Remove.
851         (SUBWORD_VAL_CAS): Likewise.
852         (SUBWORD_BOOL_CAS): Likewise.
853         (FETCH_AND_OP_WORD): Update.
854         Consistently use signed types.
856 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
857             Thomas Schwinge  <thomas@codesourcery.com>
858             Ilya Verbin  <ilya.verbin@intel.com>
859             Andrey Turetskiy  <andrey.turetskiy@intel.com>
861         * Makefile.in (crtoffloadbegin$(objext)): New rule.
862         (crtoffloadend$(objext)): Likewise.
863         * configure: Regenerate.
864         * configure.ac (accel_dir_suffix): Compute new variable.
865         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
866         if enable_offload_targets is not empty.
867         * offloadstuff.c: New file.
869 2014-11-13  Nick Clifton  <nickc@redhat.com>
871         * config/rl78/divmodhi.S: Add support for the G10 architecture.
872         Use START_FUNC and END_FUNC macros to enable linker garbage
873         collection.
874         * config/rl78/divmodqi.S: Likewise.
875         * config/rl78/divmodsi.S: Likewise.
876         * config/rl78/mulsi3.S: Likewise.
877         * config/rl78/lib2div.c: Remove G10 functions.
878         * config/rl78/lib2muls.c: Likewise.
879         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
880         * config/rl78/vregs.h (START_FUNC): New macro.
881         (END_FUNC): New macro.
883 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
885         * config/mips/mips16.S: Set .module when supported.  Update O32
886         FP64 calling convention and use for FPXX when possible.  Add FPXX
887         calling convention fallback case.
889 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
891         * config.host: Handle nvptx-*-*.
892         * shared-object.mk (as-flags-$o): Define.
893         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
894         -xassembler-with-cpp.
895         * static-object.mk: Identical changes.
896         * config/nvptx/t-nvptx: New file.
897         * config/nvptx/crt0.s: New file.
898         * config/nvptx/free.asm: New file.
899         * config/nvptx/malloc.asm: New file.
900         * config/nvptx/realloc.c: New file.
902 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
904         * Makefile.in (libgcc.map.in): New target.
905         (libgcc.map): Use libgcc.map.in.
906         * config/t-softfp (softfp_compat): New variable to be set by
907         users.
908         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
909         variables.
910         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
911         directory.
912         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
913         that use compat symbols and disable all code unless [SHARED].
914         * config/t-softfp-compat: New file.
915         * find-symver.awk: New file.
916         * configure.ac (--with-glibc-version): New configure option.
917         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
918         * configure: Regenerate.
919         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
920         soft-float and e500.
922 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
924         * config/t-hardfp (hardfp_exclusions): Document new variable for
925         user to define.
926         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
927         * config/t-softfp (softfp_extras): Document new variable for user
928         to define.
929         (softfp_func_list): Add functions from $(softfp_extras).
930         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
931         * config.host (powerpc*-*-linux*): For e500v1, use
932         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
933         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
934         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
936 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
938         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
939         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
940         memory read accesses are ok.
942 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
944         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
945         * configure: Regenerate.
946         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
947         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
948         of soft-fp for 32-bit classic hard float.  Do not use
949         t-softfp-excl for soft float.
951 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
953         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
954         configurations.
955         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
956         Remove variables.
958 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
960         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
961         introduced with 2014-10-21 trunk r216525.
963 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
964             Vidya Praveen <vidya.praveen@atmel.com>
965             Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
966             Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
967             Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
969         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
970         order.
972         Updated library functions for AVRTINY arch.
973         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
974         Replaced occurrences of r0/r1 with tmp/zero reg macros.
975         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
976         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
977         wsubi/wadi macors.
978         (__mulsi3_helper): Update stack, preserve callee saved regs and
979         argument from stack. Restore callee save registers.
980         (__mulpsi3): Likewise.
981         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
982         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
983         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
984         AVRTINY.
985         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
986         (__do_copy_data): Added new definition for AVRTINY.
987         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
988         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
989         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
990         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
991         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
992         macors.
993         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
994         AVRTINY.
996         Fix broken long multiplication on tiny arch.
998 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1000         * soft-fp/double.h: Update from glibc.
1001         * soft-fp/eqdf2.c: Likewise.
1002         * soft-fp/eqsf2.c: Likewise.
1003         * soft-fp/eqtf2.c: Likewise.
1004         * soft-fp/extenddftf2.c: Likewise.
1005         * soft-fp/extended.h: Likewise.
1006         * soft-fp/extendsfdf2.c: Likewise.
1007         * soft-fp/extendsftf2.c: Likewise.
1008         * soft-fp/extendxftf2.c: Likewise.
1009         * soft-fp/gedf2.c: Likewise.
1010         * soft-fp/gesf2.c: Likewise.
1011         * soft-fp/getf2.c: Likewise.
1012         * soft-fp/ledf2.c: Likewise.
1013         * soft-fp/lesf2.c: Likewise.
1014         * soft-fp/letf2.c: Likewise.
1015         * soft-fp/op-1.h: Likewise.
1016         * soft-fp/op-2.h: Likewise.
1017         * soft-fp/op-4.h: Likewise.
1018         * soft-fp/op-8.h: Likewise.
1019         * soft-fp/op-common.h: Likewise.
1020         * soft-fp/quad.h: Likewise.
1021         * soft-fp/single.h: Likewise.
1022         * soft-fp/soft-fp.h: Likewise.
1023         * soft-fp/unorddf2.c: Likewise.
1024         * soft-fp/unordsf2.c: Likewise.
1025         * soft-fp/unordtf2.c: Likewise.
1026         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
1027         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
1028         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
1029         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
1030         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
1031         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
1032         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
1033         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
1034         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
1035         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
1037 2014-10-08  Rong Xu  <xur@google.com>
1039         * libgcov-util.c (read_gcda_file): Fix format.
1040         (find_match_gcov_info): Ditto.
1041         (calculate_2_entries): New.
1042         (compute_one_gcov): Ditto.
1043         (gcov_info_count_all_cold): Ditto.
1044         (gcov_info_count_all_zero): Ditto.
1045         (extract_file_basename): Ditto.
1046         (get_file_basename): Ditto.
1047         (set_flag): Ditto.
1048         (matched_gcov_info): Ditto.
1049         (calculate_overlap): Ditto.
1050         (gcov_profile_overlap): Ditto.
1051         * libgcov-driver.c (compute_summary): Make
1052         it avavilable for external calls.
1054 2014-10-06  Rong Xu  <xur@google.com>
1056         * Makefile.in: Ditto.
1057         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
1058         (gcov_sort_icall_topn_counter): Ditto.
1059         (gcov_sort_topn_counter_arrays): Ditto.
1060         (dump_one_gcov): Sort indirect_call topn counters.
1061         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
1062         function.
1063         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
1064         utility function.
1065         (__gcov_indirect_call_topn_profiler): New profiler function.
1066         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
1067         * libgcov.h: New decls.
1069 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
1071         * config.host: Remove support for score-*.
1073 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
1075         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1076         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
1077         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
1078         __LIBGCC_XF_MANT_DIG__.
1079         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
1080         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
1081         __LIBGCC_TF_MANT_DIG__.
1082         * libgcc2.c (NOTRUNC): Define in terms of
1083         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
1084         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1086 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
1088         PR target/63312
1089         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
1090         New macros.
1092 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
1094         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
1095         override USE_PT_GNU_EH_FRAME.
1096         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
1097         check USE_EH_FRAME_REGISTRY_ALWAYS against
1098         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
1099         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
1100         variable for substituted force_explicit_eh_registry.
1101         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
1102         * configure.ac (explicit-exception-frame-registration):
1103         New AC_ARG_ENABLE.
1104         * configure: Regenerate.
1106 2014-09-19  Olivier Hainque  <hainque@adacore.com>
1108         * config.host (powerpc-wrs-vxworksmils): New configuration,
1109         same as vxworksae.
1111 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
1113         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
1115 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
1117         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
1118         bits not set bits as indicating trapping exceptions.
1120 2014-09-17  Nathan sidwell  <nathan@acm.org>
1122         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
1123         (LIBGCOV_DRIVER): ... here.
1124         * libgcov-driver.c (gcov_master): New.
1125         (gcov_exit): Remove from master chain.
1126         (__gcov_init): Add to master chain if version compatible.  Don't
1127         clear the version.
1128         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
1129         (gcov_reset_int): Clear master chain, if compatible.
1130         (gcov_dump_int): New internal interface.  Dump master chain, if
1131         compatible.
1132         (gcov_dump): Alias for gcov_dump_int.
1133         * libgcov.h (struct gcov_root): Add next and prev fields.
1134         (struct gcov_master): New struct.
1135         (__gcov_master): New.
1136         (gcov_dump_int): Declare.
1138 2014-09-17  Olivier Hainque  <hainque@adacore.com>
1140         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
1141         and crtbegin.o + crtend.o to extra_parts.
1143 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
1145         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
1146         __LIBGCC_HAS_SF_MODE__.
1147         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1148         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1149         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1150         * config/libbid/bid_gcc_intrinsics.h
1151         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1152         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1153         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1154         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1155         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
1156         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1158 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
1160         PR target/63223
1161         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
1162         and R24 as needed.  Make work for all devices and .text locations.
1163         (__do_global_ctors, __do_global_dtors): Use word addresses.
1164         (__tablejump__, __tablejump_elpm__): Remove functions.
1165         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
1166         Add _tablejump2.
1167         (XICALL, XIJMP): New macros.
1169 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1170         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1172         * config.host (aarch64*): Include crtfastmath.o and
1173         t-crtfm.
1174         * config/aarch64/crtfastmath.c: New file.
1176 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
1178         * config.host: Remove picochip support.
1179         * config/picochip/adddi3.S: Remove.
1180         * config/picochip/ashlsi3.S: Remove.
1181         * config/picochip/ashlsi3.c: Remove.
1182         * config/picochip/ashrsi3.S: Remove.
1183         * config/picochip/ashrsi3.c: Remove.
1184         * config/picochip/clzsi2.S: Remove.
1185         * config/picochip/cmpsi2.S: Remove.
1186         * config/picochip/divmod15.S: Remove.
1187         * config/picochip/divmodhi4.S: Remove.
1188         * config/picochip/divmodsi4.S: Remove.
1189         * config/picochip/lib1funcs.S: Remove.
1190         * config/picochip/longjmp.S: Remove.
1191         * config/picochip/lshrsi3.S: Remove.
1192         * config/picochip/lshrsi3.c: Remove.
1193         * config/picochip/parityhi2.S: Remove.
1194         * config/picochip/popcounthi2.S: Remove.
1195         * config/picochip/setjmp.S: Remove.
1196         * config/picochip/subdi3.S: Remove.
1197         * config/picochip/t-picochip: Remove.
1198         * config/picochip/ucmpsi2.S: Remove.
1199         * config/picochip/udivmodhi4.S: Remove.
1200         * config/picochip/udivmodsi4.S: Remove.
1202 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
1204         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
1205         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
1206         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
1207         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
1208         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
1209         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
1210         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
1211         defined and LIBGCC2_HAS_DF_MODE is defined.
1212         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
1213         defined and LIBGCC2_HAS_XF_MODE is defined.
1214         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
1215         defined and LIBGCC2_HAS_TF_MODE is defined.
1217 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
1219         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
1220         and ROUND_TOWARDS_ZERO conditionals.
1222 2014-09-07  Nathan sidwell  <nathan@acm.org>
1224         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
1225         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
1227 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
1229         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
1230         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
1231         uses to __LIBGCC_STACK_POINTER_REGNUM__.
1232         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
1233         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1234         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
1235         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1236         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
1237         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
1238         (DWARF_FRAME_REGISTERS): Change all uses to
1239         __LIBGCC_DWARF_FRAME_REGISTERS__.
1240         (EH_RETURN_STACKADJ_RTX): Change all uses to
1241         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
1242         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
1243         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
1244         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
1245         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
1246         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
1247         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
1248         to __LIBGCC_EH_FRAME_SECTION_NAME__.
1249         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
1250         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
1251         __LIBGCC_STACK_POINTER_REGNUM__.
1252         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
1253         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1254         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
1255         to __LIBGCC_STACK_POINTER_REGNUM__.
1256         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
1257         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1258         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
1259         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1260         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
1261         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1262         (STACK_POINTER_REGNUM): Change all uses to
1263         __LIBGCC_STACK_POINTER_REGNUM__.
1264         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
1265         use to __LIBGCC_STACK_POINTER_REGNUM__.
1266         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
1267         uses to __LIBGCC_STACK_POINTER_REGNUM__.
1268         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
1269         to __LIBGCC_DWARF_FRAME_REGISTERS__.
1270         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
1271         to __LIBGCC_DWARF_FRAME_REGISTERS__.
1272         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
1273         to __LIBGCC_STACK_POINTER_REGNUM__.
1274         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
1275         Remove conditional definition.
1276         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
1277         __LIBGCC_TEXT_SECTION_ASM_OP__.
1278         (EH_FRAME_SECTION_NAME): Change all uses to
1279         __LIBGCC_EH_FRAME_SECTION_NAME__.
1280         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
1281         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
1282         (CTORS_SECTION_ASM_OP): Change all uses to
1283         __LIBGCC_CTORS_SECTION_ASM_OP__.
1284         (DTORS_SECTION_ASM_OP): Change all uses to
1285         __LIBGCC_DTORS_SECTION_ASM_OP__.
1286         (JCR_SECTION_NAME): Change all uses to
1287         __LIBGCC_JCR_SECTION_NAME__.
1288         (INIT_SECTION_ASM_OP): Change all uses to
1289         __LIBGCC_INIT_SECTION_ASM_OP__.
1290         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
1291         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
1292         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
1293         __LIBGCC_STACK_GROWS_DOWNWARD__.
1294         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
1295         __LIBGCC_INIT_SECTION_ASM_OP__.
1296         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
1297         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
1298         (EH_FRAME_SECTION_NAME): Change all uses to
1299         __LIBGCC_EH_FRAME_SECTION_NAME__.
1300         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
1301         definitions.  Change all uses to
1302         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
1303         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
1304         __LIBGCC_STACK_GROWS_DOWNWARD__.
1305         (DWARF_FRAME_REGISTERS): Change all uses to
1306         __LIBGCC_DWARF_FRAME_REGISTERS__.
1307         (EH_RETURN_STACKADJ_RTX): Change all uses to
1308         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
1309         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
1310         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
1311         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
1312         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
1313         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
1315 2014-09-02  Nathan sidwell  <nathan@acm.org>
1317         * libgcov-interface.c (STRONG_ALIAS): New.
1318         (__gcov_flush): Call __gcov_reset_int.
1319         (__gcov_reset): Strong alias for ...
1320         (__gcov_reset_ing): ... this renamed hidden version.
1321         * libgcov.h (__gcov_reset_int): New declaration.
1323 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
1325         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
1326         call from here...
1327         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
1328         (__dso_handle): Define on Cygwin.
1329         * config/i386/t-cygming (crtbeginS.o): New rule.
1330         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
1332         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
1333         declaration syntax.
1335 2014-08-13  Steve Ellcey  <sellcey@mips.com>
1337         * crtstuff.c: Undef caddr_t.
1339 2014-08-12  Steve Ellcey  <sellcey@mips.com>
1341         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
1343 2014-08-07  Nathan Sidwell  <nathan@acm.org>
1345         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
1346         (LIBGCOV_DRIVER): ... to here.
1347         * libgcov.h (gcov_do_dump): New #define.
1348         (struct gcov_root): New.
1349         (__gcov_root): New declaration.
1350         (__gcov_dump_one): Declare.
1351         * libgcov-driver.c (gcov_list, gcov_dump_complete,
1352         run_accounted): Delete.
1353         (gcov_compute_histogram): Add LIST argument, adjust.
1354         (compute_summary): Adjust gcov_compute_histogram call.
1355         (gcov_do_dump): Not hidden, static in libgcov.
1356         (gcov_clear): Move  to interface.c.
1357         (__gcov_dump_one): New, broken out of ...
1358         (gcov_exit): ... here.  Make static.
1359         (__gcov_root): New.
1360         (__gcov_init): Adjust.
1361         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
1362         declarations.
1363         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
1364         (gcov_clear): Moved from driver.c.   Add LIST argument.
1365         (__gcov_reset): Adjust for changed interfaces.
1366         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
1368 2014-08-04  Rohit  <rohitarulraj@freescale.com>
1370         PR target/60102
1371         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
1372         based on change in SPE high register numbers and 3 HTM registers.
1374 2014-08-01  Nathan Sidwell  <nathan@acm.org>
1376         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
1377         LIBGCOV_INTERFACE): Reformat.
1378         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
1379         IN_GCOV_TOOL.
1380         * libgcov-interface.c: Reformat some comments.
1381         (__gcov_flush_mx): Add declaration.  Tidy up definition.
1383 2014-07-31  Alan Modra  <amodra@gmail.com>
1384             Peter Bergner  <bergner@vnet.ibm.com>
1386         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
1387         (pack_ldouble): New function.
1388         (__gcc_qadd): Use it.
1389         (__gcc_qmul): Likewise.
1390         (__gcc_qdiv): Likewise.
1391         (__gcc_qneg): Likewise.
1392         (__gcc_stoq): Likewise.
1393         (__gcc_dtoq): Likewise.
1395 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
1397         * config/s390/tpf-unwind.h: Include <stdbool.h>.
1398         (__tpf_eh_return): Add original return address as second parameter.
1399         Handle cases where unwinder routines were called directly, instead
1400         of from within the C++ library.
1402 2014-07-29  Nathan Sidwell  <nathan@acm.org>
1404         * libgcov.h: Move renaming of entry points to lib gcov specific
1405         portion.
1406         (gcov_do_dump): New rename.
1407         (gcov_rewrite): Remove inline, make HIDDEN.
1408         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
1409         (gcov_exit_compute_summary): Rename to ...
1410         (compute_summary): ... here.  Add LIST argument.
1411         (gcov_exit_merge_gcda): Rename to ...
1412         (merge_one_data): ... here.
1413         (gcov_exit_write_gcda): Rename to ...
1414         (write_one_data): ... here.
1415         (gcov_exit_merge_summary): Rename to ...
1416         (merge_summary): Add RUN_COUNTED argument.
1417         (gcov_exit_dump_gcov): Rename to ...
1418         (dump_one_gcov): Add RUN_COUNTED argument.
1419         (gcov_do_dump): New function, broken out of ...
1420         (gcov_exit): ... here.  Call it.
1422 2014-07-27  Anthony Green  <green@moxielogic.com>
1424         * config.host: Add moxiebox configuration suppport.
1426 2014-07-27  Nathan Sidwell  <nathan@acm.org>
1428         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
1429         (struct gcov_filename): ... here.  Include buffer and max length
1430         fields.
1431         (gcov_max_filename): Remove.
1432         (gi_filename): Remove.
1433         (gcov_exit_compute_summary): Compute max filename here.
1434         (gcov_exit_merge_gcda): Add filename parm, adjust.
1435         (gcov_exit_merge_summary): Likewise.
1436         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
1437         (gcov_exit): Likewise.
1438         (__gcov_init): Don't calculate max length here.
1439         * libgcov_util.c (max_filename_len): Remove.
1440         (read_gcda_file): Don't calculate max length here.
1441         (gcov_read_profile_dir): Don't propagate here.
1442         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
1443         struct gcov_filename changes.
1444         (gcov_exit_open_gcda_file): Likewise.
1446 2014-07-25  Nathan Sidwell  <nathan@acm.org>
1448         * libgcov-driver.c (set_gcov_dump_complete,
1449         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
1450         functions polluting user's namespace.
1451         (gcov_exit): Set variable directly.
1452         (gcov_clear): Reset variable directly.
1453         * libgcov-interface.c (get_gcov_dymp_complete,
1454         reset_gov_dump_complete): Remove declarations.
1455         (__gcov_reset, __gcov_dump): Don't call them.
1457 2014-07-24  DJ Delorie  <dj@redhat.com>
1459         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
1460         (__gcc_deregister_frame): Move logic to detect deregister function
1461         to ...
1462         (__gcc_register_frame): here, so it's consistent with the register
1463         logic.
1465 2014-07-23  Nathan Sidwell  <nathan@acm.org>
1467         * libgcov-driver.c (set_gcov_list): Remove.
1468         (gcov_list): Make non-static in GCOV_TOOL.
1469         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
1471 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
1473         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
1474         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
1475         Don't use SYNC_LOCK_RELEASE for int type.
1477 2014-07-14  Richard Biener  <rguenther@suse.de>
1479         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
1481 2014-07-11  Rong Xu  <xur@google.com>
1483         * libgcov-util.c (gcov_max_filename): Fix declartion.
1485 2014-07-10  Rong Xu  <xur@google.com>
1487         Add gcov-tool: an offline gcda profile processing tool
1488         Support.
1489         * libgcov-driver.c (gcov_max_filename): Make available
1490         to gcov-tool.
1491         * libgcov-merge.c (__gcov_merge_add): Replace
1492         gcov_read_counter() with a Macro.
1493         (__gcov_merge_ior): Ditto.
1494         (__gcov_merge_time_profile): Ditto.
1495         (__gcov_merge_single): Ditto.
1496         (__gcov_merge_delta): Ditto.
1497         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
1498         in the utility functions.
1499         (set_fn_ctrs): Utility function for reading gcda files to in-memory
1500         gcov_list object link lists.
1501         (tag_function): Ditto.
1502         (tag_blocks): Ditto.
1503         (tag_arcs): Ditto.
1504         (tag_lines): Ditto.
1505         (tag_counters): Ditto.
1506         (tag_summary): Ditto.
1507         (read_gcda_finalize): Ditto.
1508         (read_gcda_file): Ditto.
1509         (ftw_read_file): Ditto.
1510         (read_profile_dir_init): Ditto.
1511         (gcov_read_profile_dir): Ditto.
1512         (gcov_read_counter_mem): Ditto.
1513         (gcov_get_merge_weight): Ditto.
1514         (merge_wrapper): A wrapper function that calls merging handler.
1515         (gcov_merge): Merge two gcov_info objects with weights.
1516         (find_match_gcov_info): Find the matched gcov_info in the list.
1517         (gcov_profile_merge): Merge two gcov_info object lists.
1518         (__gcov_add_counter_op): Process edge profile counter values.
1519         (__gcov_ior_counter_op): Process IOR profile counter values.
1520         (__gcov_delta_counter_op): Process delta profile counter values.
1521         (__gcov_single_counter_op): Process single  profile counter values.
1522         (fp_scale): Callback function for float-point scaling.
1523         (int_scale): Callback function for integer fraction scaling.
1524         (gcov_profile_scale): Scaling profile counters.
1525         (gcov_profile_normalize): Normalize profile counters.
1526         * libgcov.h: Add headers and functions for gcov-tool use.
1527         (gcov_get_counter): New.
1528         (gcov_get_counter_target): Ditto.
1529         (struct gcov_info): Make the functions field mutable in gcov-tool
1530         compilation.
1532 2014-06-23  Kai Tietz  <ktietz@redhat.com>
1534         PR libgcc/61585
1535         * unwind-seh.c (_Unwind_GetGR): Check for proper
1536         index range.
1537         (_Unwind_SetGR): Likewise.
1539 2014-05-22  Nick Clifton  <nickc@redhat.com>
1541         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
1542         -mhwmult=none.
1544 2014-05-22  Teresa Johnson  <tejohnson@google.com>
1546         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
1547         include.
1549 2014-05-20  John Marino  <gnugcc@marino.st>
1551         * config.host (*-*-dragonfly*): New target.
1552         * crtstuff.c: Make dl_iterate_support generic on *bsd.
1553         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
1554         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
1555         * config/i386/dragonfly-unwind.h: New.
1557 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
1559         PR libgcc/60166
1560         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
1561         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
1563 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1565         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
1566         implementation.
1568 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
1570         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
1572 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1574         PR libgcc/61097
1575         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
1576         if --enable-shared.
1578 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1580         Work around for current cygwin32 build problems.
1581         * config/i386/cygming-crtbegin.c (__register_frame_info,
1582         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
1583         functions only for 64-bit systems.
1585 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1587         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
1588         (sigill_caught, sigill_hdlr): Remove.
1590 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1592         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
1593         check.
1594         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1595         Solaris 9 single-threaded support.
1596         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1597         Solaris 9 single-threaded support.  Add call_user_handler code
1598         sequences.
1599         (sparc_is_sighandler): Likewise.
1601 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1603         * config.host: Append t-floattodi to tmake_file depending on
1604         host_address.
1606 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
1608         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
1610 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
1612         PR libgcc/60472
1613         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
1614         variable to avoid "array subscript is above array bounds" warnings.
1615         Use __builtin_expect when checking *jcr_list for NULL.
1617 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1619         PR libgcc/59339
1620         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
1621         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
1622         vtv_*.o to extra_parts if enable_vtable_verify.
1624 2014-03-06  Nick Clifton  <nickc@redhat.com>
1626         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
1627         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
1629 2014-02-28  Joey Ye  <joey.ye@arm.com>
1631         PR libgcc/60166
1632         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
1633         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
1634         Set to zero.
1636 2014-02-24  Walter Lee  <walt@tilera.com>
1638         * config.host: Support "tilegx*" and "tilepro*" triplets.
1639         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
1640         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
1642 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
1643             Chung-Lin Tang  <cltang@codesourcery.com>
1645         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
1646         * config/nios2/crti.S: Remove .file directive.
1647         * config/nios2/crtn.S: Likewise.
1649 2014-02-18  Kai Tietz  <ktietz@redhat.com>
1650         Jonathan Schleifer  <js@webkeks.org>
1652         PR objc/56870
1653         * unwind-seh.c (_GCC_specific_handler): Pass proper
1654         value to unwind-handler.
1656 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
1658         * soft-fp/adddf3.c: Update from glibc.
1659         * soft-fp/addsf3.c: Likewise.
1660         * soft-fp/addtf3.c: Likewise.
1661         * soft-fp/divdf3.c: Likewise.
1662         * soft-fp/divsf3.c: Likewise.
1663         * soft-fp/divtf3.c: Likewise.
1664         * soft-fp/double.h: Likewise.
1665         * soft-fp/eqdf2.c: Likewise.
1666         * soft-fp/eqsf2.c: Likewise.
1667         * soft-fp/eqtf2.c: Likewise.
1668         * soft-fp/extenddftf2.c: Likewise.
1669         * soft-fp/extended.h: Likewise.
1670         * soft-fp/extendsfdf2.c: Likewise.
1671         * soft-fp/extendsftf2.c: Likewise.
1672         * soft-fp/extendxftf2.c: Likewise.
1673         * soft-fp/fixdfdi.c: Likewise.
1674         * soft-fp/fixdfsi.c: Likewise.
1675         * soft-fp/fixdfti.c: Likewise.
1676         * soft-fp/fixsfdi.c: Likewise.
1677         * soft-fp/fixsfsi.c: Likewise.
1678         * soft-fp/fixsfti.c: Likewise.
1679         * soft-fp/fixtfdi.c: Likewise.
1680         * soft-fp/fixtfsi.c: Likewise.
1681         * soft-fp/fixtfti.c: Likewise.
1682         * soft-fp/fixunsdfdi.c: Likewise.
1683         * soft-fp/fixunsdfsi.c: Likewise.
1684         * soft-fp/fixunsdfti.c: Likewise.
1685         * soft-fp/fixunssfdi.c: Likewise.
1686         * soft-fp/fixunssfsi.c: Likewise.
1687         * soft-fp/fixunssfti.c: Likewise.
1688         * soft-fp/fixunstfdi.c: Likewise.
1689         * soft-fp/fixunstfsi.c: Likewise.
1690         * soft-fp/fixunstfti.c: Likewise.
1691         * soft-fp/floatdidf.c: Likewise.
1692         * soft-fp/floatdisf.c: Likewise.
1693         * soft-fp/floatditf.c: Likewise.
1694         * soft-fp/floatsidf.c: Likewise.
1695         * soft-fp/floatsisf.c: Likewise.
1696         * soft-fp/floatsitf.c: Likewise.
1697         * soft-fp/floattidf.c: Likewise.
1698         * soft-fp/floattisf.c: Likewise.
1699         * soft-fp/floattitf.c: Likewise.
1700         * soft-fp/floatundidf.c: Likewise.
1701         * soft-fp/floatundisf.c: Likewise.
1702         * soft-fp/floatunditf.c: Likewise.
1703         * soft-fp/floatunsidf.c: Likewise.
1704         * soft-fp/floatunsisf.c: Likewise.
1705         * soft-fp/floatunsitf.c: Likewise.
1706         * soft-fp/floatuntidf.c: Likewise.
1707         * soft-fp/floatuntisf.c: Likewise.
1708         * soft-fp/floatuntitf.c: Likewise.
1709         * soft-fp/gedf2.c: Likewise.
1710         * soft-fp/gesf2.c: Likewise.
1711         * soft-fp/getf2.c: Likewise.
1712         * soft-fp/ledf2.c: Likewise.
1713         * soft-fp/lesf2.c: Likewise.
1714         * soft-fp/letf2.c: Likewise.
1715         * soft-fp/muldf3.c: Likewise.
1716         * soft-fp/mulsf3.c: Likewise.
1717         * soft-fp/multf3.c: Likewise.
1718         * soft-fp/negdf2.c: Likewise.
1719         * soft-fp/negsf2.c: Likewise.
1720         * soft-fp/negtf2.c: Likewise.
1721         * soft-fp/op-1.h: Likewise.
1722         * soft-fp/op-2.h: Likewise.
1723         * soft-fp/op-4.h: Likewise.
1724         * soft-fp/op-8.h: Likewise.
1725         * soft-fp/op-common.h: Likewise.
1726         * soft-fp/quad.h: Likewise.
1727         * soft-fp/single.h: Likewise.
1728         * soft-fp/soft-fp.h: Likewise.
1729         * soft-fp/subdf3.c: Likewise.
1730         * soft-fp/subsf3.c: Likewise.
1731         * soft-fp/subtf3.c: Likewise.
1732         * soft-fp/truncdfsf2.c: Likewise.
1733         * soft-fp/trunctfdf2.c: Likewise.
1734         * soft-fp/trunctfsf2.c: Likewise.
1735         * soft-fp/trunctfxf2.c: Likewise.
1736         * soft-fp/unorddf2.c: Likewise.
1737         * soft-fp/unordsf2.c: Likewise.
1738         * soft-fp/unordtf2.c: Likewise.
1739         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
1740         macro.
1741         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1742         Likewise.
1743         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1744         Likewise.
1745         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1746         Likewise.
1747         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1748         Likewise.
1749         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1750         Likewise.
1751         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1752         Likewise.
1753         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1754         Likewise.
1755         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1756         Likewise.
1757         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1758         Likewise.
1759         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1760         Likewise.
1761         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1762         Likewise.
1763         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1764         Likewise.
1765         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
1766         Likewise.
1767         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
1768         Likewise.
1769         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1770         Likewise.
1772 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1774         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
1775         cannot be represented.
1776         * config/s390/32/_fixsfdi.c: Likewise.
1777         * config/s390/32/_fixtfdi.c: Likewise.
1778         * config/s390/32/_fixunsdfdi.c: Likewise.
1779         * config/s390/32/_fixunssfdi.c: Likewise.
1780         * config/s390/32/_fixunstfdi.c: Likewise.
1782 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
1784         * configure.ac (libgcc_cv_mips_hard_float): New.
1785         * configure: Regenerate.
1786         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
1787         t-softfp-sfdf for hard-float targets.
1788         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
1789         (softfp_float_modes, softfp_int_modes, softfp_extensions)
1790         (softfp_truncations, softfp_exclude_libgcc2): New.
1791         * config/t-hardfp: New file.
1792         * config/t-hardfp-sfdf: Likewise.
1793         * config/hardfp.c: Likewise.
1795 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1797         * config.host: Include t-floattodi also for s390x.
1798         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
1799         * config/s390/32/_fixsfdi.c: Likewise.
1800         * config/s390/32/_fixtfdi.c: Likewise.
1801         * config/s390/32/_fixunsdfdi.c: Likewise.
1802         * config/s390/32/_fixunssfdi.c: Likewise.
1803         * config/s390/32/_fixunstfdi.c: Likewise.
1805 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1807         PR target/59788
1808         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
1809         (install-libgcc-unwind-map-forbuild): New target.
1810         (all): Depend on install-libgcc-unwind-map-forbuild.
1811         (install-libgcc-unwind-map): New target.
1812         (install): Depend on install-libgcc-unwind-map.
1814 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
1816         * config/nios2/crti.S (_init): Initialize GOT pointer from
1817         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
1819 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
1821         * configure.ac: Check __mips64 when setting host_address.
1822         * configure: Regenerate.
1823         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
1824         mips/t-mips64 and t-softfp.
1825         (mips*-*-linux*): Don't add mips/t-tpbit.
1826         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
1827         (DPBIT, DPBIT_CFLAGS): Delete.
1828         * config/mips/sfp-machine.h: New file.
1829         * config/mips/t-mips64: Likewise.
1830         * config/mips/t-softfp-tf: Likewise.
1831         * config/mips/t-tpbit: Delete.
1833 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1835         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
1836         as long long.
1838 2014-01-25  Walter Lee  <walt@tilera.com>
1840         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
1841         config.h or system.h.
1842         (bool) Define.
1844 2014-01-25  Walter Lee  <walt@tilera.com>
1846         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
1847         (post_atomic_barrier): Ditto.
1848         (__fetch_and_do): New macro.
1849         (__atomic_fetch_and_do): Use __fetch_and_do.
1850         (__sync_fetch_and_do): New macro.
1851         (__sync_fetch_and_add_4): New function.
1852         (__sync_fetch_and_sub_4): New function.
1853         (__sync_fetch_and_or_4): New function.
1854         (__sync_fetch_and_and_4): New function.
1855         (__sync_fetch_and_xor_4): New function.
1856         (__sync_fetch_and_nand_4): New function.
1857         (__sync_fetch_and_add_8): New function.
1858         (__sync_fetch_and_sub_8): New function.
1859         (__sync_fetch_and_or_8): New function.
1860         (__sync_fetch_and_and_8): New function.
1861         (__sync_fetch_and_xor_8): New function.
1862         (__sync_fetch_and_nand_8): New function.
1863         (__do_and_fetch): New macro.
1864         (__atomic_do_and_fetch): Use __do_and_fetch.
1865         (__sync_do_and_fetch): New macro.
1866         (__sync_add_and_fetch_4): New function.
1867         (__sync_sub_and_fetch_4): New function.
1868         (__sync_or_and_fetch_4): New function.
1869         (__sync_and_and_fetch_4): New function.
1870         (__sync_xor_and_fetch_4): New function.
1871         (__sync_nand_and_fetch_4): New function.
1872         (__sync_add_and_fetch_8): New function.
1873         (__sync_sub_and_fetch_8): New function.
1874         (__sync_or_and_fetch_8): New function.
1875         (__sync_and_and_fetch_8): New function.
1876         (__sync_xor_and_fetch_8): New function.
1877         (__sync_nand_and_fetch_8): New function.
1878         (__sync_exchange_methods): New macro.
1879         (__sync_val_compare_and_swap_4): New function.
1880         (__sync_bool_compare_and_swap_4): New function.
1881         (__sync_lock_test_and_test_4): New function.
1882         (__sync_val_compare_and_swap_8): New function.
1883         (__sync_bool_compare_and_swap_8): New function.
1884         (__sync_lock_test_and_test_8): New function.
1885         (__subword_cmpxchg_body): New macro.
1886         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
1887         (__atomic_compare_exchange_2): Ditto.
1888         (__sync_subword_cmpxchg): New macro.
1889         (__sync_val_compare_and_swap_1): New function.
1890         (__sync_bool_compare_and_swap_1): New function.
1891         (__sync_val_compare_and_swap_2): New function.
1892         (__sync_bool_compare_and_swap_2): New function.
1893         (__atomic_subword): Rename to ...
1894         (__subword): ... New name.
1895         (__atomic_subword_fetch): Use __subword.
1896         (__sync_subword_fetch): New macro.
1897         (__sync_fetch_and_add_1): New function.
1898         (__sync_fetch_and_sub_1): New function.
1899         (__sync_fetch_and_or_1): New function.
1900         (__sync_fetch_and_and_1): New function.
1901         (__sync_fetch_and_xor_1): New function.
1902         (__sync_fetch_and_nand_1): New function.
1903         (__sync_fetch_and_add_2): New function.
1904         (__sync_fetch_and_sub_2): New function.
1905         (__sync_fetch_and_or_2): New function.
1906         (__sync_fetch_and_and_2): New function.
1907         (__sync_fetch_and_xor_2): New function.
1908         (__sync_fetch_and_nand_2): New function.
1909         (__sync_add_and_fetch_1): New function.
1910         (__sync_sub_and_fetch_1): New function.
1911         (__sync_or_and_fetch_1): New function.
1912         (__sync_and_and_fetch_1): New function.
1913         (__sync_xor_and_fetch_1): New function.
1914         (__sync_nand_and_fetch_1): New function.
1915         (__sync_add_and_fetch_2): New function.
1916         (__sync_sub_and_fetch_2): New function.
1917         (__sync_or_and_fetch_2): New function.
1918         (__sync_and_and_fetch_2): New function.
1919         (__sync_xor_and_fetch_2): New function.
1920         (__sync_nand_and_fetch_2): New function.
1921         (__atomic_subword_lock): Use __subword.
1922         (__sync_subword_lock): New macro.
1923         (__sync_lock_test_and_set_1): New function.
1924         (__sync_lock_test_and_set_2): New function.
1926 2014-01-25  Walter Lee  <walt@tilera.com>
1928         * config/tilepro/atomic.c (BIT_OFFSET): Define.
1929         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
1930         (__atomic_subword): Ditto.
1932 2014-01-25  Walter Lee  <walt@tilera.com>
1934         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
1935         a prefix op argument.
1936         (__atomic_nand_fetch_4): Add prefix op.
1937         (__atomic_nand_fetch_8): Ditto.
1939 2014-01-21  Baruch Siach <barch@tkos.co.il>
1941         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
1943 2014-01-09  Rong Xu  <xur@google.com>
1945         * libgcov-driver.c (this_prg): make it local to save
1946         bss space.
1947         (gcov_exit_compute_summary): Ditto.
1948         (gcov_exit_merge_gcda): Ditto.
1949         (gcov_exit_merge_summary): Ditto.
1950         (gcov_exit_dump_gcov): Ditto.
1952 2014-01-08  Rong Xu  <xur@google.com>
1954         * libgcov-driver.c: Use libgcov.h.
1955         (buffer_fn_data): Use xmalloc instead of malloc.
1956         (gcov_exit_merge_gcda): Ditto.
1957         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
1958         * libgcov.h: New common header files for libgcov-*.h.
1959         * libgcov-interface.c: Use libgcov.h
1960         * libgcov-merge.c: Ditto.
1961         * libgcov-profiler.c: Ditto.
1962         * Makefile.in: Add dependence to libgcov.h
1964 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
1966         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
1967         case of small numerator and finite nonzero result.
1969 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1971         Update copyright years
1973 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1975         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
1976         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
1977         config/arc/dp-hack.h, config/arc/fp-hack.h,
1978         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
1979         config/arc/ieee-754/arc600-dsp/divdf3.S,
1980         config/arc/ieee-754/arc600-dsp/divsf3.S,
1981         config/arc/ieee-754/arc600-dsp/muldf3.S,
1982         config/arc/ieee-754/arc600-dsp/mulsf3.S,
1983         config/arc/ieee-754/arc600-mul64/divdf3.S,
1984         config/arc/ieee-754/arc600-mul64/divsf3.S,
1985         config/arc/ieee-754/arc600-mul64/muldf3.S,
1986         config/arc/ieee-754/arc600-mul64/mulsf3.S,
1987         config/arc/ieee-754/arc600/divsf3.S,
1988         config/arc/ieee-754/arc600/mulsf3.S,
1989         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
1990         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
1991         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
1992         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
1993         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
1994         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
1995         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
1996         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
1997         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
1998         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
1999         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
2000         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
2001         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
2002         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
2003         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
2004         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
2005         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
2006         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
2007         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
2008         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
2009         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
2010         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
2011         vtv_start_preinit.c: Use the standard form for the copyright notice.
2013 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
2014             Chung-Lin Tang  <cltang@codesourcery.com>
2015             Based on patches from Altera Corporation
2017         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
2018         * config/nios2/lib2-nios2.h: New file.
2019         * config/nios2/lib2-divmod-hi.c: New file.
2020         * config/nios2/linux-unwind.h: New file.
2021         * config/nios2/lib2-divmod.c: New file.
2022         * config/nios2/linux-atomic.c: New file.
2023         * config/nios2/t-nios2: New file.
2024         * config/nios2/crti.asm: New file.
2025         * config/nios2/t-linux: New file.
2026         * config/nios2/lib2-divtable.c: New file.
2027         * config/nios2/lib2-mul.c: New file.
2028         * config/nios2/tramp.c: New file.
2029         * config/nios2/crtn.asm: New file.
2031 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
2033         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
2034         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
2035         from cpuid.h to check vendor signatures.
2037 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
2039         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
2040         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
2041         (get_amd_cpu): Likewise.
2043 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
2045         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
2046         Haswell.
2048 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
2049             H.J. Lu  <hongjiu.lu@intel.com>
2051         PR target/59422
2052         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
2053         and AMD_JAGUAR.
2054         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
2055         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
2056         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
2057         FEATURE_XOP and FEATURE_FMA.
2058         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
2059         AMDFAM15H_BDVER3.
2060         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
2061         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
2062         FEATURE_FMA4 and FEATURE_XOP.
2064 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
2066         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
2067         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
2068         (get_intel_cpu): Updated.
2070 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
2072         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
2074 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
2076         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2077         instructions when __SSE_MATH__ is defined.
2079 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
2081         * config.host (microblaze-*-rtems*): New.
2083 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
2085         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
2086         architectures that do not have hardware divide instruction.
2087         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
2089 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
2091         * longlong.h: Delete (moved to include/).
2093 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2095         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
2096         of normal number and qNaN to not raise an inexact exception.
2098 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
2100         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
2102 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
2104         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
2105         for correct opcodes on BE.
2107 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
2109         * soft-fp/op-4.h: Update from glibc.
2111 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
2113         * libgcc2.c (__udivmoddi4): Define new implementation when
2114         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
2115         divide instructions.
2117 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
2119         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
2121 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2123         * config/t-softfp (soft-fp-objects-base): New variable.
2124         (soft-fp-objects): Use it.
2126 2013-11-23  David Edelson  <dje.gcc@gmail.com>
2127             Andrew Dixie  <andrewd@gentrack.com>
2129         PR target/33704
2130         * config/rs6000/aixinitfini.c: New file.
2131         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
2132         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
2133         symbols.
2135 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
2137         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
2139 2013-11-18  Jan Hubicka  <jh@suse.cz>
2141         * libgcov-driver.c (run_accounted): Make global level static.
2142         (gcov_exit_merge_summary): Silence warning; do not clear
2143         run_accounted here.
2144         (gcov_exit): Clear it here.
2146         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
2147         run_accounted.
2149         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
2150         (all_prg, crc32): Remove static vars.
2151         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
2152         all_prg.
2153         (gcov_exit_merge_gcda): Add crc32 parameter.
2154         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
2155         do not account run if it was already accounted.
2156         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
2157         (gcov_exit): Initialize all_prg; update.
2159 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
2161         * configure: Regenerate.
2163 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2164             Alan Modra  <amodra@gmail.com>
2166         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
2167         (frob_update_context): Use it.
2169 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2170             Alan Modra  <amodra@gmail.com>
2172         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
2173         (trampoline_initial): Provide ELFv2 variant.
2174         (__trampoline_setup): Likewise.
2176         * config/rs6000/linux-unwind.h (frob_update_context): Do not
2177         check for AIX indirect function call sequence if _CALL_ELF == 2.
2179 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2180             Alan Modra  <amodra@gmail.com>
2182         * config/rs6000/linux-unwind.h (get_regs): Do not support
2183         old kernel versions if _CALL_ELF == 2.
2184         (frob_update_context): Do not support PLT stub variants only
2185         generated by old linkers if _CALL_ELF == 2.
2187 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2188             Alan Modra  <amodra@gmail.com>
2190         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
2191         location of CR save area for 64-bit little-endian systems.
2193 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
2195         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
2196         in tmake_file.
2197         * config/arm/t-vxworks: Delete.
2199 2013-11-10  Kai Tietz  <ktietz@redhat.com>
2201         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
2202         Increment load-count on use of LIBGCC_SONAME DLL.
2203         (hmod_libgcc): New static variable to hold handle of
2204         LIBGCC_SONAME DLL.
2205         (__gcc_deregister_frame): Decrement load-count of
2206         LIBGCC_SONAME DLL.
2208 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
2210         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
2211         availability.
2212         * configure: Regenerate
2214 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
2216         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
2217         FP_EX_DENORM.  Store result to volatile location after SSE division
2218         to close interrupt window.  Remove unneeded fwait after x87
2219         division since interrupt window will be closed by emitted fstp.
2220         Rewrite FP_EX_INEXACT handling.
2222 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
2224         * soft-fp/README: Update.
2225         * soft-fp/adddf3.c: Update from glibc.
2226         * soft-fp/addsf3.c: Likewise.
2227         * soft-fp/addtf3.c: Likewise.
2228         * soft-fp/divdf3.c: Likewise.
2229         * soft-fp/divsf3.c: Likewise.
2230         * soft-fp/divtf3.c: Likewise.
2231         * soft-fp/double.h: Likewise.
2232         * soft-fp/eqdf2.c: Likewise.
2233         * soft-fp/eqsf2.c: Likewise.
2234         * soft-fp/eqtf2.c: Likewise.
2235         * soft-fp/extenddftf2.c: Likewise.
2236         * soft-fp/extended.h: Likewise.
2237         * soft-fp/extendsfdf2.c: Likewise.
2238         * soft-fp/extendsftf2.c: Likewise.
2239         * soft-fp/extendxftf2.c: Likewise.
2240         * soft-fp/fixdfdi.c: Likewise.
2241         * soft-fp/fixdfsi.c: Likewise.
2242         * soft-fp/fixdfti.c: Likewise.
2243         * soft-fp/fixsfdi.c: Likewise.
2244         * soft-fp/fixsfsi.c: Likewise.
2245         * soft-fp/fixsfti.c: Likewise.
2246         * soft-fp/fixtfdi.c: Likewise.
2247         * soft-fp/fixtfsi.c: Likewise.
2248         * soft-fp/fixtfti.c: Likewise.
2249         * soft-fp/fixunsdfdi.c: Likewise.
2250         * soft-fp/fixunsdfsi.c: Likewise.
2251         * soft-fp/fixunsdfti.c: Likewise.
2252         * soft-fp/fixunssfdi.c: Likewise.
2253         * soft-fp/fixunssfsi.c: Likewise.
2254         * soft-fp/fixunssfti.c: Likewise.
2255         * soft-fp/fixunstfdi.c: Likewise.
2256         * soft-fp/fixunstfsi.c: Likewise.
2257         * soft-fp/fixunstfti.c: Likewise.
2258         * soft-fp/floatdidf.c: Likewise.
2259         * soft-fp/floatdisf.c: Likewise.
2260         * soft-fp/floatditf.c: Likewise.
2261         * soft-fp/floatsidf.c: Likewise.
2262         * soft-fp/floatsisf.c: Likewise.
2263         * soft-fp/floatsitf.c: Likewise.
2264         * soft-fp/floattidf.c: Likewise.
2265         * soft-fp/floattisf.c: Likewise.
2266         * soft-fp/floattitf.c: Likewise.
2267         * soft-fp/floatundidf.c: Likewise.
2268         * soft-fp/floatundisf.c: Likewise.
2269         * soft-fp/floatunditf.c: Likewise.
2270         * soft-fp/floatunsidf.c: Likewise.
2271         * soft-fp/floatunsisf.c: Likewise.
2272         * soft-fp/floatunsitf.c: Likewise.
2273         * soft-fp/floatuntidf.c: Likewise.
2274         * soft-fp/floatuntisf.c: Likewise.
2275         * soft-fp/floatuntitf.c: Likewise.
2276         * soft-fp/gedf2.c: Likewise.
2277         * soft-fp/gesf2.c: Likewise.
2278         * soft-fp/getf2.c: Likewise.
2279         * soft-fp/ledf2.c: Likewise.
2280         * soft-fp/lesf2.c: Likewise.
2281         * soft-fp/letf2.c: Likewise.
2282         * soft-fp/muldf3.c: Likewise.
2283         * soft-fp/mulsf3.c: Likewise.
2284         * soft-fp/multf3.c: Likewise.
2285         * soft-fp/negdf2.c: Likewise.
2286         * soft-fp/negsf2.c: Likewise.
2287         * soft-fp/negtf2.c: Likewise.
2288         * soft-fp/op-1.h: Likewise.
2289         * soft-fp/op-2.h: Likewise.
2290         * soft-fp/op-4.h: Likewise.
2291         * soft-fp/op-8.h: Likewise.
2292         * soft-fp/op-common.h: Likewise.
2293         * soft-fp/quad.h: Likewise.
2294         * soft-fp/single.h: Likewise.
2295         * soft-fp/soft-fp.h: Likewise.
2296         * soft-fp/subdf3.c: Likewise.
2297         * soft-fp/subsf3.c: Likewise.
2298         * soft-fp/subtf3.c: Likewise.
2299         * soft-fp/truncdfsf2.c: Likewise.
2300         * soft-fp/trunctfdf2.c: Likewise.
2301         * soft-fp/trunctfsf2.c: Likewise.
2302         * soft-fp/trunctfxf2.c: Likewise.
2303         * soft-fp/unorddf2.c: Likewise.
2304         * soft-fp/unordsf2.c: Likewise.
2305         * soft-fp/unordtf2.c: Likewise.
2307 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
2309         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
2310         (_FP_MUL_MEAT_D): Ditto.
2311         (_FP_DIV_MEAT_S): Ditto.
2312         (_FP_DIV_MEAT_D): Ditto.
2313         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
2314         t-softfp-sfdf and t-softfp to tmake_file.
2316 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
2318         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
2319         * config/i386/crtprec.c: Ditto.
2321 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
2322             Shiva Chen  <shiva0217@gmail.com>
2324         * config.host (nds32*-elf*): Add nds32 target.
2325         * config/nds32 : New directory and files.
2327 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
2329         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
2330         * config.host (cpu_type) <Setting default>: Add entry for
2331         crisv32-*-*.
2332         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
2333         <crisv32-*-linux*>: Adjust.
2334         * longlong.h: Wrap the whole CRIS section in a single
2335         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
2336         and sub_ddmmss.
2337         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
2338         defined.
2339         [__CRIS__] (__umulsidi3): Define.
2340         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
2341         * config/cris/sfp-machine.h: New file.
2342         * config/cris/umulsidi3.S: New file.
2343         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
2344         * config/cris/arit.c (SIGNMULT): New macro.
2345         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
2346         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
2347         saving 3 out of originally 33 cycles from the fastest
2348         path, 3 out of 54 from the medium path and one from the longest
2349         path.  Improve comments.
2351 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
2353         * sync.c: Remove static aliases and define each function directly
2354         under its real name.
2356 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
2358         * config.host (hppa*64*-*-linux*): Define extra_parts.
2359         (hppa*-*-linux*): Likewise.
2361 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
2363         * config/arc/crtgend.S: Add 2013 to Copyright years.
2364         * config/arc/gmon/atomic.h: Likewise.
2365         * config/arc/gmon/auxreg.h: Likewise.
2366         * config/arc/gmon/sys/gmon_out.h: Likewise.
2367         * config/arc/gmon/sys/gmon.h: Likewise.
2368         * config/arc/gmon/prof-freq.c: Likewise.
2369         * config/arc/gmon/mcount.c: Likewise.
2370         * config/arc/gmon/prof-freq-stub.S: Likewise.
2371         * config/arc/gmon/gmon.c: Likewise.
2372         * config/arc/gmon/machine-gmon.h: Likewise.
2373         * config/arc/gmon/profil.S: Likewise.
2374         * config/arc/gmon/dcache_linesz.S: Likewise.
2375         * config/arc/crtg.S: Likewise.
2376         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
2377         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
2378         * config/arc/ieee-754/adddf3.S: Likewise.
2379         * config/arc/ieee-754/truncdfsf2.S: Likewise.
2380         * config/arc/ieee-754/fixsfsi.S: Likewise.
2381         * config/arc/ieee-754/gtsf2.S: Likewise.
2382         * config/arc/ieee-754/floatsisf.S: Likewise.
2383         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
2384         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
2385         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
2386         * config/arc/ieee-754/fixdfsi.S: Likewise.
2387         * config/arc/ieee-754/addsf3.S: Likewise.
2388         * config/arc/ieee-754/gesf2.S: Likewise.
2389         * config/arc/ieee-754/floatsidf.S: Likewise.
2390         * config/arc/ieee-754/extendsfdf2.S: Likewise.
2391         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
2392         * config/arc/ieee-754/gtdf2.S: Likewise.
2393         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
2394         * config/arc/ieee-754/uneqdf2.S: Likewise.
2395         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2396         * config/arc/ieee-754/uneqsf2.S: Likewise.
2397         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
2398         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
2399         * config/arc/ieee-754/eqdf2.S: Likewise.
2400         * config/arc/ieee-754/ordsf2.S: Likewise.
2401         * config/arc/ieee-754/divsf3.S: Likewise.
2402         * config/arc/ieee-754/divdf3.S: Likewise.
2403         * config/arc/ieee-754/floatunsidf.S: Likewise.
2404         * config/arc/ieee-754/orddf2.S: Likewise.
2405         * config/arc/ieee-754/eqsf2.S: Likewise.
2406         * config/arc/ieee-754/gedf2.S: Likewise.
2407         * config/arc/crtn.S: Likewise.
2408         * config/arc/crti.S: Likewise.
2409         * config/arc/t-arc700-uClibc: Likewise.
2410         * config/arc/asm.h: Likewise.
2411         * config/arc/libgcc-excl.ver: Likewise.
2412         * config/arc/t-arc-newlib: Likewise.
2413         * config/arc/divtab-arc700.c: Likewise.
2414         * config/arc/initfini.c: Likewise.
2415         * config/arc/fp-hack.h: Likewise.
2417 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
2418             Diego Novillo  <dnovillo@google.com>
2420         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
2421         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
2422         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
2423         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
2425 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
2426             Brendan Kehoe  <brendan@zen.org>
2427             Simon Cook  <simon.cook@embecosm.com>
2429         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
2430         * config/arc: New directory.
2431         * longlong.h [__arc__] (umul_ppmm): Remove.
2432         [__arc__] (__umulsidi3): Define.
2433         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
2434         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
2436 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
2438         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
2439         CreateSemaphoreA.
2440         * config/i386/gthr-win32.h: Likewise.
2442 2013-09-16  DJ Delorie  <dj@redhat.com>
2444         * config/rl78/vregs.h: Add G10 register definitions.
2445         * config/rl78/lib2mul.c: Enable for RL78/G10.
2446         * config/rl78/lib2div.c: Likewise.
2447         * config/rl78/lshrsi3.S: Use vregs.h.
2448         * config/rl78/cmpsi2.S: Likewise.
2449         * config/rl78/trampoline.S: Likewise.
2450         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
2452 2013-09-14  DJ Delorie  <dj@redhat.com>
2453             Nick Clifton  <nickc@redhat.com>
2455         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
2456         * config/rl78/vregs.h: New.
2457         * config/rl78/signbit.S: New file.  Implements signbit function.
2458         * config/rl78/divmodsi.S: New.
2459         * config/rl78/divmodhi.S: New.
2460         * config/rl78/divmodqi.S: New.
2461         * config/rl78/t-rl78: Build them here...
2462         * config/rl78/lib2div.c: ...but not here.
2464 2013-09-12  DJ Delorie  <dj@redhat.com>
2466         * config.host (msp*-*-elf): New.
2467         * config/msp430/: New port.
2469 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
2471         PR gcov-profile/58127
2472         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
2473         __thread var for emulated TLS.
2474         (__gcov_indirect_call_counters): Likewise.
2476 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
2477             Catherine Moore  <clm@codesourcery.com>
2478             Richard Sandiford <rdsandiford@googlemail.com>
2480         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
2481         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
2482         (CALL_STUB_NO_RET): Likewise.
2483         (CALL_STUB_RET): Likewise.
2484         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
2485         __mips16_ret call/return stub symbols.
2486         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
2487         to tmake_file.
2489 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
2491         * config.host <mips*-*-linux*>: Remove a stray comment.
2493 2013-08-10  Jan Hubicka  <jh@suse.cz>
2495         Work around binutils PR14342
2496         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
2497         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
2498         (L_gcov_indirect_call_profiler_v2): New.
2500 2013-08-06  Jan Hubicka  <jh@suse.cz>
2502         * libgcov.c (__gcov_indirect_call_callee,
2503         __gcov_indirect_call_counters): New global vars.
2504         (__gcov_indirect_call_profiler): replace by ...
2505         (__gcov_indirect_call_profiler_v2) ... this one.
2507 2013-08-06  Caroline Tice  <cmtice@google.com>
2509         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2510         vtv_start_preinit.o and vtv_end_preinit.o.
2511         * configure.ac: Add code to check/set enable_vtable_verify.
2512         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2513         true.
2514         * vtv_start_preinit.c: New file.
2515         * vtv_end_preinit.c: New file.
2516         * vtv_start.c: New file.
2517         * vtv_end.c: New file.
2518         * configure: Regenerated.
2520 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
2522         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
2523         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
2524         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
2525         GPL-3.0-with-GCC-exception.
2527 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
2529         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
2530         ISA and up.
2532 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2534         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
2535         mapping for FPRs when creating the fallback framestate.
2537 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
2539         PR target/57516
2540         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
2541         (__round_s2_const, __round_u2_const)
2542         (__round_s4_const, __round_u4_const, __round_x8):
2543         Saturate result if addition result cannot be represented.
2545 2013-07-15  Matthias Klose  <doko@ubuntu.com>
2547         * libgcc2.c: Don't include <limits.h>.
2549 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
2551         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
2553 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
2555         PR target/29776
2556         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
2558 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
2560         PR middle-end/36041
2561         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
2562         Define.
2563         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
2564         instead of table lookups.
2565         (__popcountDI2): Likewise.
2567 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
2569         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
2570         correctly.
2572 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
2574         PR other/53317
2575         * soft-fp/adddf3.c: Update from glibc.
2576         * soft-fp/addsf3.c: Likewise.
2577         * soft-fp/addtf3.c: Likewise.
2578         * soft-fp/divdf3.c: Likewise.
2579         * soft-fp/divsf3.c: Likewise.
2580         * soft-fp/divtf3.c: Likewise.
2581         * soft-fp/double.h: Likewise.
2582         * soft-fp/eqdf2.c: Likewise.
2583         * soft-fp/eqsf2.c: Likewise.
2584         * soft-fp/eqtf2.c: Likewise.
2585         * soft-fp/extenddftf2.c: Likewise.
2586         * soft-fp/extended.h: Likewise.
2587         * soft-fp/extendsfdf2.c: Likewise.
2588         * soft-fp/extendsftf2.c: Likewise.
2589         * soft-fp/fixdfdi.c: Likewise.
2590         * soft-fp/fixdfsi.c: Likewise.
2591         * soft-fp/fixsfdi.c: Likewise.
2592         * soft-fp/fixsfsi.c: Likewise.
2593         * soft-fp/fixtfdi.c: Likewise.
2594         * soft-fp/fixtfsi.c: Likewise.
2595         * soft-fp/fixunsdfdi.c: Likewise.
2596         * soft-fp/fixunsdfsi.c: Likewise.
2597         * soft-fp/fixunssfdi.c: Likewise.
2598         * soft-fp/fixunssfsi.c: Likewise.
2599         * soft-fp/fixunstfdi.c: Likewise.
2600         * soft-fp/fixunstfsi.c: Likewise.
2601         * soft-fp/floatdidf.c: Likewise.
2602         * soft-fp/floatdisf.c: Likewise.
2603         * soft-fp/floatditf.c: Likewise.
2604         * soft-fp/floatsidf.c: Likewise.
2605         * soft-fp/floatsisf.c: Likewise.
2606         * soft-fp/floatsitf.c: Likewise.
2607         * soft-fp/floatundidf.c: Likewise.
2608         * soft-fp/floatundisf.c: Likewise.
2609         * soft-fp/floatunditf.c: Likewise.
2610         * soft-fp/floatunsidf.c: Likewise.
2611         * soft-fp/floatunsisf.c: Likewise.
2612         * soft-fp/floatunsitf.c: Likewise.
2613         * soft-fp/gedf2.c: Likewise.
2614         * soft-fp/gesf2.c: Likewise.
2615         * soft-fp/getf2.c: Likewise.
2616         * soft-fp/ledf2.c: Likewise.
2617         * soft-fp/lesf2.c: Likewise.
2618         * soft-fp/letf2.c: Likewise.
2619         * soft-fp/muldf3.c: Likewise.
2620         * soft-fp/mulsf3.c: Likewise.
2621         * soft-fp/multf3.c: Likewise.
2622         * soft-fp/negdf2.c: Likewise.
2623         * soft-fp/negsf2.c: Likewise.
2624         * soft-fp/negtf2.c: Likewise.
2625         * soft-fp/op-1.h: Likewise.
2626         * soft-fp/op-2.h: Likewise.
2627         * soft-fp/op-4.h: Likewise.
2628         * soft-fp/op-8.h: Likewise.
2629         * soft-fp/op-common.h: Likewise.
2630         * soft-fp/quad.h: Likewise.
2631         * soft-fp/single.h: Likewise.
2632         * soft-fp/soft-fp.h: Likewise.
2633         * soft-fp/subdf3.c: Likewise.
2634         * soft-fp/subsf3.c: Likewise.
2635         * soft-fp/subtf3.c: Likewise.
2636         * soft-fp/truncdfsf2.c: Likewise.
2637         * soft-fp/trunctfdf2.c: Likewise.
2638         * soft-fp/trunctfsf2.c: Likewise.
2639         * soft-fp/unorddf2.c: Likewise.
2640         * soft-fp/unordsf2.c: Likewise.
2641         * soft-fp/unordtf2.c: Likewise.
2642         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
2643         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2644         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2645         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2646         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2647         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2648         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2649         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2650         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2651         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
2652         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
2653         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2655 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
2657         * config/mips/lib2funcs.c: New file.
2658         * config/mips/t-mips (LIB2ADD_ST): Add it.
2660 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
2662         PR target/6526
2663         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
2664         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
2666 2013-06-08  Walter Lee  <walt@tilera.com>
2668         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
2669         Replace int64_t with long long.  Add __extension__ where
2670         appropriate.
2671         * config/tilepro/atomic.c: Include config.h.
2673 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
2675         * config.host (arm-wrs-vxworks): Configure with other soft float.
2677 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
2679         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
2680         (mips64r5900el-*-elf*): New configurations.
2682 2013-06-04  Alan Modra  <amodra@gmail.com>
2684         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
2686 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
2688         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
2690 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
2692         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
2693         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
2694         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
2696 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
2698         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
2699         (powerpc-wrs-vxworks): Likewise.
2701 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
2703         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
2704         signal frames as well.
2705         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
2706         STACK_BIAS to the CFA offset.
2708 2013-05-17  Richard Henderson  <rth@redhat.com>
2710         PR target/49146
2711         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
2712         (execute_cfa_program): Use it when storing to fs->regs.
2714 2013-05-08  Kai Tietz  <ktietz@redhat.com>
2716         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
2717         (__deregister_frame_info): Likewise.
2719 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
2721         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
2722         NaN's payload.
2724         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
2726 2013-04-25  Alan Modra  <amodra@gmail.com>
2728         * config.host: Match little-endian powerpc-linux.
2730 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
2732         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
2733         as 'unsigned long long' instead of 'unsigned long'.
2734         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
2735         'signed long'.
2737 2013-04-10  Julian Brown  <julian@codesourcery.com>
2739         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
2740         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
2741         unsigned char/unsigned short.
2742         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
2744 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2746         PR other/55274
2747         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
2749 2013-04-04  Meador Inge  <meadori@codesourcery.com>
2751         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
2752         computing the location of the link register.
2753         (aeabi_uldivmod): Ditto.
2755 2013-03-27  Kai Tietz  <ktietz@redhat.com>
2757         * config.host: Add support for cygwin x64 target.
2758         * configure: Regenerated.
2760 2013-03-26  Walter Lee  <walt@tilera.com>
2762         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
2763         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
2765 2013-03-25  Kai Tietz  <ktietz@redhat.com>
2767         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
2769 2013-03-20  Robert Mason  <rbmj@verizon.net>
2771         * config/vxlib-tls.c (__gthread_get_tsd_data,)
2772         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
2773         (__gthread_leave_tsd_dtor_context): Add prototypes.
2774         (tls_delete_hook): Update.
2776 2013-03-20  Catherine Moore  <clm@codesourcery.com>
2777             Joseph Myers  <joseph@codesourcery.com>
2778             Chao-ying Fu  <fu@mips.com>
2780         * config/mips/mips16.S:  Don't build for microMIPS.
2781         * config/mips/linux-unwind.h: Handle microMIPS frame.
2782         * config/mips/crtn.S (fini, init): New labels.
2784 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
2786         PR tree-optimization/53265
2787         * unwind-dw2.c (execute_cfa_program): Avoid
2788         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
2789         on targets with DWARF_FRAME_REGISTERS < 32.
2791 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
2793         PR target/49880
2794         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
2795         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
2797 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
2799         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
2800         sandybridge processors.
2802 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
2804         PR target/56529
2805         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
2806         inclusion list.
2808 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
2810         * config/microblaze/crti.S: Setup stack protection at entry
2812 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
2814         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
2815         (__rotldi3): Shift bytewise if applicable.
2817 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
2819         * config/aarch64/sync-cache.c
2820         (__aarch64_sync_cache_range): Silence warnings.
2822 2013-02-25  Catherine Moore  <clm@codesourcery.com>
2824         Revert:
2825         2013-02-24  Catherine Moore  <clm@codesourcery.com>
2826             Joseph Myers  <joseph@codesourcery.com>
2827             Chao-ying Fu  <fu@mips.com>
2829         * config/mips/mips16.S:  Don't build for microMIPS.
2830         * config/mips/linux-unwind.h: Handle microMIPS frame.
2831         * config/mips/crtn.S (fini, init): New labels.
2833 2013-02-24  Catherine Moore  <clm@codesourcery.com>
2834             Joseph Myers  <joseph@codesourcery.com>
2835             Chao-ying Fu  <fu@mips.com>
2837         * config/mips/mips16.S:  Don't build for microMIPS.
2838         * config/mips/linux-unwind.h: Handle microMIPS frame.
2839         * config/mips/crtn.S (fini, init): New labels.
2841 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
2842         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
2843         as dividend.
2845 2013-02-16  Alan Modra  <amodra@gmail.com>
2847         PR target/55431
2848         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
2849         (ppc_fallback_frame_state): Always set up save locations for fp
2850         and altivec.  Don't bother with non-callee-saved regs, r0-r13
2851         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
2853 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
2855         PR target/54222
2856         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
2857         _ssmulHA, _ssmulSA.
2858         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
2859         _ssmulha3, _usmulusa3, _ssmulsa3.
2860         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
2861         (__muldi3): XCALL __muldi3_6 instead of rcall.
2862         (__umulsidi3, __mulsidi3): New functions.
2863         (do_prologue_saves, do_epilogue_restores): New .macros.
2864         (__divdi3_moddi3): Use them.
2865         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
2866         (__usmulusa3, __ssmulsa3): New functions.
2868 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
2869             Jack Howarth  <howarth@bromo.med.uc.edu>
2870             Patrick Marlier  <patrick.marlier@gmail.com>
2872         PR libitm/55693
2873         * config/darwin-crt-tm.c: Remove dummy functions hack.
2875 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
2877         PR target/54222
2878         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
2879         * config/avr/lib2-object.mk: New iterator to build objects from it.
2880         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
2881         lib2funcs.c.
2882         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
2883         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
2884         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
2885         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
2886         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
2887         * config/avr/lib1funcs-fixed.S: Implement them.
2889 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
2891         Update copyright years.
2893 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
2895         PR target/54601
2896         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
2897         Add crtcxa to extra_parts.
2898         * config/rs6000/exit.h: New file.
2899         * config/rs6000/cxa_atexit.c: New file.
2900         * config/rs6000/cxa_finalize.c: New file.
2901         * config/rs6000/crtcxa.c: New file.
2902         * config/rs6000/t-aix-cxa: New file.
2903         * config/rs6000/libgcc-aix-cxa.ver: New file.
2905 2013-01-31  Nick Clifton  <nickc@redhat.com>
2907         * config/v850/lib1funcs.S: Add support for e3v5 architecture
2908         variant.
2910 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
2912         PR target/54222
2913         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
2914         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
2915         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
2916         _divQQ,  _divHQ,  _divHA,  _divSA,
2917         _divUQQ, _divUHQ, _divUHA, _divUSA.
2919 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
2921         * config.host(microblaze*-linux*): tmake_file: Remove
2922         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
2923         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
2924         to exclude functions from being built with libgcc.c and use
2925         the microblaze assembly.
2927 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
2929         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
2930         extra_parts.
2932 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
2934         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
2935         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
2936         __UINTPTR_TYPE__; also cast 'base' to the same type before the
2937         alignment operation.
2939 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
2941         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
2942         loop start address for cache clearing.
2944 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2946         * config/avr/lib1funcs.S: Remove trailing blanks.
2947         * config/avr/lib1funcs-fixed.S: Ditto.
2949 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2951         * config/avr/avr-lib.h: Add GPL copyright notice.
2953 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
2955         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
2956         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
2957         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
2958         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
2960 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
2962         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
2963         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2965 2013-01-04  Nick Clifton  <nickc@redhat.com>
2967         * config/v850/lib1funcs.S: Only provide CALLT support functions if
2968         the CALLT instruction is supported.
2970 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
2972         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
2973         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
2975 2012-12-13  John Tytgat  <John@bass-software.com>
2977         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
2978         is 25.
2980 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
2982         PR libgcc/55451
2983         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
2984         undefined signed overflows.
2986 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
2988         PR target/55344
2989         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
2991 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
2993         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
2994         (FP_TRAPPING_EXCEPTIONS): Define.
2995         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
2996         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
2998 2012-12-04  Richard Henderson  <rth@redhat.com>
3000         PR bootstrap/55571
3001         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
3003 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
3005         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
3006         (FP_EX_SHIFT): Define.
3007         (FP_TRAPPING_EXCEPTIONS): Define.
3009 2012-12-04  Marcus Shawcroft <marcus.shawcroft@arm.com>
3011         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
3012         (FP_ROUNDMODE): Use FP_RND_MASK.
3013         * config/aarch64/sfp-exceptions.c: New.
3014         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3015         Use __sfp_handle_exceptions.
3017 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
3019         * config.host: (arm*-*-freebsd*): Remove.
3020         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
3021         (arm*-*-elf*): Remove.
3022         (arm*-*-wince-pe*): Remove.
3023         * arm/unwind-arm.c (struct fpa_reg): Delete.
3024         (struct fpa_regs): Delete.
3025         (phase1_vrs): Remove fpa element.
3026         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
3027         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
3028         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
3029         * ieee754-sf.S (floatundisf): Remove FPA support.
3030         (floatdisf): Likewise.
3031         * ieee75f-df.S (floatundidf): Likewise.
3032         (floatdidf): Likewise.
3034 2012-11-29  Kai Tietz  <ktietz@redhat.com>
3036         PR target/55445
3037         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
3038         * unwind-generic.h: Likewise.
3039         * unwind-seh.c: Likewise.
3041 2012-11-28  Richard Henderson  <rth@redhat.com>
3043         PR libgcc/48076
3044         * emutls.c (__emutls_get_address): Avoid race condition between
3045         obj->loc.offset read and emutls_key initialization.
3047 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
3049         Adjust decimal point of signed accum mode to GCC default.
3051         PR target/54222
3052         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
3053         _divqq_helper.
3054         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
3055         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
3056         (__mulha3, __mulsa3)
3057         (__divqq3, __divha3, __divsa3): Adjust to new position of
3058         decimal point of signed accum types.
3060         (__mulusa3_round): New function.
3061         (__mulusa3): Use it.
3062         (__divqq_helper): New function.
3063         (__udivuqq3): Use it.
3065 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
3067         PR bootstrap/55370
3068         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
3070 2012-11-18  Teresa Johnson  <tejohnson@google.com>
3072         PR bootstrap/55051
3073         * libgcov.c (gcov_exit): Remove merged program summary
3074         comparison unless !GCOV_LOCKED.
3076 2012-11-15  Marcus Shawcroft <marcus.shawcroft@arm.com>
3078         * soft-fp: Updated from glibc upstream.
3080 2012-11-06  Ian Lance Taylor  <iant@google.com>
3082         * generic-morestack.c (__generic_morestack): Align the returned
3083         stack pointer to a 32 byte boundary.
3084         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
3085         increment the return address until we have decided that we don't
3086         have a varargs function.
3087         (__morestack) [32-bit]: Align stack correctly when calling C
3088         functions.
3089         (__morestack) [64-bit]: Likewise.
3091 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
3093         * configure: Regenerate.
3095 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
3097         PR target/55175
3098         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
3099         * config/i386/sfp-machine.h: Guard exception handling
3100         code with _SOFT_FLOAT.
3101         * config/i386/32/sfp-machine.h: Guard rounding handling
3102         code with _SOFT_FLOAT.
3103         * config/i386/64/sfp-machine.h: Ditto.
3105 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
3107         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
3108         as extra_parts.
3110 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
3112         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
3113         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
3114         when appropriate.  Correct structure element types.
3115         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
3116         -minline-all-stringops from compile flags.
3118 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
3120         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
3122 2012-10-25  Ralf Corsépius <ralf.corsepius@rtems.org>
3124         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
3126 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3128         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
3129         tmake_file.
3131 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
3132             Jim MacArthur  <jim.macarthur@arm.com>
3133             Marcus Shawcroft  <marcus.shawcroft@arm.com>
3134             Nigel Stephens  <nigel.stephens@arm.com>
3135             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
3136             Richard Earnshaw  <rearnsha@arm.com>
3137             Sofiane Naci  <sofiane.naci@arm.com>
3138             Stephen Thomas  <stephen.thomas@arm.com>
3139             Tejas Belagod  <tejas.belagod@arm.com>
3140             Yufeng Zhang  <yufeng.zhang@arm.com>
3142         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
3143         * config/aarch64/crti.S: New file.
3144         * config/aarch64/crtn.S: New file.
3145         * config/aarch64/linux-unwind.h: New file.
3146         * config/aarch64/sfp-machine.h: New file.
3147         * config/aarch64/sync-cache.c: New file.
3148         * config/aarch64/t-aarch64: New file.
3149         * config/aarch64/t-softfp: New file.
3151 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
3153         * config/mmix/crti.S: Mark program and data addresses using PRELD.
3154         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
3155         no-longer-needed LDBU insns.
3157 2012-10-18  Sebastian Huber <sebastian.huber@embedded-brains.de>
3159         * config.host
3160         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
3161         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
3163 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
3165         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
3167 2012-10-15  Matthias Klose  <doko@ubuntu.com>
3169         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
3171 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
3173         * configure: Regenerate.
3174         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
3176 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
3178         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3179         instructions for 64bit targets only.
3181 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
3183         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
3184         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
3185         * config/i386/32/sfp-machine.h: ... here.
3186         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
3187         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
3188         New defines.
3190 2012-10-07  Matthias Klose  <doko@ubuntu.com>
3192         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
3193         as unused.
3194         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
3196 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
3198         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
3199         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
3200         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
3201         (ElfW): Likewise.
3203 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
3205         PR other/53889
3206         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
3207         Fix parameter names.
3209 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
3211         PR target/33135
3212         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
3213         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
3214         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
3216 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
3218         PR target/50457
3219         * config/sh/linux-atomic.S: Delete.
3220         * config/sh/linux-atomic.c: New.
3221         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
3222         linux-atomic.c.  Add cflags to disable warnings.
3224 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
3226         PR other/53889
3227         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
3228         function.
3229         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
3230         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
3231         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
3232         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
3233         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
3234         Likewise.
3235         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
3236         Likewise.
3237         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
3238         Likewise.
3239         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
3240         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
3242 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
3244         * config.host (hppa-*-openbsd*): New target.
3245         * config/pa/t-openbsd: New file.
3247 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
3249         PR target/54222
3250         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
3251         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
3252         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
3253         (__divsa3): Use __negsi2 to negate r_quoL.
3254         * config/avr/lib1funcs.S (FALIAS): New macro.
3255         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
3256         (__negsi2): ...this new function.
3257         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
3258         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
3259         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
3260         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
3261         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
3262         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
3264 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
3266         PR target/54089
3267         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
3268         (lshrsi3): Reimplement as lshrsi3_r0.
3270 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
3272         PR target/46191
3273         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
3274         of libgcc.a.
3276 2012-09-07  Teresa Johnson  <tejohnson@google.com>
3278         PR gcov-profile/54487
3279         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
3280         differences.
3282 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
3284         PR target/54461
3285         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
3286         not configured --with-avrlibc=no.
3287         * config/avr/t-avrlibc: New file.
3288         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
3289         (DPBIT_FUNCS): Ditto.
3290         (TPBIT_FUNCS): Ditto.
3292 2012-09-04  Teresa Johnson  <tejohnson@google.com>
3294         * libgcov.c (struct gcov_summary_buffer): New structure.
3295         (gcov_histogram_insert): New function.
3296         (gcov_compute_histogram): Ditto.
3297         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
3298         histograms during summary merging.
3300 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
3302         * config.host (x86_64-*-openbsd*): New target.
3304 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
3306         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
3307         attribute.
3309 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
3311         PR target/54222
3312         * config/avr/t-avr (conv_X): Rename to func_X.
3314 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
3316         PR target/54222
3317         * config/avr/lib1funcs-fixed.S: New file.
3318         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
3319         after they are used.
3320         (neg2, neg4): New macros.
3321         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
3322         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
3323         (__umulhisi3): Speed up MUL variant if there is enough flash.
3324         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
3325         avr-modes.def.
3326         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
3327         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
3328         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
3329         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
3330         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
3331         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
3332         (LIB2FUNCS_EXCLUDE): Add supported functions.
3334 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
3336         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
3337         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
3338         libgcc-s-objects.
3339         * fixed-obj.mk: Only expand dependency if $o is not in
3340         LIB2FUNCS_EXCLUDE.
3342 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
3344         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
3346 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
3348         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
3349         depend on --enable-shared.
3350         ($(lib1asmfuncs-o)): Use %.vis files independent of
3351         --enable-shared.
3352         * static-object.mk ($(base)$(objext), $(base).vis)
3353         ($(base)_s$(objext)): Use same rules for visibility handling as in
3354         shared-object.mk.
3356 2012-08-21  Ian Lance Taylor  <iant@google.com>
3358         * config/i386/morestack.S (__morestack_non_split): Increase amount
3359         of space allocated for non-split code stack.
3361 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
3363         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
3364         even if inhibit_libc.
3366 2012-08-17  Julian Brown  <julian@codesourcery.com>
3368         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
3369         -fexceptions -fnon-call-exceptions if not defined.
3370         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
3371         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
3373 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
3375         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
3376         type.
3378 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
3380         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
3381         rs6000/t-slibgcc-aix.
3383 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
3385         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
3387 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
3389         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
3391 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
3393         PR driver/54171
3394         * Makefile.in (version): Replace top_srcdir with srcdir.
3396 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
3398         * Makefile.in (version): set to BASE-VER file from gcc directory.
3400 2012-08-01  Nick Clifton  <nickc@redhat.com>
3402         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
3403         Implements __clrsb for an HImode argument.
3405 2012-07-31  Nick Clifton  <nickc@redhat.com>
3407         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
3408         Implements __clrsb for an HImode argument.
3409         * config/stormy16/clrsbhi2.c: New file:
3410         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
3412 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
3414         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
3416 2012-07-19  Tristan Gingold  <gingold@adacore.com>
3417             Richard Henderson  <rth@redhat.com>
3419         * unwind-seh.c: New file.
3420         * unwind-generic.h: Include windows.h for SEH.
3421         (_Unwind_Exception): Use 6 private fields for SEH.
3422         (_GCC_specific_handler): Declare.
3423         * unwind-c.c (__gcc_personality_seh0): New function.
3424         Adjust for SEH.
3425         * config/i386/libgcc-cygming.ver: New file.
3426         * config/i386/t-seh-eh: New file.
3427         * config.host (x86_64-*-mingw*): Default to seh.
3429 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
3431         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
3433 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
3435         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
3436         __builtin_expect when checking for exceptions.
3437         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
3439 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
3441         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
3442         function declaration.
3443         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3444         (FP_RND_MASK): New.
3445         * config/ia64/sfp-exceptions.c: New.
3446         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
3448 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
3450         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
3451         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
3452         * config/i386/64/sfp-machine: ... (delete here) ...
3453         * config/i386/sfp-machine.h: ... to here.
3454         (FP_EX_MASK): Remove.
3455         (FP_RND_MASK): New.
3456         (FP_INIT_ROUNDMODE): Declare asm as volatile.
3458 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
3460         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
3461         * config/i386/libgcc-sol2.ver: Ditto.
3462         * config/i386/libgcc-glibc.ver: Ditto.
3464 2012-06-11  Roland McGrath  <mcgrathr@google.com>
3466         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
3467         If __GLIBC__ is defined, refer to __pthread_key_create instead of
3468         pthread_cancel.
3470 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
3472         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
3473         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
3474         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
3475         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
3476         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
3477         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
3478         * config/i386/64/sfp-machine: ... (delete here) ...
3479         * config/i386/sfp-machine.h: ... to here.
3480         (FP_EX_MASK): New.
3481         (__sfp_handle_exceptions): New function declaration.
3482         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3483         * config/i386/sfp-exceptions.c: New.
3484         * config/i386/t-softfp: New.
3485         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
3486         i386/t-softfp to tmake_file.
3488 2012-06-03  David S. Miller  <davem@davemloft.net>
3490         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
3491         change.
3493 2012-05-31  David S. Miller  <davem@davemloft.net>
3495         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
3496         multiply and divide instructions on 32-bit when V9.
3497         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
3499 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
3501         * config/arm/ieee754-df.S: Fix typos.
3502         * config/arm/ieee754-sf.S: Fix typos.
3503         * config/c6x/libunwind.S: Fix typos.
3504         * config/epiphany/udivsi3-float.c: Fix typos.
3505         * config/microblaze/muldi3_hard.S: Fix typos.
3506         * config/picochip/adddi3.S: Fix typos.
3507         * config/picochip/ashlsi3.S: Fix typos.
3508         * config/picochip/ashrsi3.S: Fix typos.
3509         * config/picochip/clzsi2.S: Fix typos.
3510         * config/picochip/cmpsi2.S: Fix typos.
3511         * config/picochip/divmod15.S: Fix typos.
3512         * config/picochip/divmodhi4.S: Fix typos.
3513         * config/picochip/divmodsi4.S: Fix typos.
3514         * config/picochip/longjmp.S: Fix typos.
3515         * config/picochip/lshrsi3.S: Fix typos.
3516         * config/picochip/parityhi2.S: Fix typos.
3517         * config/picochip/popcounthi2.S: Fix typos.
3518         * config/picochip/setjmp.S: Fix typos.
3519         * config/picochip/subdi3.S: Fix typos.
3520         * config/picochip/ucmpsi2.S: Fix typos.
3521         * config/picochip/udivmodhi4.S: Fix typos.
3522         * config/picochip/udivmodsi4.S: Fix typos.
3523         * config/spu/divv2df3.c: Fix typos.
3524         * config/spu/mfc_multi_tag_release.c: Fix typos.
3525         * config/spu/mfc_tag_release.c: Fix typos.
3526         * configure.ac: Fix typos.
3527         * configure: Regenerate.
3529 2012-05-25  Ian Lance Taylor  <iant@google.com>
3531         * config/i386/morestack.S (__morestack_non_split): Check whether
3532         caller is varargs and needs %bp to hold the stack frame on return.
3534 2012-05-25  Olivier Hainque  <hainque@adacore.com>
3536         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
3537         sequence in the non pic case on VxWorks.
3539 2012-05-24  Olivier Hainque  <hainque@adacore.com>
3541         * Makefile.in: Move dependency on install-unwind_h from
3542         "install-leaf" to "install".
3544 2012-05-24  Olivier Hainque  <hainque@adacore.com>
3546         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
3547         Use a separate command for stamp removals.
3549 2012-05-21  Andrew Pinski  <apinski@cavium.com>
3551         PR bootstrap/53183
3552         * configure.ac: Define the default includes to being none.
3553         * configure: Regenerate.
3555 2012-05-16  Olivier Hainque  <hainque@adacore.com>
3557         * Makefile.in (install-unwind_h): Rename into ...
3558         (install-unwind_h-forbuild): New target.
3559         (all): Use it instead of the former install-unwind_h.
3560         (install-unwind_h): Reinstate, copy to user install destination
3561         for include files, not to the internal gcc object directory one.
3562         (install-leaf): Depend on it.
3564 2012-05-15  Olivier Hainque  <hainque@adacore.com>
3566         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
3567         register numbers. LR_REGNO replaces R_LR.
3568         (ucontext_for): New, helper for ...
3569         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
3570         and 5.3 of ...
3571         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
3573 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3575         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
3576         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
3577         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
3578         i386/t-cpuinfo ...
3579         (i[34567]86-*-*, x86_64-*-*): ... here.
3581         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
3582         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
3584         * config/i386/i386-cpuinfo.c: Rename to ...
3585         * config/i386/cpuinfo.c: ... this.
3586         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
3588         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
3589         (libgcc_cv_init_priority): New test.
3590         * configure: Regenerate.
3591         * config.in: New file.
3592         * Makefile.in (clean): Rename config.h to auto-target.h.
3593         (config.h): Likewise.
3594         (stamp-h): Likewise.
3596         * config/i386/cpuinfo.c (auto-target.h): Include.
3597         (CONSTRUCTOR_PRIORITY): Define.
3598         (__cpu_indicator_init): Use it.
3600 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
3602         * longlong.h: Use a URL instead of an FSF postal address.
3603         Replace spaces with tab.
3605 2012-05-08  Teresa Johnson  <tejohnson@google.com>
3607         * libgcov.c (gcov_clear, __gcov_reset): New functions.
3608         (__gcov_dump): Ditto.
3609         (gcov_dump_complete): New global variable.
3610         (gcov_exit): Export hidden to enable use in L_gcov_dump.
3611         (__gcov_flush): Outline functionality now in gcov_clear.
3612         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
3614 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
3616         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
3617         (mips*-*-linux*): Include mips/t-tpbit when long double is
3618         16 bytes long.
3620 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
3622         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
3623         (get_available_features): New argument. Check for AVX2.
3624         (__cpu_indicator_init): Modify call to get_available_features.
3626 2012-04-25  Alan Modra  <amodra@gmail.com>
3628         * config/rs6000/crtsavevr.S: New file.
3629         * config/rs6000/crtrestvr.S: New file.
3630         * config/rs6000/t-savresfgpr: Build the above.
3631         * config/rs6000/t-netbsd: Likewise.
3633 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
3635         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
3637 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
3639         * libgcc/config/i386/i386-cpuinfo.c: New file.
3640         * libgcc/config/i386/t-cpuinfo: New file.
3641         * libgcc/config.host: Include t-cpuinfo.
3642         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
3644 2012-04-24  Chao-ying Fu  <fu@mips.com>
3646         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
3648 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
3650         struct siginfo vs. siginfo_t
3652         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
3653         siginfo_t instead of struct siginfo.
3654         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
3655         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
3656         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
3657         (ia64_handle_unwabi): Likewise.
3658         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
3659         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
3660         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
3661         (sh_fallback_frame_state): Likewise.
3662         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
3663         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
3665 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
3667         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
3668         system call number.
3670 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
3672         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
3673         if it hasn't been previously saved.
3675 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
3677         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
3678         only for glibc.
3680 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
3682         PR target/52737
3683         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
3684         instead of __AVR_HAVE_8BIT_SP__.
3686 2012-03-26  Tristan Gingold  <gingold@adacore.com>
3688         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
3689         (unw_table_entry): Use unw_word instead of unsigned long.
3690         (_Unwind_FindTableEntry): Likewise.
3691         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
3692         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
3693         (_Unwind_FindTableEntry): Likewise.
3694         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
3695         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
3696         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
3697         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
3698         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
3699         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
3700         (uw_init_context_1, uw_install_context): Likewise.
3701         (unw_word): Move to unwind-ia64.h
3703 2012-03-26  Tristan Gingold  <gingold@adacore.com>
3705         * config/vms/vms-ucrt0.c: Update copyright years.
3706         Add a sanity check.
3707         (___gcc_main_flags): Declare.
3708         (__main): Check flags to remap argv and exit code.
3709         * config.host (*-*-*vms*): Adjust extra_parts.
3710         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
3711         (crt0.o): Add.
3713 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
3715         * arm/lib1funcs.asm (ctzsi2): New function.
3716         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
3717         * arm/t-linux (LIB1ASMFUNCS): Likewise.
3718         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
3719         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
3720         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
3721         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
3723 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
3725         * config.host: Add bits to support powerpc64-*-freebsd*.
3726         * config/rs6000/freebsd-unwind.h: New file.
3727         * config/rs6000/t-freebsd64: New file.
3729 2012-03-20  Richard Guenther  <rguenther@suse.de>
3731         PR gcov-profile/52627
3732         * libgcov.c (init_mx): Fix mutex name.
3734 2012-03-16  Tristan Gingold  <gingold@adacore.com>
3736         * config/ia64/vms-unwind.h: Remove ulong (and replace
3737         it by unw_reg where used).  Define unw_reg with __int64.
3739 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3741         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3742         Solaris 8 handling.
3743         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3744         Solaris 8 handling.
3745         (sparc_is_sighandler): Likewise.
3747 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
3749         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
3750         <= saved reg size.
3752 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3754         * config/arm/crtn.S: Fix typo.
3756 2012-03-13  Richard Guenther  <rguenther@suse.de>
3758         * libgcov.c: Remove stdio.h include and NULL un-define.
3760 2012-03-13  Richard Guenther  <rguenther@suse.de>
3762         PR target/52569
3763         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
3765 2012-03-13  Richard Guenther  <rguenther@suse.de>
3767         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
3769 2012-03-13  Richard Guenther  <rguenther@suse.de>
3771         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
3772         and __gthread_mutex_init_function definitions.
3774 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3776         * config.host (mips*-*-openbsd*): Remove.
3778 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3780         * config.host: Remove alpha*-dec-osf5.1* handling.
3781         * config/alpha/gthr-posix.c: Remove.
3782         * config/alpha/libgcc-osf5.ver: Remove.
3783         * config/alpha/osf5-unwind.h: Remove.
3784         * config/alpha/t-osf-pthread: Remove.
3785         * config/alpha/t-slibgcc-osf: Remove.
3786         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
3787         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
3788         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
3789         * mkmap-flat.awk: Remove osf_export handling.
3791 2012-03-12  Richard Guenther  <rguenther@suse.de>
3793         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
3794         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3795         (__gthread_mutex_init_function): New function.
3796         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3798         PR gcov/49484
3799         * libgcov.c: Include gthr.h.
3800         (__gcov_flush_mx): New global variable.
3801         (init_mx, init_mx_once): New functions.
3802         (__gcov_flush): Protect self with a mutex.
3803         (__gcov_fork): Re-initialize mutex after forking.
3804         * unwind-dw2-fde.c: Change condition under which to use
3805         __GTHREAD_MUTEX_INIT_FUNCTION.
3807 2012-03-12  Tristan Gingold  <gingold@adacore.com>
3809         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
3810         * config/ia64/t-vms: Likewise.
3812 2012-03-11  Michael Hope  <michael.hope@linaro.org>
3814         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
3815         for Thumb-2.
3817 2012-03-07  Walter Lee  <walt@tilera.com>
3819         * config/tilepro/atomic.c: Rename "atomic_" prefix to
3820         "arch_atomic_".
3821         (atomic_xor): Rename and move definition to
3822         config/tilepro/atomic.h.
3823         (atomic_nand): Ditto.
3824         * config/tilepro/atomic.h: Rename "atomic_" prefix to
3825         "arch_atomic_".
3826         (arch_atomic_xor): Move from config/tilepro/atomic.c.
3827         (arch_atomic_nand): Ditto.
3829 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
3831         PR target/52507
3832         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
3834 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
3836         PR target/52505
3837         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
3838         from RAM.
3840 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
3842         PR target/52461
3843         PR target/52508
3844         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
3845         if RAMPZ affects reading from RAM.
3846         (__tablejump_elpm__): Ditto.
3847         (.xload): Ditto.
3848         (__movmemx_hi): Ditto.
3849         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
3850         (__do_global_dtors): Ditto.
3851         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
3852         (__movmemx_hi): Ditto.
3854 2012-03-05  Richard Henderson  <rth@redhat.com>
3856         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
3857         [ARM] (count_trailing_zeros): Use the builtin.
3859 2012-03-01  Kai Tietz  <ktietz@redhat.com>
3861         * soft-fp: Imported from glibc upstream.
3863 2012-02-28  Kai Tietz  <ktietz@redhat.com>
3865         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
3866         for mingw-targets as attribute gcc_struct.
3868 2012-02-28  Ian Lance Taylor  <iant@google.com>
3870         * generic-morestack.c (__splitstack_releasecontext): Correct call
3871         to __morestack_release_segments.
3873 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3875         PR target/52390
3876         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
3877         for __linux__ when removing signals from __morestack_fullmask.
3879 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
3881         PR target/52261
3882         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
3884 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3886         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
3887         instead of HAVE_INITFINI_ARRAY.
3888         * config/ia64/crtend.S: Likewise.
3890 2012-02-20  Kai Tietz  <ktietz@redhat.com>
3892         PR libstdc++/52300
3893         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
3895         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
3896         to w32-unwind.h header.
3898 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
3900         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
3901         (mips*-*-linux*): Remove t-slibgcc-libgcc.
3902         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
3903         * config/mips/mips16.S (__mips16_rdhwr): Delete.
3905 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
3907         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
3909 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
3911         PR libitm/52220
3912         * config/darwin-crt-tm.c: Correct typo.
3914 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
3915             Patrick Marlier  <patrick.marlier@gmail.com>
3917         PR libitm/52220
3918         * config/darwin-crt-tm.c: Generate dummy functions.
3920 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
3921             Patrick Marlier  <patrick.marlier@gmail.com>
3923         PR libitm/52042
3924         * config/darwin-crt-tm.c (getTMCloneTable): New function.
3925         (__doTMRegistrations): Call it.
3926         (__doTMdeRegistrations): Likewise.
3928 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
3929             Anatoly Sokolov <aesok@post.ru>
3930             Eric Weddington <eric.weddington@atmel.com>
3932         PR target/52261
3933         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
3934         (__epilogue_restores__): Ditto.
3936 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
3938         PR target/51921
3939         PR target/52205
3940         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
3941         Solaris 11 and slightly reformat.
3942         (sparc_is_sighandler): Likewise.
3944 2012-02-14  Walter Lee  <walt@tilera.com>
3946         * config.host: Handle tilegx and tilepro.
3947         * config/tilegx/sfp-machine.h: New file.
3948         * config/tilegx/sfp-machine32.h: New file.
3949         * config/tilegx/sfp-machine64.h: New file.
3950         * config/tilegx/t-crtstuff: New file.
3951         * config/tilegx/t-softfp: New file.
3952         * config/tilegx/t-tilegx: New file.
3953         * config/tilepro/atomic.c: New file.
3954         * config/tilepro/atomic.h: New file.
3955         * config/tilepro/linux-unwind.h: New file.
3956         * config/tilepro/sfp-machine.h: New file.
3957         * config/tilepro/softdivide.c: New file.
3958         * config/tilepro/softmpy.S: New file.
3959         * config/tilepro/t-crtstuff: New file.
3960         * config/tilepro/t-tilepro: New file.
3962 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
3964         PR libstdc++/51296
3965         PR libstdc++/51906
3966         * gthr-posix.h: Allow static initializer macros to be disabled.
3967         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
3969 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
3971         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
3972         Add t-slibgcc-libgcc to tmake_file.
3973         * config/mips/libgcc-mips16.ver: Revert previous patch.
3974         * config/mips/mips16.S (__mips16_rdhwr): Hide.
3976 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
3977             Jayant R Sonar <jayant.sonar@kpitcummins.com>
3979         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
3980         * config/cr16/crti.S: New file.
3981         * config/cr16/crtlibid.S: New file.
3982         * config/cr16/crtn.S: New file.
3983         * config/cr16/lib1funcs.S: New file.
3984         * config/cr16/t-cr16: New file.
3985         * config/cr16/t-crtlibid: New file.
3986         * config/cr16/unwind-dw2.h: New file.
3987         * config/cr16/unwind-cr16.c: New file.
3988         * config/cr16/divmodhi3.c: New file.
3990 2012-01-25  Alan Modra  <amodra@gmail.com>
3992         * config/rs6000/t-linux64: Delete.  Move..
3993         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
3994         * config/rs6000/t-linux: ..and libgcc flags to here.
3996 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
3998         * config.host (i[34567]86-*-interix3*):
3999         Change triplet to i[34567]86-*-interix[3-9]*.
4000         * configure: Regenerate.
4002 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
4003             Richard Sandiford  <rdsandiford@googlemail.com>
4005         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
4006         * config/mips/mips16.S (__mips16_rdhwr): New function.
4007         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
4009 2012-01-11  Nathan Sidwell  <nathan@acm.org>
4011         * libgcov.c (__gcov_init): Ignore objects with no functions.
4013 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
4015         PR target/49868
4016         Extend __pgmx semantics to linearize memory.
4017         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
4018         * config/avr/lib1funcs.S (__xload_1): New function.
4019         (__movmemx_qi, __movmemx_hi): New functions.
4020         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
4021         semantics.
4023 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
4025         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
4026         purported sigacthandler address isn't null before dereferencing it.
4027         (sparc_is_sighandler): Likewise.
4029 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
4031         PR ada/41929
4032         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
4033         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
4034         (sparc_is_sighandler): Likewise.
4035         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
4037 2012-01-06  Tristan Gingold  <gingold@adacore.com>
4039         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
4040         compatibility thunks...
4041         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
4042         (crtbeginS.o, crtendS.o): ... and these to ...
4043         * config/ia64/t-ia64-elf: ... this new file.
4044         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
4045         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
4047 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4049         * configure: Regenerate.
4050         * config/s390/t-crtstuff: Remove -fPIC.
4052 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
4054         PR bootstrap/51006
4055         * enable-execute-stack-mprotect.c (getpagesize): Do not define
4056         for NetBSD.
4058 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
4060         PR target/51345
4061         * config/avr/lib1funcs.S: Remove FIXME comments.
4062         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
4064 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
4066         Implement light-weight DImode support.
4067         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
4068         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
4069         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
4070         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
4072 2011-12-30  Nathan Sidwell  <nathan@acm.org>
4074         * libgcov.c (gcov_crc32): Remove global var.
4075         (free_fn_data): New function.
4076         (buffer_fn_data): Pass in filename, more robust error recovery.
4077         (crc32_unsigned): New function.
4078         (gcov_exit): More robust detection of new program. More robust
4079         error recovery.
4080         (__gcov_init): Do not update program's crc here.
4082 2011-12-21  Tristan Gingold  <gingold@adacore.com>
4084         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
4086 2011-12-21  Ian Lance Taylor  <iant@google.com>
4088         * config/i386/morestack.S: Simplify CFI opcodes throughout.
4090 2011-12-20  Ian Lance Taylor  <iant@google.com>
4092         * config/i386/morestack.S (__morestack_non_split): If there is
4093         enough stack space already, don't split.  Ask for more stack space
4094         than we required.
4096 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
4098         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
4099         `sys/sdt.h'.
4100         (_Unwind_DebugHook): New function.
4101         (uw_restore_core_regs): New define.
4102         (unwind_phase2): Use uw_restore_core_regs instead of
4103         restore_core_regs.
4104         (unwind_phase2_forced): Likewise.
4105         (__gnu_Unwind_Resume): Likewise.
4107 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
4109         * config/alpha/linux-unwind.h: Update copyright years.
4110         (MD_FROB_UPDATE_CONTEXT): New define.
4111         (alpha_frob_update_context): New function.
4113 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
4115         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
4116         tmake_file rather replacing it.
4118 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
4120         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
4121         function is not used for PPC64.
4122         (save_world): Amend comments.  Update the VRsave mask to reflect the
4123         saved regs.
4124         (rest_world): Update comments, do not  clobber r10, do not use r8.
4125         (eh_rest_world_r10): Amend comments, do not use r8.
4126         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
4127         no longer used, move restore of CR and target address to the end of
4128         the routine.
4130 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
4132         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
4133         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
4135 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
4137         PR target/49313
4138         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
4139         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
4141 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
4143         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
4145 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
4147         PR target/49313
4148         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
4149         * config/avr/lib1funcs.S (__muldi3): New function.
4151 2011-12-06  Andrew Pinski  <apinski@cavium.com>
4153         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
4154         size of func_ptr.
4155         (__frame_dummy_init_array_entry): Likewise.
4157 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
4159         Forward-port from gcc-4_6-branch r181936 2011-12-02.
4161         PR target/51345
4162         PR target/51002
4163         * config/avr/lib1funcs.S (__prologue_saves__,
4164         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
4165         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
4167 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
4169         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
4171 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4173         PR other/51272
4174         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
4175         (_ITM_deregisterTMCloneTable): Likewise.
4176         (__register_frame_info): Fix unused warning.
4177         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
4178         pthread_default_stacksize_np): Likewise.
4179         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
4181 2011-11-29  DJ Delorie  <dj@redhat.com>
4183         * config.host (rl78-*-elf): New case.
4184         * config/rl78: New directory for the Renesas RL78.
4186 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
4188         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
4189         formatting.
4191 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4193         PR other/51022
4194         * config/rs6000/t-savresfgpr: New file.
4195         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
4196         $(srcdir)/config/rs6000/eabi.S.
4197         * config/rs6000/t-ppccomm-ldbl: Remove.
4198         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
4199         tmake_file.
4200         (powerpc-*-eabispe*): Likewise.
4201         (powerpc-*-eabi*): Likewise.
4202         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4203         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
4204         to tmake_file, remove rs6000/t-ppccomm-ldbl.
4205         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
4206         tmake_file.
4207         (powerpc-*-eabisim*): Likewise.
4208         (powerpc-*-elf*): Likewise.
4209         (powerpc-*-eabialtivec*): Likewise.
4210         (powerpc-xilinx-eabi*): Likewise.
4211         (powerpc-*-rtems*): Likewise.
4212         (powerpcle-*-elf*): Likewise.
4213         (powerpcle-*-eabisim*): Likewise.
4214         (powerpcle-*-eabi*): Likewise.
4216 2011-11-27  Ian Lance Taylor  <iant@google.com>
4218         * generic-morestack.c (__splitstack_find): Check for NULL old
4219         stack value.
4220         (__splitstack_resetcontext): New function.
4221         (__splitstack_releasecontext): New function.
4222         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
4224 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
4226         * config/darwin-crt-tm.c: Correct comments, use correct licence.
4228 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
4230         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
4232 2011-11-26  Richard Henderson  <rth@redhat.com>
4234         * config/m68k/linux-atomic.c: New file.
4235         * config/m68k/t-linux: New file.
4236         * config.host (m68k-uclinux, m68k-linux): Use it.
4238 2011-11-26  Richard Henderson  <rth@redhat.com>
4240         * crtstuff.c (__TMC_LIST__): Mark used not unused.
4241         (__TMC_END__): Only declare if hidden is available; in the definition,
4242         if hidden is unavailable add a null record.
4243         (deregister_tm_clones, register_tm_clones): New.
4244         (__do_global_dtors_aux, frame_dummy): Use them.
4245         (__do_global_dtors, __do_global_ctors_1): Likewise.
4247 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
4249         * config/darwin-crt-tm.c: New file.
4250         * config.host (darwin): Build crttms.o crttme.o to provide
4251         startup and shutdown for tm clones.
4252         * config/t-darwin (crttms.o): New build rule.
4253         (crttme.o): Likewise.
4255 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
4257         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
4258         et al.
4260 2011-11-21  Richard Henderson  <rth@redhat.com>
4262         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
4263         (__TMC_LIST__, __TMC_END__): New.
4264         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
4265         (__do_global_dtors): Likewise.
4266         (frame_dummy): Call _ITM_registerTMCloneTable.
4267         (__do_global_ctors_1): Likewise.
4269 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4271         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
4272         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
4273         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
4274         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
4275         * config/i386/t-darwin64: Remove.
4276         * config/sh/t-netbsd (LIB2ADD): Remove.
4278 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
4280         PR target/49313
4281         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
4282         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
4283         * config/avr/lib1funcs.S (wmov): New assembler macro.
4284         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
4285         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
4286         (__udivmod64): New function.
4287         (__negdi2): New function.
4289 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
4291         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
4292         *-*-freebsd*aout*): Remove.
4294 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
4296         * static-object.mk (c_flags-$o): Save c_flags.
4297         ($(base)$(objext)): Use it.
4299 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
4301         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
4303 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
4305         PR target/49868
4306         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
4307         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
4308         New functions.
4310 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
4312         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
4313         functions.
4314         (aeabi_uidivmod): Likewise.
4315         (umodsi3): Likewise.
4316         (divsi3): Likewise.
4317         (aeabi_idivmod): Likewise.
4318         (modsi3): Likewise.
4320 2011-11-16  Tristan Gingold  <gingold@adacore.com>
4322         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
4324 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
4326         PR target/49868
4327         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
4328         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
4330 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4332         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
4333         tmake_file list.
4334         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
4335         * config/pa/t-stublib64: Delete.
4337 2011-11-12  Richard Henderson  <rth@redhat.com>
4339         * config/rs6000/linux-unwind.h (frob_update_context): Properly
4340         cast the pointer argument to _Unwind_SetGRPtr.
4342 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4344         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
4346 2011-11-09  Ian Lance Taylor  <iant@google.com>
4348         * generic-morestack.c: Include <string.h>.
4349         (uintptr_type): Define.
4350         (struct initial_sp): Add dont_block_signals field.  Reduce size of
4351         extra array by 1.
4352         (allocate_segment): Set prev field to NULL.  Don't set
4353         __morestack_current_segment or __morestack_segments.
4354         (__generic_morestack): Update current->prev and *pp after calling
4355         allocate_segment.
4356         (__morestack_block_signals): Don't do anything if
4357         dont_block_signals is set.
4358         (__morestack_unblock_signals): Likewise.
4359         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
4360         uintptr_type.
4361         (__splitstack_block_signals): New function.
4362         (enum __splitstack_content_offsets): Define.
4363         (__splitstack_getcontext, __splitstack_setcontext): New functions.
4364         (__splitstack_makecontext): New function.
4365         (__splitstack_block_signals_context): New function.
4366         (__splitstack_find_context): New function.
4367         * config/i386/morestack.S (__morestack_get_guard): New function.
4368         (__morestack_set_guard, __morestack_make_guard): New functions.
4369         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
4371 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4373         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
4374         (i[34567]86-*-mingw*): ... here.
4375         (x86_64-*-mingw*): ... here.
4377 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4379         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
4381 2011-11-07  Nathan Sidwell  <nathan@acm.org>
4383         * libgcov.c (struct gcov_fn_buffer): New struct.
4384         (buffer_fn_data): New helper.
4385         (gcov_exit): Rework for new gcov data structures.
4387 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
4389         PR target/49313
4390         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
4392 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4394         * config.host (tmake_file): Correct comment.
4395         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
4396         t-libgcc-pic.
4397         (bfin*-uclinux*): Likewise.
4398         (bfin*-linux-uclibc*): Likewise.
4399         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
4401         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
4402         assigning.
4403         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4404         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
4405         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4406         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
4407         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4408         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
4409         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
4410         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4411         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
4412         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
4413         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
4414         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
4415         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
4417         * config/bfin/t-elf: Remove.
4418         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
4420 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4422         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
4423         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
4424         (lm32-*-elf*, lm32-*-rtems*): Split into ...
4425         (lm32-*-elf*): ... this.
4426         (lm32-*-rtems*): ... and this.
4427         Add to tmake_file.
4428         (m32r-*-rtems*): Add to tmake_file.
4429         (moxie-*-rtems*): Likewise.
4430         (sparc-*-rtems*): Likewise.
4431         Remove t-rtems from tmake_file.
4432         (sparc64-*-rtems*): Likewise.
4433         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
4434         instead.
4436 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4438         PR bootstrap/50982
4439         * config/gthr-posix.h: Move ...
4440         * gthr-posix.h: ... here.
4441         * config/gthr-lynx.h: Reflect this.
4442         * config/gthr-vxworks.h: Likewise.
4443         * config/rs6000/gthr-aix.h: Likewise.
4444         * configure.ac (target_thread_file): Likewise.
4445         * configure: Regenerate.
4447 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4449         * config.host (arm*-*-rtemseabi*): New target.
4451 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4453         PR other/50991
4454         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
4455         extra-parts.
4457 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
4459         * config.host (epiphany-*-elf*): New configuration.
4460         * config/epiphany: New Directory.
4462 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
4464         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
4465         * config/avr/t-rtems: New.
4466         Filter out _exit from LIB1ASMFUNCS.
4468 2011-11-04  David S. Miller  <davem@davemloft.net>
4470         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
4471         * configure: Rebuild.
4473 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4475         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
4476         variable.
4478 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
4480         PR target/50931
4481         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
4482         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
4484 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
4486         PR target/50989
4487         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
4489 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4491         * config/c6x/t-elf (LIB2ADDEH): Set.
4492         * config/c6x/t-c6x-elf: Remove.
4494 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4496         * config/i386/sol2-ci.S: Rename to ...
4497         * config/i386/crti.S: ... this.
4498         * config/i386/sol2-cn.S: Rename to ...
4499         * config/i386/crtn.S: ... this.
4500         * config/sparc/sol2-ci.S: Rename to ...
4501         * config/sparc/crti.S: ... this.
4502         * config/sparc/sol2-cn.S: Rename to ...
4503         * config/sparc/crtn.S: ... this.
4504         * config/t-sol2 (CUSTOM_CRTIN): Remove.
4505         (crti.o, crtn.o): Remove.
4507 2011-11-04  Tristan Gingold  <gingold@adacore.com>
4509         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
4511 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
4513         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
4515 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
4517         * config.host (crisv32-*-none, cris-*-none): Remove.
4518         (crisv32-*-elf): Append to tmake_file, don't just set it.
4519         (cris-*-elf): Add missing t-fdpbit to tmake_file.
4521 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4523         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
4524         (ecrtn$(objext)): Likewise.
4525         (ncrti$(objext)): Likewise.
4526         (ncrtn$(objext)): Likewise.
4528 2011-11-03  Andreas Schwab  <schwab@redhat.com>
4530         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
4532 2011-11-02  David S. Miller  <davem@davemloft.net>
4534         * configure.ac: Set host_address on sparc too.
4535         * configure: Regenerate.
4536         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
4537         based upon host_address.
4538         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
4540 2011-11-02  Jason Merrill  <jason@redhat.com>
4542         * config/rs6000/t-ppccomm: Add missing \.
4544 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4546         * gthr-single.h, gthr.h: New files.
4547         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
4548         config/gthr-vxworks.h, config/i386/gthr-win32.h,
4549         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
4550         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
4551         * config/i386/gthr-win32.c: Include "gthr-win32.h".
4552         * configure.ac (thread_header): New variable.
4553         Set it depending on target_thread_file.
4554         (gthr-default.h): Link from $thread_header.
4555         * configure: Regenerate.
4556         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
4558 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4560         * configure.ac (tm_file_): New variable.
4561         Determine from tm_file.
4562         (tm_file, tm_defines): Substitute.
4563         * configure: Regenerate.
4564         * mkheader.sh: New file.
4565         * Makefile.in (clean): Remove libgcc_tm.h.
4566         ($(objects)): Depend on libgcc_tm.h.
4567         (libgcc_tm_defines, libgcc_tm_file): New variables.
4568         (libgcc_tm.h, libgcc_tm.stamp): New targets.
4569         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
4570         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
4571         ($(extra-parts)): Depend on libgcc_tm.h.
4572         * config.host (tm_defines, tm_file): New variable.
4573         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
4574         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
4575         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
4576         (avr-*-rtems*): Likewise.
4577         (avr-*-*): Likewise.
4578         (frv-*-elf): Likewise.
4579         (frv-*-*linux*): Likewise.
4580         (h8300-*-rtems*): Likewise.
4581         (h8300-*-elf*): Likewise.
4582         (i[34567]86-*-darwin*): Likewise.
4583         (x86_64-*-darwin*): Likewise.
4584         (rx-*-elf): Likewise.
4585         (tic6x-*-uclinux): Likewise.
4586         (tic6x-*-elf): Likewise.
4587         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
4588         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
4589         * config/i386/cygming-crtbegin.c: Likewise.
4590         * config/i386/cygming-crtend.c: Likewise.
4591         * config/ia64/fde-vms.c: Likewise.
4592         * config/ia64/unwind-ia64.c: Likewise.
4593         * config/libbid/bid_gcc_intrinsics.h: Likewise.
4594         * config/rs6000/darwin-fallback.c: Likewise.
4595         * config/stormy16/lib2funcs.c: Likewise.
4596         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
4597         * crtstuff.c: Likewise.
4598         * dfp-bit.h: Likewise.
4599         * emutls.c: Likewise.
4600         * fixed-bit.c: Likewise.
4601         * fp-bit.c: Likewise.
4602         * generic-morestack-thread.c: Likewise.
4603         * generic-morestack.c: Likewise.
4604         * libgcc2.c: Likewise.
4605         * libgcov.c: Likewise.
4606         * unwind-dw2-fde-dip.c: Likewise.
4607         * unwind-dw2-fde.c: Likewise.
4608         * unwind-dw2.c: Likewise.
4609         * unwind-sjlj.c: Likewise.
4611 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4613         * configure.ac: Include ../config/picflag.m4.
4614         (GCC_PICFLAG): Call it.
4615         Substitute.
4616         * configure: Regenerate.
4617         * Makefile.in (gcc_srcdir): Remove.
4618         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
4619         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
4620         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
4621         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
4622         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
4623         Use $<.
4624         Remove comment.
4625         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
4626         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
4627         to refer to libgcc2.c.
4628         Use $<.
4629         * config/darwin-64.c: New file.
4630         * config/darwin-crt3.c: Remove comment.
4631         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
4632         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
4633         config/udivmodsi4.c: New files.
4634         * config/memcmp.c, config/memcpy.c, config/memmove.c,
4635         config/memset.c: New files.
4636         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
4637         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
4638         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
4639         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
4640         * config/t-openbsd-thread: New file.
4641         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
4642         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
4643         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
4644         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
4645         qrnnd.S.
4646         Adapt filename.
4647         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
4648         to refer to gthr-posix.c.
4649         * config/alpha/t-vms (LIB2ADD): Set.
4650         * config/alpha/vms-gcc_shell_handler.c: New file.
4651         * config/arm/bpabi.c, config/arm/fp16.c,
4652         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
4653         config/arm/unaligned-funcs.c: New files.
4654         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
4655         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4656         * config/arm/t-linux: Likewise.
4657         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
4658         * config/arm/t-netbsd: New file.
4659         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
4660         * config/arm/t-symbian (LIB2ADD_ST): Set.
4661         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
4662         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4663         * config/bfin/t-elf: New file.
4664         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
4665         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
4666         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
4667         config/c6x/ltf.c: New files.
4668         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
4669         (HOST_LIBGCC2_CFLAGS): Set.
4670         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
4671         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4672         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
4673         New files.
4674         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
4675         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
4676         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
4677         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
4678         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
4679         files.
4680         * config/frv/t-frv (LIB2ADD): Set.
4681         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4682         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
4683         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
4684         config/h8300/popcounthi2.c: New files.
4685         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4686         * config/i386/gthr-win32.c: New file.
4687         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
4688         * config/i386/t-cygwin: Likewise.
4689         * config/i386/t-darwin, config/i386/t-darwin64,
4690         config/i386/t-gthr-win32, config/i386/t-interix: New files.
4691         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
4692         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4693         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4694         * config/ia64/quadlib.c: New file.
4695         * config/ia64/t-hpux (LIB2ADD): Set.
4696         * config/ia64/t-ia64: Add comment.
4697         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
4698         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4699         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
4700         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
4701         * config/m32c/t-m32c (LIB2ADD): Set.
4702         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4703         * config/m32r/t-m32r: Likewise.
4704         * config/m68k/fpgnulib.c: New file.
4705         * config/m68k/t-floatlib (LIB2ADD): Set.
4706         (xfgnulib.c): New target.
4707         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
4708         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
4709         * config/mep/t-mep (LIB2ADD): Set.
4710         * config/microblaze/divsi3.asm: Rename to divsi3.S.
4711         * config/microblaze/moddi3.asm: Rename to moddi3.S.
4712         * config/microblaze/modsi3.asm: Rename to modsi3.S.
4713         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
4714         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
4715         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
4716         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
4717         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
4718         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
4719         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
4720         New files.
4721         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
4722         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
4723         * config/pa/fptr.c, config/pa/lib2funcs.S,
4724         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
4725         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4726         (LIB2ADD, LIB2ADD_ST): Set.
4727         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
4728         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
4729         Set.
4730         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
4731         * config/pdp11/t-pdp11: New file.
4732         * config/picochip/libgccExtras/adddi3.S,
4733         config/picochip/libgccExtras/ashlsi3.S,
4734         config/picochip/libgccExtras/ashrsi3.S,
4735         config/picochip/libgccExtras/clzsi2.S,
4736         config/picochip/libgccExtras/cmpsi2.S,
4737         config/picochip/libgccExtras/divmod15.S,
4738         config/picochip/libgccExtras/divmodhi4.S,
4739         config/picochip/libgccExtras/divmodsi4.S,
4740         config/picochip/libgccExtras/lshrsi3.S,
4741         config/picochip/libgccExtras/parityhi2.S,
4742         config/picochip/libgccExtras/popcounthi2.S,
4743         config/picochip/libgccExtras/subdi3.S,
4744         config/picochip/libgccExtras/ucmpsi2.S,
4745         config/picochip/libgccExtras/udivmodhi4.S,
4746         config/picochip/libgccExtras/udivmodsi4.S: New files.
4747         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
4748         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
4749         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
4750         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
4751         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
4752         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
4753         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
4754         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
4755         files.
4756         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
4757         (HOST_LIBGCC2_CFLAGS): Set.
4758         * config/rs6000/t-darwin64: New file.
4759         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
4760         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
4761         * config/rs6000/t-ppccomm (LIB2ADD): Add
4762         $(srcdir)/config/rs6000/tramp.S.
4763         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
4764         Add  $(srcdir)/config/rs6000/eabi.S.
4765         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
4766         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
4767         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
4768         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
4769         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
4770         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
4771         * config/rs6000/tramp.S: New file.
4772         * config/s390/t-tpf: Remove.
4773         * config/sh/linux-atomic.S: New file.
4774         * config/sh/t-linux (LIB2ADD): Set.
4775         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
4776         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4777         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
4778         to unwind-dw2.c.
4779         (HOST_LIBGCC2_CFLAGS): Set.
4780         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4781         * config/spu/divmodti4.c, config/spu/divv2df3.c,
4782         config/spu/float_disf.c, config/spu/float_unsdidf.c,
4783         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
4784         config/spu/mfc_multi_tag_release.c,
4785         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
4786         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
4787         config/spu/multi3.c: New files.
4788         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
4789         (HOST_LIBGCC2_CFLAGS): Set.
4790         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
4791         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
4792         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
4793         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
4794         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
4795         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
4796         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
4797         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
4798         config/stormy16/umodsi3.c: New files.
4799         * config/xtensa/lib2funcs.S: New file.
4800         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4801         * config/xtensa/t-xtensa (LIB2ADD): Set.
4802         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
4803         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
4804         Add t-freebsd-thread to tmake_file for posix threads.
4805         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
4806         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
4807         (*-*-lynxos*): Likewise.
4808         (*-*-netbsd*): Likewise.
4809         (*-*-openbsd*): Likewise.
4810         Add t-openbsd-thread to tmake_file for posix threads.
4811         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
4812         (*-*-vxworks*): Set tmake_file.
4813         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4814         (alpha*-*-freebsd*): Likewise.
4815         (alpha*-*-netbsd*): Likewise.
4816         (alpha*-*-openbsd*): Likewise.
4817         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
4818         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4819         (alpha*-dec-*vms*): Likewise.
4820         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
4821         (bfin*-elf*): Add bfin/t-elf to tmake_file.
4822         (bfin*-uclinux*): Likewise.
4823         (bfin*-linux-uclibc*): Likewise.
4824         (crisv32-*-elf): Add cris/t-cris to tmake_file.
4825         (crisv32-*-none): Likewise.
4826         (cris-*-elf): Likewise.
4827         (cris-*-none): Likewise.
4828         (cris-*-linux*, crisv32-*-linux*): Likewise.
4829         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
4830         tmake_file.
4831         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
4832         tmake_file.
4833         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
4834         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
4835         (x86_64-*-elf*): Likewise.
4836         (i[34567]86-*-nto-qnx*): Likewise.
4837         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
4838         win32 threads.
4839         (x86_64-*-mingw*): Likewise.
4840         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
4841         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
4842         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4843         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4844         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
4845         tmake_file.
4846         (mipsisa64sr71k-*-elf*): Likewise.
4847         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4848         (mips-*-elf*, mipsel-*-elf*): Likewise.
4849         (mips64-*-elf*, mips64el-*-elf*): Likewise.
4850         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
4851         (mips*-*-rtems*): Likewise.
4852         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
4853         to tmake_file.
4854         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
4855         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
4856         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
4857         (spu-*-elf*): Likewise.
4858         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
4860 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4862         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
4863         $(srcdir) to refer to $(LIB1ASMSRC).
4864         Use $<.
4865         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
4866         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
4867         config/arm/lib1funcs.S: New files.
4868         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
4869         * config/arm/t-arm: New file.
4870         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
4871         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
4872         config/arm/t-strongarm-elf: New files.
4873         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
4874         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
4875         * config/avr/lib1funcs.S: New file.
4876         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4877         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
4878         * config/c6x/lib1funcs.S: New file.
4879         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4880         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
4881         * config/frv/lib1funcs.S: New file.
4882         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4883         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
4884         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
4885         * config/ia64/__divxf3.asm: Rename to ...
4886         * config/ia64/__divxf3.S: ... this.
4887         Adapt lib1funcs.asm filename.
4888         * config/ia64/_fixtfdi.asm: Rename to ...
4889         * config/ia64/_fixtfdi.S: ... this.
4890         Adapt lib1funcs.asm filename.
4891         * config/ia64/_fixunstfdi.asm: Rename to ...
4892         * config/ia64/_fixunstfdi.S: ... this.
4893         Adapt lib1funcs.asm filename.
4894         * config/ia64/_floatditf.asm: Rename to ...
4895         * config/ia64/_floatditf.S: ... this.
4896         Adapt lib1funcs.asm filename.
4897         * config/ia64/lib1funcs.S: New file.
4898         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
4899         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4900         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
4901         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
4902         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
4903         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
4904         * config/mep/lib1funcs.S: New file.
4905         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4906         * config/mips/mips16.S: New file.
4907         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4908         * config/pa/milli64.S: New file.
4909         * config/pa/t-linux, config/pa/t-linux64: New files.
4910         * config/picochip/lib1funcs.S: New file.
4911         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4912         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
4913         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
4914         * config/sh/t-netbsd: New file.
4915         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
4916         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
4917         * config/sh/t-sh64: New file.
4918         * config/sparc/lb1spc.S: New file.
4919         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
4920         filename.
4921         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
4922         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
4923         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
4924         config/xtensa/lib1funcs.S: New files.
4925         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4926         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
4927         tmake_file.
4928         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
4929         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
4930         (arm*-*-linux*): Likewise.
4931         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
4932         arm*-*-linux-*eabi, add arm/t-linux otherwise.
4933         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
4934         (arm*-*-ecos-elf): Likewise.
4935         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4936         (arm*-*-rtems*): Likewise.
4937         (arm*-*-elf): Likewise.
4938         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
4939         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
4940         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
4941         (bfin*-uclinux*): Likewise.
4942         (bfin*-linux-uclibc*): Likewise.
4943         (bfin*-rtems*): Likewise.
4944         (bfin*-*): Likewise.
4945         (fido-*-elf): Merge into m68k-*-elf*.
4946         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
4947         (frv-*-*linux*): Add frv/t-frv to tmake_file.
4948         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
4949         (h8300-*-elf*): Likewise.
4950         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
4951         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
4952         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
4953         (i[34567]86-*-mingw*): Likewise.
4954         (x86_64-*-mingw*): Likewise.
4955         (i[34567]86-*-interix3*): Likewise.
4956         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
4957         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
4958         (m68k-*-elf*): Also handle fido-*-elf.
4959         Add m68k/t-floatlib to tmake_file.
4960         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
4961         (m68k-*-linux*): Likewise.
4962         (m68k-*-rtems*): Likewise.
4963         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
4964         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
4965         sh64*-*-*.
4966         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
4967         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
4968         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
4969         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
4970         sh/t-netbsd to tmake_file.
4971         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
4972         (sh-*-rtems*): Add sh/t-sh to tmake_file.
4973         (sh-wrs-vxworks): Likewise.
4974         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
4975         *-leon[3-9]*.
4976         (v850*-*-*): Add v850/t-v850 to tmake_file.
4977         (vax-*-linux*): Add vax/t-linux to tmake_file.
4978         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
4980 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4982         * crtstuff.c: New file.
4983         * Makefile.in (CRTSTUFF_CFLAGS): Define.
4984         (CRTSTUFF_T_CFLAGS): Define.
4985         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
4986         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
4987         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
4988         crtstuff.c.
4989         Use $<.
4990         (crtbeginT.o): Use $(objext).
4991         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
4992         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
4993         (gcc-extra-parts): Remove.
4994         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
4995         Set extra_parts.
4996         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4997         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
4998         Add t-crtstuff-pic to tmake_file.
4999         (*-*-lynxos*): New case.
5000         Set tmake_file, extra_parts.
5001         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
5002         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
5003         *-*-netbsdelf[2-9]*.
5004         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
5005         (*-*-rtems*): Set extra_parts.
5006         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
5007         (*-*-uclinux*): New case.
5008         Set extra_parts.
5009         (*-*-vms*): New case.
5010         Set tmake_file, extra_parts.
5011         (*-*-elf): Set extra_parts.
5012         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
5013         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
5014         vms/t-vms64.
5015         Set extra_parts.
5016         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
5017         Set extra_parts.
5018         (arm*-*-freebsd*): Add t-crtin to tmake_file.
5019         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
5020         (arm-wrs-vxworks): Append to tmake_file.
5021         Set extra_parts.
5022         (arm*-*-uclinux*): Set extra_parts.
5023         (arm*-*-ecos-elf): Likewise.
5024         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
5025         arm*-*-eabi*.
5026         (arm*-*-rtems*): Set extra_parts.
5027         (arm*-*-elf): Likewise.
5028         (avr-*-rtems*): Clear extra_parts.
5029         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
5030         Set extra_parts.
5031         (bfin*-uclinux*): Likewise.
5032         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
5033         (bfin*-rtems*): Append to tmake_file.
5034         Set extra_parts.
5035         (bfin*-*): Likewise.
5036         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
5037         (crisv32-*-elf): ... this.
5038         (crisv32-*-none): ... this.
5039         (cris-*-elf, cris-*-none): New cases.
5040         Add cris/t-elfmulti to tmake_file.
5041         (fr30-*-elf): Append to tmake_file.
5042         Set extra_parts.
5043         (frv-*-elf): Append to tmake_file, add frv/t-frv.
5044         Set extra_parts.
5045         (h8300-*-rtems*): Append to tmake_file.
5046         Set extra_parts.
5047         (h8300-*-elf*): Likewise.
5048         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
5049         Set extra_parts.
5050         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
5051         Set extra_parts.
5052         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
5053         (x86_64-*-elf*): Likewise.
5054         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
5055         (x86_64-*-freebsd*): Likewise.
5056         (x86_64-*-netbsd*): Likewise.
5057         (i[34567]86-*-linux*): Likewise.
5058         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5059         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5060         (x86_64-*-linux*): Likewise.
5061         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5062         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
5063         tmake_file.
5064         Set extra_parts.
5065         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
5066         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
5067         Append to extra_parts, remove crtbegin.o, crtend.o.
5068         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
5069         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
5070         crtend.o, crtbeginS.o, crtendS.o.
5071         (ia64*-*-linux*): Comment extra_parts.
5072         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
5073         Set extra_parts.
5074         (iq2000*-*-elf*): Clear extra_parts.
5075         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
5076         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
5077         (m32r-*-elf*, m32r-*-rtems*): Split off ...
5078         (m32r-*-rtems*): ... this.
5079         Add m32r/t-m32r to tmake_file.
5080         (m68k-*-elf*): Add t-crtin to tmake_file.
5081         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
5082         (mcore-*-elf): Likewise.
5083         (microblaze*-*-*): Set extra_parts.
5084         (mips*-sde-elf*): New case.
5085         Set tmake_file, extra_parts.
5086         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5087         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5088         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
5089         tmake_file.
5090         Set extra_parts.
5091         (mipsisa64sr71k-*-elf*): Likewise.
5092         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5093         (mips-*-elf*, mipsel-*-elf*): Likewise.
5094         (mips64-*-elf*, mips64el-*-elf*): Likewise.
5095         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
5096         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
5097         (mips*-*-rtems*): Likewise.
5098         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
5099         (moxie-*-*): Split into ...
5100         (moxie-*-elf, moxie-*-uclinux*): ... this.
5101         Add to extra_parts, remove crtbegin.o, crtend.o.
5102         (moxie-*-rtems*): New case.
5103         Set tmake_file.
5104         Clear extra_parts.
5105         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
5106         Set extra_parts.
5107         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5108         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
5109         tmake_file.
5110         Set extra_parts.
5111         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
5112         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
5113         Set extra_parts.
5114         (powerpc-*-eabisim*): Likewise.
5115         (powerpc-*-elf*): Likewise.
5116         (powerpc-*-eabialtivec*): Likewise.
5117         (powerpc-xilinx-eabi*): Likewise.
5118         (powerpc-*-eabi*): Likewise.
5119         (powerpc-*-rtems*): Likewise.
5120         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
5121         tmake_file.
5122         Set extra_parts.
5123         (powerpc-*-lynxos*): Add to tmake_file.
5124         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
5125         rs6000/t-crtstuff, t-crtstuff-pic.
5126         Set extra_parts.
5127         (powerpcle-*-eabisim*): Likewise.
5128         (powerpcle-*-eabi*): Likewise.
5129         (rx-*-elf): Remove extra_parts.
5130         (s390x-ibm-tpf*): Set extra_parts.
5131         (score-*-elf): Set extra_parts.
5132         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5133         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5134         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5135         (sh64l*-*-netbsd*): Split into ...
5136         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
5137         Add t-crtstuff-pic to tmake_file.
5138         Set extra_parts.
5139         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
5140         Set extra_parts.
5141         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
5142         (sparc-*-elf*): Remove t-crtin from tmake_file.
5143         Add to extra_parts, remove crtbegin.o, crtend.o.
5144         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
5145         (sparc64-*-linux*): Likewise.
5146         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
5147         Add to extra_parts, remove crtbegin.o, crtend.o.
5148         (sparc64-*-elf*): Remove t-crtin from tmake_file.
5149         Add to extra_parts, remove crtbegin.o, crtend.o.
5150         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
5151         Add to extra_parts, remove crtbegin.o, crtend.o.
5152         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
5153         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
5154         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
5155         Set extra_parts.
5156         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
5157         Set extra_parts.
5158         (tic6x-*-*): Change to ...
5159         (tic6x-*-elf): ... this.
5160         Set extra_parts.
5161         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
5162         Set extra_parts.
5163         (am33_2.0-*-linux*): Add comment.
5164         (mep*-*-*): Add mep/t-mep to tmake_file.
5165         Set extra_parts.
5166         * config/alpha/t-vms: New file.
5167         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
5168         * config/arm/crti.S, config/arm/crtn.S: New files.
5169         * config/bfin/crti.S, config/bfin/crtn.S: New files.
5170         * config/bfin/crtlibid.S: New file.
5171         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
5172         * config/c6x/crti.S, config/c6x/crtn.S: New files.
5173         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
5174         (crti.o, crtin.o): New rules.
5175         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
5176         * config/c6x/t-uclinux: New file.
5177         * config/cris/t-elfmulti: New file.
5178         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
5179         * config/fr30/crti.S, config/fr30/crtn.S: New files.
5180         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
5181         * config/frv/t-frv: New file.
5182         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
5183         * config/h8300/crti.S, config/h8300/crtn.S: New files.
5184         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
5185         New files.
5186         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
5187         refer to cygming-crtbegin.c, cygming-crtend.c.
5188         Use $<.
5189         * config/i386/t-nto: New file.
5190         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
5191         * config/ia64/crti.S, config/ia64/crtn.S: New files.
5192         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
5193         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
5194         Use .S extension.
5195         Use $<.
5196         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
5197         (crtinitS.o): New rule.
5198         * config/ia64/vms-crtinit.S: New file.
5199         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
5200         * config/m32r/initfini.c: New file.
5201         * config/m32r/t-linux, config/m32r/t-m32r: New files.
5202         * config/m68k/crti.S, config/m68k/crtn.S: New files.
5203         * config/mcore/crti.S, config/mcore/crtn.S: New files.
5204         * config/mep/t-mep: New file.
5205         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
5206         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
5207         * config/mips/crti.S, config/mips/crtn.S: New files.
5208         * config/mips/t-crtstuff: New file.
5209         * config/mmix/crti.S, config/mmix/crtn.S: New files.
5210         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
5211         (CUSTOM_CRTIN): Set.
5212         ($(T)crti.o, $(T)crtn.o): Remove $(T),
5213         dependencies.
5214         Use $(srcdir) to refer to crti.S, crtn.S.
5215         Use .S extension, $<.
5216         * config/moxie/crti.asm: Rename to ...
5217         * config/moxie/crti.S: ... this.
5218         * config/moxie/crtn.asm: Rename to ...
5219         * config/moxie/crtn.S: ... this.
5220         * config/moxie/t-moxie: Remove.
5221         * config/pa/stublib.c: New file.
5222         * config/pa/t-stublib, config/pa/t-stublib64: New files.
5223         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
5224         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
5225         * config/rs6000/t-crtstuff: New file.
5226         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
5227         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
5228         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
5229         Make output file explicit.
5230         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
5231         Make output file explicit.
5232         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
5233         Make output file explicit.
5234         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
5235         Make output file explicit.
5236         * config/score/crti.S, config/score/crtn.S: New files.
5237         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
5238         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
5239         files.
5240         * config/sh/t-sh, config/sh/t-superh: New files.
5241         * config/sparc/t-linux64: New file.
5242         * config/spu/cache.S, config/spu/cachemgr.c: New files.
5243         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
5244         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
5245         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
5246         * config/t-crtin: Remove.
5247         * config/t-crtstuff-pic: New file.
5248         * config/t-sol2 (CUSTOM_CRTIN): Set.
5249         (crti.o, crtn.o): New rules.
5250         * config/vms/t-vms: New file.
5251         * config/vms/vms-ucrt0.c: New file.
5252         * config/xtensa/t-elf: New file.
5254 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5256         * Makefile.in (SHLIB_NM_FLAGS): Set.
5257         * mkmap-flat.awk, mkmap-symver.awk: New files.
5258         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
5259         exceptions.
5260         * configure: Regenerate.
5261         * config/libgcc-glibc.ver: New file.
5262         * config/libgcc-libsystem.ver: New file.
5263         * config/t-libunwind (SHLIB_LC): Set.
5264         * config/t-linux: New file.
5265         * config/t-slibgcc (INSTALL_SHLIB): New.
5266         (SHLIB_INSTALL): Use it.
5267         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
5268         to mkmap-symver.awk.
5269         (SHLIB_MAPFILES): Don't append, adapt pathname.
5270         (SHLIB_VERPFX): Set.
5271         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
5272         to mkmap-symver.awk.
5273         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
5274         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
5275         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
5276         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
5277         to mkmap-flat.awk.
5278         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
5279         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
5280         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
5281         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
5282         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
5283         * config/i386/libgcc-darwin.10.4.ver,
5284         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
5285         New files.
5286         * config/i386/t-darwin: Remove.
5287         * config/i386/t-darwin64: Likewise.
5288         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
5289         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
5290         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
5291         * config/i386/t-linux: New file.
5292         * config/i386/t-mingw32: New file.
5293         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
5294         * config/ia64/t-glibc: Rename to ...
5295         * config/ia64/t-linux: ... this.
5296         (SHLIB_MAPFILES): Set.
5297         * config/ia64/t-glibc-libunwind: Rename to ...
5298         * config/ia64/t-linux-libunwind: ... this.
5299         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
5300         * config/ia64/t-slibgcc-hpux: New file.
5301         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
5302         * config/m68k/t-slibgcc-elf-ver: New file.
5303         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
5304         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
5305         to mkmap-flat.awk.
5306         * config/pa/t-slibgcc-hpux: New file.
5307         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
5308         files.
5309         * config/rs6000/libgcc-darwin.10.4.ver,
5310         config/rs6000/libgcc-darwin.10.5.ver: New files.
5311         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
5312         config/rs6000/libgcc-glibc.ver.
5313         * config/rs6000/libgcc-ppc64.ver: Rename to
5314         config/rs6000/libgcc-ibm-ldouble.ver.
5315         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
5316         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
5317         * config/rs6000/t-ldbl128: Rename to ...
5318         * config/rs6000/t-linux: ... this.
5319         (SHLIB_MAPFILES): Adapt filename.
5320         * config/rs6000/t-slibgcc-aix: New file.
5321         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
5322         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
5323         libgcc-excl.ver, libgcc-glibc.ver.
5324         (SHLIB_LINK, SHLIB_INSTALL): Remove.
5325         * config/sparc/libgcc-glibc.ver: New file.
5326         * config/sparc/t-linux: New file.
5327         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
5328         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
5329         t-slibgcc-elf-ver to tmake_file.
5330         Add t-slibgcc-nolc-override to tmake_file for posix threads on
5331         *-*-freebsd[34].
5332         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5333         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
5334         t-slibgcc-elf-ver, t-linux to tmake_file.
5335         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
5336         tmake_file.
5337         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
5338         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
5339         (alpha*-dec-*vms*): Likewise.
5340         (arm*-*-freebsd*): Append to tmake_file.
5341         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
5342         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
5343         arm*-*-linux-*eabi.
5344         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
5345         tmake_file for arm*-*-symbianelf*.
5346         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
5347         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
5348         cris/t-linux.
5349         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
5350         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
5351         pa/t-slibgcc-dwarf-ver to tmake_file.
5352         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
5353         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
5354         (hppa*64*-*-hpux11*): Likewise.
5355         (hppa[12]*-*-hpux11*): Likewise.
5356         (x86_64-*-darwin*): Don't override tmake_file, but only keep
5357         i386/t-crtpc, i386/t-crtfm.
5358         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
5359         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5360         to tmake_file.
5361         Add i386/t-cygwin to tmake_file.
5362         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
5363         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
5364         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5365         to tmake_file.
5366         Add i386/t-mingw32 to tmake_file.
5367         (x86_64-*-mingw*): Likewise.
5368         (ia64*-*-freebsd*): Append to tmake_file.
5369         (ia64*-*-linux*): Append to tmake_file.
5370         Replace ia64/t-glibc by ia64/t-linux.
5371         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
5372         system libunwind.
5373         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
5374         t-slibgcc-hpux to tmake_file.
5375         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
5376         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
5377         (m32rle-*-linux*): Likewise.
5378         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
5379         sjlj exceptions.
5380         (microblaze*-linux*): New case.
5381         Append to tmake_file, add t-slibgcc-nolc-override.
5382         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
5383         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5384         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
5385         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5386         rs6000/t-slibgcc-aix to tmake_file.
5387         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5388         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5389         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5390         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5391         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5392         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
5393         sh*-*-linux*.
5394         (sparc-*-linux*): Append to tmake_file for *-leon*.
5395         Add sparc/t-linux to tmake_file for non-Leon targets.
5396         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
5397         (tic6x-*-uclinux): New case.
5398         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
5399         (tic6x-*-*): Add c6x/t-elf to tmake_file.
5400         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
5401         (am33_2.0-*-linux*): Append to tmake_file.
5402         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5403         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
5404         x86_64-*-kfreebsd*-gnu.
5405         Add i386/t-linux to tmake_file.
5407 2011-10-28  Ian Lance Taylor  <iant@google.com>
5409         * config/i386/morestack.S: Correct CFI information to do proper
5410         returns throughout function.  In 32-bit mode, save %ebx so that it
5411         is restored on unwind.
5413 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
5415         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
5416         case where B3 isn't the return register.
5418         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
5419         logic for doubleword pops.
5421 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
5423         * config/rs6000/t-freebsd: Add wildcard.
5425 2011-10-21  Paul Brook  <paul@codesourcery.com>
5427         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
5429 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
5430             Eric Botcazou  <ebotcazou@adacore.com>
5432         PR target/50737
5433         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
5434         fs->signal_frame to 1.
5436 2011-10-07  Ian Lance Taylor  <iant@google.com>
5438         * generic-morestack-thread.c: #include <errno.h>.
5440 2011-10-07  Ian Lance Taylor  <iant@google.com>
5442         PR target/46093
5443         * generic-morestack.c (__generic_morestack): Make sure the segment
5444         is large enough for both the stack frame and the copied
5445         parameters.
5447 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5449         PR bootstrap/49804
5450         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
5451         extra_parts.
5453 2011-09-28  Nick Clifton  <nickc@redhat.com>
5455         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
5456         64-bit doubles are not enabled.
5457         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
5458         and floatunsisf functions.
5460 2011-09-13  Paul Brook  <paul@codesourcery.com>
5462         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
5463         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
5464         * unwind-arm-common.inc: New file.
5465         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
5466         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
5467         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
5468         * config/c6x/libunwind.S: New file.
5469         * config/c6x/pr-support.c: New file.
5470         * config/c6x/unwind-c6x.c: New file.
5471         * config/c6x/unwind-c6x.h: New file.
5472         * config/c6x/t-c6x-elf: New file.
5474 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
5476         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
5477         (ASM_DIVZERO): Ditto.
5478         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
5480 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
5482         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
5484 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
5486         PR target/50090
5487         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
5488         instead of an assembly one.
5490 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
5492         PR bootstrap/50047
5493         * Makefile.in (install-unwind_h): Create
5494         $(gcc_objdir)/include/unwind.h atomically.
5496 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5498         * Makefile.in (install-unwind_h): Remove destination file first.
5500 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5502         * sync.c: New file.
5503         * config/mips/t-mips16: New file.
5504         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
5505         (mips*-*-linux*): Likewise.
5506         (mips*-sde-elf*): Likewise.
5507         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
5508         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
5509         Add mips/t-mips16 to tmake_file.
5510         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
5511         (mips-*-elf*): Likewise.
5512         (mips64-*-elf*): Likewise.
5513         (mips64orion-*-elf*): Likewise.
5514         (mips*-*-rtems*): Likewise.
5515         (mipstx39-*-elf*): Likewise.
5516         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
5517         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
5518         LIBGCC_SYNC_CFLAGS.
5519         Use $(srcdir) to refer to sync.c.
5520         Use $<.
5521         ($(libgcc-sync-funcs-o)): Likewise.
5522         ($(libgcc-sync-size-funcs-s-o)): Likewise.
5523         ($(libgcc-sync-funcs-s-o)): Likewise.
5525 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
5527         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
5528         t-libunwind.
5530 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
5532         PR other/48007
5533         * config/i386/value-unwind.h: New.
5535 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
5537         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
5538         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
5539         Add to tmake_file rather than overriding it.
5541 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5543         * config/t-softfp: Remove.
5544         * soft-fp: Moved from ../gcc/config.
5545         * soft-fp/README: Remove t-softfp reference.
5546         * soft-fp/t-softfp: Move to config/t-softfp.
5547         (softfp_machine_header): Remove.
5548         (softfp_file_list): Remove config subdir.
5549         (soft-fp-objects): New variable.
5550         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
5551         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
5552         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
5553         * config/t-softfp-excl: New file.
5554         * config/t-softfp-sfdf: New file.
5555         * config/t-softfp-tf: New file.
5556         * config/no-sfp-machine.h: New file.
5557         * config/arm/sfp-machine.h: New file.
5558         * config/arm/t-softfp: New file.
5559         * config/c6x/sfp-machine.h: New file.
5560         * config/i386/32/t-fprules-softfp: Rename to ...
5561         * config/i386/32/t-softfp: ... this.
5562         (tifunctions, LIB2ADD): Remove.
5563         (softfp_int_modes): Override.
5564         * config/i386/64/t-softfp-compat (tf-functions): Remove config
5565         subdir.
5566         * config/i386/64/eqtf2.c: Likewise.
5567         * config/i386/64/getf2.c: Likewise.
5568         * config/i386/64/letf2.c: Likewise.
5569         * config/ia64/sft-machine.h: New file.
5570         * config/ia64/t-fprules-softfp: Rename to ...
5571         * config/ia64/t-softfp: ... this.
5572         * config/lm32/sfp-machine.h: New file.
5573         * config/moxie/t-moxie-softfp: Remove.
5574         * config/rs6000/ibm-ldouble-format: New file.
5575         * config/rs6000/ibm-ldouble.c: New file.
5576         * config/rs6000/libgcc-ppc-glibc.ver: New file
5577         * config/rs6000/libgcc-ppc64.ver: New file
5578         * config/rs6000/sfp-machine.h: New file.
5579         * config/rs6000/t-freebsd: New file.
5580         * config/rs6000/t-ibm-ldouble: New file.
5581         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
5582         libgcc-ppc-glibc.ver.
5583         * config/rs6000/t-linux64: New file.
5584         * config/rs6000/t-ppccomm (LIB2ADD): Add
5585         $(srcdir)/config/rs6000/ibm-ldouble.c.
5586         * config/rs6000/t-ppccomm-ldbl: New file.
5587         * config/score/sfp-machine.h: New file.
5588         * config.host (sfp_machine_header): Explain.
5589         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
5590         t-softfp to tmake_file.
5591         (arm*-*-uclinux*): Likewise.
5592         (arm*-*-ecos-elf): Likewise.
5593         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5594         (arm*-*-rtems*): Likewise.
5595         (arm*-*-elf): Likewise.
5596         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
5597         in tmake_file.
5598         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
5599         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
5600         (lm32-*-uclinux*): Likewise.
5601         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
5602         t-softfp-excl, t-softfp.
5603         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
5604         (powerpc64-*-darwin*): Likewise.
5605         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
5606         to tmake_file.
5607         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
5608         tmake_file.
5609         (powerpc-*-eabisim*): Likewise.
5610         (powerpc-*-elf*): Likewise.
5611         (powerpc-*-eabialtivec*): Likewise.
5612         (powerpc-xilinx-eabi*): Likewise.
5613         (powerpc-*-rtems*): Likewise.
5614         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
5615         t-softfp-excl, t-softfp to tmake_file.
5616         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
5617         rs6000/t-ppccomm-ldbl to tmake_file.
5618         (powerpcle-*-elf*): Likewise.
5619         (powerpcle-*-eabisim*): Likewise.
5620         (powerpcle-*-eabi*): Likewise.
5621         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5622         rs6000/t-ibm-ldouble to tmake_file.
5623         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5624         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5625         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
5626         (tic6x-*-*): Likewise.
5627         (i[34567]86-*-darwin*, x86_64-*-darwin*,
5628         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
5629         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
5630         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
5631         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
5632         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
5633         t-softfp to tmake_file.
5634         * configure.ac (sfp_machine_header): Provide default if unset.
5635         Substitute.
5636         Link sfp-machine.h to config/$sfp_machine_header.
5637         * configure: Regenerate.
5639 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5641         * Makefile.in (double_type_size, long_double_type_size): Set.
5642         Remove $(fpbit-in-libgcc) support.
5643         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
5644         (fpbit-src): New variable.
5645         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
5646         Compile with -DFLOAT $(FPBIT_CFLAGS).
5647         Use $<.
5648         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
5649         Compile with $(FPBIT_CFLAGS).
5650         Use $<.
5651         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
5652         Compile with -DFLOAT $(TPBIT_CFLAGS).
5653         Use $<.
5654         * configure.ac (double_type_size, long_double_type_size):
5655         Determine and substitute.
5656         * configure: Regenerate.
5657         * fp-bit.c, fp-bit.h: New files.
5658         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
5659         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
5660         * config/mips/t-mips: New file.
5661         * config/mips/t-sdemtk: New file.
5662         * config/rs6000/ppc64-fp.c: New file.
5663         * config/rs6000/t-darwin (LIB2ADD): Add
5664         $(srcdir)/config/rs6000/ppc64-fp.c.
5665         * config/rs6000/t-ppc64-fp: New file.
5666         * config/rx/rx-lib.h: New file.
5667         * config/rx/t-rx (FPBIT): Set to true.
5668         ($(gcc_objdir)/fp-bit.c): Remove.
5669         (DPBIT): Set to true only with -m64bit-doubles.
5670         ($(gcc_objdir)/dp-bit.c): Remove.
5671         * config/sparc/t-softfp: Remove.
5672         * config/spu/t-elf: New file.
5673         * config/t-fdpbit, config/t-fpbit: New files.
5674         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
5675         (mips*-*-*): Likewise.
5676         (arm-wrs-vxworks): Likewise.
5677         (arm*-*-freebsd*): Likewise.
5678         (avr-*-rtems*): Add t-fpbit to tmake_file.
5679         (avr-*-*): Likewise.
5680         (bfin*-elf*): Add t-fdpbit to tmake_file.
5681         (bfin*-uclinux*): Likewise.
5682         (bfin*-linux-uclibc*): Likewise.
5683         (bfin*-rtems*): New case.
5684         Add t-fdpbit to tmake_file.
5685         (bfin*-*): Add t-fdpbit to tmake_file.
5686         (crisv32-*-elf): Likewise.
5687         (cris-*-linux*): Likewise.
5688         (fr30-*-elf): Likewise.
5689         (frv-*-elf, frv-*-*linux*): Likewise.
5690         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
5691         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
5692         (m32r-*-elf*): Likewise.
5693         (m32rle-*-elf*): Likewise.
5694         (m32r-*-linux*): Likewise.
5695         (m32rle-*-linux*): Likewise.
5696         (mcore-*-elf): Add t-fdpbit to tmake_file.
5697         (microblaze*-*-*): Likewise.
5698         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
5699         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
5700         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
5701         Fix typo.
5702         Add mips/t-tpbit to tmake-file.
5703         (mips*-*-linux*): Fix typo.
5704         (mips*-sde-elf*): New case
5705         Add mips/t-sdemtk unless using newlib.
5706         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
5707         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
5708         (mn10300-*-*): Likewise.
5709         (pdp11-*-*): Likewise.
5710         (picochip-*-*): Add t-fpbit to tmake_file.
5711         (powerpc-*-eabisimaltivec*): Likewise.
5712         (powerpc-*-eabisim*): Likewise.
5713         (powerpc-*-elf*): Likewise.
5714         (powerpc-*-eabialtivec*): Likewise.
5715         (powerpc-xilinx-eabi*): New case.
5716         Add t-fdpbit to tmake_file.
5717         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
5718         (powerpc-*-rtems*): Likewise.
5719         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
5720         tmake_file.
5721         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
5722         tmake_file.
5723         (powerpc-*-lynxos*): Likewise.
5724         (powerpcle-*-elf*): Likewise.
5725         (powerpcle-*-eabisim*): Likewise.
5726         (powerpcle-*-eabi*): Likewise.
5727         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5728         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
5729         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5730         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5731         (rx-*-elf): Add t-fdpbit to tmake_file.
5732         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5733         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5734         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5735         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
5736         sh*-*-netbsd*.
5737         (sh-*-rtems*): Add t-fdpbit to tmake_file.
5738         (sh-wrs-vxworks): Likewise.
5739         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
5740         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
5741         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
5742         (sparc64-*-rtems*): ... new case.
5743         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
5744         (spu-*-elf*): Likewise.
5745         Add spu/t-elf to tmake_file.
5746         (v850*-*-*): Add t-fdpbit to tmake_file.
5747         (xstormy16-*-elf): Likewise.
5748         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
5749         (mep*-*-*): Likewise.
5751 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5753         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
5754         variables.
5755         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
5756         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
5757         (install-unwind_h): New target.
5758         (all): Depend on it.
5759         * config.host (unwind_header): New variable.
5760         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
5761         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5762         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
5763         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
5764         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
5765         Set unwind_header.
5766         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
5767         Set unwind_header.
5768         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
5769         arm*-*-eabi*.
5770         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
5771         Set unwind_header.
5772         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
5773         (ia64*-*-freebsd*): Likewise.
5774         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
5775         tmake_file.
5776         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
5777         $with_system_libunwind.
5778         (ia64*-*-hpux*): Set tmake_file.
5779         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
5780         (picochip-*-*): Set tmake_file.
5781         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
5782         md_unwind_header.
5783         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5784         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5785         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
5786         (xtensa*-*-elf*): Set tmake_file.
5787         (xtensa*-*-linux*): Likewise.
5788         * configure.ac: Include ../config/unwind_ipinfo.m4.
5789         Call GCC_CHECK_UNWIND_GETIPINFO.
5790         Link unwind.h to $unwind_header.
5791         * configure: Regenerate.
5792         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
5793         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
5794         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
5795         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
5796         * config/unwind-dw2-fde-darwin.c: New file.
5797         * config/arm/libunwind.S, config/arm/pr-support.c,
5798         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
5799         config/arm/unwind-arm.h,: New files.
5800         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
5801         config/ia64/t-eh-ia64, config/ia64/t-glibc,
5802         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
5803         config/ia64/t-vms, config/ia64/unwind-ia64.c,
5804         config/ia64/unwind-ia64.h: New files.
5805         * config/picochip/t-picochip: New file.
5806         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
5807         files.
5808         * config/rs6000/t-darwin (LIB2ADDEH): Set.
5809         * config/s390/t-tpf (LIB2ADDEH): Remove.
5810         * config/t-darwin (LIB2ADDEH): Set.
5811         * config/t-eh-dw2-dip: New file.
5812         * config/t-libunwind, config/t-libunwind-elf: New files.
5813         * config/t-sol2 (LIB2ADDEH): Remove.
5814         * config/xtensa/t-xtensa: New file.
5816 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
5818         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
5819         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
5820         long long to check rt_sigreturn syscall.
5822 2011-08-02  Alan Modra  <amodra@gmail.com>
5824         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5825         Restore for indirect call bcrtl from correct stack slot, and only
5826         if cfa+40 isn't valid.
5828 2011-08-01  Julian Brown  <julian@codesourcery.com>
5830         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
5831         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
5832         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
5834 2011-08-01  Julian Brown  <julian@codesourcery.com>
5836         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
5837         (libgcc-std.ver.in): Use above.
5838         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
5839         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
5840         throughout file.
5841         * config/t-fixedpoint-gnu-prefix: New file.
5842         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
5843         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
5844         instead of __PFX__.
5846 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
5848         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
5849         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
5850         for x86-64.  Properly check __x86_64__ and __LP64__.
5852 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
5854         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
5855         version.
5856         (_FP_WS_TYPE): Likewise.
5857         (_FP_I_TYPE): Likewise.
5859 2011-07-28  Alan Modra  <amodra@gmail.com>
5861         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5862         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
5863         in a plt call stub.  Do restore r2 if stopped on bctrl.
5865 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5867         * config.host (i[3456x]86-*-netware*): Remove.
5868         * config/i386/netware-crt0.c, config/i386/t-nwld,
5869         config/i386/t-slibgcc-nwld: Remove.
5871 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
5873         * config.host: Handle tic6x-*-*.
5874         * config/c6x/c6x-abi.h: New file.
5876 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5878         * config/i386/crtprec.c: New file.
5879         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
5880         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
5881         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
5882         (x86_64-*-darwin*): Likewise.
5883         (i[34567]86-*-solaris2*: Likewise.
5885 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5887         * config/alpha/crtfastmath.c: New file.
5888         * config/i386/crtfastmath.c: New file.
5889         * config/ia64/crtfastmath.c: New file.
5890         * config/mips/crtfastmath.c: New file.
5891         * config/sparc/crtfastmath.c: New file.
5893         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
5894         crtfastmath.c.
5895         Add -frandom-seed=gcc-crtfastmath.
5896         * config/alpha/t-crtfm: Remove.
5897         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
5898         * config/ia64/t-ia64 (crtfastmath.o): Remove.
5900         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
5901         (alpha*-dec-osf5.1*): Likewise.
5902         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
5903         Add crtfastmath.o to extra_parts.
5904         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
5905         Add crtfastmath.o to extra_parts.
5906         (x86_64-*-darwin*): Likewise.
5907         (x86_64-*-mingw*): Likewise.
5908         (ia64*-*-elf*): Add t-crtfm to tmake_file.
5909         (ia64*-*-freebsd*): Likewise.
5910         (ia64*-*-linux*): Likewise.
5911         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
5912         Add crtfastmath.o to extra_parts.
5914 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5916         * config/darwin-crt3.o: New file.
5917         * config/rs6000/darwin-crt2.c: New file.
5918         * config/t-darwin: New file.
5919         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
5920         (crt2.o): New rule.
5921         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
5922         (powerpc-*-darwin*): Add crt2.o to extra_parts.
5923         (powerpc64-*-darwin*): Likewise.
5925 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5927         * config/i386/netware-crt0.c: New file.
5928         * config/i386/t-nwld: Rename to ...
5929         * config/i386/t-slibgcc-nwld: ... this.
5930         * config/i386/t-nwld: New file.
5931         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
5932         tmake_file.
5933         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
5934         extra_parts.
5936 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5938         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
5939         i386/t-crtstuff.
5940         * configure: Regenerate.
5942 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5944         * dfp-bit.c, dfp-bit.h: New files.
5945         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
5946         variables.
5947         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
5948         ($(d64pbit-o)): Likewise.
5949         ($(d128pbit-o)): Likewise.
5950         * config/t-dfprules: New file.
5951         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
5952         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
5953         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5954         (x86_64-*-linux*): Likewise.
5955         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5956         (i[34567]86-*-cygwin*): Likewise.
5957         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
5958         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5960 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5962         * Makfile.in (LIBGCOV): New variable.
5963         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
5964         * libgcov.c: New file.
5966 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5968         * fixed-bit.c, fixed-bit.h: New files.
5969         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
5970         refer to fixed-bit.c.
5972 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
5974         * config.host (*local*): Remove.
5976 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5978         PR target/39150
5979         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
5980         like i?86-*-solaris2.1[0-9]*.
5981         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
5982         * configure.ac (i?86-*-solaris2*): Likewise.
5983         * configure: Regenerate.
5985 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
5987         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5988         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
5989         md_unwind_header by splitting out of...
5990         (i[34567]86-*-linux*): ... this.
5991         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
5992         Remove md_unwind_header by splitting out of...
5993         (x86_64-*-linux*): ... this.
5995 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
5997         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
5999 2011-06-28  Nick Clifton  <nickc@redhat.com>
6001         * config.host: Recognize all V850 variants.
6003 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
6005         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
6007 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6009         * shared-object.mk (c_flags-$o): Save c_flags.
6010         ($(base)$(objext)): Use it.
6011         ($(base)_s$(objext)): Likewise.
6013 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
6015         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
6016         * libgcc-std.ver.in (GCC_4.7.0): New section.
6018 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
6020         PR target/49313
6021         PR target/29524
6022         * config/avr/t-avr: Fix line endings.
6023         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
6024         _parityXX2.
6026 2011-06-14  Olivier Hainque  <hainque@adacore.com>
6027             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6029         * config/mips/irix6-unwind.h: New file.
6030         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
6032 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
6034         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
6035         (sparc64_fallback_frame_state): Use it.
6036         (sparc64_frob_update_context): Further adjust context.
6037         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
6038         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
6039         * config/sparc/sol2-cn.S: Likewise.
6041 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6043         * enable-execute-stack-empty.c: New file.
6044         * enable-execute-stack-mprotect.c: New file.
6045         * config/i386/enable-execute-stack-mingw32.c: New file.
6046         * config.host (enable_execute_stack): New variable.
6047         Select appropriate variants.
6048         * configure.ac: Link enable-execute-stack.c to
6049         $enable_execute_stack.
6050         * configure: Regenerate.
6051         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
6052         (lib2funcs): Remove _enable_execute_stack.
6054 2011-06-09  David S. Miller  <davem@davemloft.net>
6055             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6057         * config.host (sparc-*-linux*): Correct md_unwind_header
6058         filename.
6059         (s390x-ibm-tpf*): Fix typo.
6061 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6063         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
6064         Add crtfastmath.o to extra_parts.
6065         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
6066         mips/t-crtfm.
6067         * config/mips/t-crtfm: Remove.
6069 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6071         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
6073 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
6075         * config.host (sh*-*-linux*): Fix typo.
6077 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6079         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
6080         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
6081         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
6082         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
6083         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
6084         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
6085         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
6086         Wrap in !__MINGW64__.
6087         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
6088         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
6089         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
6090         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
6091         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
6092         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
6093         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
6094         Wrap in !__LP64__.
6095         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
6096         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
6097         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
6098         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
6099         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
6100         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
6101         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
6102         * config/no-unwind.h: New file.
6103         * config.host (md_unwind_header): Document.
6104         Define.
6105         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
6106         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
6107         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
6108         hppa[12]*-*-hpux11*): Set md_unwind_header.
6109         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
6110         Set md_unwind_header.
6111         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
6112         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
6113         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
6114         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
6115         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
6116         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
6117         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
6118         md_unwind_header.
6119         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
6120         * configure: Regenerate.
6122 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6124         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
6125         Set tmake_file, extra_parts.
6126         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
6127         Remove O32 support.
6128         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
6129         Remove O32 support.
6130         * config/mips/t-irix6: New file.
6131         * config/mips/t-slibgcc-irix: New file.
6133 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6135         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
6136         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
6138 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6140         * configure.ac (target_thread_file): Determine thread model.
6141         * configure: Regenerate.
6142         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
6143         * config/alpha/t-alpha: New file.
6144         * config/alpha/t-crtfm: Use $<.
6145         * config/alpha/t-ieee: New file.
6146         * config/alpha/t-osf-pthread: New file.
6147         * config/alpha/t-slibgcc-osf: New file.
6148         * config/alpha/libgcc-osf5.ver: New file.
6150 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6152         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
6153         tmake_file.
6154         Add crtfastmath.o to extra_parts.
6156 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6158         * config/gmon-sol2.c: Reindent.
6159         Cleanup comments.
6160         Remove, correct casts.
6161         Use STDERR_FILENO, NULL.
6162         (BASEADDRESS): Remove.
6163         (minbrk): Remove.
6164         (errno, sbrk): Remove declarations.
6165         (monstartup) [hp300]: Remove.
6166         (mcount): Remove.
6168 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6170         * Makefile.in (cpu_type): Define.
6171         * config.host (i[34567]86-*-rtems*): Handle it.
6172         (i[34567]86-*-solaris2*): Move body ...
6173         (*-*-solaris2*): ... here.
6174         New case, generalize.
6175         (sparc-*-elf*): Handle it.
6176         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
6177         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
6178         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
6179         Fold into ...
6180         (sparc*-*-solaris2*): ... this.
6181         New case.
6182         (sparc64-*-elf*): Handle it.
6183         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
6184         Merge ../gcc/config/i386/gmon-sol2.c.
6185         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
6186         Use C comments.
6187         Merge ../gcc/config/i386/sol2-gc1.asm.
6188         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
6189         Use C comments.
6190         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
6191         Use C comments.
6192         * config/i386/t-crtfm (crtfastmath.o): Use $<.
6193         * config/i386/t-crtstuff: New file.
6194         * config/i386/t-softfp: New file.
6195         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
6196         $(T)crti.o, $(T)crtn.o): Remove.
6197         (gcrt1.o): New rule.
6198         (TARGET_LIBGCC2_CFLAGS): Remove.
6199         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
6200         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
6201         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
6202         * config/sparc/t-sol2: New file.
6203         * config/sparc/t-crtfm: Move to ...
6204         * config/t-crtfm: ... this.
6205         Use $(cpu_type), $<.
6206         * config/t-crtin: New file.
6207         * config/sparc/t-softfp: New file.
6208         * config/sparc/t-softmul: New file.
6209         * config/t-rtems: New file.
6210         * config/t-slibgcc: New file.
6211         * config/t-slibgcc-elf-ver: New file.
6212         * config/t-slibgcc-gld: New file.
6213         * config/t-slibgcc-sld: New file.
6214         * config/t-sol2: New file.
6215         * configure.ac: Include ../config/lib-ld.m4.
6216         Call AC_LIB_PROG_LD_GNU.
6217         Substitute cpu_type.
6218         * configure: Regenerate.
6220 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
6222         PR bootstrap/49173
6223         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
6224         libgcc-std.ver in the build directory.
6225         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
6226         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
6228 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
6230         * libgcc-std.ver.in: New file.
6231         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
6232         variables.
6233         (libgcc-std.ver): New rule.
6234         * config/t-gnu-prefix: New file.
6236 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6238         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
6240 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
6242         * config/i386/darwin-lib.h: New file.
6244 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
6246         * config/arm/symbian-lib.h: New.
6248 2011-05-04  Chris Demetriou  <cgd@google.com>
6250         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
6251         (__x86.get_pc_thunk.bx): ...this.
6252         (__morestack): Adjust for rename, remove undef of __i686.
6254 2011-05-03  Chris Demetriou  <cgd@google.com>
6256         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
6258 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
6260         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
6261         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
6262         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
6263         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
6264         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
6265         Remove cases.
6267 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
6269         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
6270         Adjust copyright year.
6272 2011-03-07  Ian Lance Taylor  <iant@google.com>
6274         * generic-morestack.c (__splitstack_find): Adjust returned stack
6275         pointer to include all registers pushed by __morestack.
6277 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
6279         PR target/40125
6280         * configure.ac: Call ACX_NONCANONICAL_TARGET.
6281         (toolexecdir): Calculate and AC_SUBST.
6282         (toolexeclibdir): Likewise.
6283         * Makefile.in (target_noncanonical): Import.
6284         (toolexecdir): Likewise.
6285         (toolexeclibdir): Likewise.
6286         * configure: Regenerate.
6288 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
6290         PR target/46040
6291         * config/arm/bpabi.h: Rename to...
6292         * config/arm/bpabi-lib.h: ...this.
6294 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6296         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
6297         appropriate.
6298         * configure: Regenerate.
6300 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
6302         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
6303         __FLOAT_WORD_ORDER__.
6304         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
6305         Delete.
6307 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6309         PR other/46202
6310         * Makefile.in (install-strip): New phony target.
6312 2010-11-07  Ian Lance Taylor  <iant@google.com>
6314         PR target/46089
6315         * config/i386/morestack.S (__morestack_large_model): New
6316         function.
6318 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
6320         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
6321         Delete.
6322         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
6324 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
6326         * config/arm/bpabi.h: New file.
6327         * config/frv/frv-abi.h: New file.
6329 2010-10-01  Ian Lance Taylor  <iant@google.com>
6331         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
6332         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
6334 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
6336         PR target/45858
6337         * config.host: Add the missing `$'.
6339 2010-09-30  Michael Eager  <eager@eagercon.com>
6341         * config.host: Add microblaze*-*-*.
6342         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
6343         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
6344         udivsi3.asm,umodsi3.asm}:  New.
6346 2010-09-28  Ian Lance Taylor  <iant@google.com>
6348         * configure.ac: Adjust CFI test to test assembler directly rather
6349         than checking gcc preprocessor macro.
6350         * configure: Rebuild.
6352 2010-09-27  Ian Lance Taylor  <iant@google.com>
6354         * configure.ac: Test whether assembler supports CFI directives.
6355         * config.host: Only add t-stack and i386/t-stack-i386 to
6356         tmake_file if libgcc_cv_cfi is "yes".
6357         * configure: Rebuild.
6359 2010-09-27  Ian Lance Taylor  <iant@google.com>
6361         * generic-morestack.h: New file.
6362         * generic-morestack.c: New file.
6363         * generic-morestack-thread.c: New file.
6364         * config/i386/morestack.S: New file.
6365         * config/t-stack: New file.
6366         * config/i386/t-stack-i386: New file.
6367         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
6368         i386/t-stack-i386 to tmake_file.
6370 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
6372         * Makefile.in (libgcc-extra-parts):  Check for static archives and
6373         invoke ranlib after installing them.
6374         (gcc-extra-parts): Likewise.
6375         (install-leaf): Likewise.
6377 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
6379         * configure: Regenerated.
6381 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
6383         * configure: Regenerated.
6385 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
6386             Andrew Pinski  <pinskia@gmail.com>
6388         PR target/40959
6389         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
6391 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
6393         PR target/45524
6394         * configure: Regenerated.
6396 2010-09-06  Andreas Schwab  <schwab@redhat.com>
6398         * configure: Regenerate.
6400 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
6402         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
6403         64bit targets.
6404         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
6405         for 64bit targets.
6407 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
6408             Iain Sandoe  <iains@gcc.gnu.org>
6410         PR target/45476
6411         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
6412         LIB2FUNCS_EXCLUDE functions.
6414 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6416         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
6417         Include dfp.m4.
6418         * configure: Regenerate.
6420 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
6422         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
6423         i386/t-freebsd to tmake_file.
6424         * config/i386/t-freebsd: New file.
6425         * config/i386/libgcc-bsd.ver: New file.
6427 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
6429         * config.host (powerpc*-eabispe*): Set tmake_file.
6430         (powerpc*-eabi*): Likewise.
6431         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
6432         crtbeginS, crtendS, crtbeginT.
6434 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
6436         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
6437         to tmake_file.  Add crtfastmath.o to extra_parts.
6438         * config/mips/t-crtfm: New.
6440 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
6442         * config.host (sparc64-*-rtems*): New target.
6444 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6446         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
6447         assembler syntax.
6449 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
6451         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
6453 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6455         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
6456         alpha-dec-osf5.0* support.
6458 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
6460         * config.host: Add lm32-*-rtems*.
6462 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6463             Uros Bizjak <ubizjak@gmail.com>
6465         PR target/39048
6466         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
6467         like other remaining 32-bit x86 OSes.
6468         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
6469         assembler syntax.
6470         * config/i386/libgcc-sol2.ver: New file.
6471         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
6473 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
6475         PR c/43553
6476         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
6477         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
6478         is used and substitute set_use_emutls.
6479         * configure: Regenerated.
6481 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
6483         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
6485 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6487         PR target/38085
6488         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
6489         MULTILIB_CFLAGS.
6490         ($(T)gcrt1.o): Likewise.
6491         ($(T)crt1.o): Likewise.
6492         ($(T)crti.o): Likewise.
6493         ($(T)crtn.o): Likewise.
6495 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6497         PR other/42980
6498         * Makefile.in (install): Use $(MAKE) string in rule, for
6499         parallel make.
6501 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
6503         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
6504         * config/mmix/t-mmix: New file.
6505         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
6507 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
6509         PR java/41991
6510         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
6511         SHLIB_MAPFILES.
6513 2010-01-04  Anthony Green  <green@moxielogic.com>
6515         * config/moxie/crti.asm, config/moxie/crtn.asm,
6516         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
6517         config/moxie/t-moxie: New files.
6518         * config.host: Add t-moxie-softfp reference.
6520 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
6522         PR other/39888
6523         * config/t-slibgcc-darwin: Fix embedded rpaths for
6524         --enable-version-specific-runtime-libs, build extension stub
6525         libs exposing features available from current libgcc_s.
6527 2009-11-11  Jon Beniston <jon@beniston.com>
6529         * config.host: Add lm32 targets.
6530         * config/lm32: New directory.
6531         * config/lm32/libgcc_lm32.h: New file.
6532         * config/lm32/_mulsi3.c: New file.
6533         * config/lm32/_udivmodsi4.c: New file.
6534         * config/lm32/_divsi3.c: New file.
6535         * config/lm32/_modsi3.c: New file.
6536         * config/lm32/_udivsi3.c: New file.
6537         * config/lm32/_umodsi3.c: New file.
6538         * config/lm32/_lshrsi3.S: New file.
6539         * config/lm32/_ashrsi3.S: New file.
6540         * config/lm32/_ashlsi3.S: New file.
6541         * config/lm32/crti.S: New file.
6542         * config/lm32/crtn.S: New file.
6543         * config/lm32/t-lm32: New file.
6544         * config/lm32/t-elf: New file.
6545         * config/lm32/t-uclinux: New file.
6547 2009-10-26  Nick Clifton  <nickc@redhat.com>
6549         * config.host: Add support for RX target.
6550         * config/rx: New directory.
6551         * config/rx/rx-abi-functions.c: New file. Supplementary
6552         functions for libgcc to support the RX ABI.
6553         * config/rx/rx-abi.h: New file.  Supplementary header file for
6554         libgcc RX ABI functions.
6555         * config/rx/t-rx: New file: Makefile fragment for building
6556         libgcc for the RX.
6558 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
6560         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
6561         constraint of y0 to "g".
6563 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6565         * config.host: Include the s390 makefile fragments.
6566         * config/s390/32/_fixdfdi.c: New file.
6567         * config/s390/32/_fixsfdi.c: New file.
6568         * config/s390/32/_fixtfdi.c: New file.
6569         * config/s390/32/_fixunsdfdi.c: New file.
6570         * config/s390/32/_fixunssfdi.c: New file.
6571         * config/s390/32/_fixunstfdi.c: New file.
6572         * config/s390/32/t-floattodi: New file.
6573         * config/s390/libgcc-glibc.ver: New file.
6574         * config/s390/t-crtstuff: New file.
6575         * config/s390/t-linux: New file.
6576         * config/s390/t-tpf: New file.
6578 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6580         * configure.ac (AC_PREREQ): Bump to 2.64.
6582 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
6584         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
6586 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6588         * configure: Regenerate.
6590 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
6592         * config.host (ia64-hp-*vms*): New target.
6593         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
6594         with ia64-hp-*vms*.
6596 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6598         * configure.ac: Add snippet for maintainer-mode.
6599         * configure: Regenerate.
6600         * Makefile.in (AUTOCONF, configure_deps): New variables.
6601         ($(srcdir)/configure)): New rule, active only with maintainer
6602         mode turned on.
6604 2009-06-23  DJ Delorie  <dj@redhat.com>
6606         Add MeP port.
6607         * config.host: Add mep support.
6609 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
6611         * config.host: Add i386/${host_address}/t-fprules-softfp and
6612         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
6614         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
6615         for mingw targets.
6616         * config/i386/64/_multc3.c: Likewise.
6617         * config/i386/64/_powitf2.c: Likewise.
6618         * config/i386/64/eqtf2.c: Likewise.
6619         * config/i386/64/getf2.c: Likewise.
6620         * config/i386/64/letf2.c: Likewise.
6621         * config/i386/64/letf2.c: Likewise.
6622         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
6623         unsigned long long for x64 mingw targets.
6624         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
6625         (_FP_I_TYPE): Define as long long for x64 mingw target.
6627 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
6629         * config.host (vax-*-linux*): New.
6631 2009-05-31  Anthony Green  <green@moxielogic.com>
6633         * config.host: Add moxie support.
6634         * config/moxie/t-moxie: New file.
6636 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
6638         * config.host: Add i386/${host_address}/t-fprules-softfp and
6639         t-softfp to tmake_file for i[34567]86-*-cygwin*.
6641 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
6643         * config.host: Add i386/${host_address}/t-fprules-softfp to
6644         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
6646 2009-04-09  Nick Clifton  <nickc@redhat.com>
6648         * config/ia64/tf-signs.c: Change copyright header to refer to
6649         version 3 of the GNU General Public License with version 3.1
6650         of the GCC Runtime Library Exception and to point readers at
6651         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
6652         web page.
6653         * config/i386/32/tf-signs.c: Likewise.
6654         * config/libbid/_addsub_dd.c: Likewise.
6655         * config/libbid/_addsub_sd.c: Likewise.
6656         * config/libbid/_addsub_td.c: Likewise.
6657         * config/libbid/_dd_to_df.c: Likewise.
6658         * config/libbid/_dd_to_di.c: Likewise.
6659         * config/libbid/_dd_to_sd.c: Likewise.
6660         * config/libbid/_dd_to_sf.c: Likewise.
6661         * config/libbid/_dd_to_si.c: Likewise.
6662         * config/libbid/_dd_to_td.c: Likewise.
6663         * config/libbid/_dd_to_tf.c: Likewise.
6664         * config/libbid/_dd_to_udi.c: Likewise.
6665         * config/libbid/_dd_to_usi.c: Likewise.
6666         * config/libbid/_dd_to_xf.c: Likewise.
6667         * config/libbid/_df_to_dd.c: Likewise.
6668         * config/libbid/_df_to_sd.c: Likewise.
6669         * config/libbid/_df_to_td.c: Likewise.
6670         * config/libbid/_di_to_dd.c: Likewise.
6671         * config/libbid/_di_to_sd.c: Likewise.
6672         * config/libbid/_di_to_td.c: Likewise.
6673         * config/libbid/_div_dd.c: Likewise.
6674         * config/libbid/_div_sd.c: Likewise.
6675         * config/libbid/_div_td.c: Likewise.
6676         * config/libbid/_eq_dd.c: Likewise.
6677         * config/libbid/_eq_sd.c: Likewise.
6678         * config/libbid/_eq_td.c: Likewise.
6679         * config/libbid/_ge_dd.c: Likewise.
6680         * config/libbid/_ge_sd.c: Likewise.
6681         * config/libbid/_ge_td.c: Likewise.
6682         * config/libbid/_gt_dd.c: Likewise.
6683         * config/libbid/_gt_sd.c: Likewise.
6684         * config/libbid/_gt_td.c: Likewise.
6685         * config/libbid/_isinfd128.c: Likewise.
6686         * config/libbid/_isinfd32.c: Likewise.
6687         * config/libbid/_isinfd64.c: Likewise.
6688         * config/libbid/_le_dd.c: Likewise.
6689         * config/libbid/_le_sd.c: Likewise.
6690         * config/libbid/_le_td.c: Likewise.
6691         * config/libbid/_lt_dd.c: Likewise.
6692         * config/libbid/_lt_sd.c: Likewise.
6693         * config/libbid/_lt_td.c: Likewise.
6694         * config/libbid/_mul_dd.c: Likewise.
6695         * config/libbid/_mul_sd.c: Likewise.
6696         * config/libbid/_mul_td.c: Likewise.
6697         * config/libbid/_ne_dd.c: Likewise.
6698         * config/libbid/_ne_sd.c: Likewise.
6699         * config/libbid/_ne_td.c: Likewise.
6700         * config/libbid/_sd_to_dd.c: Likewise.
6701         * config/libbid/_sd_to_df.c: Likewise.
6702         * config/libbid/_sd_to_di.c: Likewise.
6703         * config/libbid/_sd_to_sf.c: Likewise.
6704         * config/libbid/_sd_to_si.c: Likewise.
6705         * config/libbid/_sd_to_td.c: Likewise.
6706         * config/libbid/_sd_to_tf.c: Likewise.
6707         * config/libbid/_sd_to_udi.c: Likewise.
6708         * config/libbid/_sd_to_usi.c: Likewise.
6709         * config/libbid/_sd_to_xf.c: Likewise.
6710         * config/libbid/_sf_to_dd.c: Likewise.
6711         * config/libbid/_sf_to_sd.c: Likewise.
6712         * config/libbid/_sf_to_td.c: Likewise.
6713         * config/libbid/_si_to_dd.c: Likewise.
6714         * config/libbid/_si_to_sd.c: Likewise.
6715         * config/libbid/_si_to_td.c: Likewise.
6716         * config/libbid/_td_to_dd.c: Likewise.
6717         * config/libbid/_td_to_df.c: Likewise.
6718         * config/libbid/_td_to_di.c: Likewise.
6719         * config/libbid/_td_to_sd.c: Likewise.
6720         * config/libbid/_td_to_sf.c: Likewise.
6721         * config/libbid/_td_to_si.c: Likewise.
6722         * config/libbid/_td_to_tf.c: Likewise.
6723         * config/libbid/_td_to_udi.c: Likewise.
6724         * config/libbid/_td_to_usi.c: Likewise.
6725         * config/libbid/_td_to_xf.c: Likewise.
6726         * config/libbid/_tf_to_dd.c: Likewise.
6727         * config/libbid/_tf_to_sd.c: Likewise.
6728         * config/libbid/_tf_to_td.c: Likewise.
6729         * config/libbid/_udi_to_dd.c: Likewise.
6730         * config/libbid/_udi_to_sd.c: Likewise.
6731         * config/libbid/_udi_to_td.c: Likewise.
6732         * config/libbid/_unord_dd.c: Likewise.
6733         * config/libbid/_unord_sd.c: Likewise.
6734         * config/libbid/_unord_td.c: Likewise.
6735         * config/libbid/_usi_to_dd.c: Likewise.
6736         * config/libbid/_usi_to_sd.c: Likewise.
6737         * config/libbid/_usi_to_td.c: Likewise.
6738         * config/libbid/_xf_to_dd.c: Likewise.
6739         * config/libbid/_xf_to_sd.c: Likewise.
6740         * config/libbid/_xf_to_td.c: Likewise.
6741         * config/libbid/bid128.c: Likewise.
6742         * config/libbid/bid128_2_str.h: Likewise.
6743         * config/libbid/bid128_2_str_macros.h: Likewise.
6744         * config/libbid/bid128_2_str_tables.c: Likewise.
6745         * config/libbid/bid128_add.c: Likewise.
6746         * config/libbid/bid128_compare.c: Likewise.
6747         * config/libbid/bid128_div.c: Likewise.
6748         * config/libbid/bid128_fma.c: Likewise.
6749         * config/libbid/bid128_logb.c: Likewise.
6750         * config/libbid/bid128_minmax.c: Likewise.
6751         * config/libbid/bid128_mul.c: Likewise.
6752         * config/libbid/bid128_next.c: Likewise.
6753         * config/libbid/bid128_noncomp.c: Likewise.
6754         * config/libbid/bid128_quantize.c: Likewise.
6755         * config/libbid/bid128_rem.c: Likewise.
6756         * config/libbid/bid128_round_integral.c: Likewise.
6757         * config/libbid/bid128_scalb.c: Likewise.
6758         * config/libbid/bid128_sqrt.c: Likewise.
6759         * config/libbid/bid128_string.c: Likewise.
6760         * config/libbid/bid128_to_int16.c: Likewise.
6761         * config/libbid/bid128_to_int32.c: Likewise.
6762         * config/libbid/bid128_to_int64.c: Likewise.
6763         * config/libbid/bid128_to_int8.c: Likewise.
6764         * config/libbid/bid128_to_uint16.c: Likewise.
6765         * config/libbid/bid128_to_uint32.c: Likewise.
6766         * config/libbid/bid128_to_uint64.c: Likewise.
6767         * config/libbid/bid128_to_uint8.c: Likewise.
6768         * config/libbid/bid32_to_bid128.c: Likewise.
6769         * config/libbid/bid32_to_bid64.c: Likewise.
6770         * config/libbid/bid64_add.c: Likewise.
6771         * config/libbid/bid64_compare.c: Likewise.
6772         * config/libbid/bid64_div.c: Likewise.
6773         * config/libbid/bid64_fma.c: Likewise.
6774         * config/libbid/bid64_logb.c: Likewise.
6775         * config/libbid/bid64_minmax.c: Likewise.
6776         * config/libbid/bid64_mul.c: Likewise.
6777         * config/libbid/bid64_next.c: Likewise.
6778         * config/libbid/bid64_noncomp.c: Likewise.
6779         * config/libbid/bid64_quantize.c: Likewise.
6780         * config/libbid/bid64_rem.c: Likewise.
6781         * config/libbid/bid64_round_integral.c: Likewise.
6782         * config/libbid/bid64_scalb.c: Likewise.
6783         * config/libbid/bid64_sqrt.c: Likewise.
6784         * config/libbid/bid64_string.c: Likewise.
6785         * config/libbid/bid64_to_bid128.c: Likewise.
6786         * config/libbid/bid64_to_int16.c: Likewise.
6787         * config/libbid/bid64_to_int32.c: Likewise.
6788         * config/libbid/bid64_to_int64.c: Likewise.
6789         * config/libbid/bid64_to_int8.c: Likewise.
6790         * config/libbid/bid64_to_uint16.c: Likewise.
6791         * config/libbid/bid64_to_uint32.c: Likewise.
6792         * config/libbid/bid64_to_uint64.c: Likewise.
6793         * config/libbid/bid64_to_uint8.c: Likewise.
6794         * config/libbid/bid_b2d.h: Likewise.
6795         * config/libbid/bid_binarydecimal.c: Likewise.
6796         * config/libbid/bid_conf.h: Likewise.
6797         * config/libbid/bid_convert_data.c: Likewise.
6798         * config/libbid/bid_decimal_data.c: Likewise.
6799         * config/libbid/bid_decimal_globals.c: Likewise.
6800         * config/libbid/bid_div_macros.h: Likewise.
6801         * config/libbid/bid_dpd.c: Likewise.
6802         * config/libbid/bid_flag_operations.c: Likewise.
6803         * config/libbid/bid_from_int.c: Likewise.
6804         * config/libbid/bid_functions.h: Likewise.
6805         * config/libbid/bid_gcc_intrinsics.h: Likewise.
6806         * config/libbid/bid_inline_add.h: Likewise.
6807         * config/libbid/bid_internal.h: Likewise.
6808         * config/libbid/bid_round.c: Likewise.
6809         * config/libbid/bid_sqrt_macros.h: Likewise.
6811 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
6813         * Makefile.in: Change copyright header to refer to version
6814         3 of the GNU General Public License and to point readers at the
6815         COPYING3 file and the FSF's license web page.
6816         * config.host: Likewise.
6818 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
6820         * config.host: Reorder and merge to match config.gcc change.
6822 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
6824         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
6826 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
6828         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
6829         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
6830         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
6831         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
6833 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
6835         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
6836         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6838 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
6840         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
6841         ia64/t-softfp-compat to tmake_file.
6843         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
6845         * config/ia64/__divxf3.asm: New.
6846         * config/ia64/_fixtfdi.asm: Likewise.
6847         * config/ia64/_fixunstfdi.asm: Likewise.
6848         * config/ia64/_floatditf.asm: Likewise.
6849         * config/ia64/t-fprules-softfp: Likewise.
6850         * config/ia64/t-softfp-compat: Likewise.
6851         * config/ia64/tf-signs.c: Likewise.
6853 2009-01-18  Ben Elliston  <bje@au.ibm.com>
6855         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6857 2009-01-16  Ben Elliston  <bje@au.ibm.com>
6859         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
6860         to tmake_file.
6862 2009-01-13  Ben Elliston  <bje@au.ibm.com>
6864         * config/t-softfp: New file.
6865         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
6866         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
6868 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
6870         * config.host: Add m32r*-*-rtems*.
6872 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
6874         * config.host: Add m32c*-*-rtems*.
6876 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
6878         PR bootstrap/33100
6879         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
6880         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
6881         * configure: Regenerate.
6882         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
6883         tmake_file here from gcc/config.gcc.
6884         Move extra_parts here from gcc/config.gcc.
6885         * config/i386/t-sol2: Move here from gcc/config/i386.
6886         Use gcc_srcdir instead of srcdir.
6888 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
6890         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
6891         case.
6893 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
6895         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
6897 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
6899         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
6901 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
6903         Add picoChip port.
6904         * config.host: Add picochip-*-*.
6906 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
6908         * config.host: Match more processor names for Xtensa.
6910 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
6912         * config/i386/64/t-softfp-compat: Update comments.
6914 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
6916         * config/i386/64/_divtc3-compat.c: Moved to ...
6917         * config/i386/64/_divtc3.c: Here.
6919         * config/i386/64/_multc3-compat.c: Moved to ...
6920         * config/i386/64/_multc3.c: Here.
6922         * config/i386/64/_powitf2-compat.c: Moved to ...
6923         * config/i386/64/_powitf2.c: Here.
6925         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
6926         .c suffix instead of -compat.c.
6928 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
6930         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
6931         (_FP_MUL_MEAT_D): Ditto.
6932         (_FP_DIV_MEAT_S): Ditto.
6933         (_FP_DIV_MEAT_D): Ditto.
6935 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
6937         * Makefile.in: Add support for __sync_* libgcc functions.
6939 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
6941         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
6943 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6945         PR boostrap/36702
6946         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
6947         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
6949         * config/i386/64/t-fprules-softfp: Moved to ...
6950         * config/i386/64/t-softfp-compat: This.  New.
6952 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
6954         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
6955         Initialize f with 0.0.
6957 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6959         PR target/36669
6960         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
6962         * config/i386/64/_divtc3-compat.c: New.
6963         * config/i386/64/_multc3-compat.c: Likewise.
6964         * config/i386/64/_powitf2-compat.c: Likewise.
6965         * config/i386/64/eqtf2.c: Likewise.
6966         * config/i386/64/getf2.c: Likewise.
6967         * config/i386/64/letf2.c: Likewise.
6968         * config/i386/64/t-fprules-softfp: Likewise.
6970 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6972         * config.host: Add i386/${host_address}/t-fprules-softfp to
6973         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
6974         i[34567]86-*-linux*, x86_64-*-linux*.
6976         * configure.ac: Set host_address to 64 or 32 for x86.
6977         * configure: Regenerated.
6979         * Makefile.in (config.status): Also depend on
6980         $(srcdir)/config.host.
6982         * config/i386/32/t-fprules-softfp: New.
6983         * config/i386/32/tf-signs.c: Likewise.
6985         * config/i386/64/sfp-machine.h: New. Moved from gcc.
6987 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6988             Uros Bizjak  <ubizjak@gmail.com>
6990         * config/i386/32/sfp-machine.h: New.
6992 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
6994         * config/rs6000/t-ppccomm: Remove rules that conflict with
6995         auto-generated rules.
6997 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
6999         * configure.ac: sinclude override.m4.
7000         * configure: Regenerate.
7002 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
7004         * configure: Regenerate.
7006 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
7008         * Makefile.in (DECNUMINC): Remove
7009         -I$(MULTIBUILDTOP)../../libdecnumber.
7010         * gstdint.h: New.
7012 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
7014         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
7015         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
7016         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
7017         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
7018         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
7019         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
7020         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
7021         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
7022         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
7023         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
7024         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
7025         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
7026         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
7027         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
7029 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
7031         * config.host (sh2[lbe]*-*-linux*): Allow target.
7033 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
7035         * config/rs6000/t-ppccomm: Add build rules for new files.
7036         (LIB2ADD_ST): New variable.
7038 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
7040         PR target/34210
7041         PR target/35508
7042         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
7043         * config/t-avr: New file. Build 16bit libgcc functions.
7045 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
7047         PR target/35401
7048         * config/t-slibgcc-darwin: Make install-leaf dependent on
7049         install-darwin-libgcc-stubs instead of install.
7051 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
7053         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
7054         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
7055         sh-*-rtemscoff*): Remove cases.
7057 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
7059         * Makefile.in (all): Use install-leaf rather than install.
7060         (install): Split most of the rule into...
7061         (install-leaf): ...this new one.
7063 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
7064             Paolo Bonzini  <bonzini@gnu.org>
7066         PR target/30572
7067         * Makefile.in: Use @shlib_slibdir@ substitution to get
7068         correct install name on darwin.
7069         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
7071 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
7073         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
7074         cris-*-elf and cris-*-none.
7075         (crisv32-*-linux*): Similar, as cris-*-linux*.
7077 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
7079         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
7081 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
7083         PR regression/33926
7084         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
7085         * configure: Regenerated.
7087 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
7089         * Makefile.in (dfp-filenames): Replace decimal_globals,
7090         decimal_data, binarydecimal and convert_data with
7091         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
7092         and bid_convert_data, respectively.
7094 2007-09-17  Chao-ying Fu  <fu@mips.com>
7095             Nigel Stephens  <nigel@mips.com>
7097         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
7098         * Makefile.in (fixed_point): Define.
7099         Check if fixed_point is yes to build support functions.
7100         * configure.ac: Check for fixed_point support.
7101         * configure: Regenerated.
7102         * gen-fixed.sh: New file to generate lists of fixed-point labels,
7103         funcs, modes, from, to.
7105 2007-09-11  Janis Johnson  <janis187@us.ibm.com
7107         * Makefile.in (dfp-filenames): Add bid128_noncomp.
7109 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
7111         * Makefile.in (dfp-filenames): Remove decUtility, add
7112         decDouble, decPacked, decQuad, decSingle.
7114 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
7116         * config.host : Add x86_64-elf target.
7118 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
7120         * configure.ac (set_have_cc_tls): Add a missing =.
7121         * configure: Regenerated.
7123 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
7125         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
7126         and x86_64-*-linux*.
7128         * config/t-tls: New file.
7130         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
7132         * configure.ac: Include ../config/enable.m4 and
7133         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
7134         supports TLS and substitute set_have_cc_tls.
7135         * configure: Regenerated.
7137 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
7139         * Makefile.in: Use libbid for DFP when BID is enabled.
7141 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
7143         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
7144         extra_parts. Add config/i386/t-cygming to tmake_file.
7145         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
7147 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
7148             Danny Smith  <dannysmith@users.sourceforge.net>
7150         PR target/29498
7151         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
7152         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
7153         * config/i386/t-crtfm: Compile crtfastmath.o with
7154         -minline-all-stringops.
7156 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
7158         * config.host (sparc-wrs-vxworks): New target.
7160 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
7162         * config.host: Recognize fido.
7164 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
7166         * configure: Check host, not target, for decimal float support.
7168 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
7170         * config/i386/t-crtpc: New file.
7171         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
7172         (x86_64-*-linux*): Ditto.
7174 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
7176         * config.host (x86_64-*-mingw*): New target.
7178 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
7179             H.J. Lu  <hongjiu.lu@intel.com>
7181         * Makefile.in (enable_decimal_float): New.
7182         (DECNUMINC): Add
7183         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
7184         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
7185         (decbits-filenames): This.
7186         (decbits-objects): New.
7187         (libgcc-objects): Add $(decbits-objects).
7189         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
7190         Substitute enable_decimal_float.
7191         * configure: Regenerated.
7193 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
7195         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
7197 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
7199         * Makefile.in (install-info): New dummy target.
7201 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
7203         * config.host (bfin*-linux-uclibc*): Set extra_parts.
7205 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
7207         * Makefile.in: Add install-html and install-pdf dummy
7208         targets.
7210 2007-02-05  Roger Sayle  <roger@eyesopen.com>
7211             Daniel Jacobowitz  <dan@codesourcery.com>
7213         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
7214         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
7215         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
7217 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
7219         * Makefile.in (dec-filenames): Add decExcept.
7221 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
7223         PR bootstrap/30469
7224         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
7225         -fprofile-use.
7227 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
7229         * configure.ac: Add --enable-version-specific-runtime-libs.
7230         Correct $slibdir default.
7231         * configure: Regenerated.
7233 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
7235         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
7237 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
7239         PR target/30519
7240         * config.host (alpha*-*-linux*): Set extra_parts.
7242 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
7244         * config/sh/t-linux: New.
7245         * config.host (sh*-*-linux*): Set tmake_file.
7247 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
7249         * Makefile.in (install): Handle multilibs.
7251 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
7253         * Makefile.in: Added .PHONY entry for documentation targets.
7255 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
7257         * Makefile.in: Add empty info, html, dvi, pdf targets.
7259 2007-01-04  Mike Stump  <mrs@apple.com>
7261         * Makefile.in (MAKEINFO): Remove.
7262         (PERL): Likewise.
7264 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
7266         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
7267         * configure: Regenerate.
7268         * Makefile.in (host_subdir): Substitute it.
7269         (gcc_objdir): Use it.
7271 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
7273         * config.host (ia64*-*-linux*): Set tmake_file.
7275 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
7277         * Makefile.in (version): Define.
7279 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
7280             Paolo Bonzini  <bonzini@gnu.org>
7282         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
7283         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
7284         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
7285         config/sparc/t-crtfm, config/t-slibgcc-darwin,
7286         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
7287         shared-object.mk, siditi-object.mk, static-object.mk: New files.
7288         * configure: Generated.