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