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