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