OSDN Git Service

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