OSDN Git Service

73f7c956e33840c5e27cac2854a1236d0a1e607a
[pf3gnuchains/gcc-fork.git] / libgcc / ChangeLog
1 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
2
3         PR driver/54171
4         * Makefile.in (version): Replace top_srcdir with srcdir.
5
6 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
7
8         * Makefile.in (version): set to BASE-VER file from gcc directory.
9
10 2012-08-01  Nick Clifton  <nickc@redhat.com>
11
12         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
13         Implements __clrsb for an HImode argument.
14
15 2012-07-31  Nick Clifton  <nickc@redhat.com>
16
17         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
18         Implements __clrsb for an HImode argument.
19         * config/stormy16/clrsbhi2.c: New file:
20         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
21
22 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
23
24         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
25
26 2012-07-19  Tristan Gingold  <gingold@adacore.com>
27             Richard Henderson  <rth@redhat.com>
28
29         * unwind-seh.c: New file.
30         * unwind-generic.h: Include windows.h for SEH.
31         (_Unwind_Exception): Use 6 private fields for SEH.
32         (_GCC_specific_handler): Declare.
33         * unwind-c.c (__gcc_personality_seh0): New function.
34         Adjust for SEH.
35         * config/i386/libgcc-cygming.ver: New file.
36         * config/i386/t-seh-eh: New file.
37         * config.host (x86_64-*-mingw*): Default to seh.
38
39 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
40
41         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
42
43 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
44
45         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
46         __builtin_expect when checking for exceptions.
47         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
48
49 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
50
51         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
52         function declaration.
53         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
54         (FP_RND_MASK): New.
55         * config/ia64/sfp-exceptions.c: New.
56         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
57
58 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
59
60         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
61         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
62         * config/i386/64/sfp-machine: ... (delete here) ...
63         * config/i386/sfp-machine.h: ... to here.
64         (FP_EX_MASK): Remove.
65         (FP_RND_MASK): New.
66         (FP_INIT_ROUNDMODE): Declare asm as volatile.
67
68 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
69
70         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
71         * config/i386/libgcc-sol2.ver: Ditto.
72         * config/i386/libgcc-glibc.ver: Ditto.
73
74 2012-06-11  Roland McGrath  <mcgrathr@google.com>
75
76         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
77         If __GLIBC__ is defined, refer to __pthread_key_create instead of
78         pthread_cancel.
79
80 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
81
82         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
83         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
84         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
85         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
86         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
87         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
88         * config/i386/64/sfp-machine: ... (delete here) ...
89         * config/i386/sfp-machine.h: ... to here.
90         (FP_EX_MASK): New.
91         (__sfp_handle_exceptions): New function declaration.
92         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
93         * config/i386/sfp-exceptions.c: New.
94         * config/i386/t-softfp: New.
95         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
96         i386/t-softfp to tmake_file.
97
98 2012-06-03  David S. Miller  <davem@davemloft.net>
99
100         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
101         change.
102
103 2012-05-31  David S. Miller  <davem@davemloft.net>
104
105         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
106         multiply and divide instructions on 32-bit when V9.
107         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
108
109 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
110
111         * config/arm/ieee754-df.S: Fix typos.
112         * config/arm/ieee754-sf.S: Fix typos.
113         * config/c6x/libunwind.S: Fix typos.
114         * config/epiphany/udivsi3-float.c: Fix typos.
115         * config/microblaze/muldi3_hard.S: Fix typos.
116         * config/picochip/adddi3.S: Fix typos.
117         * config/picochip/ashlsi3.S: Fix typos.
118         * config/picochip/ashrsi3.S: Fix typos.
119         * config/picochip/clzsi2.S: Fix typos.
120         * config/picochip/cmpsi2.S: Fix typos.
121         * config/picochip/divmod15.S: Fix typos.
122         * config/picochip/divmodhi4.S: Fix typos.
123         * config/picochip/divmodsi4.S: Fix typos.
124         * config/picochip/longjmp.S: Fix typos.
125         * config/picochip/lshrsi3.S: Fix typos.
126         * config/picochip/parityhi2.S: Fix typos.
127         * config/picochip/popcounthi2.S: Fix typos.
128         * config/picochip/setjmp.S: Fix typos.
129         * config/picochip/subdi3.S: Fix typos.
130         * config/picochip/ucmpsi2.S: Fix typos.
131         * config/picochip/udivmodhi4.S: Fix typos.
132         * config/picochip/udivmodsi4.S: Fix typos.
133         * config/spu/divv2df3.c: Fix typos.
134         * config/spu/mfc_multi_tag_release.c: Fix typos.
135         * config/spu/mfc_tag_release.c: Fix typos.
136         * configure.ac: Fix typos.
137         * configure: Regenerate.
138
139 2012-05-25  Ian Lance Taylor  <iant@google.com>
140
141         * config/i386/morestack.S (__morestack_non_split): Check whether
142         caller is varargs and needs %bp to hold the stack frame on return.
143
144 2012-05-25  Olivier Hainque  <hainque@adacore.com>
145
146         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
147         sequence in the non pic case on VxWorks.
148
149 2012-05-24  Olivier Hainque  <hainque@adacore.com>
150
151         * Makefile.in: Move dependency on install-unwind_h from
152         "install-leaf" to "install".
153
154 2012-05-24  Olivier Hainque  <hainque@adacore.com>
155
156         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
157         Use a separate command for stamp removals.
158
159 2012-05-21  Andrew Pinski  <apinski@cavium.com>
160
161         PR bootstrap/53183
162         * configure.ac: Define the default includes to being none.
163         * configure: Regenerate.
164
165 2012-05-16  Olivier Hainque  <hainque@adacore.com>
166
167         * Makefile.in (install-unwind_h): Rename into ...
168         (install-unwind_h-forbuild): New target.
169         (all): Use it instead of the former install-unwind_h.
170         (install-unwind_h): Reinstate, copy to user install destination
171         for include files, not to the internal gcc object directory one.
172         (install-leaf): Depend on it.
173
174 2012-05-15  Olivier Hainque  <hainque@adacore.com>
175
176         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
177         register numbers. LR_REGNO replaces R_LR.
178         (ucontext_for): New, helper for ...
179         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
180         and 5.3 of ...
181         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
182
183 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
184
185         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
186         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
187         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
188         i386/t-cpuinfo ...
189         (i[34567]86-*-*, x86_64-*-*): ... here.
190
191         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
192         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
193
194         * config/i386/i386-cpuinfo.c: Rename to ...
195         * config/i386/cpuinfo.c: ... this.
196         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
197
198         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
199         (libgcc_cv_init_priority): New test.
200         * configure: Regenerate.
201         * config.in: New file.
202         * Makefile.in (clean): Rename config.h to auto-target.h.
203         (config.h): Likewise.
204         (stamp-h): Likewise.
205
206         * config/i386/cpuinfo.c (auto-target.h): Include.
207         (CONSTRUCTOR_PRIORITY): Define.
208         (__cpu_indicator_init): Use it.
209
210 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
211
212         * longlong.h: Use a URL instead of an FSF postal address.
213         Replace spaces with tab.
214
215 2012-05-08  Teresa Johnson  <tejohnson@google.com>
216
217         * libgcov.c (gcov_clear, __gcov_reset): New functions.
218         (__gcov_dump): Ditto.
219         (gcov_dump_complete): New global variable.
220         (gcov_exit): Export hidden to enable use in L_gcov_dump.
221         (__gcov_flush): Outline functionality now in gcov_clear.
222         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
223
224 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
225
226         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
227         (mips*-*-linux*): Include mips/t-tpbit when long double is
228         16 bytes long.
229
230 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
231
232         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
233         (get_available_features): New argument. Check for AVX2.
234         (__cpu_indicator_init): Modify call to get_available_features.
235
236 2012-04-25  Alan Modra  <amodra@gmail.com>
237
238         * config/rs6000/crtsavevr.S: New file.
239         * config/rs6000/crtrestvr.S: New file.
240         * config/rs6000/t-savresfgpr: Build the above.
241         * config/rs6000/t-netbsd: Likewise.
242
243 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
244
245         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
246
247 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
248
249         * libgcc/config/i386/i386-cpuinfo.c: New file.
250         * libgcc/config/i386/t-cpuinfo: New file.
251         * libgcc/config.host: Include t-cpuinfo.
252         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
253
254 2012-04-24  Chao-ying Fu  <fu@mips.com>
255
256         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
257
258 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
259
260         struct siginfo vs. siginfo_t
261
262         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
263         siginfo_t instead of struct siginfo.
264         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
265         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
266         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
267         (ia64_handle_unwabi): Likewise.
268         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
269         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
270         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
271         (sh_fallback_frame_state): Likewise.
272         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
273         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
274
275 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
276
277         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
278         system call number.
279
280 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
281
282         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
283         if it hasn't been previously saved.
284
285 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
286
287         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
288         only for glibc.
289
290 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
291
292         PR target/52737
293         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
294         instead of __AVR_HAVE_8BIT_SP__.
295
296 2012-03-26  Tristan Gingold  <gingold@adacore.com>
297
298         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
299         (unw_table_entry): Use unw_word instead of unsigned long.
300         (_Unwind_FindTableEntry): Likewise.
301         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
302         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
303         (_Unwind_FindTableEntry): Likewise.
304         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
305         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
306         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
307         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
308         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
309         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
310         (uw_init_context_1, uw_install_context): Likewise.
311         (unw_word): Move to unwind-ia64.h
312
313 2012-03-26  Tristan Gingold  <gingold@adacore.com>
314
315         * config/vms/vms-ucrt0.c: Update copyright years.
316         Add a sanity check.
317         (___gcc_main_flags): Declare.
318         (__main): Check flags to remap argv and exit code.
319         * config.host (*-*-*vms*): Adjust extra_parts.
320         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
321         (crt0.o): Add.
322
323 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
324
325         * arm/lib1funcs.asm (ctzsi2): New function.
326         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
327         * arm/t-linux (LIB1ASMFUNCS): Likewise.
328         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
329         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
330         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
331         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
332
333 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
334
335         * config.host: Add bits to support powerpc64-*-freebsd*.
336         * config/rs6000/freebsd-unwind.h: New file.
337         * config/rs6000/t-freebsd64: New file.
338
339 2012-03-20  Richard Guenther  <rguenther@suse.de>
340
341         PR gcov-profile/52627
342         * libgcov.c (init_mx): Fix mutex name.
343
344 2012-03-16  Tristan Gingold  <gingold@adacore.com>
345
346         * config/ia64/vms-unwind.h: Remove ulong (and replace
347         it by unw_reg where used).  Define unw_reg with __int64.
348
349 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
350
351         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
352         Solaris 8 handling.
353         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
354         Solaris 8 handling.
355         (sparc_is_sighandler): Likewise.
356
357 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
358
359         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
360         <= saved reg size.
361
362 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
363
364         * config/arm/crtn.S: Fix typo.
365
366 2012-03-13  Richard Guenther  <rguenther@suse.de>
367
368         * libgcov.c: Remove stdio.h include and NULL un-define.
369
370 2012-03-13  Richard Guenther  <rguenther@suse.de>
371
372         PR target/52569
373         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
374
375 2012-03-13  Richard Guenther  <rguenther@suse.de>
376
377         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
378
379 2012-03-13  Richard Guenther  <rguenther@suse.de>
380
381         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
382         and __gthread_mutex_init_function definitions.
383
384 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
385
386         * config.host (mips*-*-openbsd*): Remove.
387
388 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
389
390         * config.host: Remove alpha*-dec-osf5.1* handling.
391         * config/alpha/gthr-posix.c: Remove.
392         * config/alpha/libgcc-osf5.ver: Remove.
393         * config/alpha/osf5-unwind.h: Remove.
394         * config/alpha/t-osf-pthread: Remove.
395         * config/alpha/t-slibgcc-osf: Remove.
396         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
397         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
398         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
399         * mkmap-flat.awk: Remove osf_export handling.
400
401 2012-03-12  Richard Guenther  <rguenther@suse.de>
402
403         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
404         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
405         (__gthread_mutex_init_function): New function.
406         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
407
408         PR gcov/49484
409         * libgcov.c: Include gthr.h.
410         (__gcov_flush_mx): New global variable.
411         (init_mx, init_mx_once): New functions.
412         (__gcov_flush): Protect self with a mutex.
413         (__gcov_fork): Re-initialize mutex after forking.
414         * unwind-dw2-fde.c: Change condition under which to use
415         __GTHREAD_MUTEX_INIT_FUNCTION.
416
417 2012-03-12  Tristan Gingold  <gingold@adacore.com>
418
419         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
420         * config/ia64/t-vms: Likewise.
421
422 2012-03-11  Michael Hope  <michael.hope@linaro.org>
423
424         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
425         for Thumb-2.
426
427 2012-03-07  Walter Lee  <walt@tilera.com>
428
429         * config/tilepro/atomic.c: Rename "atomic_" prefix to
430         "arch_atomic_".
431         (atomic_xor): Rename and move definition to
432         config/tilepro/atomic.h.
433         (atomic_nand): Ditto.
434         * config/tilepro/atomic.h: Rename "atomic_" prefix to
435         "arch_atomic_".
436         (arch_atomic_xor): Move from config/tilepro/atomic.c.
437         (arch_atomic_nand): Ditto.
438
439 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
440
441         PR target/52507
442         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
443
444 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
445
446         PR target/52505
447         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
448         from RAM.
449
450 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
451
452         PR target/52461
453         PR target/52508
454         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
455         if RAMPZ affects reading from RAM.
456         (__tablejump_elpm__): Ditto.
457         (.xload): Ditto.
458         (__movmemx_hi): Ditto.
459         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
460         (__do_global_dtors): Ditto.
461         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
462         (__movmemx_hi): Ditto.
463
464 2012-03-05  Richard Henderson  <rth@redhat.com>
465
466         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
467         [ARM] (count_trailing_zeros): Use the builtin.
468
469 2012-03-01  Kai Tietz  <ktietz@redhat.com>
470
471         * soft-fp: Imported from glibc upstream.
472
473 2012-02-28  Kai Tietz  <ktietz@redhat.com>
474
475         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
476         for mingw-targets as attribute gcc_struct.
477
478 2012-02-28  Ian Lance Taylor  <iant@google.com>
479
480         * generic-morestack.c (__splitstack_releasecontext): Correct call
481         to __morestack_release_segments.
482
483 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
484
485         PR target/52390
486         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
487         for __linux__ when removing signals from __morestack_fullmask.
488
489 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
490
491         PR target/52261
492         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
493
494 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
495
496         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
497         instead of HAVE_INITFINI_ARRAY.
498         * config/ia64/crtend.S: Likewise.
499
500 2012-02-20  Kai Tietz  <ktietz@redhat.com>
501
502         PR libstdc++/52300
503         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
504
505         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
506         to w32-unwind.h header.
507
508 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
509
510         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
511         (mips*-*-linux*): Remove t-slibgcc-libgcc.
512         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
513         * config/mips/mips16.S (__mips16_rdhwr): Delete.
514
515 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
516
517         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
518
519 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
520
521         PR libitm/52220
522         * config/darwin-crt-tm.c: Correct typo.
523
524 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
525             Patrick Marlier  <patrick.marlier@gmail.com>
526
527         PR libitm/52220
528         * config/darwin-crt-tm.c: Generate dummy functions.
529
530 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
531             Patrick Marlier  <patrick.marlier@gmail.com>
532
533         PR libitm/52042
534         * config/darwin-crt-tm.c (getTMCloneTable): New function.
535         (__doTMRegistrations): Call it.
536         (__doTMdeRegistrations): Likewise.
537
538 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
539             Anatoly Sokolov <aesok@post.ru>
540             Eric Weddington <eric.weddington@atmel.com>
541
542         PR target/52261
543         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
544         (__epilogue_restores__): Ditto.
545
546 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
547
548         PR target/51921
549         PR target/52205
550         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
551         Solaris 11 and slightly reformat.
552         (sparc_is_sighandler): Likewise.
553
554 2012-02-14  Walter Lee  <walt@tilera.com>
555
556         * config.host: Handle tilegx and tilepro.
557         * config/tilegx/sfp-machine.h: New file.
558         * config/tilegx/sfp-machine32.h: New file.
559         * config/tilegx/sfp-machine64.h: New file.
560         * config/tilegx/t-crtstuff: New file.
561         * config/tilegx/t-softfp: New file.
562         * config/tilegx/t-tilegx: New file.
563         * config/tilepro/atomic.c: New file.
564         * config/tilepro/atomic.h: New file.
565         * config/tilepro/linux-unwind.h: New file.
566         * config/tilepro/sfp-machine.h: New file.
567         * config/tilepro/softdivide.c: New file.
568         * config/tilepro/softmpy.S: New file.
569         * config/tilepro/t-crtstuff: New file.
570         * config/tilepro/t-tilepro: New file.
571
572 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
573
574         PR libstdc++/51296
575         PR libstdc++/51906
576         * gthr-posix.h: Allow static initializer macros to be disabled.
577         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
578
579 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
580
581         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
582         Add t-slibgcc-libgcc to tmake_file.
583         * config/mips/libgcc-mips16.ver: Revert previous patch.
584         * config/mips/mips16.S (__mips16_rdhwr): Hide.
585
586 2012-02-02  Sumanth G <sumanth.gundapaneni@kpitcummins.com>
587             Jayant R Sonar <jayant.sonar@kpitcummins.com>
588
589         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
590         * config/cr16/crti.S: New file.
591         * config/cr16/crtlibid.S: New file.
592         * config/cr16/crtn.S: New file.
593         * config/cr16/lib1funcs.S: New file.
594         * config/cr16/t-cr16: New file.
595         * config/cr16/t-crtlibid: New file.
596         * config/cr16/unwind-dw2.h: New file.
597         * config/cr16/unwind-cr16.c: New file.
598         * config/cr16/divmodhi3.c: New file.
599
600 2012-01-25  Alan Modra  <amodra@gmail.com>
601
602         * config/rs6000/t-linux64: Delete.  Move..
603         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
604         * config/rs6000/t-linux: ..and libgcc flags to here.
605
606 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
607
608         * config.host (i[34567]86-*-interix3*):
609         Change triplet to i[34567]86-*-interix[3-9]*.
610         * configure: Regenerate.
611
612 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
613             Richard Sandiford  <rdsandiford@googlemail.com>
614
615         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
616         * config/mips/mips16.S (__mips16_rdhwr): New function.
617         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
618
619 2012-01-11  Nathan Sidwell  <nathan@acm.org>
620
621         * libgcov.c (__gcov_init): Ignore objects with no functions.
622
623 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
624
625         PR target/49868
626         Extend __pgmx semantics to linearize memory.
627         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
628         * config/avr/lib1funcs.S (__xload_1): New function.
629         (__movmemx_qi, __movmemx_hi): New functions.
630         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
631         semantics.
632
633 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
634
635         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
636         purported sigacthandler address isn't null before dereferencing it.
637         (sparc_is_sighandler): Likewise.
638
639 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
640
641         PR ada/41929
642         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
643         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
644         (sparc_is_sighandler): Likewise.
645         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
646
647 2012-01-06  Tristan Gingold  <gingold@adacore.com>
648
649         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
650         compatibility thunks...
651         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
652         (crtbeginS.o, crtendS.o): ... and these to ...
653         * config/ia64/t-ia64-elf: ... this new file.
654         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
655         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
656
657 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
658
659         * configure: Regenerate.
660         * config/s390/t-crtstuff: Remove -fPIC.
661
662 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
663
664         PR bootstrap/51006
665         * enable-execute-stack-mprotect.c (getpagesize): Do not define
666         for NetBSD.
667
668 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
669
670         PR target/51345
671         * config/avr/lib1funcs.S: Remove FIXME comments.
672         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
673
674 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
675
676         Implement light-weight DImode support.
677         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
678         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
679         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
680         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
681
682 2011-12-30  Nathan Sidwell  <nathan@acm.org>
683
684         * libgcov.c (gcov_crc32): Remove global var.
685         (free_fn_data): New function.
686         (buffer_fn_data): Pass in filename, more robust error recovery.
687         (crc32_unsigned): New function.
688         (gcov_exit): More robust detection of new program. More robust
689         error recovery.
690         (__gcov_init): Do not update program's crc here.
691
692 2011-12-21  Tristan Gingold  <gingold@adacore.com>
693
694         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
695
696 2011-12-21  Ian Lance Taylor  <iant@google.com>
697
698         * config/i386/morestack.S: Simplify CFI opcodes throughout.
699
700 2011-12-20  Ian Lance Taylor  <iant@google.com>
701
702         * config/i386/morestack.S (__morestack_non_split): If there is
703         enough stack space already, don't split.  Ask for more stack space
704         than we required.
705
706 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
707
708         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
709         `sys/sdt.h'.
710         (_Unwind_DebugHook): New function.
711         (uw_restore_core_regs): New define.
712         (unwind_phase2): Use uw_restore_core_regs instead of
713         restore_core_regs.
714         (unwind_phase2_forced): Likewise.
715         (__gnu_Unwind_Resume): Likewise.
716
717 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
718
719         * config/alpha/linux-unwind.h: Update copyright years.
720         (MD_FROB_UPDATE_CONTEXT): New define.
721         (alpha_frob_update_context): New function.
722
723 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
724
725         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
726         tmake_file rather replacing it.
727
728 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
729
730         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
731         function is not used for PPC64.
732         (save_world): Amend comments.  Update the VRsave mask to reflect the
733         saved regs.
734         (rest_world): Update comments, do not  clobber r10, do not use r8.
735         (eh_rest_world_r10): Amend comments, do not use r8.
736         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
737         no longer used, move restore of CR and target address to the end of
738         the routine.
739
740 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
741
742         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
743         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
744
745 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
746
747         PR target/49313
748         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
749         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
750
751 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
752
753         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
754
755 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
756
757         PR target/49313
758         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
759         * config/avr/lib1funcs.S (__muldi3): New function.
760
761 2011-12-06  Andrew Pinski  <apinski@cavium.com>
762
763         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
764         size of func_ptr.
765         (__frame_dummy_init_array_entry): Likewise.
766
767 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
768
769         Forward-port from gcc-4_6-branch r181936 2011-12-02.
770
771         PR target/51345
772         PR target/51002
773         * config/avr/lib1funcs.S (__prologue_saves__,
774         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
775         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
776
777 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
778
779         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
780
781 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
782
783         PR other/51272
784         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
785         (_ITM_deregisterTMCloneTable): Likewise.
786         (__register_frame_info): Fix unused warning.
787         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
788         pthread_default_stacksize_np): Likewise.
789         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
790
791 2011-11-29  DJ Delorie  <dj@redhat.com>
792
793         * config.host (rl78-*-elf): New case.
794         * config/rl78: New directory for the Renesas RL78.
795
796 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
797
798         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
799         formatting.
800
801 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
802
803         PR other/51022
804         * config/rs6000/t-savresfgpr: New file.
805         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
806         $(srcdir)/config/rs6000/eabi.S.
807         * config/rs6000/t-ppccomm-ldbl: Remove.
808         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
809         tmake_file.
810         (powerpc-*-eabispe*): Likewise.
811         (powerpc-*-eabi*): Likewise.
812         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
813         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
814         to tmake_file, remove rs6000/t-ppccomm-ldbl.
815         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
816         tmake_file.
817         (powerpc-*-eabisim*): Likewise.
818         (powerpc-*-elf*): Likewise.
819         (powerpc-*-eabialtivec*): Likewise.
820         (powerpc-xilinx-eabi*): Likewise.
821         (powerpc-*-rtems*): Likewise.
822         (powerpcle-*-elf*): Likewise.
823         (powerpcle-*-eabisim*): Likewise.
824         (powerpcle-*-eabi*): Likewise.
825
826 2011-11-27  Ian Lance Taylor  <iant@google.com>
827
828         * generic-morestack.c (__splitstack_find): Check for NULL old
829         stack value.
830         (__splitstack_resetcontext): New function.
831         (__splitstack_releasecontext): New function.
832         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
833
834 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
835
836         * config/darwin-crt-tm.c: Correct comments, use correct licence.
837
838 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
839
840         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
841
842 2011-11-26  Richard Henderson  <rth@redhat.com>
843
844         * config/m68k/linux-atomic.c: New file.
845         * config/m68k/t-linux: New file.
846         * config.host (m68k-uclinux, m68k-linux): Use it.
847
848 2011-11-26  Richard Henderson  <rth@redhat.com>
849
850         * crtstuff.c (__TMC_LIST__): Mark used not unused.
851         (__TMC_END__): Only declare if hidden is available; in the definition,
852         if hidden is unavailable add a null record.
853         (deregister_tm_clones, register_tm_clones): New.
854         (__do_global_dtors_aux, frame_dummy): Use them.
855         (__do_global_dtors, __do_global_ctors_1): Likewise.
856
857 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
858
859         * config/darwin-crt-tm.c: New file.
860         * config.host (darwin): Build crttms.o crttme.o to provide
861         startup and shutdown for tm clones.
862         * config/t-darwin (crttms.o): New build rule.
863         (crttme.o): Likewise.
864
865 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
866
867         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
868         et al.
869
870 2011-11-21  Richard Henderson  <rth@redhat.com>
871
872         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
873         (__TMC_LIST__, __TMC_END__): New.
874         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
875         (__do_global_dtors): Likewise.
876         (frame_dummy): Call _ITM_registerTMCloneTable.
877         (__do_global_ctors_1): Likewise.
878
879 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
880
881         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
882         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
883         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
884         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
885         * config/i386/t-darwin64: Remove.
886         * config/sh/t-netbsd (LIB2ADD): Remove.
887
888 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
889
890         PR target/49313
891         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
892         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
893         * config/avr/lib1funcs.S (wmov): New assembler macro.
894         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
895         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
896         (__udivmod64): New function.
897         (__negdi2): New function.
898
899 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
900
901         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
902         *-*-freebsd*aout*): Remove.
903
904 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
905
906         * static-object.mk (c_flags-$o): Save c_flags.
907         ($(base)$(objext)): Use it.
908
909 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
910
911         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
912
913 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
914
915         PR target/49868
916         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
917         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
918         New functions.
919
920 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
921
922         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
923         functions.
924         (aeabi_uidivmod): Likewise.
925         (umodsi3): Likewise.
926         (divsi3): Likewise.
927         (aeabi_idivmod): Likewise.
928         (modsi3): Likewise.
929
930 2011-11-16  Tristan Gingold  <gingold@adacore.com>
931
932         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
933
934 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
935
936         PR target/49868
937         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
938         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
939
940 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
941
942         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
943         tmake_file list.
944         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
945         * config/pa/t-stublib64: Delete.
946
947 2011-11-12  Richard Henderson  <rth@redhat.com>
948
949         * config/rs6000/linux-unwind.h (frob_update_context): Properly
950         cast the pointer argument to _Unwind_SetGRPtr.
951
952 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
953
954         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
955
956 2011-11-09  Ian Lance Taylor  <iant@google.com>
957
958         * generic-morestack.c: Include <string.h>.
959         (uintptr_type): Define.
960         (struct initial_sp): Add dont_block_signals field.  Reduce size of
961         extra array by 1.
962         (allocate_segment): Set prev field to NULL.  Don't set
963         __morestack_current_segment or __morestack_segments.
964         (__generic_morestack): Update current->prev and *pp after calling
965         allocate_segment.
966         (__morestack_block_signals): Don't do anything if
967         dont_block_signals is set.
968         (__morestack_unblock_signals): Likewise.
969         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
970         uintptr_type.
971         (__splitstack_block_signals): New function.
972         (enum __splitstack_content_offsets): Define.
973         (__splitstack_getcontext, __splitstack_setcontext): New functions.
974         (__splitstack_makecontext): New function.
975         (__splitstack_block_signals_context): New function.
976         (__splitstack_find_context): New function.
977         * config/i386/morestack.S (__morestack_get_guard): New function.
978         (__morestack_set_guard, __morestack_make_guard): New functions.
979         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
980
981 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
982
983         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
984         (i[34567]86-*-mingw*): ... here.
985         (x86_64-*-mingw*): ... here.
986
987 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
988
989         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
990
991 2011-11-07  Nathan Sidwell  <nathan@acm.org>
992
993         * libgcov.c (struct gcov_fn_buffer): New struct.
994         (buffer_fn_data): New helper.
995         (gcov_exit): Rework for new gcov data structures.
996
997 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
998
999         PR target/49313
1000         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1001
1002 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1003
1004         * config.host (tmake_file): Correct comment.
1005         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1006         t-libgcc-pic.
1007         (bfin*-uclinux*): Likewise.
1008         (bfin*-linux-uclibc*): Likewise.
1009         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1010
1011         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1012         assigning.
1013         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1014         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1015         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1016         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1017         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1018         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1019         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1020         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1021         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1022         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1023         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1024         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1025         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1026
1027         * config/bfin/t-elf: Remove.
1028         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1029
1030 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1031
1032         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1033         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1034         (lm32-*-elf*, lm32-*-rtems*): Split into ...
1035         (lm32-*-elf*): ... this.
1036         (lm32-*-rtems*): ... and this.
1037         Add to tmake_file.
1038         (m32r-*-rtems*): Add to tmake_file.
1039         (moxie-*-rtems*): Likewise.
1040         (sparc-*-rtems*): Likewise.
1041         Remove t-rtems from tmake_file.
1042         (sparc64-*-rtems*): Likewise.
1043         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1044         instead.
1045
1046 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1047
1048         PR bootstrap/50982
1049         * config/gthr-posix.h: Move ...
1050         * gthr-posix.h: ... here.
1051         * config/gthr-lynx.h: Reflect this.
1052         * config/gthr-vxworks.h: Likewise.
1053         * config/rs6000/gthr-aix.h: Likewise.
1054         * configure.ac (target_thread_file): Likewise.
1055         * configure: Regenerate.
1056
1057 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1058
1059         * config.host (arm*-*-rtemseabi*): New target.
1060
1061 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1062
1063         PR other/50991
1064         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1065         extra-parts.
1066
1067 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
1068
1069         * config.host (epiphany-*-elf*): New configuration.
1070         * config/epiphany: New Directory.
1071
1072 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
1073
1074         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1075         * config/avr/t-rtems: New.
1076         Filter out _exit from LIB1ASMFUNCS.
1077
1078 2011-11-04  David S. Miller  <davem@davemloft.net>
1079
1080         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1081         * configure: Rebuild.
1082
1083 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1084
1085         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1086         variable.
1087
1088 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
1089
1090         PR target/50931
1091         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1092         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1093
1094 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
1095
1096         PR target/50989
1097         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1098
1099 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1100
1101         * config/c6x/t-elf (LIB2ADDEH): Set.
1102         * config/c6x/t-c6x-elf: Remove.
1103
1104 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1105
1106         * config/i386/sol2-ci.S: Rename to ...
1107         * config/i386/crti.S: ... this.
1108         * config/i386/sol2-cn.S: Rename to ...
1109         * config/i386/crtn.S: ... this.
1110         * config/sparc/sol2-ci.S: Rename to ...
1111         * config/sparc/crti.S: ... this.
1112         * config/sparc/sol2-cn.S: Rename to ...
1113         * config/sparc/crtn.S: ... this.
1114         * config/t-sol2 (CUSTOM_CRTIN): Remove.
1115         (crti.o, crtn.o): Remove.
1116
1117 2011-11-04  Tristan Gingold  <gingold@adacore.com>
1118
1119         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1120
1121 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
1122
1123         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1124
1125 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
1126
1127         * config.host (crisv32-*-none, cris-*-none): Remove.
1128         (crisv32-*-elf): Append to tmake_file, don't just set it.
1129         (cris-*-elf): Add missing t-fdpbit to tmake_file.
1130
1131 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1132
1133         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1134         (ecrtn$(objext)): Likewise.
1135         (ncrti$(objext)): Likewise.
1136         (ncrtn$(objext)): Likewise.
1137
1138 2011-11-03  Andreas Schwab  <schwab@redhat.com>
1139
1140         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
1141
1142 2011-11-02  David S. Miller  <davem@davemloft.net>
1143
1144         * configure.ac: Set host_address on sparc too.
1145         * configure: Regenerate.
1146         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
1147         based upon host_address.
1148         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
1149
1150 2011-11-02  Jason Merrill  <jason@redhat.com>
1151
1152         * config/rs6000/t-ppccomm: Add missing \.
1153
1154 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1155
1156         * gthr-single.h, gthr.h: New files.
1157         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
1158         config/gthr-vxworks.h, config/i386/gthr-win32.h,
1159         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
1160         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
1161         * config/i386/gthr-win32.c: Include "gthr-win32.h".
1162         * configure.ac (thread_header): New variable.
1163         Set it depending on target_thread_file.
1164         (gthr-default.h): Link from $thread_header.
1165         * configure: Regenerate.
1166         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
1167
1168 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1169
1170         * configure.ac (tm_file_): New variable.
1171         Determine from tm_file.
1172         (tm_file, tm_defines): Substitute.
1173         * configure: Regenerate.
1174         * mkheader.sh: New file.
1175         * Makefile.in (clean): Remove libgcc_tm.h.
1176         ($(objects)): Depend on libgcc_tm.h.
1177         (libgcc_tm_defines, libgcc_tm_file): New variables.
1178         (libgcc_tm.h, libgcc_tm.stamp): New targets.
1179         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
1180         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
1181         ($(extra-parts)): Depend on libgcc_tm.h.
1182         * config.host (tm_defines, tm_file): New variable.
1183         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
1184         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
1185         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
1186         (avr-*-rtems*): Likewise.
1187         (avr-*-*): Likewise.
1188         (frv-*-elf): Likewise.
1189         (frv-*-*linux*): Likewise.
1190         (h8300-*-rtems*): Likewise.
1191         (h8300-*-elf*): Likewise.
1192         (i[34567]86-*-darwin*): Likewise.
1193         (x86_64-*-darwin*): Likewise.
1194         (rx-*-elf): Likewise.
1195         (tic6x-*-uclinux): Likewise.
1196         (tic6x-*-elf): Likewise.
1197         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
1198         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
1199         * config/i386/cygming-crtbegin.c: Likewise.
1200         * config/i386/cygming-crtend.c: Likewise.
1201         * config/ia64/fde-vms.c: Likewise.
1202         * config/ia64/unwind-ia64.c: Likewise.
1203         * config/libbid/bid_gcc_intrinsics.h: Likewise.
1204         * config/rs6000/darwin-fallback.c: Likewise.
1205         * config/stormy16/lib2funcs.c: Likewise.
1206         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
1207         * crtstuff.c: Likewise.
1208         * dfp-bit.h: Likewise.
1209         * emutls.c: Likewise.
1210         * fixed-bit.c: Likewise.
1211         * fp-bit.c: Likewise.
1212         * generic-morestack-thread.c: Likewise.
1213         * generic-morestack.c: Likewise.
1214         * libgcc2.c: Likewise.
1215         * libgcov.c: Likewise.
1216         * unwind-dw2-fde-dip.c: Likewise.
1217         * unwind-dw2-fde.c: Likewise.
1218         * unwind-dw2.c: Likewise.
1219         * unwind-sjlj.c: Likewise.
1220
1221 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1222
1223         * configure.ac: Include ../config/picflag.m4.
1224         (GCC_PICFLAG): Call it.
1225         Substitute.
1226         * configure: Regenerate.
1227         * Makefile.in (gcc_srcdir): Remove.
1228         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
1229         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
1230         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
1231         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
1232         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
1233         Use $<.
1234         Remove comment.
1235         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
1236         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
1237         to refer to libgcc2.c.
1238         Use $<.
1239         * config/darwin-64.c: New file.
1240         * config/darwin-crt3.c: Remove comment.
1241         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
1242         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
1243         config/udivmodsi4.c: New files.
1244         * config/memcmp.c, config/memcpy.c, config/memmove.c,
1245         config/memset.c: New files.
1246         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
1247         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
1248         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
1249         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
1250         * config/t-openbsd-thread: New file.
1251         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
1252         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
1253         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
1254         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
1255         qrnnd.S.
1256         Adapt filename.
1257         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
1258         to refer to gthr-posix.c.
1259         * config/alpha/t-vms (LIB2ADD): Set.
1260         * config/alpha/vms-gcc_shell_handler.c: New file.
1261         * config/arm/bpabi.c, config/arm/fp16.c,
1262         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
1263         config/arm/unaligned-funcs.c: New files.
1264         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
1265         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1266         * config/arm/t-linux: Likewise.
1267         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
1268         * config/arm/t-netbsd: New file.
1269         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
1270         * config/arm/t-symbian (LIB2ADD_ST): Set.
1271         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
1272         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1273         * config/bfin/t-elf: New file.
1274         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
1275         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
1276         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
1277         config/c6x/ltf.c: New files.
1278         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
1279         (HOST_LIBGCC2_CFLAGS): Set.
1280         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
1281         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1282         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
1283         New files.
1284         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
1285         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
1286         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
1287         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
1288         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
1289         files.
1290         * config/frv/t-frv (LIB2ADD): Set.
1291         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1292         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
1293         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
1294         config/h8300/popcounthi2.c: New files.
1295         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1296         * config/i386/gthr-win32.c: New file.
1297         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
1298         * config/i386/t-cygwin: Likewise.
1299         * config/i386/t-darwin, config/i386/t-darwin64,
1300         config/i386/t-gthr-win32, config/i386/t-interix: New files.
1301         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
1302         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1303         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1304         * config/ia64/quadlib.c: New file.
1305         * config/ia64/t-hpux (LIB2ADD): Set.
1306         * config/ia64/t-ia64: Add comment.
1307         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
1308         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1309         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
1310         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
1311         * config/m32c/t-m32c (LIB2ADD): Set.
1312         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1313         * config/m32r/t-m32r: Likewise.
1314         * config/m68k/fpgnulib.c: New file.
1315         * config/m68k/t-floatlib (LIB2ADD): Set.
1316         (xfgnulib.c): New target.
1317         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
1318         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
1319         * config/mep/t-mep (LIB2ADD): Set.
1320         * config/microblaze/divsi3.asm: Rename to divsi3.S.
1321         * config/microblaze/moddi3.asm: Rename to moddi3.S.
1322         * config/microblaze/modsi3.asm: Rename to modsi3.S.
1323         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
1324         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
1325         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
1326         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
1327         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
1328         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
1329         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
1330         New files.
1331         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
1332         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
1333         * config/pa/fptr.c, config/pa/lib2funcs.S,
1334         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
1335         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
1336         (LIB2ADD, LIB2ADD_ST): Set.
1337         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
1338         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
1339         Set.
1340         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
1341         * config/pdp11/t-pdp11: New file.
1342         * config/picochip/libgccExtras/adddi3.S,
1343         config/picochip/libgccExtras/ashlsi3.S,
1344         config/picochip/libgccExtras/ashrsi3.S,
1345         config/picochip/libgccExtras/clzsi2.S,
1346         config/picochip/libgccExtras/cmpsi2.S,
1347         config/picochip/libgccExtras/divmod15.S,
1348         config/picochip/libgccExtras/divmodhi4.S,
1349         config/picochip/libgccExtras/divmodsi4.S,
1350         config/picochip/libgccExtras/lshrsi3.S,
1351         config/picochip/libgccExtras/parityhi2.S,
1352         config/picochip/libgccExtras/popcounthi2.S,
1353         config/picochip/libgccExtras/subdi3.S,
1354         config/picochip/libgccExtras/ucmpsi2.S,
1355         config/picochip/libgccExtras/udivmodhi4.S,
1356         config/picochip/libgccExtras/udivmodsi4.S: New files.
1357         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
1358         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
1359         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
1360         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
1361         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
1362         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
1363         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
1364         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
1365         files.
1366         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
1367         (HOST_LIBGCC2_CFLAGS): Set.
1368         * config/rs6000/t-darwin64: New file.
1369         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
1370         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
1371         * config/rs6000/t-ppccomm (LIB2ADD): Add
1372         $(srcdir)/config/rs6000/tramp.S.
1373         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
1374         Add  $(srcdir)/config/rs6000/eabi.S.
1375         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
1376         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
1377         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
1378         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
1379         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
1380         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
1381         * config/rs6000/tramp.S: New file.
1382         * config/s390/t-tpf: Remove.
1383         * config/sh/linux-atomic.S: New file.
1384         * config/sh/t-linux (LIB2ADD): Set.
1385         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
1386         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
1387         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
1388         to unwind-dw2.c.
1389         (HOST_LIBGCC2_CFLAGS): Set.
1390         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
1391         * config/spu/divmodti4.c, config/spu/divv2df3.c,
1392         config/spu/float_disf.c, config/spu/float_unsdidf.c,
1393         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
1394         config/spu/mfc_multi_tag_release.c,
1395         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
1396         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
1397         config/spu/multi3.c: New files.
1398         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
1399         (HOST_LIBGCC2_CFLAGS): Set.
1400         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
1401         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
1402         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
1403         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
1404         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
1405         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
1406         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
1407         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
1408         config/stormy16/umodsi3.c: New files.
1409         * config/xtensa/lib2funcs.S: New file.
1410         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
1411         * config/xtensa/t-xtensa (LIB2ADD): Set.
1412         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
1413         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
1414         Add t-freebsd-thread to tmake_file for posix threads.
1415         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
1416         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
1417         (*-*-lynxos*): Likewise.
1418         (*-*-netbsd*): Likewise.
1419         (*-*-openbsd*): Likewise.
1420         Add t-openbsd-thread to tmake_file for posix threads.
1421         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
1422         (*-*-vxworks*): Set tmake_file.
1423         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1424         (alpha*-*-freebsd*): Likewise.
1425         (alpha*-*-netbsd*): Likewise.
1426         (alpha*-*-openbsd*): Likewise.
1427         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
1428         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
1429         (alpha*-dec-*vms*): Likewise.
1430         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
1431         (bfin*-elf*): Add bfin/t-elf to tmake_file.
1432         (bfin*-uclinux*): Likewise.
1433         (bfin*-linux-uclibc*): Likewise.
1434         (crisv32-*-elf): Add cris/t-cris to tmake_file.
1435         (crisv32-*-none): Likewise.
1436         (cris-*-elf): Likewise.
1437         (cris-*-none): Likewise.
1438         (cris-*-linux*, crisv32-*-linux*): Likewise.
1439         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
1440         tmake_file.
1441         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
1442         tmake_file.
1443         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
1444         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
1445         (x86_64-*-elf*): Likewise.
1446         (i[34567]86-*-nto-qnx*): Likewise.
1447         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
1448         win32 threads.
1449         (x86_64-*-mingw*): Likewise.
1450         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
1451         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
1452         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1453         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1454         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
1455         tmake_file.
1456         (mipsisa64sr71k-*-elf*): Likewise.
1457         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1458         (mips-*-elf*, mipsel-*-elf*): Likewise.
1459         (mips64-*-elf*, mips64el-*-elf*): Likewise.
1460         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
1461         (mips*-*-rtems*): Likewise.
1462         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
1463         to tmake_file.
1464         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
1465         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
1466         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
1467         (spu-*-elf*): Likewise.
1468         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
1469
1470 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1471
1472         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
1473         $(srcdir) to refer to $(LIB1ASMSRC).
1474         Use $<.
1475         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
1476         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
1477         config/arm/lib1funcs.S: New files.
1478         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
1479         * config/arm/t-arm: New file.
1480         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
1481         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
1482         config/arm/t-strongarm-elf: New files.
1483         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
1484         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
1485         * config/avr/lib1funcs.S: New file.
1486         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1487         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
1488         * config/c6x/lib1funcs.S: New file.
1489         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1490         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
1491         * config/frv/lib1funcs.S: New file.
1492         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1493         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
1494         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
1495         * config/ia64/__divxf3.asm: Rename to ...
1496         * config/ia64/__divxf3.S: ... this.
1497         Adapt lib1funcs.asm filename.
1498         * config/ia64/_fixtfdi.asm: Rename to ...
1499         * config/ia64/_fixtfdi.S: ... this.
1500         Adapt lib1funcs.asm filename.
1501         * config/ia64/_fixunstfdi.asm: Rename to ...
1502         * config/ia64/_fixunstfdi.S: ... this.
1503         Adapt lib1funcs.asm filename.
1504         * config/ia64/_floatditf.asm: Rename to ...
1505         * config/ia64/_floatditf.S: ... this.
1506         Adapt lib1funcs.asm filename.
1507         * config/ia64/lib1funcs.S: New file.
1508         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
1509         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1510         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
1511         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
1512         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
1513         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
1514         * config/mep/lib1funcs.S: New file.
1515         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1516         * config/mips/mips16.S: New file.
1517         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1518         * config/pa/milli64.S: New file.
1519         * config/pa/t-linux, config/pa/t-linux64: New files.
1520         * config/picochip/lib1funcs.S: New file.
1521         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1522         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
1523         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
1524         * config/sh/t-netbsd: New file.
1525         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
1526         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
1527         * config/sh/t-sh64: New file.
1528         * config/sparc/lb1spc.S: New file.
1529         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
1530         filename.
1531         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
1532         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
1533         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
1534         config/xtensa/lib1funcs.S: New files.
1535         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
1536         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
1537         tmake_file.
1538         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
1539         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
1540         (arm*-*-linux*): Likewise.
1541         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
1542         arm*-*-linux-*eabi, add arm/t-linux otherwise.
1543         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
1544         (arm*-*-ecos-elf): Likewise.
1545         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
1546         (arm*-*-rtems*): Likewise.
1547         (arm*-*-elf): Likewise.
1548         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
1549         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
1550         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
1551         (bfin*-uclinux*): Likewise.
1552         (bfin*-linux-uclibc*): Likewise.
1553         (bfin*-rtems*): Likewise.
1554         (bfin*-*): Likewise.
1555         (fido-*-elf): Merge into m68k-*-elf*.
1556         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
1557         (frv-*-*linux*): Add frv/t-frv to tmake_file.
1558         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
1559         (h8300-*-elf*): Likewise.
1560         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
1561         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
1562         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
1563         (i[34567]86-*-mingw*): Likewise.
1564         (x86_64-*-mingw*): Likewise.
1565         (i[34567]86-*-interix3*): Likewise.
1566         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
1567         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
1568         (m68k-*-elf*): Also handle fido-*-elf.
1569         Add m68k/t-floatlib to tmake_file.
1570         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
1571         (m68k-*-linux*): Likewise.
1572         (m68k-*-rtems*): Likewise.
1573         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
1574         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
1575         sh64*-*-*.
1576         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
1577         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
1578         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
1579         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
1580         sh/t-netbsd to tmake_file.
1581         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
1582         (sh-*-rtems*): Add sh/t-sh to tmake_file.
1583         (sh-wrs-vxworks): Likewise.
1584         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
1585         *-leon[3-9]*.
1586         (v850*-*-*): Add v850/t-v850 to tmake_file.
1587         (vax-*-linux*): Add vax/t-linux to tmake_file.
1588         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
1589
1590 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1591
1592         * crtstuff.c: New file.
1593         * Makefile.in (CRTSTUFF_CFLAGS): Define.
1594         (CRTSTUFF_T_CFLAGS): Define.
1595         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
1596         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
1597         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
1598         crtstuff.c.
1599         Use $<.
1600         (crtbeginT.o): Use $(objext).
1601         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
1602         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
1603         (gcc-extra-parts): Remove.
1604         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
1605         Set extra_parts.
1606         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1607         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
1608         Add t-crtstuff-pic to tmake_file.
1609         (*-*-lynxos*): New case.
1610         Set tmake_file, extra_parts.
1611         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
1612         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
1613         *-*-netbsdelf[2-9]*.
1614         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
1615         (*-*-rtems*): Set extra_parts.
1616         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
1617         (*-*-uclinux*): New case.
1618         Set extra_parts.
1619         (*-*-vms*): New case.
1620         Set tmake_file, extra_parts.
1621         (*-*-elf): Set extra_parts.
1622         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
1623         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
1624         vms/t-vms64.
1625         Set extra_parts.
1626         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
1627         Set extra_parts.
1628         (arm*-*-freebsd*): Add t-crtin to tmake_file.
1629         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
1630         (arm-wrs-vxworks): Append to tmake_file.
1631         Set extra_parts.
1632         (arm*-*-uclinux*): Set extra_parts.
1633         (arm*-*-ecos-elf): Likewise.
1634         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
1635         arm*-*-eabi*.
1636         (arm*-*-rtems*): Set extra_parts.
1637         (arm*-*-elf): Likewise.
1638         (avr-*-rtems*): Clear extra_parts.
1639         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
1640         Set extra_parts.
1641         (bfin*-uclinux*): Likewise.
1642         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
1643         (bfin*-rtems*): Append to tmake_file.
1644         Set extra_parts.
1645         (bfin*-*): Likewise.
1646         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
1647         (crisv32-*-elf): ... this.
1648         (crisv32-*-none): ... this.
1649         (cris-*-elf, cris-*-none): New cases.
1650         Add cris/t-elfmulti to tmake_file.
1651         (fr30-*-elf): Append to tmake_file.
1652         Set extra_parts.
1653         (frv-*-elf): Append to tmake_file, add frv/t-frv.
1654         Set extra_parts.
1655         (h8300-*-rtems*): Append to tmake_file.
1656         Set extra_parts.
1657         (h8300-*-elf*): Likewise.
1658         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
1659         Set extra_parts.
1660         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
1661         Set extra_parts.
1662         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
1663         (x86_64-*-elf*): Likewise.
1664         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
1665         (x86_64-*-freebsd*): Likewise.
1666         (x86_64-*-netbsd*): Likewise.
1667         (i[34567]86-*-linux*): Likewise.
1668         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
1669         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
1670         (x86_64-*-linux*): Likewise.
1671         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
1672         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
1673         tmake_file.
1674         Set extra_parts.
1675         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
1676         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
1677         Append to extra_parts, remove crtbegin.o, crtend.o.
1678         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
1679         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
1680         crtend.o, crtbeginS.o, crtendS.o.
1681         (ia64*-*-linux*): Comment extra_parts.
1682         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
1683         Set extra_parts.
1684         (iq2000*-*-elf*): Clear extra_parts.
1685         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
1686         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
1687         (m32r-*-elf*, m32r-*-rtems*): Split off ...
1688         (m32r-*-rtems*): ... this.
1689         Add m32r/t-m32r to tmake_file.
1690         (m68k-*-elf*): Add t-crtin to tmake_file.
1691         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
1692         (mcore-*-elf): Likewise.
1693         (microblaze*-*-*): Set extra_parts.
1694         (mips*-sde-elf*): New case.
1695         Set tmake_file, extra_parts.
1696         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
1697         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
1698         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
1699         tmake_file.
1700         Set extra_parts.
1701         (mipsisa64sr71k-*-elf*): Likewise.
1702         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
1703         (mips-*-elf*, mipsel-*-elf*): Likewise.
1704         (mips64-*-elf*, mips64el-*-elf*): Likewise.
1705         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
1706         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
1707         (mips*-*-rtems*): Likewise.
1708         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
1709         (moxie-*-*): Split into ...
1710         (moxie-*-elf, moxie-*-uclinux*): ... this.
1711         Add to extra_parts, remove crtbegin.o, crtend.o.
1712         (moxie-*-rtems*): New case.
1713         Set tmake_file.
1714         Clear extra_parts.
1715         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
1716         Set extra_parts.
1717         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1718         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
1719         tmake_file.
1720         Set extra_parts.
1721         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
1722         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
1723         Set extra_parts.
1724         (powerpc-*-eabisim*): Likewise.
1725         (powerpc-*-elf*): Likewise.
1726         (powerpc-*-eabialtivec*): Likewise.
1727         (powerpc-xilinx-eabi*): Likewise.
1728         (powerpc-*-eabi*): Likewise.
1729         (powerpc-*-rtems*): Likewise.
1730         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
1731         tmake_file.
1732         Set extra_parts.
1733         (powerpc-*-lynxos*): Add to tmake_file.
1734         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
1735         rs6000/t-crtstuff, t-crtstuff-pic.
1736         Set extra_parts.
1737         (powerpcle-*-eabisim*): Likewise.
1738         (powerpcle-*-eabi*): Likewise.
1739         (rx-*-elf): Remove extra_parts.
1740         (s390x-ibm-tpf*): Set extra_parts.
1741         (score-*-elf): Set extra_parts.
1742         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
1743         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
1744         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
1745         (sh64l*-*-netbsd*): Split into ...
1746         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
1747         Add t-crtstuff-pic to tmake_file.
1748         Set extra_parts.
1749         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
1750         Set extra_parts.
1751         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
1752         (sparc-*-elf*): Remove t-crtin from tmake_file.
1753         Add to extra_parts, remove crtbegin.o, crtend.o.
1754         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
1755         (sparc64-*-linux*): Likewise.
1756         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
1757         Add to extra_parts, remove crtbegin.o, crtend.o.
1758         (sparc64-*-elf*): Remove t-crtin from tmake_file.
1759         Add to extra_parts, remove crtbegin.o, crtend.o.
1760         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
1761         Add to extra_parts, remove crtbegin.o, crtend.o.
1762         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
1763         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
1764         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
1765         Set extra_parts.
1766         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
1767         Set extra_parts.
1768         (tic6x-*-*): Change to ...
1769         (tic6x-*-elf): ... this.
1770         Set extra_parts.
1771         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
1772         Set extra_parts.
1773         (am33_2.0-*-linux*): Add comment.
1774         (mep*-*-*): Add mep/t-mep to tmake_file.
1775         Set extra_parts.
1776         * config/alpha/t-vms: New file.
1777         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
1778         * config/arm/crti.S, config/arm/crtn.S: New files.
1779         * config/bfin/crti.S, config/bfin/crtn.S: New files.
1780         * config/bfin/crtlibid.S: New file.
1781         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
1782         * config/c6x/crti.S, config/c6x/crtn.S: New files.
1783         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
1784         (crti.o, crtin.o): New rules.
1785         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1786         * config/c6x/t-uclinux: New file.
1787         * config/cris/t-elfmulti: New file.
1788         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
1789         * config/fr30/crti.S, config/fr30/crtn.S: New files.
1790         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
1791         * config/frv/t-frv: New file.
1792         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
1793         * config/h8300/crti.S, config/h8300/crtn.S: New files.
1794         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
1795         New files.
1796         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
1797         refer to cygming-crtbegin.c, cygming-crtend.c.
1798         Use $<.
1799         * config/i386/t-nto: New file.
1800         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
1801         * config/ia64/crti.S, config/ia64/crtn.S: New files.
1802         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
1803         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
1804         Use .S extension.
1805         Use $<.
1806         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
1807         (crtinitS.o): New rule.
1808         * config/ia64/vms-crtinit.S: New file.
1809         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
1810         * config/m32r/initfini.c: New file.
1811         * config/m32r/t-linux, config/m32r/t-m32r: New files.
1812         * config/m68k/crti.S, config/m68k/crtn.S: New files.
1813         * config/mcore/crti.S, config/mcore/crtn.S: New files.
1814         * config/mep/t-mep: New file.
1815         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
1816         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
1817         * config/mips/crti.S, config/mips/crtn.S: New files.
1818         * config/mips/t-crtstuff: New file.
1819         * config/mmix/crti.S, config/mmix/crtn.S: New files.
1820         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
1821         (CUSTOM_CRTIN): Set.
1822         ($(T)crti.o, $(T)crtn.o): Remove $(T),
1823         dependencies.
1824         Use $(srcdir) to refer to crti.S, crtn.S.
1825         Use .S extension, $<.
1826         * config/moxie/crti.asm: Rename to ...
1827         * config/moxie/crti.S: ... this.
1828         * config/moxie/crtn.asm: Rename to ...
1829         * config/moxie/crtn.S: ... this.
1830         * config/moxie/t-moxie: Remove.
1831         * config/pa/stublib.c: New file.
1832         * config/pa/t-stublib, config/pa/t-stublib64: New files.
1833         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
1834         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
1835         * config/rs6000/t-crtstuff: New file.
1836         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
1837         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
1838         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
1839         Make output file explicit.
1840         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
1841         Make output file explicit.
1842         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
1843         Make output file explicit.
1844         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
1845         Make output file explicit.
1846         * config/score/crti.S, config/score/crtn.S: New files.
1847         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
1848         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
1849         files.
1850         * config/sh/t-sh, config/sh/t-superh: New files.
1851         * config/sparc/t-linux64: New file.
1852         * config/spu/cache.S, config/spu/cachemgr.c: New files.
1853         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
1854         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
1855         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
1856         * config/t-crtin: Remove.
1857         * config/t-crtstuff-pic: New file.
1858         * config/t-sol2 (CUSTOM_CRTIN): Set.
1859         (crti.o, crtn.o): New rules.
1860         * config/vms/t-vms: New file.
1861         * config/vms/vms-ucrt0.c: New file.
1862         * config/xtensa/t-elf: New file.
1863
1864 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1865
1866         * Makefile.in (SHLIB_NM_FLAGS): Set.
1867         * mkmap-flat.awk, mkmap-symver.awk: New files.
1868         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
1869         exceptions.
1870         * configure: Regenerate.
1871         * config/libgcc-glibc.ver: New file.
1872         * config/libgcc-libsystem.ver: New file.
1873         * config/t-libunwind (SHLIB_LC): Set.
1874         * config/t-linux: New file.
1875         * config/t-slibgcc (INSTALL_SHLIB): New.
1876         (SHLIB_INSTALL): Use it.
1877         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
1878         to mkmap-symver.awk.
1879         (SHLIB_MAPFILES): Don't append, adapt pathname.
1880         (SHLIB_VERPFX): Set.
1881         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
1882         to mkmap-symver.awk.
1883         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
1884         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
1885         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
1886         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
1887         to mkmap-flat.awk.
1888         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
1889         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
1890         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
1891         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
1892         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
1893         * config/i386/libgcc-darwin.10.4.ver,
1894         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
1895         New files.
1896         * config/i386/t-darwin: Remove.
1897         * config/i386/t-darwin64: Likewise.
1898         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
1899         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
1900         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
1901         * config/i386/t-linux: New file.
1902         * config/i386/t-mingw32: New file.
1903         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
1904         * config/ia64/t-glibc: Rename to ...
1905         * config/ia64/t-linux: ... this.
1906         (SHLIB_MAPFILES): Set.
1907         * config/ia64/t-glibc-libunwind: Rename to ...
1908         * config/ia64/t-linux-libunwind: ... this.
1909         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
1910         * config/ia64/t-slibgcc-hpux: New file.
1911         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
1912         * config/m68k/t-slibgcc-elf-ver: New file.
1913         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
1914         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
1915         to mkmap-flat.awk.
1916         * config/pa/t-slibgcc-hpux: New file.
1917         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
1918         files.
1919         * config/rs6000/libgcc-darwin.10.4.ver,
1920         config/rs6000/libgcc-darwin.10.5.ver: New files.
1921         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
1922         config/rs6000/libgcc-glibc.ver.
1923         * config/rs6000/libgcc-ppc64.ver: Rename to
1924         config/rs6000/libgcc-ibm-ldouble.ver.
1925         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
1926         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
1927         * config/rs6000/t-ldbl128: Rename to ...
1928         * config/rs6000/t-linux: ... this.
1929         (SHLIB_MAPFILES): Adapt filename.
1930         * config/rs6000/t-slibgcc-aix: New file.
1931         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
1932         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
1933         libgcc-excl.ver, libgcc-glibc.ver.
1934         (SHLIB_LINK, SHLIB_INSTALL): Remove.
1935         * config/sparc/libgcc-glibc.ver: New file.
1936         * config/sparc/t-linux: New file.
1937         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
1938         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
1939         t-slibgcc-elf-ver to tmake_file.
1940         Add t-slibgcc-nolc-override to tmake_file for posix threads on
1941         *-*-freebsd[34].
1942         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
1943         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
1944         t-slibgcc-elf-ver, t-linux to tmake_file.
1945         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
1946         tmake_file.
1947         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
1948         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
1949         (alpha*-dec-*vms*): Likewise.
1950         (arm*-*-freebsd*): Append to tmake_file.
1951         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
1952         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
1953         arm*-*-linux-*eabi.
1954         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
1955         tmake_file for arm*-*-symbianelf*.
1956         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
1957         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
1958         cris/t-linux.
1959         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
1960         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
1961         pa/t-slibgcc-dwarf-ver to tmake_file.
1962         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
1963         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
1964         (hppa*64*-*-hpux11*): Likewise.
1965         (hppa[12]*-*-hpux11*): Likewise.
1966         (x86_64-*-darwin*): Don't override tmake_file, but only keep
1967         i386/t-crtpc, i386/t-crtfm.
1968         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
1969         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1970         to tmake_file.
1971         Add i386/t-cygwin to tmake_file.
1972         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
1973         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
1974         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
1975         to tmake_file.
1976         Add i386/t-mingw32 to tmake_file.
1977         (x86_64-*-mingw*): Likewise.
1978         (ia64*-*-freebsd*): Append to tmake_file.
1979         (ia64*-*-linux*): Append to tmake_file.
1980         Replace ia64/t-glibc by ia64/t-linux.
1981         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
1982         system libunwind.
1983         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
1984         t-slibgcc-hpux to tmake_file.
1985         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
1986         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
1987         (m32rle-*-linux*): Likewise.
1988         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
1989         sjlj exceptions.
1990         (microblaze*-linux*): New case.
1991         Append to tmake_file, add t-slibgcc-nolc-override.
1992         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
1993         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1994         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
1995         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
1996         rs6000/t-slibgcc-aix to tmake_file.
1997         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
1998         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
1999         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2000         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2001         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2002         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2003         sh*-*-linux*.
2004         (sparc-*-linux*): Append to tmake_file for *-leon*.
2005         Add sparc/t-linux to tmake_file for non-Leon targets.
2006         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2007         (tic6x-*-uclinux): New case.
2008         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2009         (tic6x-*-*): Add c6x/t-elf to tmake_file.
2010         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2011         (am33_2.0-*-linux*): Append to tmake_file.
2012         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2013         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2014         x86_64-*-kfreebsd*-gnu.
2015         Add i386/t-linux to tmake_file.
2016
2017 2011-10-28  Ian Lance Taylor  <iant@google.com>
2018
2019         * config/i386/morestack.S: Correct CFI information to do proper
2020         returns throughout function.  In 32-bit mode, save %ebx so that it
2021         is restored on unwind.
2022
2023 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
2024
2025         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2026         case where B3 isn't the return register.
2027
2028         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2029         logic for doubleword pops.
2030
2031 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
2032
2033         * config/rs6000/t-freebsd: Add wildcard.
2034
2035 2011-10-21  Paul Brook  <paul@codesourcery.com>
2036
2037         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2038
2039 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
2040             Eric Botcazou  <ebotcazou@adacore.com>
2041
2042         PR target/50737
2043         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2044         fs->signal_frame to 1.
2045
2046 2011-10-07  Ian Lance Taylor  <iant@google.com>
2047
2048         * generic-morestack-thread.c: #include <errno.h>.
2049
2050 2011-10-07  Ian Lance Taylor  <iant@google.com>
2051
2052         PR target/46093
2053         * generic-morestack.c (__generic_morestack): Make sure the segment
2054         is large enough for both the stack frame and the copied
2055         parameters.
2056
2057 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2058
2059         PR bootstrap/49804
2060         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2061         extra_parts.
2062
2063 2011-09-28  Nick Clifton  <nickc@redhat.com>
2064
2065         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2066         64-bit doubles are not enabled.
2067         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2068         and floatunsisf functions.
2069
2070 2011-09-13  Paul Brook  <paul@codesourcery.com>
2071
2072         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
2073         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2074         * unwind-arm-common.inc: New file.
2075         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2076         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2077         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2078         * config/c6x/libunwind.S: New file.
2079         * config/c6x/pr-support.c: New file.
2080         * config/c6x/unwind-c6x.c: New file.
2081         * config/c6x/unwind-c6x.h: New file.
2082         * config/c6x/t-c6x-elf: New file.
2083
2084 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
2085
2086         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2087         (ASM_DIVZERO): Ditto.
2088         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2089
2090 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
2091
2092         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2093
2094 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
2095
2096         PR target/50090
2097         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2098         instead of an assembly one.
2099
2100 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
2101
2102         PR bootstrap/50047
2103         * Makefile.in (install-unwind_h): Create
2104         $(gcc_objdir)/include/unwind.h atomically.
2105
2106 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2107
2108         * Makefile.in (install-unwind_h): Remove destination file first.
2109
2110 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2111
2112         * sync.c: New file.
2113         * config/mips/t-mips16: New file.
2114         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2115         (mips*-*-linux*): Likewise.
2116         (mips*-sde-elf*): Likewise.
2117         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2118         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2119         Add mips/t-mips16 to tmake_file.
2120         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2121         (mips-*-elf*): Likewise.
2122         (mips64-*-elf*): Likewise.
2123         (mips64orion-*-elf*): Likewise.
2124         (mips*-*-rtems*): Likewise.
2125         (mipstx39-*-elf*): Likewise.
2126         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2127         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2128         LIBGCC_SYNC_CFLAGS.
2129         Use $(srcdir) to refer to sync.c.
2130         Use $<.
2131         ($(libgcc-sync-funcs-o)): Likewise.
2132         ($(libgcc-sync-size-funcs-s-o)): Likewise.
2133         ($(libgcc-sync-funcs-s-o)): Likewise.
2134
2135 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
2136
2137         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
2138         t-libunwind.
2139
2140 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
2141
2142         PR other/48007
2143         * config/i386/value-unwind.h: New.
2144
2145 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
2146
2147         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
2148         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
2149         Add to tmake_file rather than overriding it.
2150
2151 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2152
2153         * config/t-softfp: Remove.
2154         * soft-fp: Moved from ../gcc/config.
2155         * soft-fp/README: Remove t-softfp reference.
2156         * soft-fp/t-softfp: Move to config/t-softfp.
2157         (softfp_machine_header): Remove.
2158         (softfp_file_list): Remove config subdir.
2159         (soft-fp-objects): New variable.
2160         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
2161         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
2162         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
2163         * config/t-softfp-excl: New file.
2164         * config/t-softfp-sfdf: New file.
2165         * config/t-softfp-tf: New file.
2166         * config/no-sfp-machine.h: New file.
2167         * config/arm/sfp-machine.h: New file.
2168         * config/arm/t-softfp: New file.
2169         * config/c6x/sfp-machine.h: New file.
2170         * config/i386/32/t-fprules-softfp: Rename to ...
2171         * config/i386/32/t-softfp: ... this.
2172         (tifunctions, LIB2ADD): Remove.
2173         (softfp_int_modes): Override.
2174         * config/i386/64/t-softfp-compat (tf-functions): Remove config
2175         subdir.
2176         * config/i386/64/eqtf2.c: Likewise.
2177         * config/i386/64/getf2.c: Likewise.
2178         * config/i386/64/letf2.c: Likewise.
2179         * config/ia64/sft-machine.h: New file.
2180         * config/ia64/t-fprules-softfp: Rename to ...
2181         * config/ia64/t-softfp: ... this.
2182         * config/lm32/sfp-machine.h: New file.
2183         * config/moxie/t-moxie-softfp: Remove.
2184         * config/rs6000/ibm-ldouble-format: New file.
2185         * config/rs6000/ibm-ldouble.c: New file.
2186         * config/rs6000/libgcc-ppc-glibc.ver: New file
2187         * config/rs6000/libgcc-ppc64.ver: New file
2188         * config/rs6000/sfp-machine.h: New file.
2189         * config/rs6000/t-freebsd: New file.
2190         * config/rs6000/t-ibm-ldouble: New file.
2191         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
2192         libgcc-ppc-glibc.ver.
2193         * config/rs6000/t-linux64: New file.
2194         * config/rs6000/t-ppccomm (LIB2ADD): Add
2195         $(srcdir)/config/rs6000/ibm-ldouble.c.
2196         * config/rs6000/t-ppccomm-ldbl: New file.
2197         * config/score/sfp-machine.h: New file.
2198         * config.host (sfp_machine_header): Explain.
2199         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
2200         t-softfp to tmake_file.
2201         (arm*-*-uclinux*): Likewise.
2202         (arm*-*-ecos-elf): Likewise.
2203         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2204         (arm*-*-rtems*): Likewise.
2205         (arm*-*-elf): Likewise.
2206         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
2207         in tmake_file.
2208         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
2209         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
2210         (lm32-*-uclinux*): Likewise.
2211         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
2212         t-softfp-excl, t-softfp.
2213         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
2214         (powerpc64-*-darwin*): Likewise.
2215         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
2216         to tmake_file.
2217         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
2218         tmake_file.
2219         (powerpc-*-eabisim*): Likewise.
2220         (powerpc-*-elf*): Likewise.
2221         (powerpc-*-eabialtivec*): Likewise.
2222         (powerpc-xilinx-eabi*): Likewise.
2223         (powerpc-*-rtems*): Likewise.
2224         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
2225         t-softfp-excl, t-softfp to tmake_file.
2226         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
2227         rs6000/t-ppccomm-ldbl to tmake_file.
2228         (powerpcle-*-elf*): Likewise.
2229         (powerpcle-*-eabisim*): Likewise.
2230         (powerpcle-*-eabi*): Likewise.
2231         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2232         rs6000/t-ibm-ldouble to tmake_file.
2233         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2234         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2235         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
2236         (tic6x-*-*): Likewise.
2237         (i[34567]86-*-darwin*, x86_64-*-darwin*,
2238         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
2239         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
2240         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
2241         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
2242         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
2243         t-softfp to tmake_file.
2244         * configure.ac (sfp_machine_header): Provide default if unset.
2245         Substitute.
2246         Link sfp-machine.h to config/$sfp_machine_header.
2247         * configure: Regenerate.
2248
2249 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2250
2251         * Makefile.in (double_type_size, long_double_type_size): Set.
2252         Remove $(fpbit-in-libgcc) support.
2253         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
2254         (fpbit-src): New variable.
2255         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
2256         Compile with -DFLOAT $(FPBIT_CFLAGS).
2257         Use $<.
2258         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
2259         Compile with $(FPBIT_CFLAGS).
2260         Use $<.
2261         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
2262         Compile with -DFLOAT $(TPBIT_CFLAGS).
2263         Use $<.
2264         * configure.ac (double_type_size, long_double_type_size):
2265         Determine and substitute.
2266         * configure: Regenerate.
2267         * fp-bit.c, fp-bit.h: New files.
2268         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
2269         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
2270         * config/mips/t-mips: New file.
2271         * config/mips/t-sdemtk: New file.
2272         * config/rs6000/ppc64-fp.c: New file.
2273         * config/rs6000/t-darwin (LIB2ADD): Add
2274         $(srcdir)/config/rs6000/ppc64-fp.c.
2275         * config/rs6000/t-ppc64-fp: New file.
2276         * config/rx/rx-lib.h: New file.
2277         * config/rx/t-rx (FPBIT): Set to true.
2278         ($(gcc_objdir)/fp-bit.c): Remove.
2279         (DPBIT): Set to true only with -m64bit-doubles.
2280         ($(gcc_objdir)/dp-bit.c): Remove.
2281         * config/sparc/t-softfp: Remove.
2282         * config/spu/t-elf: New file.
2283         * config/t-fdpbit, config/t-fpbit: New files.
2284         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
2285         (mips*-*-*): Likewise.
2286         (arm-wrs-vxworks): Likewise.
2287         (arm*-*-freebsd*): Likewise.
2288         (avr-*-rtems*): Add t-fpbit to tmake_file.
2289         (avr-*-*): Likewise.
2290         (bfin*-elf*): Add t-fdpbit to tmake_file.
2291         (bfin*-uclinux*): Likewise.
2292         (bfin*-linux-uclibc*): Likewise.
2293         (bfin*-rtems*): New case.
2294         Add t-fdpbit to tmake_file.
2295         (bfin*-*): Add t-fdpbit to tmake_file.
2296         (crisv32-*-elf): Likewise.
2297         (cris-*-linux*): Likewise.
2298         (fr30-*-elf): Likewise.
2299         (frv-*-elf, frv-*-*linux*): Likewise.
2300         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
2301         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
2302         (m32r-*-elf*): Likewise.
2303         (m32rle-*-elf*): Likewise.
2304         (m32r-*-linux*): Likewise.
2305         (m32rle-*-linux*): Likewise.
2306         (mcore-*-elf): Add t-fdpbit to tmake_file.
2307         (microblaze*-*-*): Likewise.
2308         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
2309         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
2310         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
2311         Fix typo.
2312         Add mips/t-tpbit to tmake-file.
2313         (mips*-*-linux*): Fix typo.
2314         (mips*-sde-elf*): New case
2315         Add mips/t-sdemtk unless using newlib.
2316         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
2317         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
2318         (mn10300-*-*): Likewise.
2319         (pdp11-*-*): Likewise.
2320         (picochip-*-*): Add t-fpbit to tmake_file.
2321         (powerpc-*-eabisimaltivec*): Likewise.
2322         (powerpc-*-eabisim*): Likewise.
2323         (powerpc-*-elf*): Likewise.
2324         (powerpc-*-eabialtivec*): Likewise.
2325         (powerpc-xilinx-eabi*): New case.
2326         Add t-fdpbit to tmake_file.
2327         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
2328         (powerpc-*-rtems*): Likewise.
2329         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
2330         tmake_file.
2331         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
2332         tmake_file.
2333         (powerpc-*-lynxos*): Likewise.
2334         (powerpcle-*-elf*): Likewise.
2335         (powerpcle-*-eabisim*): Likewise.
2336         (powerpcle-*-eabi*): Likewise.
2337         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2338         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
2339         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2340         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2341         (rx-*-elf): Add t-fdpbit to tmake_file.
2342         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2343         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2344         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2345         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
2346         sh*-*-netbsd*.
2347         (sh-*-rtems*): Add t-fdpbit to tmake_file.
2348         (sh-wrs-vxworks): Likewise.
2349         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
2350         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
2351         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
2352         (sparc64-*-rtems*): ... new case.
2353         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
2354         (spu-*-elf*): Likewise.
2355         Add spu/t-elf to tmake_file.
2356         (v850*-*-*): Add t-fdpbit to tmake_file.
2357         (xstormy16-*-elf): Likewise.
2358         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
2359         (mep*-*-*): Likewise.
2360
2361 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2362
2363         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
2364         variables.
2365         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
2366         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
2367         (install-unwind_h): New target.
2368         (all): Depend on it.
2369         * config.host (unwind_header): New variable.
2370         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
2371         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2372         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
2373         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
2374         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
2375         Set unwind_header.
2376         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
2377         Set unwind_header.
2378         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
2379         arm*-*-eabi*.
2380         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
2381         Set unwind_header.
2382         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
2383         (ia64*-*-freebsd*): Likewise.
2384         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
2385         tmake_file.
2386         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
2387         $with_system_libunwind.
2388         (ia64*-*-hpux*): Set tmake_file.
2389         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
2390         (picochip-*-*): Set tmake_file.
2391         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
2392         md_unwind_header.
2393         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2394         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2395         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
2396         (xtensa*-*-elf*): Set tmake_file.
2397         (xtensa*-*-linux*): Likewise.
2398         * configure.ac: Include ../config/unwind_ipinfo.m4.
2399         Call GCC_CHECK_UNWIND_GETIPINFO.
2400         Link unwind.h to $unwind_header.
2401         * configure: Regenerate.
2402         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
2403         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
2404         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
2405         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
2406         * config/unwind-dw2-fde-darwin.c: New file.
2407         * config/arm/libunwind.S, config/arm/pr-support.c,
2408         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
2409         config/arm/unwind-arm.h,: New files.
2410         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
2411         config/ia64/t-eh-ia64, config/ia64/t-glibc,
2412         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
2413         config/ia64/t-vms, config/ia64/unwind-ia64.c,
2414         config/ia64/unwind-ia64.h: New files.
2415         * config/picochip/t-picochip: New file.
2416         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
2417         files.
2418         * config/rs6000/t-darwin (LIB2ADDEH): Set.
2419         * config/s390/t-tpf (LIB2ADDEH): Remove.
2420         * config/t-darwin (LIB2ADDEH): Set.
2421         * config/t-eh-dw2-dip: New file.
2422         * config/t-libunwind, config/t-libunwind-elf: New files.
2423         * config/t-sol2 (LIB2ADDEH): Remove.
2424         * config/xtensa/t-xtensa: New file.
2425
2426 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
2427
2428         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
2429         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
2430         long long to check rt_sigreturn syscall.
2431
2432 2011-08-02  Alan Modra  <amodra@gmail.com>
2433
2434         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2435         Restore for indirect call bcrtl from correct stack slot, and only
2436         if cfa+40 isn't valid.
2437
2438 2011-08-01  Julian Brown  <julian@codesourcery.com>
2439
2440         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
2441         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
2442         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
2443
2444 2011-08-01  Julian Brown  <julian@codesourcery.com>
2445
2446         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
2447         (libgcc-std.ver.in): Use above.
2448         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
2449         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
2450         throughout file.
2451         * config/t-fixedpoint-gnu-prefix: New file.
2452         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
2453         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
2454         instead of __PFX__.
2455
2456 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
2457
2458         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
2459         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
2460         for x86-64.  Properly check __x86_64__ and __LP64__.
2461
2462 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
2463
2464         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
2465         version.
2466         (_FP_WS_TYPE): Likewise.
2467         (_FP_I_TYPE): Likewise.
2468
2469 2011-07-28  Alan Modra  <amodra@gmail.com>
2470
2471         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
2472         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
2473         in a plt call stub.  Do restore r2 if stopped on bctrl.
2474
2475 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2476
2477         * config.host (i[3456x]86-*-netware*): Remove.
2478         * config/i386/netware-crt0.c, config/i386/t-nwld,
2479         config/i386/t-slibgcc-nwld: Remove.
2480
2481 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
2482
2483         * config.host: Handle tic6x-*-*.
2484         * config/c6x/c6x-abi.h: New file.
2485
2486 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2487
2488         * config/i386/crtprec.c: New file.
2489         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
2490         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
2491         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
2492         (x86_64-*-darwin*): Likewise.
2493         (i[34567]86-*-solaris2*: Likewise.
2494
2495 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2496
2497         * config/alpha/crtfastmath.c: New file.
2498         * config/i386/crtfastmath.c: New file.
2499         * config/ia64/crtfastmath.c: New file.
2500         * config/mips/crtfastmath.c: New file.
2501         * config/sparc/crtfastmath.c: New file.
2502
2503         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
2504         crtfastmath.c.
2505         Add -frandom-seed=gcc-crtfastmath.
2506         * config/alpha/t-crtfm: Remove.
2507         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
2508         * config/ia64/t-ia64 (crtfastmath.o): Remove.
2509
2510         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
2511         (alpha*-dec-osf5.1*): Likewise.
2512         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
2513         Add crtfastmath.o to extra_parts.
2514         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
2515         Add crtfastmath.o to extra_parts.
2516         (x86_64-*-darwin*): Likewise.
2517         (x86_64-*-mingw*): Likewise.
2518         (ia64*-*-elf*): Add t-crtfm to tmake_file.
2519         (ia64*-*-freebsd*): Likewise.
2520         (ia64*-*-linux*): Likewise.
2521         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
2522         Add crtfastmath.o to extra_parts.
2523
2524 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2525
2526         * config/darwin-crt3.o: New file.
2527         * config/rs6000/darwin-crt2.c: New file.
2528         * config/t-darwin: New file.
2529         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
2530         (crt2.o): New rule.
2531         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
2532         (powerpc-*-darwin*): Add crt2.o to extra_parts.
2533         (powerpc64-*-darwin*): Likewise.
2534
2535 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2536
2537         * config/i386/netware-crt0.c: New file.
2538         * config/i386/t-nwld: Rename to ...
2539         * config/i386/t-slibgcc-nwld: ... this.
2540         * config/i386/t-nwld: New file.
2541         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
2542         tmake_file.
2543         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
2544         extra_parts.
2545
2546 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2547
2548         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
2549         i386/t-crtstuff.
2550         * configure: Regenerate.
2551
2552 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2553
2554         * dfp-bit.c, dfp-bit.h: New files.
2555         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
2556         variables.
2557         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
2558         ($(d64pbit-o)): Likewise.
2559         ($(d128pbit-o)): Likewise.
2560         * config/t-dfprules: New file.
2561         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
2562         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
2563         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2564         (x86_64-*-linux*): Likewise.
2565         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2566         (i[34567]86-*-cygwin*): Likewise.
2567         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
2568         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2569
2570 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2571
2572         * Makfile.in (LIBGCOV): New variable.
2573         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
2574         * libgcov.c: New file.
2575
2576 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2577
2578         * fixed-bit.c, fixed-bit.h: New files.
2579         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
2580         refer to fixed-bit.c.
2581
2582 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
2583
2584         * config.host (*local*): Remove.
2585
2586 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2587
2588         PR target/39150
2589         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
2590         like i?86-*-solaris2.1[0-9]*.
2591         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
2592         * configure.ac (i?86-*-solaris2*): Likewise.
2593         * configure: Regenerate.
2594
2595 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
2596
2597         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2598         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
2599         md_unwind_header by splitting out of...
2600         (i[34567]86-*-linux*): ... this.
2601         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
2602         Remove md_unwind_header by splitting out of...
2603         (x86_64-*-linux*): ... this.
2604
2605 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
2606
2607         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
2608
2609 2011-06-28  Nick Clifton  <nickc@redhat.com>
2610
2611         * config.host: Recognize all V850 variants.
2612
2613 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
2614
2615         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
2616
2617 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2618
2619         * shared-object.mk (c_flags-$o): Save c_flags.
2620         ($(base)$(objext)): Use it.
2621         ($(base)_s$(objext)): Likewise.
2622
2623 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
2624
2625         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
2626         * libgcc-std.ver.in (GCC_4.7.0): New section.
2627
2628 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
2629
2630         PR target/49313
2631         PR target/29524
2632         * config/avr/t-avr: Fix line endings.
2633         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
2634         _parityXX2.
2635
2636 2011-06-14  Olivier Hainque  <hainque@adacore.com>
2637             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2638
2639         * config/mips/irix6-unwind.h: New file.
2640         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
2641
2642 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
2643
2644         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
2645         (sparc64_fallback_frame_state): Use it.
2646         (sparc64_frob_update_context): Further adjust context.
2647         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
2648         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
2649         * config/sparc/sol2-cn.S: Likewise.
2650
2651 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2652
2653         * enable-execute-stack-empty.c: New file.
2654         * enable-execute-stack-mprotect.c: New file.
2655         * config/i386/enable-execute-stack-mingw32.c: New file.
2656         * config.host (enable_execute_stack): New variable.
2657         Select appropriate variants.
2658         * configure.ac: Link enable-execute-stack.c to
2659         $enable_execute_stack.
2660         * configure: Regenerate.
2661         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
2662         (lib2funcs): Remove _enable_execute_stack.
2663
2664 2011-06-09  David S. Miller  <davem@davemloft.net>
2665             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2666
2667         * config.host (sparc-*-linux*): Correct md_unwind_header
2668         filename.
2669         (s390x-ibm-tpf*): Fix typo.
2670
2671 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2672
2673         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
2674         Add crtfastmath.o to extra_parts.
2675         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
2676         mips/t-crtfm.
2677         * config/mips/t-crtfm: Remove.
2678
2679 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2680
2681         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
2682
2683 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
2684
2685         * config.host (sh*-*-linux*): Fix typo.
2686
2687 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2688
2689         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
2690         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
2691         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
2692         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
2693         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
2694         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
2695         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
2696         Wrap in !__MINGW64__.
2697         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
2698         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
2699         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
2700         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
2701         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
2702         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
2703         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
2704         Wrap in !__LP64__.
2705         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
2706         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
2707         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
2708         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
2709         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
2710         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
2711         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
2712         * config/no-unwind.h: New file.
2713         * config.host (md_unwind_header): Document.
2714         Define.
2715         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
2716         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
2717         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
2718         hppa[12]*-*-hpux11*): Set md_unwind_header.
2719         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
2720         Set md_unwind_header.
2721         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
2722         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
2723         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
2724         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
2725         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
2726         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
2727         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
2728         md_unwind_header.
2729         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
2730         * configure: Regenerate.
2731
2732 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2733
2734         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
2735         Set tmake_file, extra_parts.
2736         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
2737         Remove O32 support.
2738         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
2739         Remove O32 support.
2740         * config/mips/t-irix6: New file.
2741         * config/mips/t-slibgcc-irix: New file.
2742
2743 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2744
2745         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
2746         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
2747
2748 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2749
2750         * configure.ac (target_thread_file): Determine thread model.
2751         * configure: Regenerate.
2752         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
2753         * config/alpha/t-alpha: New file.
2754         * config/alpha/t-crtfm: Use $<.
2755         * config/alpha/t-ieee: New file.
2756         * config/alpha/t-osf-pthread: New file.
2757         * config/alpha/t-slibgcc-osf: New file.
2758         * config/alpha/libgcc-osf5.ver: New file.
2759
2760 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2761
2762         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
2763         tmake_file.
2764         Add crtfastmath.o to extra_parts.
2765
2766 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2767
2768         * config/gmon-sol2.c: Reindent.
2769         Cleanup comments.
2770         Remove, correct casts.
2771         Use STDERR_FILENO, NULL.
2772         (BASEADDRESS): Remove.
2773         (minbrk): Remove.
2774         (errno, sbrk): Remove declarations.
2775         (monstartup) [hp300]: Remove.
2776         (mcount): Remove.
2777
2778 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2779
2780         * Makefile.in (cpu_type): Define.
2781         * config.host (i[34567]86-*-rtems*): Handle it.
2782         (i[34567]86-*-solaris2*): Move body ...
2783         (*-*-solaris2*): ... here.
2784         New case, generalize.
2785         (sparc-*-elf*): Handle it.
2786         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
2787         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
2788         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
2789         Fold into ...
2790         (sparc*-*-solaris2*): ... this.
2791         New case.
2792         (sparc64-*-elf*): Handle it.
2793         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
2794         Merge ../gcc/config/i386/gmon-sol2.c.
2795         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
2796         Use C comments.
2797         Merge ../gcc/config/i386/sol2-gc1.asm.
2798         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
2799         Use C comments.
2800         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
2801         Use C comments.
2802         * config/i386/t-crtfm (crtfastmath.o): Use $<.
2803         * config/i386/t-crtstuff: New file.
2804         * config/i386/t-softfp: New file.
2805         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
2806         $(T)crti.o, $(T)crtn.o): Remove.
2807         (gcrt1.o): New rule.
2808         (TARGET_LIBGCC2_CFLAGS): Remove.
2809         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
2810         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
2811         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
2812         * config/sparc/t-sol2: New file.
2813         * config/sparc/t-crtfm: Move to ...
2814         * config/t-crtfm: ... this.
2815         Use $(cpu_type), $<.
2816         * config/t-crtin: New file.
2817         * config/sparc/t-softfp: New file.
2818         * config/sparc/t-softmul: New file.
2819         * config/t-rtems: New file.
2820         * config/t-slibgcc: New file.
2821         * config/t-slibgcc-elf-ver: New file.
2822         * config/t-slibgcc-gld: New file.
2823         * config/t-slibgcc-sld: New file.
2824         * config/t-sol2: New file.
2825         * configure.ac: Include ../config/lib-ld.m4.
2826         Call AC_LIB_PROG_LD_GNU.
2827         Substitute cpu_type.
2828         * configure: Regenerate.
2829
2830 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
2831
2832         PR bootstrap/49173
2833         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
2834         libgcc-std.ver in the build directory.
2835         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
2836         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
2837
2838 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
2839
2840         * libgcc-std.ver.in: New file.
2841         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
2842         variables.
2843         (libgcc-std.ver): New rule.
2844         * config/t-gnu-prefix: New file.
2845
2846 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2847
2848         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
2849
2850 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
2851
2852         * config/i386/darwin-lib.h: New file.
2853
2854 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
2855
2856         * config/arm/symbian-lib.h: New.
2857
2858 2011-05-04  Chris Demetriou  <cgd@google.com>
2859
2860         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
2861         (__x86.get_pc_thunk.bx): ...this.
2862         (__morestack): Adjust for rename, remove undef of __i686.
2863
2864 2011-05-03  Chris Demetriou  <cgd@google.com>
2865
2866         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
2867
2868 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
2869
2870         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
2871         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
2872         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
2873         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
2874         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
2875         Remove cases.
2876
2877 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
2878
2879         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
2880         Adjust copyright year.
2881
2882 2011-03-07  Ian Lance Taylor  <iant@google.com>
2883
2884         * generic-morestack.c (__splitstack_find): Adjust returned stack
2885         pointer to include all registers pushed by __morestack.
2886
2887 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
2888
2889         PR target/40125
2890         * configure.ac: Call ACX_NONCANONICAL_TARGET.
2891         (toolexecdir): Calculate and AC_SUBST.
2892         (toolexeclibdir): Likewise.
2893         * Makefile.in (target_noncanonical): Import.
2894         (toolexecdir): Likewise.
2895         (toolexeclibdir): Likewise.
2896         * configure: Regenerate.
2897
2898 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
2899
2900         PR target/46040
2901         * config/arm/bpabi.h: Rename to...
2902         * config/arm/bpabi-lib.h: ...this.
2903
2904 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2905
2906         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
2907         appropriate.
2908         * configure: Regenerate.
2909
2910 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
2911
2912         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
2913         __FLOAT_WORD_ORDER__.
2914         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
2915         Delete.
2916
2917 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2918
2919         PR other/46202
2920         * Makefile.in (install-strip): New phony target.
2921
2922 2010-11-07  Ian Lance Taylor  <iant@google.com>
2923
2924         PR target/46089
2925         * config/i386/morestack.S (__morestack_large_model): New
2926         function.
2927
2928 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
2929
2930         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
2931         Delete.
2932         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
2933
2934 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
2935
2936         * config/arm/bpabi.h: New file.
2937         * config/frv/frv-abi.h: New file.
2938
2939 2010-10-01  Ian Lance Taylor  <iant@google.com>
2940
2941         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
2942         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
2943
2944 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
2945
2946         PR target/45858
2947         * config.host: Add the missing `$'.
2948
2949 2010-09-30  Michael Eager  <eager@eagercon.com>
2950
2951         * config.host: Add microblaze*-*-*.
2952         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
2953         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
2954         udivsi3.asm,umodsi3.asm}:  New.
2955
2956 2010-09-28  Ian Lance Taylor  <iant@google.com>
2957
2958         * configure.ac: Adjust CFI test to test assembler directly rather
2959         than checking gcc preprocessor macro.
2960         * configure: Rebuild.
2961
2962 2010-09-27  Ian Lance Taylor  <iant@google.com>
2963
2964         * configure.ac: Test whether assembler supports CFI directives.
2965         * config.host: Only add t-stack and i386/t-stack-i386 to
2966         tmake_file if libgcc_cv_cfi is "yes".
2967         * configure: Rebuild.
2968
2969 2010-09-27  Ian Lance Taylor  <iant@google.com>
2970
2971         * generic-morestack.h: New file.
2972         * generic-morestack.c: New file.
2973         * generic-morestack-thread.c: New file.
2974         * config/i386/morestack.S: New file.
2975         * config/t-stack: New file.
2976         * config/i386/t-stack-i386: New file.
2977         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
2978         i386/t-stack-i386 to tmake_file.
2979
2980 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
2981
2982         * Makefile.in (libgcc-extra-parts):  Check for static archives and
2983         invoke ranlib after installing them.
2984         (gcc-extra-parts): Likewise.
2985         (install-leaf): Likewise.
2986
2987 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
2988
2989         * configure: Regenerated.
2990
2991 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
2992
2993         * configure: Regenerated.
2994
2995 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
2996             Andrew Pinski  <pinskia@gmail.com>
2997
2998         PR target/40959
2999         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
3000
3001 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3002
3003         PR target/45524
3004         * configure: Regenerated.
3005
3006 2010-09-06  Andreas Schwab  <schwab@redhat.com>
3007
3008         * configure: Regenerate.
3009
3010 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3011
3012         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3013         64bit targets.
3014         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3015         for 64bit targets.
3016
3017 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
3018             Iain Sandoe  <iains@gcc.gnu.org>
3019
3020         PR target/45476
3021         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3022         LIB2FUNCS_EXCLUDE functions.
3023
3024 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3025
3026         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3027         Include dfp.m4.
3028         * configure: Regenerate.
3029
3030 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
3031
3032         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3033         i386/t-freebsd to tmake_file.
3034         * config/i386/t-freebsd: New file.
3035         * config/i386/libgcc-bsd.ver: New file.
3036
3037 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
3038
3039         * config.host (powerpc*-eabispe*): Set tmake_file.
3040         (powerpc*-eabi*): Likewise.
3041         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3042         crtbeginS, crtendS, crtbeginT.
3043
3044 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
3045
3046         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3047         to tmake_file.  Add crtfastmath.o to extra_parts.
3048         * config/mips/t-crtfm: New.
3049
3050 2010-05-19  Joel Sherrill <joel.sherrill@oarcorp.com>
3051
3052         * config.host (sparc64-*-rtems*): New target.
3053
3054 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3055
3056         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3057         assembler syntax.
3058
3059 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
3060
3061         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3062
3063 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3064
3065         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3066         alpha-dec-osf5.0* support.
3067
3068 2010-04-01  Ralf Corsépius <ralf.corsepius@rtems.org>
3069
3070         * config.host: Add lm32-*-rtems*.
3071
3072 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3073             Uros Bizjak <ubizjak@gmail.com>
3074
3075         PR target/39048
3076         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3077         like other remaining 32-bit x86 OSes.
3078         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3079         assembler syntax.
3080         * config/i386/libgcc-sol2.ver: New file.
3081         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3082
3083 2010-03-30  Jack Howarth <howarth@bromo.med.uc.edu>
3084
3085         PR c/43553
3086         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3087         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3088         is used and substitute set_use_emutls.
3089         * configure: Regenerated.
3090
3091 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
3092
3093         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3094
3095 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3096
3097         PR target/38085
3098         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3099         MULTILIB_CFLAGS.
3100         ($(T)gcrt1.o): Likewise.
3101         ($(T)crt1.o): Likewise.
3102         ($(T)crti.o): Likewise.
3103         ($(T)crtn.o): Likewise.
3104
3105 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3106
3107         PR other/42980
3108         * Makefile.in (install): Use $(MAKE) string in rule, for
3109         parallel make.
3110
3111 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
3112
3113         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3114         * config/mmix/t-mmix: New file.
3115         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3116
3117 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
3118
3119         PR java/41991
3120         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3121         SHLIB_MAPFILES.
3122
3123 2010-01-04  Anthony Green  <green@moxielogic.com>
3124
3125         * config/moxie/crti.asm, config/moxie/crtn.asm,
3126         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3127         config/moxie/t-moxie: New files.
3128         * config.host: Add t-moxie-softfp reference.
3129
3130 2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
3131
3132         PR other/39888
3133         * config/t-slibgcc-darwin: Fix embedded rpaths for
3134         --enable-version-specific-runtime-libs, build extension stub
3135         libs exposing features available from current libgcc_s.
3136
3137 2009-11-11  Jon Beniston <jon@beniston.com>
3138
3139         * config.host: Add lm32 targets.
3140         * config/lm32: New directory.
3141         * config/lm32/libgcc_lm32.h: New file.
3142         * config/lm32/_mulsi3.c: New file.
3143         * config/lm32/_udivmodsi4.c: New file.
3144         * config/lm32/_divsi3.c: New file.
3145         * config/lm32/_modsi3.c: New file.
3146         * config/lm32/_udivsi3.c: New file.
3147         * config/lm32/_umodsi3.c: New file.
3148         * config/lm32/_lshrsi3.S: New file.
3149         * config/lm32/_ashrsi3.S: New file.
3150         * config/lm32/_ashlsi3.S: New file.
3151         * config/lm32/crti.S: New file.
3152         * config/lm32/crtn.S: New file.
3153         * config/lm32/t-lm32: New file.
3154         * config/lm32/t-elf: New file.
3155         * config/lm32/t-uclinux: New file.
3156
3157 2009-10-26  Nick Clifton  <nickc@redhat.com>
3158
3159         * config.host: Add support for RX target.
3160         * config/rx: New directory.
3161         * config/rx/rx-abi-functions.c: New file. Supplementary
3162         functions for libgcc to support the RX ABI.
3163         * config/rx/rx-abi.h: New file.  Supplementary header file for
3164         libgcc RX ABI functions.
3165         * config/rx/t-rx: New file: Makefile fragment for building
3166         libgcc for the RX.
3167
3168 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
3169
3170         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
3171         constraint of y0 to "g".
3172
3173 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3174
3175         * config.host: Include the s390 makefile fragments.
3176         * config/s390/32/_fixdfdi.c: New file.
3177         * config/s390/32/_fixsfdi.c: New file.
3178         * config/s390/32/_fixtfdi.c: New file.
3179         * config/s390/32/_fixunsdfdi.c: New file.
3180         * config/s390/32/_fixunssfdi.c: New file.
3181         * config/s390/32/_fixunstfdi.c: New file.
3182         * config/s390/32/t-floattodi: New file.
3183         * config/s390/libgcc-glibc.ver: New file.
3184         * config/s390/t-crtstuff: New file.
3185         * config/s390/t-linux: New file.
3186         * config/s390/t-tpf: New file.
3187
3188 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3189
3190         * configure.ac (AC_PREREQ): Bump to 2.64.
3191
3192 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
3193
3194         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
3195
3196 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3197
3198         * configure: Regenerate.
3199
3200 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
3201
3202         * config.host (ia64-hp-*vms*): New target.
3203         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
3204         with ia64-hp-*vms*.
3205
3206 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3207
3208         * configure.ac: Add snippet for maintainer-mode.
3209         * configure: Regenerate.
3210         * Makefile.in (AUTOCONF, configure_deps): New variables.
3211         ($(srcdir)/configure)): New rule, active only with maintainer
3212         mode turned on.
3213
3214 2009-06-23  DJ Delorie  <dj@redhat.com>
3215
3216         Add MeP port.
3217         * config.host: Add mep support.
3218
3219 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
3220
3221         * config.host: Add i386/${host_address}/t-fprules-softfp and
3222         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
3223
3224         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
3225         for mingw targets.
3226         * config/i386/64/_multc3.c: Likewise.
3227         * config/i386/64/_powitf2.c: Likewise.
3228         * config/i386/64/eqtf2.c: Likewise.
3229         * config/i386/64/getf2.c: Likewise.
3230         * config/i386/64/letf2.c: Likewise.
3231         * config/i386/64/letf2.c: Likewise.
3232         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
3233         unsigned long long for x64 mingw targets.
3234         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
3235         (_FP_I_TYPE): Define as long long for x64 mingw target.
3236
3237 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
3238
3239         * config.host (vax-*-linux*): New.
3240
3241 2009-05-31  Anthony Green  <green@moxielogic.com>
3242
3243         * config.host: Add moxie support.
3244         * config/moxie/t-moxie: New file.
3245
3246 2009-05-29  David Billinghurst <billingd@gcc.gnu.org>
3247
3248         * config.host: Add i386/${host_address}/t-fprules-softfp and
3249         t-softfp to tmake_file for i[34567]86-*-cygwin*.
3250
3251 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
3252
3253         * config.host: Add i386/${host_address}/t-fprules-softfp to
3254         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
3255
3256 2009-04-09  Nick Clifton  <nickc@redhat.com>
3257
3258         * config/ia64/tf-signs.c: Change copyright header to refer to
3259         version 3 of the GNU General Public License with version 3.1
3260         of the GCC Runtime Library Exception and to point readers at
3261         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
3262         web page.
3263         * config/i386/32/tf-signs.c: Likewise.
3264         * config/libbid/_addsub_dd.c: Likewise.
3265         * config/libbid/_addsub_sd.c: Likewise.
3266         * config/libbid/_addsub_td.c: Likewise.
3267         * config/libbid/_dd_to_df.c: Likewise.
3268         * config/libbid/_dd_to_di.c: Likewise.
3269         * config/libbid/_dd_to_sd.c: Likewise.
3270         * config/libbid/_dd_to_sf.c: Likewise.
3271         * config/libbid/_dd_to_si.c: Likewise.
3272         * config/libbid/_dd_to_td.c: Likewise.
3273         * config/libbid/_dd_to_tf.c: Likewise.
3274         * config/libbid/_dd_to_udi.c: Likewise.
3275         * config/libbid/_dd_to_usi.c: Likewise.
3276         * config/libbid/_dd_to_xf.c: Likewise.
3277         * config/libbid/_df_to_dd.c: Likewise.
3278         * config/libbid/_df_to_sd.c: Likewise.
3279         * config/libbid/_df_to_td.c: Likewise.
3280         * config/libbid/_di_to_dd.c: Likewise.
3281         * config/libbid/_di_to_sd.c: Likewise.
3282         * config/libbid/_di_to_td.c: Likewise.
3283         * config/libbid/_div_dd.c: Likewise.
3284         * config/libbid/_div_sd.c: Likewise.
3285         * config/libbid/_div_td.c: Likewise.
3286         * config/libbid/_eq_dd.c: Likewise.
3287         * config/libbid/_eq_sd.c: Likewise.
3288         * config/libbid/_eq_td.c: Likewise.
3289         * config/libbid/_ge_dd.c: Likewise.
3290         * config/libbid/_ge_sd.c: Likewise.
3291         * config/libbid/_ge_td.c: Likewise.
3292         * config/libbid/_gt_dd.c: Likewise.
3293         * config/libbid/_gt_sd.c: Likewise.
3294         * config/libbid/_gt_td.c: Likewise.
3295         * config/libbid/_isinfd128.c: Likewise.
3296         * config/libbid/_isinfd32.c: Likewise.
3297         * config/libbid/_isinfd64.c: Likewise.
3298         * config/libbid/_le_dd.c: Likewise.
3299         * config/libbid/_le_sd.c: Likewise.
3300         * config/libbid/_le_td.c: Likewise.
3301         * config/libbid/_lt_dd.c: Likewise.
3302         * config/libbid/_lt_sd.c: Likewise.
3303         * config/libbid/_lt_td.c: Likewise.
3304         * config/libbid/_mul_dd.c: Likewise.
3305         * config/libbid/_mul_sd.c: Likewise.
3306         * config/libbid/_mul_td.c: Likewise.
3307         * config/libbid/_ne_dd.c: Likewise.
3308         * config/libbid/_ne_sd.c: Likewise.
3309         * config/libbid/_ne_td.c: Likewise.
3310         * config/libbid/_sd_to_dd.c: Likewise.
3311         * config/libbid/_sd_to_df.c: Likewise.
3312         * config/libbid/_sd_to_di.c: Likewise.
3313         * config/libbid/_sd_to_sf.c: Likewise.
3314         * config/libbid/_sd_to_si.c: Likewise.
3315         * config/libbid/_sd_to_td.c: Likewise.
3316         * config/libbid/_sd_to_tf.c: Likewise.
3317         * config/libbid/_sd_to_udi.c: Likewise.
3318         * config/libbid/_sd_to_usi.c: Likewise.
3319         * config/libbid/_sd_to_xf.c: Likewise.
3320         * config/libbid/_sf_to_dd.c: Likewise.
3321         * config/libbid/_sf_to_sd.c: Likewise.
3322         * config/libbid/_sf_to_td.c: Likewise.
3323         * config/libbid/_si_to_dd.c: Likewise.
3324         * config/libbid/_si_to_sd.c: Likewise.
3325         * config/libbid/_si_to_td.c: Likewise.
3326         * config/libbid/_td_to_dd.c: Likewise.
3327         * config/libbid/_td_to_df.c: Likewise.
3328         * config/libbid/_td_to_di.c: Likewise.
3329         * config/libbid/_td_to_sd.c: Likewise.
3330         * config/libbid/_td_to_sf.c: Likewise.
3331         * config/libbid/_td_to_si.c: Likewise.
3332         * config/libbid/_td_to_tf.c: Likewise.
3333         * config/libbid/_td_to_udi.c: Likewise.
3334         * config/libbid/_td_to_usi.c: Likewise.
3335         * config/libbid/_td_to_xf.c: Likewise.
3336         * config/libbid/_tf_to_dd.c: Likewise.
3337         * config/libbid/_tf_to_sd.c: Likewise.
3338         * config/libbid/_tf_to_td.c: Likewise.
3339         * config/libbid/_udi_to_dd.c: Likewise.
3340         * config/libbid/_udi_to_sd.c: Likewise.
3341         * config/libbid/_udi_to_td.c: Likewise.
3342         * config/libbid/_unord_dd.c: Likewise.
3343         * config/libbid/_unord_sd.c: Likewise.
3344         * config/libbid/_unord_td.c: Likewise.
3345         * config/libbid/_usi_to_dd.c: Likewise.
3346         * config/libbid/_usi_to_sd.c: Likewise.
3347         * config/libbid/_usi_to_td.c: Likewise.
3348         * config/libbid/_xf_to_dd.c: Likewise.
3349         * config/libbid/_xf_to_sd.c: Likewise.
3350         * config/libbid/_xf_to_td.c: Likewise.
3351         * config/libbid/bid128.c: Likewise.
3352         * config/libbid/bid128_2_str.h: Likewise.
3353         * config/libbid/bid128_2_str_macros.h: Likewise.
3354         * config/libbid/bid128_2_str_tables.c: Likewise.
3355         * config/libbid/bid128_add.c: Likewise.
3356         * config/libbid/bid128_compare.c: Likewise.
3357         * config/libbid/bid128_div.c: Likewise.
3358         * config/libbid/bid128_fma.c: Likewise.
3359         * config/libbid/bid128_logb.c: Likewise.
3360         * config/libbid/bid128_minmax.c: Likewise.
3361         * config/libbid/bid128_mul.c: Likewise.
3362         * config/libbid/bid128_next.c: Likewise.
3363         * config/libbid/bid128_noncomp.c: Likewise.
3364         * config/libbid/bid128_quantize.c: Likewise.
3365         * config/libbid/bid128_rem.c: Likewise.
3366         * config/libbid/bid128_round_integral.c: Likewise.
3367         * config/libbid/bid128_scalb.c: Likewise.
3368         * config/libbid/bid128_sqrt.c: Likewise.
3369         * config/libbid/bid128_string.c: Likewise.
3370         * config/libbid/bid128_to_int16.c: Likewise.
3371         * config/libbid/bid128_to_int32.c: Likewise.
3372         * config/libbid/bid128_to_int64.c: Likewise.
3373         * config/libbid/bid128_to_int8.c: Likewise.
3374         * config/libbid/bid128_to_uint16.c: Likewise.
3375         * config/libbid/bid128_to_uint32.c: Likewise.
3376         * config/libbid/bid128_to_uint64.c: Likewise.
3377         * config/libbid/bid128_to_uint8.c: Likewise.
3378         * config/libbid/bid32_to_bid128.c: Likewise.
3379         * config/libbid/bid32_to_bid64.c: Likewise.
3380         * config/libbid/bid64_add.c: Likewise.
3381         * config/libbid/bid64_compare.c: Likewise.
3382         * config/libbid/bid64_div.c: Likewise.
3383         * config/libbid/bid64_fma.c: Likewise.
3384         * config/libbid/bid64_logb.c: Likewise.
3385         * config/libbid/bid64_minmax.c: Likewise.
3386         * config/libbid/bid64_mul.c: Likewise.
3387         * config/libbid/bid64_next.c: Likewise.
3388         * config/libbid/bid64_noncomp.c: Likewise.
3389         * config/libbid/bid64_quantize.c: Likewise.
3390         * config/libbid/bid64_rem.c: Likewise.
3391         * config/libbid/bid64_round_integral.c: Likewise.
3392         * config/libbid/bid64_scalb.c: Likewise.
3393         * config/libbid/bid64_sqrt.c: Likewise.
3394         * config/libbid/bid64_string.c: Likewise.
3395         * config/libbid/bid64_to_bid128.c: Likewise.
3396         * config/libbid/bid64_to_int16.c: Likewise.
3397         * config/libbid/bid64_to_int32.c: Likewise.
3398         * config/libbid/bid64_to_int64.c: Likewise.
3399         * config/libbid/bid64_to_int8.c: Likewise.
3400         * config/libbid/bid64_to_uint16.c: Likewise.
3401         * config/libbid/bid64_to_uint32.c: Likewise.
3402         * config/libbid/bid64_to_uint64.c: Likewise.
3403         * config/libbid/bid64_to_uint8.c: Likewise.
3404         * config/libbid/bid_b2d.h: Likewise.
3405         * config/libbid/bid_binarydecimal.c: Likewise.
3406         * config/libbid/bid_conf.h: Likewise.
3407         * config/libbid/bid_convert_data.c: Likewise.
3408         * config/libbid/bid_decimal_data.c: Likewise.
3409         * config/libbid/bid_decimal_globals.c: Likewise.
3410         * config/libbid/bid_div_macros.h: Likewise.
3411         * config/libbid/bid_dpd.c: Likewise.
3412         * config/libbid/bid_flag_operations.c: Likewise.
3413         * config/libbid/bid_from_int.c: Likewise.
3414         * config/libbid/bid_functions.h: Likewise.
3415         * config/libbid/bid_gcc_intrinsics.h: Likewise.
3416         * config/libbid/bid_inline_add.h: Likewise.
3417         * config/libbid/bid_internal.h: Likewise.
3418         * config/libbid/bid_round.c: Likewise.
3419         * config/libbid/bid_sqrt_macros.h: Likewise.
3420
3421 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
3422
3423         * Makefile.in: Change copyright header to refer to version
3424         3 of the GNU General Public License and to point readers at the
3425         COPYING3 file and the FSF's license web page.
3426         * config.host: Likewise.
3427
3428 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
3429
3430         * config.host: Reorder and merge to match config.gcc change.
3431
3432 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
3433
3434         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
3435
3436 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
3437
3438         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
3439         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
3440         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
3441         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
3442
3443 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
3444
3445         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
3446         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3447
3448 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
3449
3450         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
3451         ia64/t-softfp-compat to tmake_file.
3452
3453         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
3454
3455         * config/ia64/__divxf3.asm: New.
3456         * config/ia64/_fixtfdi.asm: Likewise.
3457         * config/ia64/_fixunstfdi.asm: Likewise.
3458         * config/ia64/_floatditf.asm: Likewise.
3459         * config/ia64/t-fprules-softfp: Likewise.
3460         * config/ia64/t-softfp-compat: Likewise.
3461         * config/ia64/tf-signs.c: Likewise.
3462
3463 2009-01-18  Ben Elliston  <bje@au.ibm.com>
3464
3465         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
3466
3467 2009-01-16  Ben Elliston  <bje@au.ibm.com>
3468
3469         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
3470         to tmake_file.
3471
3472 2009-01-13  Ben Elliston  <bje@au.ibm.com>
3473
3474         * config/t-softfp: New file.
3475         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
3476         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
3477
3478 2009-01-05  Joel Sherrill <joel.sherrill@oarcorp.com>
3479
3480         * config.host: Add m32r*-*-rtems*.
3481
3482 2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>
3483
3484         * config.host: Add m32c*-*-rtems*.
3485
3486 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3487
3488         PR bootstrap/33100
3489         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
3490         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
3491         * configure: Regenerate.
3492         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
3493         tmake_file here from gcc/config.gcc.
3494         Move extra_parts here from gcc/config.gcc.
3495         * config/i386/t-sol2: Move here from gcc/config/i386.
3496         Use gcc_srcdir instead of srcdir.
3497
3498 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
3499
3500         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
3501         case.
3502
3503 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
3504
3505         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
3506
3507 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
3508
3509         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
3510
3511 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
3512
3513         Add picoChip port.
3514         * config.host: Add picochip-*-*.
3515
3516 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
3517
3518         * config.host: Match more processor names for Xtensa.
3519
3520 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
3521
3522         * config/i386/64/t-softfp-compat: Update comments.
3523
3524 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
3525
3526         * config/i386/64/_divtc3-compat.c: Moved to ...
3527         * config/i386/64/_divtc3.c: Here.
3528
3529         * config/i386/64/_multc3-compat.c: Moved to ...
3530         * config/i386/64/_multc3.c: Here.
3531
3532         * config/i386/64/_powitf2-compat.c: Moved to ...
3533         * config/i386/64/_powitf2.c: Here.
3534
3535         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
3536         .c suffix instead of -compat.c.
3537
3538 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
3539
3540         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
3541         (_FP_MUL_MEAT_D): Ditto.
3542         (_FP_DIV_MEAT_S): Ditto.
3543         (_FP_DIV_MEAT_D): Ditto.
3544
3545 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
3546
3547         * Makefile.in: Add support for __sync_* libgcc functions.
3548
3549 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
3550
3551         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
3552
3553 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3554
3555         PR boostrap/36702
3556         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
3557         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
3558
3559         * config/i386/64/t-fprules-softfp: Moved to ...
3560         * config/i386/64/t-softfp-compat: This.  New.
3561
3562 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
3563
3564         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
3565         Initialize f with 0.0.
3566
3567 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3568
3569         PR target/36669
3570         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
3571
3572         * config/i386/64/_divtc3-compat.c: New.
3573         * config/i386/64/_multc3-compat.c: Likewise.
3574         * config/i386/64/_powitf2-compat.c: Likewise.
3575         * config/i386/64/eqtf2.c: Likewise.
3576         * config/i386/64/getf2.c: Likewise.
3577         * config/i386/64/letf2.c: Likewise.
3578         * config/i386/64/t-fprules-softfp: Likewise.
3579
3580 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3581
3582         * config.host: Add i386/${host_address}/t-fprules-softfp to
3583         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
3584         i[34567]86-*-linux*, x86_64-*-linux*.
3585
3586         * configure.ac: Set host_address to 64 or 32 for x86.
3587         * configure: Regenerated.
3588
3589         * Makefile.in (config.status): Also depend on
3590         $(srcdir)/config.host.
3591
3592         * config/i386/32/t-fprules-softfp: New.
3593         * config/i386/32/tf-signs.c: Likewise.
3594
3595         * config/i386/64/sfp-machine.h: New. Moved from gcc.
3596
3597 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
3598             Uros Bizjak  <ubizjak@gmail.com>
3599
3600         * config/i386/32/sfp-machine.h: New.
3601
3602 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
3603
3604         * config/rs6000/t-ppccomm: Remove rules that conflict with
3605         auto-generated rules.
3606
3607 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3608
3609         * configure.ac: sinclude override.m4.
3610         * configure: Regenerate.
3611
3612 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
3613
3614         * configure: Regenerate.
3615
3616 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
3617
3618         * Makefile.in (DECNUMINC): Remove
3619         -I$(MULTIBUILDTOP)../../libdecnumber.
3620         * gstdint.h: New.
3621
3622 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
3623
3624         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
3625         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
3626         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
3627         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
3628         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
3629         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
3630         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
3631         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
3632         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
3633         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
3634         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
3635         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
3636         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
3637         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
3638
3639 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
3640
3641         * config.host (sh2[lbe]*-*-linux*): Allow target.
3642
3643 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
3644
3645         * config/rs6000/t-ppccomm: Add build rules for new files.
3646         (LIB2ADD_ST): New variable.
3647
3648 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
3649
3650         PR target/34210
3651         PR target/35508
3652         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
3653         * config/t-avr: New file. Build 16bit libgcc functions.
3654
3655 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
3656
3657         PR target/35401
3658         * config/t-slibgcc-darwin: Make install-leaf dependent on
3659         install-darwin-libgcc-stubs instead of install.
3660
3661 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
3662
3663         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
3664         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
3665         sh-*-rtemscoff*): Remove cases.
3666
3667 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
3668
3669         * Makefile.in (all): Use install-leaf rather than install.
3670         (install): Split most of the rule into...
3671         (install-leaf): ...this new one.
3672
3673 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
3674             Paolo Bonzini  <bonzini@gnu.org>
3675
3676         PR target/30572
3677         * Makefile.in: Use @shlib_slibdir@ substitution to get
3678         correct install name on darwin.
3679         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
3680
3681 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
3682
3683         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
3684         cris-*-elf and cris-*-none.
3685         (crisv32-*-linux*): Similar, as cris-*-linux*.
3686
3687 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
3688
3689         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
3690
3691 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
3692
3693         PR regression/33926
3694         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
3695         * configure: Regenerated.
3696
3697 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
3698
3699         * Makefile.in (dfp-filenames): Replace decimal_globals,
3700         decimal_data, binarydecimal and convert_data with
3701         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
3702         and bid_convert_data, respectively.
3703
3704 2007-09-17  Chao-ying Fu  <fu@mips.com>
3705             Nigel Stephens  <nigel@mips.com>
3706
3707         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
3708         * Makefile.in (fixed_point): Define.
3709         Check if fixed_point is yes to build support functions.
3710         * configure.ac: Check for fixed_point support.
3711         * configure: Regenerated.
3712         * gen-fixed.sh: New file to generate lists of fixed-point labels,
3713         funcs, modes, from, to.
3714
3715 2007-09-11  Janis Johnson  <janis187@us.ibm.com
3716
3717         * Makefile.in (dfp-filenames): Add bid128_noncomp.
3718
3719 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
3720
3721         * Makefile.in (dfp-filenames): Remove decUtility, add
3722         decDouble, decPacked, decQuad, decSingle.
3723
3724 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
3725
3726         * config.host : Add x86_64-elf target.
3727
3728 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
3729
3730         * configure.ac (set_have_cc_tls): Add a missing =.
3731         * configure: Regenerated.
3732
3733 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
3734
3735         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
3736         and x86_64-*-linux*.
3737
3738         * config/t-tls: New file.
3739
3740         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
3741
3742         * configure.ac: Include ../config/enable.m4 and
3743         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
3744         supports TLS and substitute set_have_cc_tls.
3745         * configure: Regenerated.
3746
3747 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
3748
3749         * Makefile.in: Use libbid for DFP when BID is enabled.
3750
3751 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
3752
3753         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
3754         extra_parts. Add config/i386/t-cygming to tmake_file.
3755         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
3756
3757 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
3758             Danny Smith  <dannysmith@users.sourceforge.net>
3759
3760         PR target/29498
3761         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
3762         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
3763         * config/i386/t-crtfm: Compile crtfastmath.o with
3764         -minline-all-stringops.
3765
3766 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
3767
3768         * config.host (sparc-wrs-vxworks): New target.
3769
3770 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
3771
3772         * config.host: Recognize fido.
3773
3774 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
3775
3776         * configure: Check host, not target, for decimal float support.
3777
3778 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
3779
3780         * config/i386/t-crtpc: New file.
3781         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
3782         (x86_64-*-linux*): Ditto.
3783
3784 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
3785
3786         * config.host (x86_64-*-mingw*): New target.
3787
3788 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
3789             H.J. Lu  <hongjiu.lu@intel.com>
3790
3791         * Makefile.in (enable_decimal_float): New.
3792         (DECNUMINC): Add
3793         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
3794         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
3795         (decbits-filenames): This.
3796         (decbits-objects): New.
3797         (libgcc-objects): Add $(decbits-objects).
3798
3799         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
3800         Substitute enable_decimal_float.
3801         * configure: Regenerated.
3802
3803 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
3804
3805         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
3806
3807 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
3808
3809         * Makefile.in (install-info): New dummy target.
3810
3811 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
3812
3813         * config.host (bfin*-linux-uclibc*): Set extra_parts.
3814
3815 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
3816
3817         * Makefile.in: Add install-html and install-pdf dummy
3818         targets.
3819
3820 2007-02-05  Roger Sayle  <roger@eyesopen.com>
3821             Daniel Jacobowitz  <dan@codesourcery.com>
3822
3823         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
3824         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
3825         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
3826
3827 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
3828
3829         * Makefile.in (dec-filenames): Add decExcept.
3830
3831 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
3832
3833         PR bootstrap/30469
3834         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
3835         -fprofile-use.
3836
3837 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
3838
3839         * configure.ac: Add --enable-version-specific-runtime-libs.
3840         Correct $slibdir default.
3841         * configure: Regenerated.
3842
3843 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
3844
3845         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
3846
3847 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
3848
3849         PR target/30519
3850         * config.host (alpha*-*-linux*): Set extra_parts.
3851
3852 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
3853
3854         * config/sh/t-linux: New.
3855         * config.host (sh*-*-linux*): Set tmake_file.
3856
3857 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
3858
3859         * Makefile.in (install): Handle multilibs.
3860
3861 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
3862
3863         * Makefile.in: Added .PHONY entry for documentation targets.
3864
3865 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
3866
3867         * Makefile.in: Add empty info, html, dvi, pdf targets.
3868
3869 2007-01-04  Mike Stump  <mrs@apple.com>
3870
3871         * Makefile.in (MAKEINFO): Remove.
3872         (PERL): Likewise.
3873
3874 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
3875
3876         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
3877         * configure: Regenerate.
3878         * Makefile.in (host_subdir): Substitute it.
3879         (gcc_objdir): Use it.
3880
3881 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
3882
3883         * config.host (ia64*-*-linux*): Set tmake_file.
3884
3885 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
3886
3887         * Makefile.in (version): Define.
3888
3889 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
3890             Paolo Bonzini  <bonzini@gnu.org>
3891
3892         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
3893         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
3894         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
3895         config/sparc/t-crtfm, config/t-slibgcc-darwin,
3896         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
3897         shared-object.mk, siditi-object.mk, static-object.mk: New files.
3898         * configure: Generated.