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