Daily bump.
[official-gcc.git] / libgcc / ChangeLog
blob468629c383d03e462d916779fb7a010a2731d227
1 2021-12-10  Iain Sandoe  <iain@sandoe.co.uk>
3         * config/t-darwin: Add libgcc_tm.h to the dependencies
4         for darwin10-unwind-find-enc-func.
6 2021-12-10  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8         * config/rs6000/t-vxworks: New file.
9         * config.host (powerpc*-*-vxworks*): Use it instead of
10         t-ppccomm.
12 2021-12-09  Fred Konrad  <konrad@adacore.com>
14         * config.host (powerpc*-wrs-vxworks7*): Fix path to
15         rs6000/t-ppc64-fp, relative to config/ not libgcc/.
17 2021-12-09  Olivier Hainque  <hainque@adacore.com>
18             Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20         * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
21         $(LIBGCC2_INCLUDES).
22         * config/t-vxworks7: Likewise.
24 2021-12-08  Iain Sandoe  <iain@sandoe.co.uk>
26         * config.host (*-*-darwin*): Add logic to build a shared
27         unwinder library for Darwin8-10.
28         * config/i386/t-darwin: Build legacy libgcc_s.1.
29         * config/rs6000/t-darwin: Likewise.
30         * config/t-darwin: Reorganise the EH fragments to place
31         them for inclusion in a shared EH lib.
32         * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
33         the supporting pieces (all FAT libs).
34         * config/t-darwin-noeh: Removed.
35         * config/darwin-unwind.ver: New file.
36         * config/rs6000/t-darwin-ehs: New file.
37         * config/t-darwin-ehs: New file.
39 2021-12-06  Nelson Chu  <nelson.chu@sifive.com>
41         * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
42         then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
43         * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
44         HIDDEN_DEF.
46 2021-11-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
48         * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
49         ssize_t and vfork after including auto-host.h.
51 2021-11-29  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
53         * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
54         crtend.o to extra_parts.
56 2021-11-27  John David Anglin  <danglin@gcc.gnu.org>
58         * config/pa/t-dimode (lib2difuncs): Fix typo.
60 2021-11-25  Florian Weimer  <fweimer@redhat.com>
62         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
63         Remove func, ret.
64         (find_fde_tail): New function.  Split from
65         _Unwind_IteratePhdrCallback.  Move the result initialization
66         from _Unwind_Find_FDE.
67         (_Unwind_Find_FDE): Updated to call find_fde_tail.
69 2021-11-22  Florian Weimer  <fweimer@redhat.com>
71         * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
72         (struct unw_eh_callback_data): Make dbase member conditional.
73         (unw_eh_callback_data_dbase): New function.
74         (base_from_cb_data): Simplify for the non-dbase case.
75         (_Unwind_IteratePhdrCallback): Adjust.
76         (_Unwind_Find_FDE): Likewise.
78 2021-11-22  Florian Weimer  <fweimer@redhat.com>
80         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
81         tbase member.
82         (base_from_cb_data): Adjust.
83         (_Unwind_IteratePhdrCallback): Likewise.
84         (_Unwind_Find_FDE): Likewise.
86 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
88         * config.host: Add weak emutls crt to the extra_parts.
89         * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
90         workaround.
91         * config/libgcc-libsystem.ver: Add exclude list for the system-
92         provided unwinder.
93         * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
94         * config/i386/libgcc-darwin.10.4.ver: Removed.
95         * config/i386/libgcc-darwin.10.5.ver: Removed.
96         * config/rs6000/libgcc-darwin.10.4.ver: Removed.
97         * config/rs6000/libgcc-darwin.10.5.ver: Removed.
98         * config/t-darwin-noeh: New file.
100 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
102         * config/t-darwin: Build weak-defined emutls objects.
103         * emutls.c (__emutls_get_address): Add optional attributes.
104         (__emutls_register_common): Likewise.
105         (EMUTLS_ATTR): New.
107 2021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
109         PR libgcc/103044
110         * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
111         called with a null argument or at the end of the backtrace and return.
112         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
114 2021-11-10  Jakub Jelinek  <jakub@redhat.com>
116         * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
117         formatting fix.
119 2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
121         * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
122         * config/i386/darwin-lib.h: Declare Darwin10 crt function.
124 2021-11-05  John David Anglin  <danglin@gcc.gnu.org>
126         PR libgomp/96661
127         * config.host (hppa*64*-*-linux*): Revise tmake_file.
128         (hppa*64*-*-hpux11*): Likewise.
129         * config/pa/sfp-exceptions.c: New.
130         * config/pa/sfp-machine.h: New.
131         * config/pa/t-dimode: New.
132         * config/pa/t-softfp-sfdftf: New.
134 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
136         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
137         tmake_file.
138         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
139         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
140         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
141         * config/pa/t-linux64 (LIB1ASMSRC): New define.
142         (LIB1ASMFUNCS): Revise.
143         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
145 2021-10-22  Stafford Horne  <shorne@gmail.com>
147         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
148         Change to 0.
150 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
152         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
153         outside of get_regs() in order to use it in another function, this
154         is done twice: for __powerpc64__ and for !__powerpc64__.
155         (struct trace_arg): New struct.
156         (struct layout): New struct.
157         (ppc_backchain_fallback): New function.
158         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
159         state and call MD_BACKCHAIN_FALLBACK.
161 2021-10-13  Martin Liska  <mliska@suse.cz>
163         PR gcov-profile/90364
164         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
165         checksums.
166         (write_one_data): Write also checksum.
167         * libgcov-util.c (read_gcda_file): Read also checksum field.
168         * libgcov.h (struct gcov_info): Add new field.
170 2021-10-08  Ian Lance Taylor  <iant@golang.org>
172         * config/i386/morestack.S: Use .init_array for constructor if
173         available.
174         * config/rs6000/morestack.S: Likewise.
175         * config/s390/morestack.S: Likewise.
177 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
179         PR target/101104
180         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
181         Use more correct values for native IBM 128-bit.
183 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
185         * config/i386/libgcc-darwin.ver: Add Symbols for
186         __cpu_model, __cpu_indicator_init.
188 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
190         * config/i386/sfp-machine.h: Guard Mach-O-specific code
191         using __APPLE__.
193 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
195         * config/t-slibgcc-darwin: Delete unused code.
197 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
199         * config/i386/t-darwin: Add in a vers file for X86-specific
200         symbols.
201         * config/t-darwin: Add the generic symbol maps here...
202         * config/t-slibgcc-darwin: ... removing from here.
203         * config/i386/libgcc-darwin.ver: New file.
205 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
207         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
208         and __mulhc3.
210 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
212         * config.host: Use convenience library for Darwin10
213         unwinder shim.
214         * config/t-darwin: Build Darwin10 unwinder shim as a
215         convenience library.
217 2021-09-13  Andrew Pinski  <apinski@marvell.com>
219         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
220         * config/m32r/libgcc-glibc.ver: Removed.
221         * config/m32r/t-linux: Removed.
223 2021-09-08  liuhongt  <hongtao.liu@intel.com>
225         * config/i386/t-softfp: Compile __{mul,div}hc3 into
226         libgcc_s.so.1.
228 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
229             Iain Sandoe  <iain@sandoe.co.uk>
231         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
232         and export *hf* and *hc* functions at GCC_12.0.0.
234 2021-09-06  liuhongt  <hongtao.liu@intel.com>
236         * Makefile.in: Adjust to support specific CFLAGS for each
237         libgcc source file.
238         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
239         related libgcc source files.
240         * config/i386/t-softfp: Ditto.
241         * config/i386/_divhc3.c: New file.
242         * config/i386/_mulhc3.c: New file.
244 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
246         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
247         alias_DFtype, alias_TFtype): New.
248         (ALIAS_SELECTOR): New.
249         (strong_alias): Use __typeof and a _Generic selector to
250         provide the type to the synthesized function.
252 2021-09-02  liuhongt  <hongtao.liu@intel.com>
254         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
255         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
256         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
257         * config/i386/t-softfp: Add hf soft-fp.
258         * config.host: Add i386/64/t-softfp.
259         * config/i386/64/t-softfp: New file.
261 2021-09-02  liuhongt  <hongtao.liu@intel.com>
263         * soft-fp/eqhf2.c: New file.
264         * soft-fp/extendhfdf2.c: New file.
265         * soft-fp/extendhfsf2.c: New file.
266         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
267         * soft-fp/truncdfhf2.c: New file
268         * soft-fp/truncsfhf2.c: New file
270 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
272         * unwind-arm-common.inc (abort): Remove.
274 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
276         * config/aarch64/value-unwind.h: Add missing runtime exception
277         paragraph.
278         * config/frv/frv-abi.h: Likewise.
279         * config/i386/value-unwind.h: Likewise.
280         * config/pa/pa64-hpux-lib.h: Likewise.
282 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
284         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
285         __gcc_qadd.
286         (__gcc_qadd): Call ldouble_qadd_internal.
287         (__gcc_qsub): Call ldouble_qadd_internal with second long double
288         argument negated.
290 2021-08-26  Jonathan Yong  <10walls@gmail.com>
292         * config/i386/cygming-crtend.c: Fix register_frame_ctor
293         and register_frame_dtor warnings.
295 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
297         PR target/102035
298         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
299         Add vlldm erratum work-around.
301 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
303         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
305 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
307         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
308         (gcov_type_unsigned): Likewise.
310 2021-08-14  Stafford Horne  <shorne@gmail.com>
312         PR target/99783
313         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
314         * config/or1k/t-crtstuff: New file.
316 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
318         * libgcov-driver.c (#include <stdint.h>): Remove.
319         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
321 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
323         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
324         * gcov.h (gcov_info): Declare.
325         (__gcov_info_to_gdca): Likewise.
326         * libgcov.h (gcov_write_counter): Remove.
327         (gcov_write_tag_length): Likewise.
328         * libgcov-driver.c (#include <stdint.h>): New.
329         (#include <string.h>): Remove.
330         (NEED_L_GCOV): Conditionally define.
331         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
332         (are_all_counters_zero): New.
333         (gcov_dump_handler): Likewise.
334         (gcov_allocate_handler): Likewise.
335         (dump_unsigned): Likewise.
336         (dump_counter): Likewise.
337         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
338         Use dump_unsigned() and dump_counter().
339         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
340         dump_unsigned(), dump_counter(), and are_all_counters_zero().
341         (__gcov_info_to_gcda): New.
343 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
345         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
346         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
347         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
348         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
350 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
352         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
354 2021-07-15  Alan Modra  <amodra@gmail.com>
356         * config/rs6000/morestack.S (R2_SAVE): Define.
357         (__morestack): Save and restore r2.  Set up r2 for called
358         functions.
360 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
362         * soft-fp/extendhfxf2.c: New file.
363         * soft-fp/truncxfhf2.c: Likewise.
365 2021-06-29  Julian Brown  <julian@codesourcery.com>
367         * config/gcn/lib2-bswapti2.c: New file.
368         * config/gcn/lib2-divmod-di.c: New file.
369         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
370         typedefs.
371         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
372         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
373         lib2-bswapti2.c.
375 2021-06-29  Julian Brown  <julian@codesourcery.com>
377         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
378         return types to USItype.
379         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
381 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
383         * configure: Regenerate.
384         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
385         typos among the name, CFLAGS and the test.
386         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
387         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
388         Remove.
389         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
390         macro FLOAT128_HW_INSNS_ISA3_1.
391         (FP128_3_1_CFLAGS_HW): Fix option typo.
392         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
393         FLOAT128_HW_INSNS_ISA3_1.
394         (__floattikf_resolve): Likewise.
395         (__floatuntikf_resolve): Likewise.
396         (__fixkfti_resolve): Likewise.
397         (__fixunskfti_resolve): Likewise.
398         (__floattikf): Likewise.
399         (__floatuntikf): Likewise.
400         (__fixkfti): Likewise.
401         (__fixunskfti): Likewise.
403 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
405         PR target/99939
406         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
407         macro.
408         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
409         on passing -mcmse option.
411 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
413         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
414         _ARCH_PPC64 .
416 2021-06-09  Carl Love  <cel@us.ibm.com>
418         * config.host: Add if test and set for
419         libgcc_cv_powerpc_3_1_float128_hw.
420         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
421         Change calls of __fixkfti to __fixkfti_sw.
422         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
423         Change calls of __fixunskfti to __fixunskfti_sw.
424         * config/rs6000/float128-p10.c (__floattikf_hw,
425         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
426         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
427         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
428         __fixunskfti_resolve): Add resolve functions.
429         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
430         * config/rs6000/float128-sed (floattitf, __floatuntitf,
431         __fixtfti, __fixunstfti): Add editor commands to change names.
432         * config/rs6000/float128-sed-hw (__floattitf,
433         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
434         change names.
435         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
436         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
437         * config/rs6000/quad-float128.h (__floattikf_sw,
438         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
439         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
440         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
441         * config/rs6000/t-float128 (floattikf, floatuntikf,
442         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
443         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
444         file names to fp128_ppc_funcs.
445         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
446         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
447         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
448         * config/rs6000/t-float128-p10-hw: New file.
449         * configure: Update script for isa 3.1 128-bit float support.
450         * configure.ac: Add check for 128-bit float hardware support.
451         * config/rs6000/fixkfti-sw.c: New file.
452         * config/rs6000/fixunskfti-sw.c: New file.
453         * config/rs6000/floattikf-sw.c: New file.
454         * config/rs6000/floatuntikf-sw.c: New file.
456 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
458         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
460 2021-05-13  Martin Liska  <mliska@suse.cz>
462         * libgcov-driver.c: Fix GNU coding style.
464 2021-05-10  Martin Liska  <mliska@suse.cz>
466         * libgcov-driver.c (gcov_version): Use different name that does
467         not clash with newly introduced macro.
469 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
471         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
472         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
473         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
475 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
477         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
478         Define.
479         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
480         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
481         Define.
482         (__divkc3): Improve complex divide.
484 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
486         PR target/98952
487         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
488         trampoline size comparison in 32-bit by reversing test and
489         combining load immediate with compare.
490         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
491         in 32-bit by reversing test and combining load immediate with
492         compare.
494 2021-04-05  Florian Weimer  <fweimer@redhat.com>
495             Michael Meissner   <meissner@linux.ibm.com>
497         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
498         point functions for $(decimal_float) only.
500 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
502         PR target/97653
503         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
504         $(objext) instead of $(object).  Use _floatunditf instead of
505         _floatunsditf.  Add tf <-> ti conversion objects.
506         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
508 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
510         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
511         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
512         (fp128_decstr_objs): Delete.
513         * dfp-bit.h: Call __sprintfieee128 to do conversions from
514         _Float128 to a Decimal type.  Call __strtoieee128 to do
515         conversions from a Decimal type to _Float128.
516         * config/rs6000/_sprintfkf.c: Delete file.
517         * config/rs6000/_sprintfkf.h: Delete file.
518         * config/rs6000/_strtokf.c: Delete file.
519         * config/rs6000/_strtokf.h: Delete file.
521 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
523         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
524         to __BYTE_ORDER__.
526 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
528         PR gcov-profile/99406
529         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
530         defined, define these macros if not defined already.
532 2021-03-04  Martin Liska  <mliska@suse.cz>
534         PR gcov-profile/99105
535         * libgcov-driver.c (write_top_counters): Rename to ...
536         (write_topn_counters): ... this.
537         (write_one_data): Pre-allocate buffer for number of items
538         in the corresponding linked lists.
539         * libgcov.h (malloc_mmap): New function.
540         (allocate_gcov_kvp): Use it.
542 2021-03-04  Martin Liska  <mliska@suse.cz>
544         PR gcov-profile/99385
545         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
547 2021-03-03  Martin Liska  <mliska@suse.cz>
549         PR gcov-profile/97461
550         * config.in: Regenerate.
551         * configure: Likewise.
552         * configure.ac: Check sys/mman.h header file
553         * libgcov-driver.c (struct gcov_kvp): Remove static
554         pre-allocated pool and use a dynamic one.
555         * libgcov.h (MMAP_CHUNK_SIZE): New.
556         (gcov_counter_add): Use mmap to allocate pool for struct
557         gcov_kvp.
559 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
561         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
562         the function.
563         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
565 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
567         PR libgcc/99236
568         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
569         negation of m in unsigned type.
571 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
572             Hau Hsu  <hsuhau617@gmail.com>
574         PR target/99157
575         * config/arm/t-arm: Fix cmse support detection.
577 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
579         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
581 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
583         * config/rs6000/_dd_to_kf.c: New file.
584         * config/rs6000/_kf_to_dd.c: New file.
585         * config/rs6000/_kf_to_sd.c: New file.
586         * config/rs6000/_kf_to_td.c: New file.
587         * config/rs6000/_sd_to_kf.c: New file.
588         * config/rs6000/_sprintfkf.c: New file.
589         * config/rs6000/_sprintfkf.h: New file.
590         * config/rs6000/_strtokf.h: New file.
591         * config/rs6000/_strtokf.c: New file.
592         * config/rs6000/_td_to_kf.c: New file.
593         * config/rs6000/quad-float128.h: Add new declarations.
594         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
595         (fp128_decstr_funcs): New macro.
596         (ibm128_dec_funcs): New macro.
597         (fp128_ppc_funcs): Add the new conversions.
598         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
599         compiled with -mabi=ieeelongdouble.
600         (fp128_decstr_objs): Force __float128 <-> string conversions to be
601         compiled with -mabi=ibmlongdouble.
602         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
603         compiled with -mabi=ieeelongdouble.
604         (FP128_CFLAGS_DECIMAL): New macro.
605         (IBM128_CFLAGS_DECIMAL): New macro.
606         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
607         (BFP_TO_DFP): Add PowerPC _Float128 support.
608         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
609         IEEE 128-bit floating point.
610         (DFP_TO_BFP): Add PowerPC _Float128 support.
611         (BFP_TO_DFP): Add PowerPC _Float128 support.
612         (BFP_SPRINTF): New macro.
614 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
616         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
617         * config/i386/savms64f.h: Likewise.
618         * config/i386/resms64.h: Likewise.
619         * config/i386/resms64f.h: Likewise.
620         * config/i386/resms64x.h: Likewise.
621         * config/i386/resms64fx.h: Likewise.
623 2021-01-26  Martin Liska  <mliska@suse.cz>
625         PR gcov-profile/98739
626         * libgcov.h (gcov_topn_add_value): Do not train when
627         we have a merged profile with a negative number of total
628         value.
630 2021-01-25  Martin Liska  <mliska@suse.cz>
632         PR gcov-profile/98739
633         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
634         ends with a dropped counter.
635         * libgcov.h (gcov_topn_add_value): Add return value.
637 2021-01-13  Stafford Horne  <shorne@gmail.com>
639         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
640         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
641         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
642         FP_EX_ALL): New constant macros.
643         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
644         FP_HANDLE_EXCEPTIONS): New macros.
645         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
647 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
649         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
650         posix siginfo case to struct handler_args. Detect between legacy
651         and siginfo from the second parameter, which is a small sigcode in
652         the legacy case, and a pointer in the siginfo case.
654 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
656         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
657         functions.
658         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
659         _bswapdi2.
661 2020-12-08  Ian Lance Taylor  <iant@golang.org>
663         * generic-morestack-thread.c (free_segments): Block signals during
664         thread exit.
666 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
668         PR libgcc/97543
669         PR libgcc/97643
670         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
671         (IBM128_SHARED_OBJS): New make variable.
672         (IBM128_OBJS): New make variable.  Set all objects to use the
673         explicit IBM format, and disable gnu attributes.
674         (IBM128_CFLAGS): New make variable.
675         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
676         modules.
678 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
680         * config/t-vxworks (LIB2ADD): Drop.
681         * config/t-vxworks7 (LIB2ADD): Likewise.
682         * config/vxcache.c: Remove.
684 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
686         * libgcc2.c (bswapsi2): Make constants unsigned.
688 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
690         * libgcc2.c (absvSI2): Simplify/improve implementation by using
691         builtin_add_overflow.
692         (absvsi2, absvDI2): Likewise.
694 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
696         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
697         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
699 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
701         * config/msp430/lib2hw_mul.S (mult64_hw): New.
702         (if MUL_32): Use mult64_hw for __muldi3.
703         (if MUL_F5): Use mult64_hw for __muldi3.
704         * config/msp430/lib2mul.c (__muldi3): New.
705         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
707 2020-11-17  Alan Modra  <amodra@gmail.com>
709         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
710         (LIB2_SIDITI_CONV_FUNCS): Define.
711         * config/rs6000/ppc64-fp.c: Delete file.
713 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
715         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
716         hwmult library functions.
718 2020-11-10  Jeff Law  <law@redhat.com>
720         * libgcc2.c: Fix whitespace issues in most recent change.
722 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
724         * libgcc2.c (__addvSI3): Use overflow builtins.
725         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
726         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
727         (__negvsi2, __negvDI2): Likewise.
728         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
729         generated code.
730         * libgcc2.h (__ucmpdi2): Adjust prototype.
732 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
733             Olivier Hainque   <hainque@adacore.com>
735         * config.host (aarch64-vxworks7*, tmake_file): Add
736         ${cpu_type}/t-lse and t-slibgcc-libgcc.
738 2020-11-03  Martin Storsjö  <martin@martin.st>
740         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
741         before calling the callback.
743 2020-10-30  Olivier Hainque  <hainque@adacore.com>
744             Douglas Rupp  <rupp@adacore.com>
745             Pat Bernardi  <bernardi@adacore.com>
747         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
748         to apply to VxWorks 7 as well.
750 2020-10-29  Olivier Hainque  <hainque@adacore.com>
752         * config/gthr-vxworks-tls.c: Fix preprocessor logic
753         controlling the definition of VX_ENTER_TLS_DTOR and
754         VX_LEAVE_TLS_DTOR based on a version major check.
756 2020-10-29  Olivier Hainque  <hainque@adacore.com>
758         * config/gthr-vxworks-thread.c: Fix name of macro used
759         to condition the inclusion of an actual implementation.
761 2020-10-27  Martin Liska  <mliska@suse.cz>
763         PR gcov-profile/97461
764         * libgcov.h (gcov_counter_add): Use first static counters
765         as it should help to have malloc wrappers set up.
767 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
769         * config/gthr-vxworks-thread.c: #include gthr.h before
770         testing the guard defined there.
771         * config/gthr-vxworks-cond.c: Likewise.
773 2020-10-21  Douglas Rupp  <rupp@adacore.com>
774             Olivier Hainque  <hainque@adacore.com>
776         * config.host (powerpc*-wrs-vxworks7*): New case.
777         * configure.ac: Handle powerpc*-*-vxworks7* as
778         powerpc*-*-linux* for ppc-fp_type.
779         * configure: Regenerate.
781 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
783         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
784         section on VxWorks >= 6.
785         * config/gthr-vxworks-thread.c: Condition the entire
786         implementation on __GTHREAD_CXX0X.
788 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
790         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
791         section on VxWorks >= 6.
792         * config/gthr-vxworks-cond.c: Condition the entire
793         implementation on __GTHREAD_HAS_COND.
795 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
797         * config/gthr-vxworks.c: #include <taskLib.h>.
799 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
801         * config/gthr-vxworks.h: Rewrite remaining occurrence
802         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
804 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
805              Olivier Hainque   <hainque@adacore.com>
807         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
808         except on VxWorks 6.
810 2020-10-16  Olivier Hainque  <hainque@adacore.com>
812         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
814 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
816         * config/gthr-vxworks-thread.c: Include stdlib.h.
817         (tls_delete_hook): Prototype it.
818         (__gthread_cond_signal): Return early if no waiters.  Consume
819         signal in case the semaphore got full.  Use semInfoGet instead
820         of kernel-mode-only semInfo.
821         (__gthread_cond_timedwait): Use semExchange.  Always take the
822         mutex again before returning.
823         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
825 2020-10-14  Olivier Hainque  <hainque@adacore.com>
827         * config/t-vxworks (LIBGCC2_INCLUDES): Append
828         $(MULTISUBDIR) to the -I path for fixed headers, as we
829         arrange to have different sets of such headers for different
830         multilibs when they are activated.
831         * config/t-vxworks7: Likewise.
833 2020-10-14  Olivier Hainque  <hainque@adacore.com>
835         * config/t-vxworks: Add include-fixed to include search
836         paths for libgcc on VxWorks.
837         * config/t-vxworks7: Likewise.
839 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
841         PR target/97148
842         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
843         instead of <cetintrin.h>.
845 2020-10-01  Alan Modra  <amodra@gmail.com>
847         * config/rs6000/morestack.S,
848         * config/rs6000/tramp.S: Support __PCREL__ code.
850 2020-10-01  Alan Modra  <amodra@gmail.com>
852         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
854 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
856         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
857         variable.
859 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
861         * config/aarch64/libgcc-softfp.ver: New file.
862         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
864 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
866         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
868 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
870         PR gcov-profile/96913
871         * libgcov-driver.c (write_one_data): Avoid function pointer
872         comparison in TOP streaming decision.
874 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
875             Christophe Lyon  <christophe.lyon@linaro.org>
877         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
878         qualifier.
879         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
880         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
881         missing prototypes.
883 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
885         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
886         unused variable warning.
888 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
890         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
892 2020-09-09  Tom de Vries  <tdevries@suse.de>
894         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
895         Wbuiltin-declaration-mismatch.
897 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
899         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
900         * config/msp430/srai.S (__gnu_mspabi_srap): New.
901         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
903 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
905         * config/nvptx/atomic.c: New.
906         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
908 2020-08-03  Ian Lance Taylor  <iant@golang.org>
910         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
912 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
914         PR target/96402
915         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
916         of x(tmp0), x(tmp1) in STXP arguments.
918 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
920         * config/riscv/save-restore.S [__riscv_xlen == 64]
921         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
922         (__riscv_save_2): Replace negative immediates used for the final
923         stack pointer adjustment with positive ones, right-shifted by 4.
925 2020-07-31  Martin Liska  <mliska@suse.cz>
927         * libgcov-driver.c: Add __gcov_kvp_pool
928         and __gcov_kvp_pool_index variables.
929         * libgcov.h (allocate_gcov_kvp): New.
930         (gcov_topn_add_value): Use it.
932 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
934         * config/aarch64/lse.S: Add PAC property note.
936 2020-07-23  Martin Liska  <mliska@suse.cz>
938         PR gcov-profile/96035
939         * libgcov-driver-system.c: Create gcov folders with 0777
940         so that it respects a system umask.
942 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
944         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
946 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
948         PR target/94891
949         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
950         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
951         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
952         (MD_DEMANGLE_RETURN_ADDR): This.
953         (aarch64_post_extract_frame_addr): Rename to ...
954         (aarch64_demangle_return_addr): This.
955         (aarch64_post_frob_eh_handler_addr): Remove.
956         * unwind-dw2.c (uw_update_context): Demangle return address.
957         (uw_frob_return_addr): Remove.
959 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
961         PR target/96001
962         * config/aarch64/lse.S: Add BTI marking and related definitions,
963         and add BTI c to function entries.
965 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
967         * config/aarch64/lse.S: Add stack note.
969 2020-07-02  Martin Liska  <mliska@suse.cz>
971         PR gcov-profile/95348
972         * libgcov-driver.c (merge_one_data): Merge only profiles
973         that are not of non-zero type.
974         (write_one_data): Write counters only if there's one non-zero
975         value.
976         * libgcov-util.c (tag_function): Change signature from unsigned
977         to int.
978         (tag_blocks): Likewise.
979         (tag_arcs): Likewise.
980         (tag_counters): Likewise.
981         (tag_summary): Likewise.
982         (tag_lines): Read only if COUNTERS is non-zero.
983         (read_gcda_file): Handle negative length for COUNTERS type.
985 2020-06-25  Martin Liska  <mliska@suse.cz>
987         * libgcov-driver.c (merge_summary): Remove function as its name
988         is misleading and doing something different.
989         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
990         in gcov-tool.
991         * libgcov-util.c (curr_object_summary): Remove.
992         (read_gcda_file): Remove unused curr_object_summary.
993         (gcov_merge): Merge summaries.
994         * libgcov.h: Add summary argument for gcov_info struct.
996 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
998         PR target/95259
999         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
1000         "common/config/i386/i386-cpuinfo.h" and
1001         "common/config/i386/cpuinfo.h".
1002         (__cpu_features2): Changed to array.
1003         (get_amd_cpu): Removed.
1004         (get_intel_cpu): Likewise.
1005         (get_available_features): Likewise.
1006         (__cpu_indicator_init): Call cpu_indicator_init.
1007         * config/i386/cpuinfo.h: Removed.
1009 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
1011         * Makefile.in: Remove uses of empty.mk. Use -include.
1012         * config/avr/t-avr: Use -include.
1013         * empty.mk: Delete.
1015 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
1017         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1018         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1019         and 64 bit with -maix64.
1020         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1021         Build and install AIX-style FAT libraries.
1023 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
1025         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1026         'i386/gnu-unwind.h'
1027         * config/i386/gnu-unwind.h: New file.
1029 2020-06-17  Martin Liska  <mliska@suse.cz>
1031         * libgcov-util.c (read_gcda_finalize): Remove const operator.
1032         (merge_wrapper): Add both counts and use them properly.
1033         (topn_to_memory_representation): New function.
1034         (gcov_merge): Covert on disk representation to in memory
1035         representation.
1036         * libgcov.h: Remove const operator.
1038 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
1040         * configure: Regenerate.
1041         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1042         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1044 2020-06-09  Martin Liska  <mliska@suse.cz>
1046         PR gcov-profile/95494
1047         * libgcov-driver.c (write_top_counters): Cast first to
1048         intptr_t as sizeof(*) != sizeof(gcov_type).
1049         * libgcov.h (gcov_counter_set_if_null): Remove.
1050         (gcov_topn_add_value): Cast first to intptr_t and update
1051         linked list directly.
1053 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
1055         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1056         with uw_install_context_1.
1058 2020-06-04  Andreas Schwab  <schwab@suse.de>
1060         PR target/59230
1061         PR libfortran/59227
1062         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1063         soft-fp/divtf3.c.
1064         (LIB2ADD): Add config/ia64/divtf3.c.
1065         * config/ia64/divtf3.c: New file.
1067 2020-06-03  Martin Liska  <mliska@suse.cz>
1069         PR gcov-profile/95480
1070         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1071         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1072         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1073         (gcov_counter_set_if_null): Likewise.
1075 2020-06-02  Jim Wilson  <jimw@sifive.com>
1077         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1078         to bgtz.
1080 2020-06-02  Martin Liska  <mliska@suse.cz>
1082         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1083         of xmalloc.
1085 2020-06-02  Martin Liska  <mliska@suse.cz>
1087         * libgcov-driver.c (prune_topn_counter): Remove.
1088         (prune_counters): Likewise.
1089         (merge_one_data): Special case TOP N counters
1090         as they have variable length.
1091         (write_top_counters): New.
1092         (write_one_data): Special case TOP N.
1093         (dump_one_gcov): Do not prune TOP N counters.
1094         * libgcov-merge.c (merge_topn_values_set): Remove.
1095         (__gcov_merge_topn): Use gcov_topn_add_value.
1096         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1097         Likewise here.
1098         * libgcov.h (gcov_counter_add): New.
1099         (gcov_counter_set_if_null): Likewise.
1100         (gcov_topn_add_value): New.
1102 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1104         * config/i386/sfp-exceptions.c (struct fenv):
1105         Add __attribute__ ((gcc_struct)).
1107 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
1109         PR bootstrap/95413
1110         * configure: Regenerated.
1112 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
1114         PR gcov-profile/95332
1115         * libgcov-util.c (read_gcda_file): Call gcov_magic.
1116         * libgcov.h (gcov_magic): Disable GCC poison.
1118 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1120         PR target/95212
1121         * config/i386/cpuinfo.h (processor_features): Move
1122         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1124 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1126         PR target/91695
1127         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1128         check.
1130 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1132         PR target/95212
1133         PR target/95220
1134         * config/i386/cpuinfo.c (get_available_features): Fix
1135         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
1136         * config/i386/cpuinfo.h (processor_features): Add
1137         FEATURE_AVX512VP2INTERSECT.
1139 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1141         PR bootstrap/95147
1142         * configure: Regenerated.
1144 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1146         * configure: Regenerated.
1148 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
1150         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1151         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1153 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1155         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1156         (__math_force_eval_div): New define.
1157         (__sfp_handle_exceptions): Use __math_force_eval_div to use
1158         generic division to generate INVALID, DIVZERO and INEXACT
1159         exceptions.
1161 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1163         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1164         instead of getauxval.
1165         (AT_HWCAP): Define.
1166         (HWCAP_ATOMICS): Define.
1167         Guard detection on __gnu_linux__.
1169 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
1171         * config.host: Delete changes meant for a private branch.
1172         * config/rs6000/t-float128: Likewise.
1173         * configure.ac: Likewise.
1174         * configure: Likewise.
1176 2020-05-05  Martin Liska  <mliska@suse.cz>
1178         PR gcov-profile/93623
1179         * Makefile.in: Remove __gcov_flush.
1180         * gcov.h (__gcov_flush): Remove.
1181         * libgcov-interface.c (__gcov_flush): Remove.
1182         (init_mx): Use renamed mutex.
1183         (__gcov_lock): Likewise.
1184         (__gcov_unlock): Likewise.
1185         (__gcov_fork): Likewise.
1186         (__gcov_flush): Remove.
1188 2020-05-05  Martin Liska  <mliska@suse.cz>
1190         PR gcov-profile/93623
1191         * libgcov-interface.c (__gcov_fork): Do not flush
1192         and reset only in child process.
1193         (__gcov_execl): Dump counters only and reset them
1194         only if exec* fails.
1195         (__gcov_execlp): Likewise.
1196         (__gcov_execle): Likewise.
1197         (__gcov_execv): Likewise.
1198         (__gcov_execvp): Likewise.
1199         (__gcov_execve): Likewise.
1201 2020-05-05  Martin Liska  <mliska@suse.cz>
1203         PR gcov-profile/93623
1204         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1205         * libgcov-interface.c (ALIAS_void_fn): Remove.
1206         (__gcov_lock): New.
1207         (__gcov_unlock): New.
1208         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1209         (__gcov_reset): Likewise.
1210         (__gcov_dump): Likewise.
1211         * libgcov.h (__gcov_lock): New declaration.
1212         (__gcov_unlock): Likewise.
1214 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1216         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1217         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1218         generic division to generate INVALID and DIVZERO exceptions.
1220 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1222         * config/rs6000/crtresfpr.S: Use .machine ppc.
1223         * config/rs6000/crtresxfpr.S: Likewise.
1224         * config/rs6000/crtsavfpr.S: Likewise.
1226 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1228         PR target/94514
1229         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1230         Update context->flags accroding to the frame state.
1232 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1234         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1235         Remove unneeded assignments to volatile memory.
1237 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
1239         PR target/93053
1240         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1241         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1242         is not defined, use just .arch armv8-a.
1243         (B, M, N, OPN): Define.
1244         (COMMENT): New .macro.
1245         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1246         defined.  Otherwise, move the operands right after the glue? and
1247         comment out operands where the macros are used.
1248         * configure: Regenerated.
1249         * config.in: Regenerated.
1251 2020-04-07  Ian Lance Taylor  <iant@golang.org>
1253         PR libgcc/94513
1254         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1255         syscall instead.
1257 2020-04-04  Ian Lance Taylor  <iant@golang.org>
1259         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1261 2020-04-03  Ian Lance Taylor  <iant@golang.org>
1263         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1264         than mmap/munmap, to avoid hooks.
1266 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
1268         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1269         (TPFRA_OFFSET): Macros removed.
1270         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1271         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1272         (PG3_SKIPPING_OFFSET): New macros.
1273         (__isPATrange): Use cinfc_fast for the check.
1274         (__isSkipResetAddr): New function.
1275         (s390_fallback_frame_state): Check for skip trace addresses. Use
1276         either ICST_CRET or ICST_SRET to calculate return address
1277         location.
1278         (__tpf_eh_return): Handle skip trace addresses.
1280 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
1282         PR target/94220
1283         * config/arm/lib1funcs.asm (COND): Use a single definition for
1284         unified syntax.
1285         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1286         (aeabi_idivmod): Likewise.
1287         (divsi3_skip_div0_test): Likewise.
1289 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
1291         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1293 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
1295         * config.host: Include the new makefile fragment.
1296         * config/s390/t-tpf: New file.
1298 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
1300         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1301         syntax.
1302         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1303         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1304         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1305         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1306         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1307         syntax.
1308         (divsi3, modsi3): Likewise.
1309         (clzdi2, ctzsi2): Likewise.
1310         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1311         unified syntax.
1312         (UNWIND_WRAPPER): Likewise.
1314 2020-03-02  Martin Liska  <mliska@suse.cz>
1316         * libgcov-interface.c: Remove duplicate
1317         declaration of __gcov_flush_mx.
1319 2020-02-18  Martin Liska  <mliska@suse.cz>
1321         PR ipa/92924
1322         * libgcov-merge.c (merge_topn_values_set): Record
1323         when a TOP N counter becomes invalid.  When merging
1324         remove a smallest value if the space is needed.
1326 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
1328         PR libstdc++/79193
1329         PR libstdc++/88999
1331         * configure: Regenerated.
1333 2020-02-10  Jeff Law  <law@redhat.com>
1335         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1336         sections.
1337         * config/frv/frvend.c: Similarly.
1339 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
1341         PR libgcc/85334
1342         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1343         New.
1345 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
1347         PR target/93615
1348         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1349         _Unwind_gnu_Find_got.
1350         * unwind-pe.h: Likewise.
1352 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
1354         PR target/93615
1355         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1356         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
1357         trailing :s in asm.  Formatting fixes.
1358         (_Unwind_decode_typeinfo_ptr): Adjust caller.
1360 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
1362         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1364         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1365         * config/nios2-elf-lib.h: New.
1366         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1367         code for finding GOT base for nios2.
1369 2020-01-27  Martin Liska  <mliska@suse.cz>
1371         PR gcov-profile/93403
1372         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1373         Call __gcov_indirect_call_profiler_body.
1374         (__gcov_indirect_call_profiler_body): New.
1375         (__gcov_indirect_call_profiler_v4_atomic): New.
1376         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1377         New declaration.
1379 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
1381         * config/arc/crti.S: Add RF16 object attribute.
1382         * config/arc/crtn.S: Likewise.
1383         * config/arc/crttls.S: Likewise.
1384         * config/arc/lib1funcs.S: Likewise.
1385         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1386         * config/arc/lib2funcs.c: New file.
1387         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1389 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
1391         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1392         * configure.ac: Handle `--with-toolexeclibdir='.
1393         * configure: Regenerate.
1395 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
1397         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1399 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
1401         * config/mips/gnustack.h: New file.
1402         * config/mips/crti.S: Include gnustack.h.
1403         * config/mips/crtn.S: Likewise.
1404         * config/mips/mips16.S: Likewise.
1405         * config/mips/vr4120-div.S: Likewise.
1407 2020-01-23  Martin Liska  <mliska@suse.cz>
1409         * libgcov-driver.c (prune_topn_counter): Remove
1410         check for -1 as we only prune run-time counters
1411         that do not generate an invalid state.
1413 2020-01-22  Martin Liska  <mliska@suse.cz>
1415         PR tree-optimization/92924
1416         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1417         try to find an existing value, then find an empty slot
1418         if not found.
1420 2020-01-22  Martin Liska  <mliska@suse.cz>
1422         PR tree-optimization/92924
1423         * libgcov-driver.c (prune_topn_counter): New.
1424         (prune_counters): Likewise.
1425         (dump_one_gcov): Prune a run-time counter.
1426         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1427         For a known value, add GCOV_TOPN_VALUES to value.
1428         Otherwise, decrement all counters by one.
1430 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
1432         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1434 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
1436         PR libgcc/92988
1437         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1438         DEFAULT_USE_CXA_ATEXIT is true.
1440 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
1441             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1443         * config/arm/t-arm: Check return value of gcc rather than lack of
1444         output.
1446 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
1448         * config/avr/lib1funcs.S (skip): Simplify.
1450 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
1452         * config/gcn/atomic.c: Remove include of stdint.h.
1453         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1454         __UINTPTR_TYPE__.
1456 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
1458         * config/gcn/atomic.c: New.
1459         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1461 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
1463         Implement 64-bit double functions.
1465         PR target/92055
1466         * config.host (tmake_file) [target=avr]: Add t-libf7,
1467         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1468         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1469         depending on sizeof (double) or sizeof (long double).
1470         * config/avr/libf7: New folder.
1472 2020-01-05  Olivier Hainque  <hainque@adacore.com>
1474         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1475         by IN_LIBGCC2.
1477 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
1479         Update copyright years.
1481 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1483         * config/gthr-vxworks.h: Use _vxworks-versions.h.
1484         * config/gthr-vxworks-tls.c: Likewise.
1486 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1488         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1489         standard zero-initializer syntax.
1491 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1493         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1494         reference to the internal VX_GET_TLS_DATA interface.
1496 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1498         * config/vxcrtstuff.c: Fix incorrect spelling of
1499         USE_INITFINI_ARRAY in guard.
1501 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1503         * config.host: s/msp430*-*-elf/msp430-*-elf*.
1504         Override default "extra_parts" variable.
1505         * configure: Regenerate.
1506         * configure.ac: Disable TM clone registry by default for
1507         msp430-elfbare.
1509 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1511         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1512         "extra_parts".
1513         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1515 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1517         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1518         true.
1520 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1522         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1523         defined instead of its value.
1525 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1527         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1528         if it will have contents.
1530 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
1532         PR target/92055
1533         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1535 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1537         PR libgcc/91737
1538         * config.host: Add t-gthr-noweak on *-*-musl*.
1539         * config/t-gthr-noweak: New file.
1541 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
1543         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1544         volatile void *.  Remove trap check.
1545         (__kernel_cmpxchg2): Likewise.
1546         (FETCH_AND_OP_2): Adjust operand types.
1547         (OP_AND_FETCH_2): Likewise.
1548         (FETCH_AND_OP_WORD): Likewise.
1549         (OP_AND_FETCH_WORD): Likewise.
1550         (COMPARE_AND_SWAP_2): Likewise.
1551         (__sync_val_compare_and_swap_4): Likewise.
1552         (__sync_bool_compare_and_swap_4): Likewise.
1553         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1554         (__sync_lock_test_and_set_4): Likewise.
1555         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
1556         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
1557         for release.
1558         (__sync_lock_release_8): Remove.
1560 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1562         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1563         of __sigset_t.
1565 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
1566             Doug Rupp <rupp@adacore.com>
1567             Olivier Hainque  <hainque@adacore.com>
1569         * config.host: Collapse the arm-vxworks entries into
1570         a single arm-wrs-vxworks7* one.
1571         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
1572         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1573         kernel modules, to be overriden by libstdc++ when we link with
1574         it.  Rely on externally provided __exidx_start/end.
1576 2019-11-14  Doug Rupp  <rupp@adacore.com>
1577             Olivier Hainque  <hainque@adacore.com>
1579         * config.host: Handle aarch64*-wrs-vxworks7*.
1581 2019-11-12  Olivier Hainque  <hainque@adacore.com>
1583         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1584         sources except the cxx0x support to LIB2ADDEH.  We don't support
1585         cxx0x on AE/653.
1586         * config/t-vxworksae: New file.
1587         * config.host: Handle *-*-vxworksae: Add the two aforementioned
1588         Makefile fragment files at their expected position in the tmake_file
1589         list, in accordance with what is done for other VxWorks variants.
1591 2019-11-12  Corentin Gay  <gay@adacore.com>
1592             Jerome Lambourg  <lambourg@adacore.com>
1593             Olivier Hainque  <hainque@adacore.com>
1595         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1596         sources to LIB2ADDEH.
1597         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1598         * config/t-vxworks7: Likewise.
1600         * config.host: Append a block at the end of the file to add the
1601         t-gthr files to the tmake_file list for VxWorks after everything
1602         else.
1604         * config/vxlib.c: Rename as gthr-vxworks.c.
1605         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1607         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
1608         API and a basic error checking API, both internal.  Simplify the
1609         __gthread_once_t type definition and initializers.  Add sections
1610         for condition variables support and for the C++0x thread support,
1611         conditioned against Vx653 for the latter.
1613         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1614         implementation, leveraging the TAS internal API.
1615         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1616         API, leveraging the general availability of TLS services in VxWorks7
1617         post SR6xxx.
1618         (__gthread_setspecific, __gthread_setspecific): Use it.
1619         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1620         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
1621         support based on VxWorks primitives.
1622         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
1623         based on VxWorks primitives.
1625 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
1626             Olivier Hainque  <hainque@adacore.com>
1628         * config/vxcrtstuff.c: New file.
1629         * config/t-vxcrtstuff: New Makefile fragment.
1630         * config.host: Append t-vxcrtstuff to the tmake_file list
1631         on all VxWorks ports using dwarf for table based EH.
1633 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
1635         Support 64-bit double and 64-bit long double configurations.
1637         PR target/92055
1638         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1639         long double is a 32-bit type.
1640         * config/avr/t-avrlibc: Copy double64 and long-double64
1641         multilib(s) from the vanilla one.
1642         * config/avr/t-copy-libgcc: New Makefile snip.
1644 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1646         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1647         the target output object format is not ELF.
1648         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1650 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
1652         PR libgcc/78804
1653         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1654         * fp-bit.c (pack_d, unpack_d): Remove special cases for
1655         FLOAT_BIT_ORDER_MISMATCH.
1656         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1658 2019-11-01  Jim Wilson  <jimw@sifive.com>
1660         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1662 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1664         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1665         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
1666         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1667         Define symbols for 32-bit and f5series hardware multiply
1668         register addresses.
1669         Replace hard-coded register addresses with symbols.
1670         Fix "_mspabi*" typo.
1671         Fix whitespace.
1672         * config/msp430/lib2mul.c: Add comment.
1674 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
1676         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1677         unsigned int.  Adjust callers.
1678         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1679         unsigned int *.  Load relocation offset before function pointer.
1680         Add barrier to ensure ordering.
1682 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
1684         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1685         Load PIC register after branch target.  Fix white space.
1686         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1687         implementations.  Load PIC register after branch target.  Don't
1688         clobber function pointer when it points to function descriptor.
1689         Use nullification instead of branch in LINUX implementation.
1691 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
1693         * config/pa/fptr.c: Disable -Warray-bounds warning.
1695 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
1697         * config.in, configure: Re-rebuild with stock autoconf 2.69,
1698         not the ubuntu modified 2.69.
1700         PR target/91833
1701         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
1702         initialization if !HAVE_SYS_AUXV_H.
1703         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1704         * config.in, configure: Rebuild.
1706         PR target/91834
1707         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1708         overlap the inputs.
1710 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
1712         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1713         CTR_EL0.IDC and CTR_EL0.DIC.
1715 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
1717         Revert:
1718         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1719                 Mickaël Guêné <mickael.guene@st.com>
1721         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1722         architecture.
1724 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
1726         * config/aarch64/lse-init.c: New file.
1727         * config/aarch64/lse.S: New file.
1728         * config/aarch64/t-lse: New file.
1729         * config.host: Add t-lse to all aarch64 tuples.
1731 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1732         Mickaël Guêné <mickael.guene@st.com>
1734         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1735         architecture.
1737 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1738         Mickaël Guêné <mickael.guene@st.com>
1740         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1741         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1742         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1743         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1744         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1745         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1746         (__gnu_personality_sigframe_fdpic): New.
1747         (get_eit_entry): Add FDPIC signal frame support.
1749 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1750         Mickaël Guêné <mickael.guene@st.com>
1752         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1753         (__kernel_dmb): Likewise.
1754         (__fdpic_cmpxchg): New function.
1755         (__fdpic_dmb): New function.
1756         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1757         (gnu_Unwind_Find_got): New function.
1758         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1759         * unwind-arm-common.inc (UCB_PR_GOT): New.
1760         (funcdesc_t): New struct.
1761         (get_eit_entry): Add FDPIC support.
1762         (unwind_phase2): Likewise.
1763         (unwind_phase2_forced): Likewise.
1764         (__gnu_Unwind_RaiseException): Likewise.
1765         (__gnu_Unwind_Resume): Likewise.
1766         (__gnu_Unwind_Backtrace): Likewise.
1767         * unwind-pe.h (read_encoded_value_with_base): Likewise.
1769 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1770         Mickaël Guêné <mickael.guene@st.com>
1772         * libgcc/crtstuff.c: Add support for FDPIC.
1774 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1776         * config.host: Handle *-*-uclinuxfdpiceabi.
1778 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
1780         * config.host: Set cpu_type for bpf-*-* targets.
1781         * config/bpf/t-bpf: Likewise.
1782         * config/bpf/crtn.S: Likewise.
1783         * config/bpf/crti.S: New file.
1785 2019-09-06  Jim Wilson  <jimw@sifive.com>
1787         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1788         (riscv*-*-freebsd*): Likewise.
1790 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
1792         * config.host: Remove references to spu.
1793         * config/spu/: Remove directory.
1795 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1797         PR target/91306
1798         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1799         element type, instead of "sizeof" the element type.
1800         (__DTOR_LIST__): Likewise.
1801         (__TMC_LIST__): Likewise.
1802         (__do_global_dtors_aux_fini_array_entry): Likewise.
1803         (__frame_dummy_init_array_entry): Likewise.
1804         (__CTOR_END__): Likewise.
1805         (__DTOR_END__): Likweise.
1806         (__FRAME_END__): Likewise.
1807         (__TMC_END__): Likewise.
1809 2019-08-20  Lili Cui  <lilicui@intel.com>
1811         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1812         INTEL_COREI7_COOPERLAKE.
1814 2019-07-31  Matt Thomas  <matt@3am-software.com>
1815             Nick Hudson <nick@nthcliff.demon.co.uk>
1816             Matthew Green <mrg@eterna.com.au>
1817             Maya Rashish <coypu@sdf.org>
1819         * config.host (hppa*-*-netbsd*): New case.
1820         * config/pa/t-netbsd: New file.
1822 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
1824         * config/arm/cmse.c (cmse_check_address_range): Add
1825         warn_unused_result attribute.
1827 2019-07-22  Martin Liska  <mliska@suse.cz>
1829         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1830         * config/pa/t-stublib: Likewise.
1832 2019-07-22  Stafford Horne  <shorne@gmail.com>
1834         PR target/90362
1835         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1836         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1837         instructions are not available on every processor.  Change a
1838         l.bnf to l.bf to fix logic issue.
1840 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
1842         * config.host: Remove reference to t-darwin8.
1844 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
1846         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1847         list.
1848         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
1849         mmacosx-version-min for crts to run across all system versions.
1850         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1851         * config/t-darwin: Revise mmacosx-version-min for crts to run across
1852         system versions >= 10.4.
1854 2019-07-03  Martin Liska  <mliska@suse.cz>
1856         * Makefile.in: Use topn_values instead of one_value names.
1857         * libgcov-merge.c (__gcov_merge_single): Move to ...
1858         (__gcov_merge_topn): ... this.
1859         (merge_single_value_set): Move to ...
1860         (merge_topn_values_set): ... this.
1861         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1862         ...
1863         (__gcov_topn_values_profiler_body): ... this.
1864         (__gcov_one_value_profiler_v2): Move to ...
1865         (__gcov_topn_values_profiler): ... this.
1866         (__gcov_one_value_profiler_v2_atomic): Move to ...
1867         (__gcov_topn_values_profiler_atomic): ... this.
1868         (__gcov_indirect_call_profiler_v4): Remove.
1869         * libgcov-util.c (__gcov_single_counter_op): Move to ...
1870         (__gcov_topn_counter_op): ... this.
1871         * libgcov.h (L_gcov_merge_single): Remove.
1872         (L_gcov_merge_topn): New.
1873         (__gcov_merge_single): Remove.
1874         (__gcov_merge_topn): New.
1875         (__gcov_one_value_profiler_v2): Move to ..
1876         (__gcov_topn_values_profiler): ... this.
1877         (__gcov_one_value_profiler_v2_atomic): Move to ...
1878         (__gcov_topn_values_profiler_atomic): ... this.
1880 2019-07-03  Martin Liska  <mliska@suse.cz>
1882         * libgcov-merge.c (merge_single_value_set): Support N values.
1883         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1885 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
1887         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1888         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1889         * configure.ac: Add --disable-tm-clone-registry option.
1890         * configure: Regenerate.
1892 2019-06-27  Martin Liska  <mliska@suse.cz>
1894         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1895         dead assignments.
1896         * libgcov-util.c: Likewise.
1898 2019-06-27  Martin Liska  <mliska@suse.cz>
1900         * libgcov-util.c (gcov_profile_merge): Release allocated
1901         memory.
1902         (calculate_overlap): Likewise.
1904 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
1906         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1907         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1908         Build objects for the out of line save/restore register functions
1909         so that they can be used for any supported Darwin version.
1910         * config/t-darwin: Default the build Darwin version to Darwin8
1911         (MacOS 10.4).
1913 2019-06-25  Martin Liska  <mliska@suse.cz>
1915         * libgcov-driver-system.c (replace_filename_variables): Do not
1916         call strlen with NULL argument.
1918 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
1920         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1921         * config/gcn/unwind-gcn.c: New file.
1923 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
1924             Andrew Stubbs  <ams@codesourcery.com>
1926         * configure: Regenerate.
1927         * config/gcn/gthr-gcn.h: New.
1929 2019-06-18  Tom de Vries  <tdevries@suse.de>
1931         * config/nvptx/crt0.c (__main): Declare.
1933 2019-06-17  Matthew Green  <mrg@eterna.com.au>
1934             Maya Rashish  <coypu@sdf.org>
1936         * config.host (aarch64*-*-netbsd*): New case.
1938 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1940         * config/msp430/slli.S (__mspabi_sllll): New library function for
1941         performing a logical left shift of a 64-bit value.
1942         * config/msp430/srai.S (__mspabi_srall): New library function for
1943         performing a arithmetic right shift of a 64-bit value.
1944         * config/msp430/srll.S (__mspabi_srlll): New library function for
1945         performing a logical right shift of a 64-bit value.
1947 2019-06-14  Matt Thomas  <matt@3am-software.com>
1948             Matthew Green  <mrg@eterna.com.au>
1949             Nick Hudson  <skrll@netbsd.org>
1950             Maya Rashish  <coypu@sdf.org>
1952         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1953         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1954         functions to build.
1955         * config/arm/t-netbsd-eabi: New file.
1957 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
1959         * config.host: Add PRU target.
1960         * config/pru/asri.c: New file.
1961         * config/pru/eqd.c: New file.
1962         * config/pru/eqf.c: New file.
1963         * config/pru/ged.c: New file.
1964         * config/pru/gef.c: New file.
1965         * config/pru/gtd.c: New file.
1966         * config/pru/gtf.c: New file.
1967         * config/pru/led.c: New file.
1968         * config/pru/lef.c: New file.
1969         * config/pru/lib2bitcountHI.c: New file.
1970         * config/pru/lib2divHI.c: New file.
1971         * config/pru/lib2divQI.c: New file.
1972         * config/pru/lib2divSI.c: New file.
1973         * config/pru/libgcc-eabi.ver: New file.
1974         * config/pru/ltd.c: New file.
1975         * config/pru/ltf.c: New file.
1976         * config/pru/mpyll.S: New file.
1977         * config/pru/pru-abi.h: New file.
1978         * config/pru/pru-asm.h: New file.
1979         * config/pru/pru-divmod.h: New file.
1980         * config/pru/sfp-machine.h: New file.
1981         * config/pru/t-pru: New file.
1983 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
1985         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1987 2019-06-10  Martin Liska  <mliska@suse.cz>
1989         PR bootstrap/90808
1990         * libgcov.h: Add ATTRIBUTE_UNUSED.
1992 2019-06-10  Martin Liska  <mliska@suse.cz>
1994         * Makefile.in: Add __gcov_one_value_profiler_v2,
1995         __gcov_one_value_profiler_v2_atomic and
1996         __gcov_indirect_call_profiler_v4.
1997         * libgcov-merge.c (__gcov_merge_single): Change
1998         function signature.
1999         (merge_single_value_set): New.
2000         * libgcov-profiler.c (__gcov_one_value_profiler_body):
2001         Update functionality.
2002         (__gcov_one_value_profiler): Remove.
2003         (__gcov_one_value_profiler_v2): ... this.
2004         (__gcov_one_value_profiler_atomic): Rename to ...
2005         (__gcov_one_value_profiler_v2_atomic): this.
2006         (__gcov_indirect_call_profiler_v3): Rename to ...
2007         (__gcov_indirect_call_profiler_v4): ... this.
2008         * libgcov.h (__gcov_one_value_profiler): Remove.
2009         (__gcov_one_value_profiler_atomic): Remove.
2010         (__gcov_one_value_profiler_v2_atomic): New.
2011         (__gcov_indirect_call_profiler_v3): Remove.
2012         (__gcov_one_value_profiler_v2): New.
2013         (__gcov_indirect_call_profiler_v4): New.
2014         (gcov_get_counter_ignore_scaling): New function.
2016 2019-06-07  Martin Liska  <mliska@suse.cz>
2018         * Makefile.in: Remove usage of
2019         _gcov_merge_icall_topn.
2020         * libgcov-driver.c (gcov_sort_n_vals): Remove.
2021         (gcov_sort_icall_topn_counter): Likewise.
2022         (gcov_sort_topn_counter_arrays): Likewise.
2023         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2024         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2025         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2026         Likewise.
2027         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2028         (struct indirect_call_tuple): Remove.
2029         (__gcov_indirect_call_topn_profiler): Remove.
2030         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2031         * libgcov.h (gcov_sort_n_vals): Remove.
2032         (L_gcov_merge_icall_topn): Likewise.
2033         (__gcov_merge_icall_topn): Likewise.
2034         (__gcov_indirect_call_topn_profiler): Likewise.
2036 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
2038         * config/rs6000/t-darwin: Ensure that the unwinder is built with
2039         altivec enabled.
2041 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2043         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2044         section.
2045         (__mspabi_slli): Likewise.
2046         (__mspabi_slll_n): Likewise.
2047         (__mspabi_slll): Likewise.
2048         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2049         (__mspabi_srai): Likewise.
2050         (__mspabi_sral_n): Likewise.
2051         (__mspabi_sral): Likewise.
2052         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2053         (__mspabi_srli): Likewise.
2054         (__mspabi_srll_n): Likewise.
2055         (__mspabi_srll): Likewise.
2057 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
2059         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2060         Add appropriate tm_file clause as well.
2061         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2063 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
2065         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2066         rather than .data/.bss so it can be accessed via gp-relative
2067         addressing.
2069 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
2071         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2072         (CR2_REGNO): Rename to R_CR2.
2073         (XER_REGNO): Rename to R_XER.
2074         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2075         (VRSAVE_REGNO): Rename to R_VRSAVE.
2076         (VSCR_REGNO): R_VSCR.
2078 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
2080         * config.host (rx-*-linux*): Add new case.
2081         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2083 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
2085         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2086         function.
2087         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2088         aarch64_post_frob_eh_handler_addr): Add check for b-key.
2089         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2090         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2091         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2092         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2093         string.
2094         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2095         string.
2096         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2098 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2100         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2101         Remove Solaris 9 and 10 support.
2102         (sparc_is_sighandler): Likewise.
2104 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
2106         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2108 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2110         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2111         4_FP_W_TYPEs are used for IEEE quad precision.
2112         * soft-fp/extendhftf2.c: Likewise.
2113         * soft-fp/extendsftf2.c: Likewise.
2114         * soft-fp/extendxftf2.c: Likewise.
2115         * soft-fp/trunctfdf2.c: Likewise.
2116         * soft-fp/trunctfhf2.c: Likewise.
2117         * soft-fp/trunctfsf2.c: Likewise.
2118         * soft-fp/trunctfxf2.c: Likewise.
2119         * config/rs6000/ibm-ldouble.c: Likewise.
2121 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2123         * config.host: Simplify various *-*-solaris2.1[0-9]* to
2124         *-*-solaris2*.
2125         * configure.ac: Likewise.
2126         * configure: Regenerate.
2128         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2129         Solaris 10 and Solaris 11 < snv_125 handling.
2131 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
2133         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2135 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
2137         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2138         * config/i386/cpuinfo.h (enum processor_features): Add
2139         FEATURE_AVX512BF16.
2141 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2142             Bernd Edlinger  <bernd.edlinger@hotmail.de>
2143             Jakub Jelinek  <jakub@redhat.com>
2145         PR target/89093
2146         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2147         * config/arm/unwind-arm.c: Likewise.
2148         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2149         attribute for ARM.
2151 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
2153         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2154         (RT_SIGRETURN): Update.
2155         (nds32_fallback_frame_state): Update.
2157 2019-02-21  Martin Sebor  <msebor@redhat.com>
2159         * libgcc2.h (__clear_cache): Correct signature.
2160         * libgcc2.c (__clear_cache): Same.
2162 2019-02-20  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2164         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2165         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2167 2019-02-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2169         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2170         regno instead of index to DWARF_ZERO_REG.
2172 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
2174         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2175         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2177 2019-01-31  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2179         * config/alpha/t-linux: Add -mfp-rounding-mode=d
2180         to HOST_LIBGCC2_CFLAGS.
2182 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
2184         PR libgcc/88931
2185         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
2187 2019-01-18  Martin Liska  <mliska@suse.cz>
2189         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2190         to ...
2191         (__gcov_indirect_call_profiler_v3): ... this.
2192         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2193         (__gcov_indirect_call_profiler_v3): Likewise.
2194         * Makefile.in: Bump function name.
2196 2019-01-18  Martin Liska  <mliska@suse.cz>
2198         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2199         (gcov_version): Use in gcov_error.
2200         (merge_one_data): Likewise.
2201         (dump_one_gcov): Likewise.
2203 2019-01-18  Martin Liska  <mliska@suse.cz>
2205         * libgcov-driver.c (gcov_version_string): New function.
2206         (gcov_version): Convert version integer into string.
2208 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
2209             Kwok Cheung Yeung  <kcy@codesourcery.com>
2210             Julian Brown  <julian@codesourcery.com>
2211             Tom de Vries  <tom@codesourcery.com>
2213         * config.host: Recognize amdgcn*-*-amdhsa.
2214         * config/gcn/crt0.c: New file.
2215         * config/gcn/lib2-divmod-hi.c: New file.
2216         * config/gcn/lib2-divmod.c: New file.
2217         * config/gcn/lib2-gcn.h: New file.
2218         * config/gcn/sfp-machine.h: New file.
2219         * config/gcn/t-amdgcn: New file.
2221 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
2223         PR other/16615
2225         * config/c6x/libunwind.S: Mechanically replace "can not" with
2226         "cannot".
2227         * config/tilepro/atomic.h: Likewise.
2228         * config/vxlib-tls.c: Likewise.
2229         * generic-morestack-thread.c: Likewise.
2230         * generic-morestack.c: Likewise.
2231         * mkmap-symver.awk: Likewise.
2233 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
2235         Update copyright years.
2237 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
2239         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2240         to ignore -Waddress-of-packed-member.
2242 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
2244         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2245         parameter and corresponding code.
2246         (ARM_FUNC_START): Likewise in both definitions.
2247         Also update footer comment about condition that need to match with
2248         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2249         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2250         defined.  Weakly define it in this case.
2251         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2252         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2253         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2254         comment to keep condition in sync with the one in
2255         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2257 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
2259         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2260         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2262 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2264         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2265         and .cfi_endproc directives for VxWorks targets.
2267 2018-12-05  Paul Koning  <ni1d@arrl.net>
2269         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2271 2018-11-27  Alan Modra  <amodra@gmail.com>
2273         * config/rs6000/morestack.S (__stack_split_initialize),
2274         (__morestack_get_guard, __morestack_set_guard),
2275         (__morestack_make_guard): Provide CFI covering these functions.
2276         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2278 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2280         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2281         (sc_pt_regs_lr): Update for kernel.
2282         (sc_pt_regs_tls): Update for kernel.
2284 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2286         * config/csky/linux-unwind.h: Fix coding style.
2288 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2290         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2291         (csky_fallback_frame_state): Modify the check of the
2292         instructions to adapt to changes in the kernel
2294 2018-11-09  Stafford Horne  <shorne@gmail.com>
2295             Richard Henderson  <rth@twiddle.net>
2297         * config.host: Add OpenRISC support.
2298         * config/or1k/*: New.
2300 2018-11-08  Kito Cheng  <kito@andestech.com>
2302         * soft-fp/adddf3.c: Update from glibc.
2303         * soft-fp/addsf3.c: Likewise.
2304         * soft-fp/addtf3.c: Likewise.
2305         * soft-fp/divdf3.c: Likewise.
2306         * soft-fp/divsf3.c: Likewise.
2307         * soft-fp/divtf3.c: Likewise.
2308         * soft-fp/double.h: Likewise.
2309         * soft-fp/eqdf2.c: Likewise.
2310         * soft-fp/eqsf2.c: Likewise.
2311         * soft-fp/eqtf2.c: Likewise.
2312         * soft-fp/extenddftf2.c: Likewise.
2313         * soft-fp/extended.h: Likewise.
2314         * soft-fp/extendhftf2.c: Likewise.
2315         * soft-fp/extendsfdf2.c: Likewise.
2316         * soft-fp/extendsftf2.c: Likewise.
2317         * soft-fp/extendxftf2.c: Likewise.
2318         * soft-fp/fixdfdi.c: Likewise.
2319         * soft-fp/fixdfsi.c: Likewise.
2320         * soft-fp/fixdfti.c: Likewise.
2321         * soft-fp/fixhfti.c: Likewise.
2322         * soft-fp/fixsfdi.c: Likewise.
2323         * soft-fp/fixsfsi.c: Likewise.
2324         * soft-fp/fixsfti.c: Likewise.
2325         * soft-fp/fixtfdi.c: Likewise.
2326         * soft-fp/fixtfsi.c: Likewise.
2327         * soft-fp/fixtfti.c: Likewise.
2328         * soft-fp/fixunsdfdi.c: Likewise.
2329         * soft-fp/fixunsdfsi.c: Likewise.
2330         * soft-fp/fixunsdfti.c: Likewise.
2331         * soft-fp/fixunshfti.c: Likewise.
2332         * soft-fp/fixunssfdi.c: Likewise.
2333         * soft-fp/fixunssfsi.c: Likewise.
2334         * soft-fp/fixunssfti.c: Likewise.
2335         * soft-fp/fixunstfdi.c: Likewise.
2336         * soft-fp/fixunstfsi.c: Likewise.
2337         * soft-fp/fixunstfti.c: Likewise.
2338         * soft-fp/floatdidf.c: Likewise.
2339         * soft-fp/floatdisf.c: Likewise.
2340         * soft-fp/floatditf.c: Likewise.
2341         * soft-fp/floatsidf.c: Likewise.
2342         * soft-fp/floatsisf.c: Likewise.
2343         * soft-fp/floatsitf.c: Likewise.
2344         * soft-fp/floattidf.c: Likewise.
2345         * soft-fp/floattihf.c: Likewise.
2346         * soft-fp/floattisf.c: Likewise.
2347         * soft-fp/floattitf.c: Likewise.
2348         * soft-fp/floatundidf.c: Likewise.
2349         * soft-fp/floatundisf.c: Likewise.
2350         * soft-fp/floatunditf.c: Likewise.
2351         * soft-fp/floatunsidf.c: Likewise.
2352         * soft-fp/floatunsisf.c: Likewise.
2353         * soft-fp/floatunsitf.c: Likewise.
2354         * soft-fp/floatuntidf.c: Likewise.
2355         * soft-fp/floatuntihf.c: Likewise.
2356         * soft-fp/floatuntisf.c: Likewise.
2357         * soft-fp/floatuntitf.c: Likewise.
2358         * soft-fp/gedf2.c: Likewise.
2359         * soft-fp/gesf2.c: Likewise.
2360         * soft-fp/getf2.c: Likewise.
2361         * soft-fp/half.h: Likewise.
2362         * soft-fp/ledf2.c: Likewise.
2363         * soft-fp/lesf2.c: Likewise.
2364         * soft-fp/letf2.c: Likewise.
2365         * soft-fp/muldf3.c: Likewise.
2366         * soft-fp/mulsf3.c: Likewise.
2367         * soft-fp/multf3.c: Likewise.
2368         * soft-fp/negdf2.c: Likewise.
2369         * soft-fp/negsf2.c: Likewise.
2370         * soft-fp/negtf2.c: Likewise.
2371         * soft-fp/op-1.h: Likewise.
2372         * soft-fp/op-2.h: Likewise.
2373         * soft-fp/op-4.h: Likewise.
2374         * soft-fp/op-8.h: Likewise.
2375         * soft-fp/op-common.h: Likewise.
2376         * soft-fp/quad.h: Likewise.
2377         * soft-fp/single.h: Likewise.
2378         * soft-fp/soft-fp.h: Likewise.
2379         * soft-fp/subdf3.c: Likewise.
2380         * soft-fp/subsf3.c: Likewise.
2381         * soft-fp/subtf3.c: Likewise.
2382         * soft-fp/truncdfsf2.c: Likewise.
2383         * soft-fp/trunctfdf2.c: Likewise.
2384         * soft-fp/trunctfhf2.c: Likewise.
2385         * soft-fp/trunctfsf2.c: Likewise.
2386         * soft-fp/trunctfxf2.c: Likewise.
2387         * soft-fp/unorddf2.c: Likewise.
2388         * soft-fp/unordsf2.c: Likewise.
2389         * soft-fp/unordtf2.c: Likewise.
2391 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
2393         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2394         * config/i386/cpuinfo.h (processor_types): Add znver2.
2396 2018-11-01  Paul Koning  <ni1d@arrl.net>
2398         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2399         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2401 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
2403         PR bootstrap/82856
2404         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
2405         * configure: Regenerate.
2407 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
2409         * config/arc/lib1funcs.S (_muldi3): New function.
2410         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2412 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2414         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2416 2018-10-25  Martin Liska  <mliska@suse.cz>
2418         PR other/87735
2419         * libgcov-profiler.c: Revert.
2421 2018-10-24  Martin Liska  <mliska@suse.cz>
2423         * libgcov-profiler.c: Start from 1 in order to distinguish
2424         functions which were seen and these that were not.
2426 2018-10-18  Paul Koning  <ni1d@arrl.net>
2428         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2429         standard.
2430         * divmod.c: Update references to __udivmodsi4.
2431         * udivmod.c: Ditto.
2432         * udivhi3.c: New file.
2433         * udivmodhi4.c: New file.
2434         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2436 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2438         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2440 2018-10-12  Olivier Hainque  <hainque@adacore.com>
2442         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2443         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2445 2018-10-08  Paul Koning  <ni1d@arrl.net>
2447         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2449 2018-10-04  Martin Liska  <mliska@suse.cz>
2451         PR gcov-profile/84107
2452         * libgcov-profiler.c (__gcov_indirect_call):
2453         Change type to indirect_call_tuple.
2454         (struct indirect_call_tuple): New struct.
2455         (__gcov_indirect_call_topn_profiler): Change type.
2456         (__gcov_indirect_call_profiler_v2): Use the new
2457         variables.
2458         * libgcov.h (struct indirect_call_tuple): New struct
2459         definition.
2461 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
2463         * libgcc2.c (isnan): Use __builtin_isnan.
2464         (isfinite): Use __builtin_isfinite.
2465         (isinf): Use __builtin_isinf.
2467 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
2469         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2471 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
2473         * config/vxcache.c: New file.  Provide __clear_cache, based on
2474         the cacheTextUpdate VxWorks service.
2475         * config/t-vxworks (LIB2ADD): Add vxcache.c.
2476         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2477         * config/t-vxwoks7: Likewise.
2479 2018-09-21  Martin Liska  <mliska@suse.cz>
2481         * libgcov-driver.c (crc32_unsigned): Remove.
2482         (gcov_histogram_insert): Likewise.
2483         (gcov_compute_histogram): Likewise.
2484         (compute_summary): Simplify rapidly.
2485         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2486         (merge_summary): Rapidly simplify.
2487         (dump_one_gcov): Ignore gcov_summary.
2488         (gcov_do_dump): Do not handle program summary, it's not
2489         used.
2490         * libgcov-util.c (tag_summary): Remove.
2491         (read_gcda_finalize): Fix coding style.
2492         (read_gcda_file): Initialize curr_object_summary.
2493         (compute_summary): Remove.
2494         (calculate_overlap): Remove settings of run_max.
2496 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
2498         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2499         ucontext_t type instead.
2500         (nds32_fallback_frame_state): Remove struct _sigframe statement.
2502 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
2504         * config/nds32/t-nds32-glibc: New file.
2506 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2508         * configure.ac (solaris_ld_v2_maps): New test.
2509         * configure: Regenerate.
2510         * Makefile.in (solaris_ld_v2_maps): New variable.
2511         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2512         if supported.
2514 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
2516         PR target/86951
2517         * config/arm/lib1funcs.asm (speculation_barrier): New function.
2518         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2519         to build.
2521 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
2523         * config/unwind-dw2-fde-darwin.c
2524         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2525         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
2526         * config/t-darwin: Build Darwin10 unwinder shim crt.
2527         * libgcc/config.host: Add the Darwin10 unwinder shim.
2529 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2531         * config.host: Add crtbegin.o and crtend.o for
2532         powerpc-wrs-vxworks target.
2534 2018-08-17  Jojo  <jijie_rong@c-sky.com>
2535             Huibin Wang  <huibin_wang@c-sky.com>
2536             Sandra Loosemore  <sandra@codesourcery.com>
2537             Chung-Lin Tang  <cltang@codesourcery.com>
2539         C-SKY port: libgcc
2541         * config.host: Add C-SKY support.
2542         * config/csky/*: New.
2544 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
2546         * config/nds32/t-nds32-isr: Rearrange object dependency.
2547         * config/nds32/initfini.c: Add dwarf2 unwinding support.
2548         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2549         and registers usage.
2550         * config/nds32/isr-library/excp_isr.S: Ditto.
2551         * config/nds32/isr-library/intr_isr.S: Ditto.
2552         * config/nds32/isr-library/reset.S: Ditto.
2553         * config/nds32/isr-library/restore_all.inc: Ditto.
2554         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2555         * config/nds32/isr-library/restore_partial.inc: Ditto.
2556         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2557         * config/nds32/isr-library/save_all.inc: Ditto.
2558         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2559         * config/nds32/isr-library/save_partial.inc: Ditto.
2560         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2561         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2563 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
2565         * config/pa/linux-atomic.c: Update comment.
2566         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2567         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2568         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2569         __ATOMIC_RELAXED for atomic loads.
2570         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
2571         unordered store to release lock.
2572         (__sync_lock_release_8): Likewise.
2573         (SYNC_LOCK_RELEASE_2): Remove define.
2575 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
2577         PR libgcc/86512
2578         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2579         exponent goes negative. Update my email address.
2580         * config/arm/ieee754-sf.S: Likewise.
2582 2018-08-01  Martin Liska  <mliska@suse.cz>
2584         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2585         check that  __gcov_indirect_call_callee is non-null.
2587 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
2589         * config/arm/ieee754-df.S: Fix comment for code working on
2590         architectures >= 4.
2591         * config/arm/ieee754-sf.S: Likewise.
2593 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2595         PR libgcc/85334
2596         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2597         Removed.
2599 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
2601         * configure: Regenerated.
2603 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2605         * Makefile.in (install_leaf): Use enable_gcov instead of
2606         enable_libgcov.
2608 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2610         * configure.ac: Add --disable-gcov option.
2611         * configure: Regenerate.
2612         * Makefile.in: Honour @enable_gcov@.
2614 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
2616         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2617         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2618         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2619         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2620         __ARM_ARCH__.
2621         * config/arm/ieee754-sf.S: Likewise.
2622         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2624 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
2626         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2627         longer supported.
2628         * config/arm/ieee754-sf.S: Likewise.
2630 2018-06-20  Than McIntosh  <thanm@google.com>
2632         PR libgcc/86213
2633         * generic-morestack.c (allocate_segment): Move calls to getenv and
2634         getpagesize to __morestack_load_mmap.
2635         (__morestack_load_mmap) Initialize static_pagesize and
2636         use_guard_page here so as to avoid clobbering SSE regs during a
2637         __morestack call.
2639 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
2641         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2642         support modules with -mno-gnu-attribute.
2643         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2645 2018-06-07  Olivier Hainque  <hainque@adacore.com>
2647         * config/t-vxworks (LIBGCC_INCLUDES): Add
2648         -I$(MULTIBUILDTOP)../../gcc/include.
2649         * config/t-vxworks7: Likewise. Reformat a bit to match
2650         the t-vxworks layout.
2652 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
2654         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2656 2018-06-07  Martin Liska  <mliska@suse.cz>
2658         * libgcov-driver.c: Rename cs_all to all and assign it from
2659         all_prg.
2661 2018-06-07  Martin Liska  <mliska@suse.cz>
2663         PR bootstrap/86057
2664         * libgcov-driver-system.c (replace_filename_variables): Use
2665         memcpy instead of mempcpy.
2666         (allocate_filename_struct): Do not allocate filename, allocate
2667         prefix and set it.
2668         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2669         here and properly copy content into it.
2670         * libgcov-driver.c (struct gcov_filename): Remove max_length
2671         field, change prefix from size_t into char *.
2672         (compute_summary): Do not calculate longest filename.
2673         (gcov_do_dump): Release memory of gf.filename after each file.
2674         * libgcov-util.c (compute_summary): Use new signature of
2675         compute_summary.
2676         (calculate_overlap): Likewise.
2678 2018-06-05  Martin Liska  <mliska@suse.cz>
2680         PR gcov-profile/47618
2681         * libgcov-driver-system.c (replace_filename_variables): New
2682         function.
2683         (gcov_exit_open_gcda_file): Use it.
2685 2018-06-05  Martin Liska  <mliska@suse.cz>
2687         * libgcov-driver.c (gcov_compute_histogram): Remove usage
2688         of gcov_ctr_summary.
2689         (compute_summary): Do it just for a single summary.
2690         (merge_one_data): Likewise.
2691         (merge_summary): Simplify as we read just single summary.
2692         (dump_one_gcov): Pass proper argument.
2693         * libgcov-util.c (compute_one_gcov): Simplify as we have just
2694         single summary.
2695         (gcov_info_count_all_cold): Likewise.
2696         (calculate_overlap): Likewise.
2698 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
2699             Monk Chiang  <sh.chiang04@gmail.com>
2701         * config.host (nds32*-linux*): New.
2702         * config/nds32/linux-atomic.c: New file.
2703         * config/nds32/linux-unwind.h: New file.
2705 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
2707         PR target/85591
2708         * config/i386/cpuinfo.c (get_amd_cpu): Return
2709         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2711 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
2713         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2715 2018-05-29  Martin Liska  <mliska@suse.cz>
2717         PR gcov-profile/85759
2718         * libgcov-driver-system.c (gcov_error): Introduce usage of
2719         GCOV_EXIT_AT_ERROR env. variable.
2720         * libgcov-driver.c (merge_one_data): Print error that we
2721         overwrite a gcov file with a different timestamp.
2723 2018-05-23  Kalamatee  <kalamatee@gmail.com>
2725         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2726         path to Lf$finfty.
2728 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
2729             Monk Chiang  <sh.chiang04@gmail.com>
2730             Jim Wilson <jimw@sifive.com>
2732         * config/riscv/save-restore.S: Add support for rv32e.
2734 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2736         * config/arm/libunwind.S: Update comment relating to armv5.
2738 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
2740         * config/arm/cmse.c (cmse_check_address_range): Replace
2741         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2743 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
2745         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2746         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2748 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
2750         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2751         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2753 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
2755         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2757 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
2758             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2760         PR libgcc/84292
2761         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2762         op_and_fetch to return the right result.
2764 2018-04-27  Alan Modra  <amodra@gmail.com>
2766         PR libgcc/85532
2767         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2768         -fno-asynchronous-unwind-tables.
2770 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
2772         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2773         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2775 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
2777         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2778         when including "config/i386/shadow-stack-unwind.h".
2780 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
2782         * configure: Regenerated.
2784 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
2786         PR target/85456
2787         * config/rs6000/_powikf2.c: New file.  Add support for the
2788         __builtin_powil function when long double is IEEE 128-bit floating
2789         point.
2790         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2791         __powikf2 support.
2792         (__powikf2): Likewise.
2793         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2794         (__powikf2_hw): Likewise.
2795         (__powikf2): Likewise.
2796         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2797         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2798         (_powikf2-hw.c): Likewise.
2800 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
2802         PR libgcc/85334
2803         * unwind-generic.h (_Unwind_Frames_Increment): New.
2804         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2805         Likewise.
2806         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2807         count with _Unwind_Frames_Increment.
2808         (_Unwind_ForcedUnwind_Phase2): Likewise.
2810 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
2812         PR libgcc/85379
2813         * config/i386/morestack.S (__stack_split_initialize): Add
2814         _CET_ENDBR.
2816 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
2818         * configure: Regenerated.
2820 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
2822         PR jit/85384
2823         * configure: Regenerate.
2825 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
2827         PR target/84945
2828         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2829         -Wdangling-else warnings.  Mask shift counts to avoid
2830         -Wshift-count-negative and -Wshift-count-overflow false positives.
2832 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
2834         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2836 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
2838         PR target/85100
2839         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2840         (XSTATE_FP): Likewise.
2841         (XSTATE_SSE): Likewise.
2842         (XSTATE_YMM): Likewise.
2843         (XSTATE_OPMASK): Likewise.
2844         (XSTATE_ZMM): Likewise.
2845         (XSTATE_HI_ZMM): Likewise.
2846         (XCR_AVX_ENABLED_MASK): Likewise.
2847         (XCR_AVX512F_ENABLED_MASK): Likewise.
2848         (get_available_features): Enable AVX and AVX512 features only
2849         if their states are supported by OSXSAVE.
2851 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2853         PR target/85025
2854         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2855         Fix a typo, tmp => 255.
2857 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
2859         PR target/84945
2860         * config/i386/cpuinfo.h (__cpu_features2): Declare.
2861         * config/i386/cpuinfo.c (__cpu_features2): New variable for
2862         ifndef SHARED only.
2863         (set_feature): Define.
2864         (get_available_features): Use set_feature macro.  Set __cpu_features2
2865         to the second word of features ifndef SHARED.
2867 2018-03-15  Julia Koval  <julia.koval@intel.com>
2869         * config/i386/cpuinfo.c (get_available_features): Add
2870         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2871         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2872         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2873         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2874         FEATURE_AVX512BITALG.
2876 2018-03-14  Julia Koval  <julia.koval@intel.com>
2878         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2879         icelake client and icelake server.
2881 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
2883         * config/pa/fptr.c (_dl_read_access_allowed): New.
2884         (__canonicalize_funcptr_for_compare): Use it.
2886 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
2888         PR debug/83917
2889         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2890         $asm_hidden_op if visibility ("hidden") attribute works.
2891         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2892         * config/i386/i386-asm.h: Don't include auto-host.h.
2893         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2894         PACKAGE_URL): Don't undefine.
2895         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2896         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2897         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2898         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2899         definition instead of hardcoded .hidden.
2900         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2901         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2902         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2903         (USE_GAS_CFI_DIRECTIVES): Don't define.
2904         * configure: Regenerated.
2905         * config.in: Likewise.
2907 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
2909         PR debug/83917
2910         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2911         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2912         inclusion of auto-target.h and auto-host.h.
2913         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2914         __GCC_HAVE_DWARF2_CFI_ASM.
2915         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2916         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2917         cfi_pop): Define.
2918         * config/i386/cygwin.S: Don't include auto-host.h here, just
2919         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2920         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2921         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2922         * config/i386/resms64fx.h: Add cfi_* directives.
2923         * config/i386/resms64x.h: Likewise.
2925 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
2927         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2928         .literal_position directive.
2929         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2931 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2933         PR target/84148
2934         * configure: Regenerate.
2936 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2938         PR target/84239
2939         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2940         Include cetintrin.h not x86intrin.h.
2942 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2944         PR target/84239
2945         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2946         Use new _get_ssp and _inc_ssp intrinsics.
2948 2018-02-02  Julia Koval  <julia.koval@intel.com>
2950         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2952 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
2954         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2955         option.
2956         (__divsi3): Use RF16 safe registers.
2957         (__modsi3): Likewise.
2959 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
2961         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2962         (__divsf3): Make NaN return value quiet.
2963         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2964         (__divdf3): Make NaN return value quiet.
2966 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2968         * config/rl78/anddi3.S: New assembly file.
2969         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2971 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2973         * config/rl78/umindi3.S: New assembly file.
2974         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2976 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2978         * config/rl78/smindi3.S: New assembly file.
2979         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2981 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2983         * config/rl78/smaxdi3.S: New assembly file.
2984         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2986 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2988         * config/rl78/umaxdi3.S: New assembly file.
2989         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2991 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
2993         PR lto/83452
2994         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2995         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2997 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
2999         * config/aarch64/value-unwind.h (aarch64_vg): New function.
3000         (DWARF_LAZY_REGISTER_VALUE): Define.
3001         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3002         to provide a fallback register value.
3004 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
3006         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3007         __ibm128, instead of trying to use long double.
3008         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3009         accomidate -mabi=ieeelongdouble multilibs.
3010         (CVT_IBM128_TO_FLOAT128): Likewise.
3011         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3012         the appropriate IBM extended double type.
3013         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3014         (__gcc_qsub): Likewise.
3015         (__gcc_qmul): Likewise.
3016         (__gcc_qdiv): Likewise.
3017         (pack_ldouble): Likewise.
3018         (__gcc_qneg): Likewise.
3019         (__gcc_qeq): Likewise.
3020         (__gcc_qne): Likewise.
3021         (__gcc_qge): Likewise.
3022         (__gcc_qle): Likewise.
3023         (__gcc_stoq): Likewise.
3024         (__gcc_dtoq): Likewise.
3025         (__gcc_itoq): Likewise.
3026         (__gcc_utoq): Likewise.
3027         (__gcc_qunord): Likewise.
3028         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3029         quad-float128.h for the definitions.
3030         (COPYSIGN): Use the f128 version instead of the q version.
3031         (INFINITY): Likewise.
3032         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3033         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3034         quad-float128.h for the definitions.
3035         (COPYSIGN): Use the f128 version instead of the q version.
3036         (INFINITY): Likewise.
3037         (FABS): Likewise.
3038         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3039         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3040         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3042 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3044         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3045         configuration.
3047 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
3049         Update copyright years.
3051 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
3053         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3054         * config/riscv/multi3.c: New file.
3055         * config/riscv/multi3.S: Remove.
3057 2017-12-08  Jim Wilson  <jimw@sifive.com>
3059         * config/riscv/div.S: Use FUNC_* macros.
3060         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3061         * config/riscv/save-restore.S: Likewise.
3062         * config/riscv/riscv-asm.h: New.
3064 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
3066         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3067         * config/rs6000/_divkc3.c (__divkc3): Likewise.
3069         PR libgcc/83112
3070         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3071         correct type for all ifunc resolvers to silence -Wattribute-alias
3072         warnings.  Eliminate the forward declaration of the resolver
3073         functions which is no longer needed.
3074         (__subkf3_resolve): Likewise.
3075         (__mulkf3_resolve): Likewise.
3076         (__divkf3_resolve): Likewise.
3077         (__negkf2_resolve): Likewise.
3078         (__eqkf2_resolve): Likewise.
3079         (__nekf2_resolve): Likewise.
3080         (__gekf2_resolve): Likewise.
3081         (__gtkf2_resolve): Likewise.
3082         (__lekf2_resolve): Likewise.
3083         (__ltkf2_resolve): Likewise.
3084         (__unordkf2_resolve): Likewise.
3085         (__extendsfkf2_resolve): Likewise.
3086         (__extenddfkf2_resolve): Likewise.
3087         (__trunckfsf2_resolve): Likewise.
3088         (__trunckfdf2_resolve): Likewise.
3089         (__fixkfsi_resolve): Likewise.
3090         (__fixkfdi_resolve): Likewise.
3091         (__fixunskfsi_resolve): Likewise.
3092         (__fixunskfdi_resolve): Likewise.
3093         (__floatsikf_resolve): Likewise.
3094         (__floatdikf_resolve): Likewise.
3095         (__floatunsikf_resolve): Likewise.
3096         (__floatundikf_resolve): Likewise.
3097         (__extendkftf2_resolve): Likewise.
3098         (__trunctfkf2_resolve): Likewise.
3100         PR libgcc/83103
3101         * config/rs6000/quad-float128.h (TF): Don't define if long double
3102         is IEEE 128-bit floating point.
3103         (TCtype): Define as either TCmode or KCmode, depending on whether
3104         long double is IEEE 128-bit floating point.
3105         (__mulkc3_sw): Add declarations for software/hardware versions of
3106         complex multiply/divide.
3107         (__divkc3_sw): Likewise.
3108         (__mulkc3_hw): Likewise.
3109         (__divkc3_hw): Likewise.
3110         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3111         handlers to switch between using software emulation and hardware
3112         float128 instructions, build the complex multiply/divide functions
3113         for both software and hardware support.
3114         * config/rs6000/_divkc3.c (_divkc3): Likewise.
3115         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3116         (__divkc3_resolve): Likewise.
3117         (__mulkc3): Likewise.
3118         (__divkc3): Likewise.
3119         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3120         (fp128_hw_src): Likewise.
3121         (fp128_hw_static_obj): Likewise.
3122         (fp128_hw_shared_obj): Likewise.
3123         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3124         _mulkc3.c and _divkc3.c, changing the function name.
3125         (_divkc3-hw.c): Likewise.
3126         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3127         and _divkc3-hw.c.
3129 2017-11-26  Julia Koval  <julia.koval@intel.com>
3131         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3132         * config/i386/cpuinfo.h (processor_subtypes): Add
3133         INTEL_COREI7_CANNONLAKE.
3135 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3137         PR bootstrap/83015
3138         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3139         parameter.
3140         * config/xtensa/unwind-dw2-xtensa.c: Likewise
3141         * config/ia64/unwind-ia64.c: Add frames parameter.
3142         * unwind-sjlj.c: Likewise.
3144 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3146         * config/i386/linux-unwind.h: Include
3147         config/i386/shadow-stack-unwind.h.
3148         * config/i386/shadow-stack-unwind.h: New file.
3149         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3150         pass it to _Unwind_Frames_Extra.
3151         * unwind-generic.h (_Unwind_Frames_Extra): New.
3152         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3153         parameter. Add local variable frames to count number of frames.
3154         (_Unwind_ForcedUnwind_Phase2): Likewise.
3155         (_Unwind_RaiseException): Add local variable frames to count
3156         number of frames, pass it to _Unwind_RaiseException_Phase2 and
3157         uw_install_context.
3158         (_Unwind_ForcedUnwind): Likewise.
3159         (_Unwind_Resume): Likewise.
3160         (_Unwind_Resume_or_Rethrow): Likewise.
3162 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3164         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3165         (CET_FLAGS): New.
3166         * config/i386/morestack.S: Include <cet.h>.
3167         (__morestack_large_model): Add _CET_ENDBR at function entrance.
3168         * config/i386/resms64.h: Include <cet.h>.
3169         * config/i386/resms64f.h: Likewise.
3170         * config/i386/resms64fx.h: Likewise.
3171         * config/i386/resms64x.h: Likewise.
3172         * config/i386/savms64.h: Likewise.
3173         * config/i386/savms64f.h: Likewise.
3174         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3175         (CRTSTUFF_T_CFLAGS): Likewise.
3176         * configure.ac: Include ../config/cet.m4.
3177         Set and substitute CET_FLAGS.
3178         * configure: Regenerated.
3180 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3182         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3183         renaming.
3184         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3185         * configure.ac (libgcc_cv_solaris_crts): Likewise.
3186         * configure: Regenerate.
3188 2017-11-07  Tom de Vries  <tom@codesourcery.com>
3190         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3191         after "do {} while (0)".
3193 2017-11-07  Tom de Vries  <tom@codesourcery.com>
3195         PR other/82784
3196         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3197         semicolon after "do {} while (0)".
3198         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3199         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3200         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3201         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3203 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
3205         PR libgcc/82635
3206         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3207         sysctl to determine whether we're in a trampoline.
3208         Keep the pattern matching method for systems without
3209         KERN_PROC_SIGTRAMP sysctl.
3211 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
3212             Vineet Gupta <vgupta@synopsys.com>
3214         * config.host (arc*-*-linux*): Set md_unwind_header variable.
3215         * config/arc/linux-unwind-reg.def: New file.
3216         * config/arc/linux-unwind-reg.h: Likewise.
3218 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
3220         * config/rl78/subdi3.S: New assembly file.
3221         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3223 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
3225         * config/rl78/adddi3.S: New assembly file.
3226         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3228 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
3230         PR target/82274
3231         * libgcc2.c (__mulvDI3): If both operands have
3232         the same highpart of -1 and the topmost bit of lowpart is 0,
3233         multiplication overflows even if both lowparts are 0.
3235 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
3237         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3239 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
3241         * config/microblaze/crti.S, config/microblaze/crtn.S,
3242         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3243         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3244         config/microblaze/mulsi3.S,
3245         config/microblaze/stack_overflow_exit.S,
3246         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3247         config/pa/milli64.S: Add .note.GNU-stack section.
3249 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
3251         * configure.ac: Add Check for HAVE_AS_AVX.
3252         * config.in: Regenerate.
3253         * configure: Likewise.
3254         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3255         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3256         Correct out-of-date comments.
3258 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
3260         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3261         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3263 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
3265         * config/i386/i386-asm.h (PASTE2): New macro.
3266         (ASMNAME): Modify to use PASTE2.
3267         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3268         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3269         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3270         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3271         * config/i386/resms64f.S: Likewise.
3272         * config/i386/resms64fx.S: Likewise.
3273         * config/i386/resms64x.S: Likewise.
3274         * config/i386/savms64.S: Likewise.
3275         * config/i386/savms64f.S: Likewise.
3276         * config/i386/avx_resms64.S: New file that only defines a macro and
3277         includes it's corresponding header file.
3278         * config/i386/avx_resms64f.S: Likewise.
3279         * config/i386/avx_resms64fx.S: Likewise.
3280         * config/i386/avx_resms64x.S: Likewise.
3281         * config/i386/avx_savms64.S: Likewise.
3282         * config/i386/avx_savms64f.S: Likewise.
3283         * config/i386/sse_resms64.S: Likewise.
3284         * config/i386/sse_resms64f.S: Likewise.
3285         * config/i386/sse_resms64fx.S: Likewise.
3286         * config/i386/sse_resms64x.S: Likewise.
3287         * config/i386/sse_savms64.S: Likewise.
3288         * config/i386/sse_savms64f.S: Likewise.
3289         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3291 2017-09-01  Olivier Hainque  <hainque@adacore.com>
3292         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3294 2017-08-31  Olivier Hainque  <hainque@adacore.com>
3296         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3297         match as powerpc-wrs-vxworks*.
3299 2017-08-07  Jonathan Yong  <10walls@gmail.com>
3301         * config.host (*-cygwin): Include file from mingw
3302         config/i386/enable-execute-stack-mingw32.c
3304 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
3305             Doug Rupp  <rupp@adacore.com>
3306             Olivier Hainque  <hainque@adacore.com>
3308         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3309         as well as arm-wrs-vxworks.
3310         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
3311         LIB2ADDEH.
3312         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3313         __exidx_start and __exidx_end for downloadable modules.
3315 2017-08-01  Olivier Hainque  <hainque@adacore.com>
3317         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3318         * config/t-vxworks7: Likewise.
3320 2017-08-01  Olivier Hainque  <hainque@adacore.com>
3322         * config/t-vxworks: Instead of redefining LIB2ADD,
3323         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3325 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3327         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3329 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
3331         PR testsuite/80759
3332         * config.host: include i386/t-msabi for darwin and solaris.
3333         * config/i386/i386-asm.h
3334         (ELFFN): Rename to FN_TYPE.
3335         (FN_SIZE): New macro.
3336         (FN_HIDDEN): Likewise.
3337         (ASMNAME): Likewise.
3338         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3339         .globl.
3340         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3341         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3342         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3343         .macro.
3344         * config/i386/resms64f.S: Likewise.
3345         * config/i386/resms64fx.S: Likewise.
3346         * config/i386/resms64x.S: Likewise.
3347         * config/i386/savms64.S: Likewise.
3348         * config/i386/savms64f.S: Likewise.
3350 2017-07-19  John Marino  <gnugcc@marino.st>
3352         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3354 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
3356         PR target/81193
3357         * configure.ac (PowerPC float128 hardware support): Test whether
3358         we can use __builtin_cpu_supports before enabling the ifunc
3359         handler.
3360         * configure: Regenerate.
3362 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
3364         * config.host: Remove uclibc from arc target spec.
3366 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
3368         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3370 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
3372         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3373         (have_ieee_hw_p): Delete function.
3374         (SW_OR_HW) Use __builtin_cpu_supports().
3376 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3378         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3380 2017-07-03  Olivier Hainque  <hainque@adacore.com>
3382         * config/t-vxworks7: New file, really.
3384 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
3386         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3387         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3388         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3389         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3390         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3391         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3392         config/pa/linux-unwind.h (pa32_fallback_frame_state),
3393         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3394         config/sh/linux-unwind.h (sh_fallback_frame_state),
3395         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3396         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3397         ucontext_t instead of struct ucontext.
3399 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
3401         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3402         (x86_64-wrs-vxworks7): Likewise.
3404 2017-06-27  Olivier Hainque  <hainque@adacore.com>
3406         * config/t-vxworks7: New file.
3407         * config.host (*-*-vxworks7): Use it.
3409 2017-06-22  Matt Turner  <mattst88@gmail.com>
3411         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3412         skylake case.
3414 2017-06-21  Richard Biener  <rguenther@suse.de>
3416         PR gcov-profile/81080
3417         * configure.ac: Add AC_SYS_LARGEFILE.
3418         * libgcov.h: Include auto-target.h before tsystem.h to pick
3419         up _FILE_OFFSET_BITS which might differ for multilibs.
3420         * config.in: Regenerate.
3421         * configure: Likewise.
3423 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
3425         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3427 2017-06-09  Martin Liska  <mliska@suse.cz>
3429         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3430         Reset __gcov_indirect_call_callee to NULL.
3432 2017-06-08  Olivier Hainque  <hainque@adacore.com>
3434         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3435         the set of -I options, support for direct inclusions of net/uio.h
3436         by VxWorks header files via ioLib.h.
3438 2017-06-07  Tony Reix  <tony.reix@atos.net>
3439             Matthieu Sarter  <matthieu.sarter.external@atos.net>
3440             David Edelsohn  <dje.gcc@gmail.com>
3442         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3443         unconditionally.
3444         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
3445         AIX 7.2 support.
3447 2017-06-02  Olivier Hainque  <hainque@adacore.com>
3449         * config/vxlib.c (__gthread_once): Add missing value to
3450         return statement.
3452 2017-05-30  Olivier Hainque  <hainque@adacore.com>
3454         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3455         dollar sign before $(MULTIDIR).
3457 2017-05-26  Richard Henderson  <rth@redhat.com>
3459         PR libgcc/80037
3460         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3462 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
3464         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3465         _Unwind_SetIP available as functions for arm*-*-freebsd*.
3466         * config/arm/unwind-arm.c: Implement the above.
3468 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3470         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3471         section for a non-executable stack.
3473 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
3475         PR target/80600
3476         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3478 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
3480         * config.host: Add i386/t-msabi to i386/t-linux file list.
3481         * config/i386/i386-asm.h: New file.
3482         * config/i386/resms64.S: New file.
3483         * config/i386/resms64f.S: New file.
3484         * config/i386/resms64fx.S: New file.
3485         * config/i386/resms64x.S: New file.
3486         * config/i386/savms64.S: New file.
3487         * config/i386/savms64f.S: New file.
3488         * config/i386/t-msabi: New file.
3490 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
3492         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3493         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3495 2017-05-05  Joshua Conner  <joshconner@google.com>
3497         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3498         pc-relative indirect handling for fuchsia.
3499         * config/t-slibgcc-fuchsia: New file.
3500         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3501         x86_64-*-fuchsia*): Add definitions.
3503 2017-04-19  Martin Liska  <mliska@suse.cz>
3505         PR gcov-profile/80435
3506         * Makefile.in: Install gcov.h.
3507         * gcov.h: New file.
3508         * libgcov.h: Use the header and make __gcov_flush publicly
3509         visible.
3511 2017-04-18  Martin Liska  <mliska@suse.cz>
3513         PR gcov-profile/78783
3514         * libgcov-driver.c (gcov_get_filename): New function.
3516 2017-04-07  Jeff Law  <law@redhat.com>
3518         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3519         target makefile fragment.
3520         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3522 2017-04-07  Alan Modra  <amodra@gmail.com>
3524         PR target/45053
3525         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3527 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
3529         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3531 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
3533         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3535 2017-03-10  John Marino  <gnugcc@marino.st>
3537         * config/aarch64/freebsd-unwind.h: New file.
3538         * config.host: Add aarch64-*-freebsd unwinder.
3540 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3542         * config/rs6000/crtrestvr.s: Use .machine altivec.
3543         * config/rs6000/crtsavevr.s: Ditto.
3545 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3547         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3548         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
3549         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3550         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
3551         * configure: Regenerate.
3552         * config.in: Regenerate.
3554 2017-03-02  Jonathan Yong <10walls@gmail.com>
3556         * config/i386/gthr-win32.h: Define NOGDI before
3557         windows.h include to prevent w32api CC_NONE macro
3558         clash with libgfortran.
3560 2017-03-02  Jonathan Yong <10walls@gmail.com>
3562         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3564 2017-02-16  Andrew Pinski  <apinski@cavium.com>
3566         * config/aarch64/value-unwind.h: New file.
3567         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3568         to tm_file.
3570 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
3572         * config.host: Add RISC-V tuples.
3573         * config/riscv/atomic.c: New file.
3574         * config/riscv/crti.S: Likewise.
3575         * config/riscv/crtn.S: Likewise.
3576         * config/riscv/div.S: Likewise.
3577         * config/riscv/linux-unwind.h: Likewise.
3578         * config/riscv/muldi3.S: Likewise.
3579         * config/riscv/multi3.S: Likewise.
3580         * config/riscv/save-restore.S: Likewise.
3581         * config/riscv/sfp-machine.h: Likewise.
3582         * config/riscv/t-elf: Likewise.
3583         * config/riscv/t-elf32: Likewise.
3584         * config/riscv/t-elf64: Likewise.
3585         * config/riscv/t-softfp32: Likewise.
3586         * config/riscv/t-softfp64: Likewise.
3588 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
3590         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3591         /* FALLTHRU */ comments.
3593 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
3595         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3597 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
3599         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3600         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
3601         DW_CFA_GNU_window_save for AArch64 and LP64.
3603 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
3605         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3607 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
3609         * config/aarch64/aarch64-unwind.h: New file.
3610         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3611         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3612         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3613         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3614         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3615         (aarch64_post_extract_frame_addr): New function.
3616         (aarch64_post_frob_eh_handler_addr): New function.
3617         (aarch64_frob_update_context): New function.
3618         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3619         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3620         aarch64*-*-freebsd*):
3621         Initialize md_unwind_header to include aarch64-unwind.h.
3622         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3623         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3624         __aarch64__.
3625         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3626         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3627         (uw_frob_return_addr): New function.
3628         (uw_install_context): Use uw_frob_return_addr.
3630 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
3632         PR other/79046
3633         * configure.ac: Add GCC_BASE_VER.
3634         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3635         version from BASE-VER file.
3636         * configure: Regenerated.
3638 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
3640         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3641         libmul_f5.a): Filter archived prerequisites.
3643 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
3645         * config/i386/cpuinfo.h (processor_features): Add
3646         FEATURE_AVX512VPOPCNTDQ.
3647         * config/i386/cpuinfo.c (get_available_features): Habdle new
3648         feature.
3650 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3652         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3653         payload if [__mips_nan2008].
3655 2017-01-04  Alan Modra  <amodra@gmail.com>
3657         * Makefile.in (configure_deps): Update.
3658         * configure: Regenerate.
3660 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
3662         Update copyright years.
3664 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
3666         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3667         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3668         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3670 2016-12-17  Matthias Klose  <doko@ubuntu.com>
3672         * config/arc/gmon: Remove empty directory.
3674 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
3676         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3677         crtgend.
3678         (arc*-*-elf*): Likewise.
3679         * config/arc/t-arc: Remove old gmon lib targets.
3680         * config/arc/crtg.S: Remove.
3681         * config/arc/crtgend.S: Likewise.
3682         * config/arc/gmon/atomic.h: Likewise.
3683         * config/arc/gmon/auxreg.h: Likewise.
3684         * config/arc/gmon/dcache_linesz.S: Likewise.
3685         * config/arc/gmon/gmon.c: Likewise.
3686         * config/arc/gmon/machine-gmon.h: Likewise.
3687         * config/arc/gmon/mcount.c: Likewise.
3688         * config/arc/gmon/prof-freq-stub.S: Likewise.
3689         * config/arc/gmon/prof-freq.c: Likewise.
3690         * config/arc/gmon/profil.S: Likewise.
3691         * config/arc/gmon/sys/gmon.h: Likewise.
3692         * config/arc/gmon/sys/gmon_out.h: Likewise.
3693         * config/arc/t-arc-newlib: Likewise.
3694         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3696 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
3698         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3700 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
3702         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3703         R16 instead of push + pop.
3704         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3706 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
3708         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3709         tmake_file.
3711 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
3713         * config.host (arc*-*-linux-uclibc*): Use default extra
3714         objects. Include linux-android header.
3715         * config/arc/crti.S (_init): Declare symbol as function.
3716         (_fini): Likewise.
3718 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
3720         PR fortran/78379
3721         * config/i386/cpuinfo.c:  Move denums for processor vendors,
3722         processor type, processor subtypes and declaration of
3723         struct __processor_model into
3724         * config/i386/cpuinfo.h:  New header file.
3726 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
3727             Thomas Preud'homme  <thomas.preudhomme@arm.com>
3729         * config/arm/cmse_nonsecure_call.S: New.
3730         * config/arm/t-arm: Compile cmse_nonsecure_call.S
3732 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
3733             Thomas Preud'homme  <thomas.preudhomme@arm.com>
3735         * config/arm/t-arm (HAVE_CMSE): New.
3736         * config/arm/cmse.c: New.
3738 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3740         PR gcc/74748
3741         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3742         use generic linker version information on Blackfin.
3744         PR gcc/74748
3745         * libgcc/mkmap-symver.awk: add support for skip_underscore
3747 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
3748             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3750         PR target/67710
3751         *  config/t-darwin: Default builds to 10.5 codegen.
3753 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
3755         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3756         (_FP_NANSIGN_H): Likewise.
3757         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3758         (softfp_truncations): Add tfhf.
3759         (softfp_extras): Add required conversion functions.
3761 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3762             Matthew Wahab  <matthew.wahab@arm.com>
3764         * config/arm/fp16.c (binary64): New.
3765         (__gnu_d2h_internal): New.
3766         (__gnu_d2h_ieee): New.
3767         (__gnu_d2h_alternative): New.
3769 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3770             Matthew Wahab  <matthew.wahab@arm.com>
3772         * config/arm/fp16.c (struct format): New.
3773         (binary32): New.
3774         (__gnu_float2h_internal): New.  Body moved from
3775         __gnu_f2h_internal and generalize.
3776         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3777         Call it with binary32.
3779 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3781         * soft-fp/extendhftf2.c: Update from glibc.
3782         * soft-fp/fixhfti.c: Likewise.
3783         * soft-fp/fixunshfti.c: Likewise.
3784         * soft-fp/floattihf.c: Likewise.
3785         * soft-fp/floatuntihf.c: Likewise.
3786         * soft-fp/half.h: Likewise.
3787         * soft-fp/trunctfhf2.c: Likewise.
3789 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
3791         PR libgcc/77813
3792         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3793         __TMC_END__ behind a passthrough asm.
3795 2016-11-18  Walter Lee  <walt@tilera.com>
3797         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3799 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
3801         * config/i386/cpuinfo.c (processor_features): Add
3802         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3804 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
3806         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3807         (__ARC_NORM__): Use instead ARC_OPTFPE.
3808         * config/arc/fp-hack.h: Likewise.
3809         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3810         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3812 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
3814         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3815         * config/nvptx/mgomp.c: New file.
3816         * config/nvptx/t-nvptx: Add mgomp.c
3818 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
3820         PR libgcc/68468
3821         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3823 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
3825         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3826         of checking for cpus.
3827         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3828         (__modsi3, __clzsi2): Likewise.
3830 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3832         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3833         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3834         * config/i386/t-cpuinfo-static: New.
3836 2016-11-03  Martin Liska  <mliska@suse.cz>
3838         * libgcov-profiler.c (__gcov_time_profiler): Remove.
3839         (__gcov_time_profiler_atomic): Likewise.
3841 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3843         PR libgcc/78067
3844         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3845         count_leading_zeros.
3847 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
3849         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3850         * libgcc2.c (__divmoddi4): New function.
3851         * libgcc2.h (__divmoddi4): Declare.
3852         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3853         and __PFX_divmodti4.
3855 2016-10-24  Florian Weimer  <fweimer@redhat.com>
3857         PR libgcc/78064
3858         * unwind-c.c: Include auto-target.h.
3860 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
3862         * config/pa/pa64-hpux-lib.h: New file.
3863         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3864         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3865         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3866         hppa*64*-*-hpux11*.
3868 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
3870         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3871         definition.
3872         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3873         definition.
3874         * config/xtensa/t-windowed (LIB2ADDEH): Use
3875         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3876         or xtensa/t-linux.
3878 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
3880         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3881         __ieee754_sqrt): New functions.
3882         (__divdf3): Add implementation with new FPU instructions under
3883         #if XCHAL_HAVE_DFP_DIV.
3884         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3885         __ieee754_sqrtf): New functions.
3886         (__divsf3): Add implementation with new FPU instructions under
3887         #if XCHAL_HAVE_FP_DIV.
3888         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3889         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3891 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3893         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3894         equivalent.
3895         * config/tilepro/atomic.c: Likewise and stop casting model to
3896         enum memmodel.
3898 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
3900         PR target/77586
3901         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3902         soft-fp.
3904 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
3906         * config.host: Add support for aarch64-*-freebsd*.
3908 2016-10-05  Andreas Schwab  <schwab@suse.de>
3910         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3911         (.section .init_array): Don't call __do_jv_register_classes.
3912         (.section .init): Likewise.
3914 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
3916         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3917         (__JCR_LIST__): Remove.
3918         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3919         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3920         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3921         * config/ia64/crtend.S (__JCR_END__): Remove.
3922         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3923         conditionals.
3924         (__JCR_LIST__, __JCR_END__): Remove.
3925         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3926         (__do_global_ctors_1): Likewise.
3928 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
3930         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3931         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3933 2016-09-27  Martin Liska  <mliska@suse.cz>
3935         PR gcov-profile/7970
3936         PR gcov-profile/16855
3937         PR gcov-profile/44779
3938         * libgcov-driver.c (__gcov_init): Do not register a atexit
3939         handler.
3940         (__gcov_exit): Rename from gcov_exit.
3941         * libgcov.h (__gcov_exit): Declare.
3943 2016-09-27  Martin Liska  <mliska@suse.cz>
3945         PR bootstrap/77749
3946         * Makefile.in: Remove _gcov_merge_delta.
3947         * libgcov-merge.c (void __gcov_merge_delta): Remove.
3948         * libgcov-util.c (__gcov_delta_counter_op): Remove.
3949         * libgcov.h: Remove declaration of __gcov_merge_delta.
3951 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
3953         * configure.ac: Do not create links, only substitute the filenames.
3954         * configure: Regenerate.
3955         * Makefile.in: Assign the substitution results to variables.
3956         (LIBGCC_LINKS): Define.
3957         (enable-execute-stack.c): New rule.
3958         (unwind.h): Likewise.
3959         (md-unwind-support.h): Likewise.
3960         (sfp-machine.h): Likewise.
3961         (gthr-default.h): Likewise.
3962         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3963         unwind.h as prerequisite of install-unwind_h-forbuild.
3965 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
3967         PR libgcc/71744
3968         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3969         is not the primary registry and atomics are available.
3970         (any_objects_registered): New variable.
3971         (__register_frame_info_bases, __register_frame_info_table_bases):
3972         Atomically store 1 to any_objects_registered after registering first
3973         unwind info.
3974         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3976 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
3978         PR target/63250
3979         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3980         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3981         (HFtype): Likewise.
3982         (HCtype): Likewise.
3983         (__divhc3): Likewise.
3984         (__mulhc3): Likewise.
3985         * libgcc2.c: Support _mulhc3 and _divhc3.
3987 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3989         PR libgcc/77519
3990         * libgcc2.c (NOTRUNC): Invert settings.
3992 2016-09-06  Martin Liska  <mliska@suse.cz>
3994         PR gcov-profile/77378
3995         PR gcov-profile/77466
3996         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3997         conditionaly enable/disable *_atomic functions.
3999 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
4001         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4002         where not already enabled.
4004 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4006         * config/mips/linux-unwind.h: Use sys/syscall.h.
4008 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
4010         PR libgcc/77265
4011         * soft-fp/adddf3.c: Update from glibc.
4012         * soft-fp/addsf3.c: Likewise.
4013         * soft-fp/addtf3.c: Likewise.
4014         * soft-fp/divdf3.c: Likewise.
4015         * soft-fp/divsf3.c: Likewise.
4016         * soft-fp/divtf3.c: Likewise.
4017         * soft-fp/double.h: Likewise.
4018         * soft-fp/eqdf2.c: Likewise.
4019         * soft-fp/eqsf2.c: Likewise.
4020         * soft-fp/eqtf2.c: Likewise.
4021         * soft-fp/extenddftf2.c: Likewise.
4022         * soft-fp/extended.h: Likewise.
4023         * soft-fp/extendsfdf2.c: Likewise.
4024         * soft-fp/extendsftf2.c: Likewise.
4025         * soft-fp/extendxftf2.c: Likewise.
4026         * soft-fp/fixdfdi.c: Likewise.
4027         * soft-fp/fixdfsi.c: Likewise.
4028         * soft-fp/fixdfti.c: Likewise.
4029         * soft-fp/fixsfdi.c: Likewise.
4030         * soft-fp/fixsfsi.c: Likewise.
4031         * soft-fp/fixsfti.c: Likewise.
4032         * soft-fp/fixtfdi.c: Likewise.
4033         * soft-fp/fixtfsi.c: Likewise.
4034         * soft-fp/fixtfti.c: Likewise.
4035         * soft-fp/fixunsdfdi.c: Likewise.
4036         * soft-fp/fixunsdfsi.c: Likewise.
4037         * soft-fp/fixunsdfti.c: Likewise.
4038         * soft-fp/fixunssfdi.c: Likewise.
4039         * soft-fp/fixunssfsi.c: Likewise.
4040         * soft-fp/fixunssfti.c: Likewise.
4041         * soft-fp/fixunstfdi.c: Likewise.
4042         * soft-fp/fixunstfsi.c: Likewise.
4043         * soft-fp/fixunstfti.c: Likewise.
4044         * soft-fp/floatdidf.c: Likewise.
4045         * soft-fp/floatdisf.c: Likewise.
4046         * soft-fp/floatditf.c: Likewise.
4047         * soft-fp/floatsidf.c: Likewise.
4048         * soft-fp/floatsisf.c: Likewise.
4049         * soft-fp/floatsitf.c: Likewise.
4050         * soft-fp/floattidf.c: Likewise.
4051         * soft-fp/floattisf.c: Likewise.
4052         * soft-fp/floattitf.c: Likewise.
4053         * soft-fp/floatundidf.c: Likewise.
4054         * soft-fp/floatundisf.c: Likewise.
4055         * soft-fp/floatunditf.c: Likewise.
4056         * soft-fp/floatunsidf.c: Likewise.
4057         * soft-fp/floatunsisf.c: Likewise.
4058         * soft-fp/floatunsitf.c: Likewise.
4059         * soft-fp/floatuntidf.c: Likewise.
4060         * soft-fp/floatuntisf.c: Likewise.
4061         * soft-fp/floatuntitf.c: Likewise.
4062         * soft-fp/gedf2.c: Likewise.
4063         * soft-fp/gesf2.c: Likewise.
4064         * soft-fp/getf2.c: Likewise.
4065         * soft-fp/ledf2.c: Likewise.
4066         * soft-fp/lesf2.c: Likewise.
4067         * soft-fp/letf2.c: Likewise.
4068         * soft-fp/muldf3.c: Likewise.
4069         * soft-fp/mulsf3.c: Likewise.
4070         * soft-fp/multf3.c: Likewise.
4071         * soft-fp/negdf2.c: Likewise.
4072         * soft-fp/negsf2.c: Likewise.
4073         * soft-fp/negtf2.c: Likewise.
4074         * soft-fp/op-1.h: Likewise.
4075         * soft-fp/op-2.h: Likewise.
4076         * soft-fp/op-4.h: Likewise.
4077         * soft-fp/op-8.h: Likewise.
4078         * soft-fp/op-common.h: Likewise.
4079         * soft-fp/quad.h: Likewise.
4080         * soft-fp/single.h: Likewise.
4081         * soft-fp/soft-fp.h: Likewise.
4082         * soft-fp/subdf3.c: Likewise.
4083         * soft-fp/subsf3.c: Likewise.
4084         * soft-fp/subtf3.c: Likewise.
4085         * soft-fp/truncdfsf2.c: Likewise.
4086         * soft-fp/trunctfdf2.c: Likewise.
4087         * soft-fp/trunctfsf2.c: Likewise.
4088         * soft-fp/trunctfxf2.c: Likewise.
4089         * soft-fp/unorddf2.c: Likewise.
4090         * soft-fp/unordsf2.c: Likewise.
4091         * soft-fp/unordtf2.c: Likewise.
4093 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
4095         PR gcov-profile/67097
4096         * libgcov-util.c (gcov_profile_merge): Skip missing files.
4098 2016-08-10  Martin Liska  <mliska@suse.cz>
4100         PR gcov-profile/58306
4101         * Makefile.in: New functions (modules) are added.
4102         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4103         function.
4104         (__gcov_pow2_profiler_atomic): New function.
4105         (__gcov_one_value_profiler_body): New argument is instroduced.
4106         (__gcov_one_value_profiler): Call with the new argument.
4107         (__gcov_one_value_profiler_atomic): Likewise.
4108         (__gcov_indirect_call_profiler_v2): Likewise.
4109         (__gcov_time_profiler_atomic): New function.
4110         (__gcov_average_profiler_atomic): Likewise.
4111         (__gcov_ior_profiler_atomic): Likewise.
4112         * libgcov.h: Declare the aforementioned functions.
4114 2016-08-09  Martin Liska  <mliska@suse.cz>
4116         * libgcov-util.c: Fix typo and GNU coding style.
4118 2016-08-09  Martin Liska  <mliska@suse.cz>
4120         * Makefile.in: Remove __gcov_indirect_call_profiler.
4121         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4122         function.
4123         * libgcov.h: And the declaration of the function.
4125 2016-08-09  Martin Liska  <mliska@suse.cz>
4127         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4128         power of two.
4130 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4132         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4133         * config/rs6000/_mulkc3.c: Likewise.
4135 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
4137         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4138         zero_reg as previous call to __umulhisi3 already cleared it.
4140 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
4142         PR target/59833
4143         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4145 2016-07-19  Nick Clifton  <nickc@redhat.com>
4147         * config.host (m32r): Add m32r/t-m32r to tmake_file.
4148         Add crtinit.o and crtfini.o to extra_parts.
4150 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4152         * config/rs6000/_divkc3.c: New.
4153         * config/rs6000/_mulkc3.c: New.
4154         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4155         and _divkc3.
4156         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4157         fp128_ppc_funcs.
4159 2016-07-11  Hale Wang  <hale.wang@arm.com>
4160             Andre Vieira  <andre.simoesdiasvieira@arm.com>
4162         * config/arm/lib1funcs.S: Add new wrapper.
4164 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4166         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4168 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4170         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4171         and ARMv5t* rather than for a fixed list of architectures.
4173 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4175         * config/arm/bpabi-v6m.S: Clarify what architectures is the
4176         implementation suitable for.
4177         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4178         for all Thumb-1 only targets.
4179         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4180         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4181         __ARM_ARCH_6M__.
4182         (EQUIV): Likewise.
4183         (ARM_FUNC_ALIAS): Likewise.
4184         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4185         version.
4186         (modsi3): Likewise.
4187         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4188         (clzdi2): Likewise.
4189         (ctzsi2): Likewise.
4190         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4191         __ARM_ARCH_6M__ in guard for checking whether it is defined.
4192         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4193         __ARM_ARCH_6M__ and add comment to indicate the connection between
4194         this condition and the one in gcc/config/arm/elf.h.
4195         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4196         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4197         * config/arm/t-softfp: Likewise.
4199 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4201         * libgcc2.c (SYMBOL__MAIN): Remove checks for
4202         CTOR_LISTS_DEFINED_EXTERNALLY.
4204 2016-06-28  Walter Lee  <walt@tilera.com>
4206         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4207         asm/unistd.h.
4208         (SPR_CMPEXCH_VALUE): Define for tilegx.
4209         (__NR_FAST_cmpxchg): Define for tilepro.
4210         (__NR_FAST_atomic_update): Define for tilepro.
4211         (__NR_FAST_cmpxchg64): Define for tilepro.
4213 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
4215         * config.host: Add suport for arm*-*-phoenix* targets.
4217 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4219         * config.host: Remove support for mep-*.
4220         * config/mep/lib1funcs.S: Remove.
4221         * config/mep/lib2funcs.c: Remove.
4222         * config/mep/t-mep: Remove.
4223         * config/mep/tramp.c: Remove.
4225 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4227         * config.host: Remove support for avr-rtems.
4228         * config/avr/t-rtems: Remove.
4230 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4232         * config.host: Remove m32r-rtems support.
4234 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4236         * config.host: Remove h8300-rtems support.
4238 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4240         * config.host: Remove support for knetbsd.
4242 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4244         * config.host: Remove support for openbsd 2 and 3.
4246 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4248         * config.host: Remove interix support.
4249         * config/i386/t-interix: Remove.
4251 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
4253         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4254         least-significant bit in function pointer for fixup.
4256 2016-06-05  Aaron Conole  <aconole@redhat.com>
4257             Nathan Sidwell  <nathan@acm.org>
4259         PR libgcc/71400
4260         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4261         (get_gcov_error_file): Check __gcov_error_file before trying to
4262         initialize it.
4263         (gcov_error): Always use get_gcov_error_file.
4265 2016-06-02  Aaron Conole  <aconole@redhat.com>
4267         * libgcov-driver-system.c (__gcov_error_file): New.
4268         (get_gcov_error_file): New.
4269         (gcov_error): Use and set __gcov_error_file.
4270         (gcov_error_exit): New.
4271         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4273 2016-05-26  Nathan Sidwell  <nathan@acm.org>
4275         * config/nvptx/free.asm: Delete.
4276         * config/nvptx/malloc.asm: Delete.
4277         * config/nvptx/realloc.c: Delete.
4278         * t-nvptx: Update.
4280 2016-05-25  Nathan Sidwell  <nathan@acm.org>
4282         * config/nvptx/crt0.s: Delete.
4283         * config/nvptx/crt0.c: New.
4284         * t-nvptx: Update.
4286 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
4288         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4289         dw2/seh configuration.
4290         [x86_64-*-mingw*]: Likewise.
4292 2016-05-10  Joel Sherrill <joel@rtems.org>
4294         PR libgcc/70720
4295         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4296         targets so the same extra_parts are built.  Also have tmake_file add
4297         on to its value rather than override.
4299 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
4301         * config.host: Remove SH5 support.
4302         * configure: Likewise.
4304 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
4306         * config/sh/crt1.S: Remove SH5 support.
4307         * config/sh/crti.S: Likewise.
4308         * config/sh/crtn.S: Likewise.
4309         * config/sh/lib1funcs-4-300.S: Likewise.
4310         * config/sh/lib1funcs-Os-4-200.S: Likewise.
4311         * config/sh/lib1funcs.S: Likewise.
4312         * config/sh/linux-unwind.h: Likewise.
4313         * config/sh/t-sh64: Delete.
4315 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
4317         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4319 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
4320             Joern Rennecke  <joern.rennecke@embecosm.com>
4322         * config/arc/crttls.S: New file.
4323         * config/arc/t-arc: New rule.
4324         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4326 2016-04-25  Nick Clifton  <nickc@redhat.com>
4328         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4329         (__mspabi_cmpd): Likewise.
4330         * config/msp430/floathidf.c (__floathidf): Likewise.
4331         * config/msp430/floathisf.c (__floathisf): Likewise
4332         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4333         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4334         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4335         second parameter.
4336         (__ashrsi3): Likewise.
4338 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
4340         * config/m68k/linux-atomic.c: Do not include unistd.h
4342 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
4344         * config/arm/ieee754-df.S: Fix typos in comments.
4346 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
4348         PR target/70381
4349         * configure.ac (powerpc*-*-linux*): Rework tests to build
4350         __float128 emulation routines to not depend on using #pragma GCC
4351         target to enable -mfloat128.
4352         * configure: Regnerate.
4354 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
4356         PR target/67172
4357         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4358         __MINGW32__ is defined.
4360 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
4362         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4364 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
4366         PR libgcc/70363
4367         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4368         built with an assembler that does not support ISA 3.0
4369         instructions, rename __extendkftf2_sw to __extendkftf2.
4371 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4373         PR target/38239
4374         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4375         call-clobbered registers.
4376         (internal_mcount): Remove __i386__ handling.
4378 2016-02-26  Joel Sherrill <joel@rtems.org>
4380         * config.host: Add x86_64-*-rtems*.
4382 2016-02-26  Joel Sherrill <joel@rtems.org>
4384         * libgcc/config.host: Add aarch64-*-rtems*.
4386 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4387             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4389         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4390         union of u64 and double.
4391         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4392         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4393         value.
4394         (FP_ROUNDMODE): Update the usage of _fpscr.
4396 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
4398         PR driver/68463
4399         * Makefile.in (crtoffloadtable$(objext)): New rule.
4400         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4401         enable_offload_targets is not empty.
4402         * configure: Regenerate.
4403         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4404         crtoffloadtable.
4406 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
4408         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4409         .literal_position before the function.
4410         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4411         Likewise.
4413 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
4415         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4416         * config/s390/morestack.S: New file.
4417         * config/s390/t-stack-s390: New file.
4418         * generic-morestack.c (__splitstack_find): Add s390-specific code.
4420 2016-02-12  Walter Lee  <walt@tilera.com>
4422         * config.host (tilegx*-*-linux*): remove ti from
4423         softfp_int_modes for 32-bit configs.
4425 2016-02-10  Ian Lance Taylor  <iant@google.com>
4427         PR go/68562
4428         * config/i386/morestack.S (__stack_split_initialize): Align
4429         stack.
4431 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
4433         PR bootstrap/69611
4434         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4435         __FLOAT128__ to compile only for __float128 capable targets.
4437 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
4439         PR target/69444
4440         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4441         instead of ___NO_FPRS__.
4443 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
4444             Steven Munroe  <munroesj@linux.vnet.ibm.com>
4445             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4447         * config/rs6000/float128-sed: New files to convert TF names to KF
4448         names for PowerPC IEEE 128-bit floating point support.
4449         * config/rs6000/float128-sed-hw: Likewise.
4451         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4452         floating point hardware support.
4454         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4455         128-bit floating point software emulation or use ISA 3.0 hardware
4456         support if it is available.
4458         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4459         floating point.
4461         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4462         floating point to IBM extended double.
4464         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4465         double to IEEE 128-bit floating point.
4467         * config/rs6000/t-float128: New Makefile fragments to enable
4468         building __float128 emulation support.
4469         * config/rs6000/t-float128-hw: Likewise.
4471         * config/rs6000/sfp-exceptions.c: New file to provide exception
4472         support for IEEE 128-bit floating point.
4474         * config/rs6000/floattikf.c: New files for converting between IEEE
4475         128-bit floating point and signed/unsigned 128-bit integers.
4476         * config/rs6000/fixunskfti.c: Likewise.
4477         * config/rs6000/fixkfti.c: Likewise.
4478         * config/rs6000/floatuntikf.c: Likewise.
4480         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4481         when building on 64-bit systems, or when VSX is enabled.
4482         (_FP_W_TYPE): Likewise.
4483         (_FP_WS_TYPE): Likewise.
4484         (_FP_I_TYPE): Likewise.
4485         (TItype): Define on 64-bit systems.
4486         (UTItype): Likewise.
4487         (TI_BITS): Likewise.
4488         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4489         (_FP_MUL_MEAT_Q): Likewise.
4490         (_FP_DIV_MEAT_D): Likewise.
4491         (_FP_DIV_MEAT_Q): Likewise.
4492         (_FP_NANFRAC_D): Likewise.
4493         (_FP_NANFRAC_Q): Likewise.
4494         (ISA_BIT): Add exception support if we are being compiled on a
4495         machine with hardware floating point support to build the IEEE
4496         128-bit emulation functions.
4497         (FP_EX_INVALID): Likewise.
4498         (FP_EX_OVERFLOW): Likewise.
4499         (FP_EX_UNDERFLOW): Likewise.
4500         (FP_EX_DIVZERO): Likewise.
4501         (FP_EX_INEXACT): Likewise.
4502         (FP_EX_ALL): Likewise.
4503         (__sfp_handle_exceptions): Likewise.
4504         (FP_HANDLE_EXCEPTIONS): Likewise.
4505         (FP_RND_NEAREST): Likewise.
4506         (FP_RND_ZERO): Likewise.
4507         (FP_RND_PINF): Likewise.
4508         (FP_RND_MINF): Likewise.
4509         (FP_RND_MASK): Likewise.
4510         (_FP_DECL_EX): Likewise.
4511         (FP_INIT_ROUNDMODE): Likewise.
4512         (FP_ROUNDMODE): Likewise.
4514         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4515         VSX code, enable IEEE 128-bit floating point.  If the compiler can
4516         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4517         floating point hardware instructions and it supports declaring
4518         functions with the ifunc attribute, enable ifunc functions to
4519         switch between software and hardware support.
4520         * configure.ac (powerpc*-*-linux*): Likewise.
4521         * configure: Regenerate.
4523 2016-01-15  Nick Clifton  <nickc@redhat.com>
4525         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4526         dependency as the source file to be compiled.
4527         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4528         (lib2hw_mul_f5.o): Likewise.
4530 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4532         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4533         * libgcc/config/rs6000/fixkfti.c: Likewise.
4534         * libgcc/config/rs6000/fixunskfti.c: Likewise.
4535         * libgcc/config/rs6000/float128-hw.c: Likewise.
4536         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4537         * libgcc/config/rs6000/float128-sed: Likewise.
4538         * libgcc/config/rs6000/floattikf.c: Likewise.
4539         * libgcc/config/rs6000/floatuntikf.c: Likewise.
4540         * libgcc/config/rs6000/quad-float128.h: Likewise.
4541         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4542         * libgcc/config/rs6000/sfp-machine.h: Likewise.
4543         * libgcc/config/rs6000/t-float128: Likewise.
4544         * libgcc/config/rs6000/t-float128-hw: Likewise.
4545         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4546         * libgcc/config.host: Likewise.
4547         * libgcc/configure: Likewise.
4548         * libgcc/configure.ac: Likewise.
4550 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4551             Steven Munroe  <munroesj@linux.vnet.ibm.com>
4552             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4554         * config/rs6000/sfp-exceptions.c: New file to provide exception
4555         support for IEEE 128-bit floating point.
4557         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4558         floating point hardware support.
4560         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4561         point conversions.
4562         * config/rs6000/fixunskfti.c: Likewise.
4563         * config/rs6000/fixkfti.c: Likewise.
4564         * config/rs6000/floatuntikf.c: Likewise.
4565         * config/rs6000/extendkftf2-sw.c: Likewise.
4566         * config/rs6000/trunctfkf2-sw.c: Likewise.
4568         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4569         128-bit floating point software emulation or use ISA 3.0 hardware
4570         support if it is available.
4572         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4573         floating point.
4575         * config/rs6000/t-float128: New Makefile fragments to enable
4576         building __float128 emulation support.
4577         * config/rs6000/t-float128-hw: Likewise.
4579         * config/rs6000/float128-sed: New file to convert TF names to KF
4580         names for PowerPC IEEE 128-bit floating point support.
4582         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4583         when building on 64-bit systems, or when VSX is enabled.
4584         (_FP_W_TYPE): Likewise.
4585         (_FP_WS_TYPE): Likewise.
4586         (_FP_I_TYPE): Likewise.
4587         (TItype): Define on 64-bit systems.
4588         (UTItype): Likewise.
4589         (TI_BITS): Likewise.
4590         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4591         (_FP_MUL_MEAT_Q): Likewise.
4592         (_FP_DIV_MEAT_D): Likewise.
4593         (_FP_DIV_MEAT_Q): Likewise.
4594         (_FP_NANFRAC_D): Likewise.
4595         (_FP_NANFRAC_Q): Likewise.
4596         (ISA_BIT): Add exception support if we are being compiled on a
4597         machine with hardware floating point support to build the IEEE
4598         128-bit emulation functions.
4599         (FP_EX_INVALID): Likewise.
4600         (FP_EX_OVERFLOW): Likewise.
4601         (FP_EX_UNDERFLOW): Likewise.
4602         (FP_EX_DIVZERO): Likewise.
4603         (FP_EX_INEXACT): Likewise.
4604         (FP_EX_ALL): Likewise.
4605         (__sfp_handle_exceptions): Likewise.
4606         (FP_HANDLE_EXCEPTIONS): Likewise.
4607         (FP_RND_NEAREST): Likewise.
4608         (FP_RND_ZERO): Likewise.
4609         (FP_RND_PINF): Likewise.
4610         (FP_RND_MINF): Likewise.
4611         (FP_RND_MASK): Likewise.
4612         (_FP_DECL_EX): Likewise.
4613         (FP_INIT_ROUNDMODE): Likewise.
4614         (FP_ROUNDMODE): Likewise.
4616         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4617         compiler can do __float128.
4618         * configure: Regenerate.
4620         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4621         VSX code, enable IEEE 128-bit floating point.
4623 2016-01-05  Olivier Hainque  <hainque@adacore.com>
4625         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4626         specificities.
4628 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
4630         Update copyright years.
4632 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
4634         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4635         soft-fp targets.
4637 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4639         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4640         instead of abort to avoid dependency on stdlib.h.
4642 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
4644         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4645         to initialize call to __dl_fixup once.
4647 2015-12-04  Nick Clifton  <nickc@redhat.com>
4649         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4650         Allow for the second argument being negative.
4651         * config.host (extra_parts): Define for MSP430.  Create separate
4652         libraries for each of the hardware multiply formats.
4653         * config/msp430/lib2hw_mul.S: Build only the multiply routines
4654         that are needed.
4655         * config/msp430/lib2mul.c: Likewise.
4656         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4657         Add rules to build hardware multiply libraries.
4658         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4659         __mspabi_divul function.
4660         (__mspabi_divllu): New stub function.
4662 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
4664         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4665         fixup values if saved GOT address doesn't match runtime address.
4666         (fixup_branch_offset): Reorder list.
4668 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4670         * Makefile.in (VTV_CFLAGS): New variable.
4671         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4672         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4673         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4674         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4675         to extra_parts if $enable_vtable_verify = yes.
4677 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4679         PR target/68059
4680         * config/arm/linux-atomic-64bit.c (__write): Rename to...
4681         (write): ...this and fix the return type.
4683 2015-11-19  DJ Delorie  <dj@redhat.com>
4685         * config/msp430/lib2hw_mul.S: Fix alignment.
4687 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
4689         * config/nvptx/reduction.c: New.
4690         * config/nvptx/t-nvptx (LIB2ADD): Add it.
4692 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
4694         * config/rs6000/on_exit.c: New file.
4695         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4696         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4698 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
4700         * config/arc/dp-hack.h: Add support for ARCHS.
4701         * config/arc/ieee-754/divdf3.S: Likewise.
4702         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4703         * config/arc/ieee-754/muldf3.S: Likewise.
4704         * config/arc/ieee-754/mulsf3.S: Likewise
4705         * config/arc/lib1funcs.S: Likewise
4706         * config/arc/gmon/dcache_linesz.S: Don't read the build register
4707         for ARCv2 cores.
4708         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4709         for ARCv2 cores.
4710         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4711         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4712         cores.
4714 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4716         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4717         value.
4718         * config/ia64/crtend.S: Likewise.
4720 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4722         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4723         __CHAR_BIT__ instead of BITS_PER_UNIT.
4724         * fixed-bit.h: Likewise.
4725         * fp-bit.h: Likewise.
4726         * libgcc2.c (__popcountSI2): Likewise.
4727         (__popcountDI2): Likewise.
4728         * libgcc2.h: Likewise.
4729         * libgcov.h: Likewise.
4731 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
4733         * config/rs6000/atexit.c: New file.
4734         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4735         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4736         * config/rs6000/cxa_finalize.c
4737         (catomic_compare_and_exchange_bool_acq): Negate return value.
4739 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
4741         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4742         (processor_subtypes): Add znver1.
4743         (get_amd_cpu): Detect znver1.
4745 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
4747         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4748         Include crtfastmath.o.
4750 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
4752         PR libgcc/66883
4753         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4755 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
4757         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4758         * config/rl78/divmodsi.S: Update return register to r8.
4759         * config/rl78/divmodhi.S: Update return register to r8,r9.
4760         Branch to main_loop_done_himode to pop registers before return.
4762 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
4764         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4765         (__cpu_indicator_init): Fix model selection for AMD CPUs.
4767 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
4769         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4771 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
4773         * config.host (xtensa*-*-uclinux*): New configuration.
4775 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
4777         * config/i386/cpuinfo.c (processor_features): Add
4778         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4780 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4782         * soft-fp/adddf3.c: Update from glibc.
4783         * soft-fp/addsf3.c: Likewise.
4784         * soft-fp/addtf3.c: Likewise.
4785         * soft-fp/divdf3.c: Likewise.
4786         * soft-fp/divsf3.c: Likewise.
4787         * soft-fp/divtf3.c: Likewise.
4788         * soft-fp/double.h: Likewise.
4789         * soft-fp/eqdf2.c: Likewise.
4790         * soft-fp/eqsf2.c: Likewise.
4791         * soft-fp/eqtf2.c: Likewise.
4792         * soft-fp/extenddftf2.c: Likewise.
4793         * soft-fp/extended.h: Likewise.
4794         * soft-fp/extendsfdf2.c: Likewise.
4795         * soft-fp/extendsftf2.c: Likewise.
4796         * soft-fp/extendxftf2.c: Likewise.
4797         * soft-fp/fixdfdi.c: Likewise.
4798         * soft-fp/fixdfsi.c: Likewise.
4799         * soft-fp/fixdfti.c: Likewise.
4800         * soft-fp/fixsfdi.c: Likewise.
4801         * soft-fp/fixsfsi.c: Likewise.
4802         * soft-fp/fixsfti.c: Likewise.
4803         * soft-fp/fixtfdi.c: Likewise.
4804         * soft-fp/fixtfsi.c: Likewise.
4805         * soft-fp/fixtfti.c: Likewise.
4806         * soft-fp/fixunsdfdi.c: Likewise.
4807         * soft-fp/fixunsdfsi.c: Likewise.
4808         * soft-fp/fixunsdfti.c: Likewise.
4809         * soft-fp/fixunssfdi.c: Likewise.
4810         * soft-fp/fixunssfsi.c: Likewise.
4811         * soft-fp/fixunssfti.c: Likewise.
4812         * soft-fp/fixunstfdi.c: Likewise.
4813         * soft-fp/fixunstfsi.c: Likewise.
4814         * soft-fp/fixunstfti.c: Likewise.
4815         * soft-fp/floatdidf.c: Likewise.
4816         * soft-fp/floatdisf.c: Likewise.
4817         * soft-fp/floatditf.c: Likewise.
4818         * soft-fp/floatsidf.c: Likewise.
4819         * soft-fp/floatsisf.c: Likewise.
4820         * soft-fp/floatsitf.c: Likewise.
4821         * soft-fp/floattidf.c: Likewise.
4822         * soft-fp/floattisf.c: Likewise.
4823         * soft-fp/floattitf.c: Likewise.
4824         * soft-fp/floatundidf.c: Likewise.
4825         * soft-fp/floatundisf.c: Likewise.
4826         * soft-fp/floatunditf.c: Likewise.
4827         * soft-fp/floatunsidf.c: Likewise.
4828         * soft-fp/floatunsisf.c: Likewise.
4829         * soft-fp/floatunsitf.c: Likewise.
4830         * soft-fp/floatuntidf.c: Likewise.
4831         * soft-fp/floatuntisf.c: Likewise.
4832         * soft-fp/floatuntitf.c: Likewise.
4833         * soft-fp/gedf2.c: Likewise.
4834         * soft-fp/gesf2.c: Likewise.
4835         * soft-fp/getf2.c: Likewise.
4836         * soft-fp/ledf2.c: Likewise.
4837         * soft-fp/lesf2.c: Likewise.
4838         * soft-fp/letf2.c: Likewise.
4839         * soft-fp/muldf3.c: Likewise.
4840         * soft-fp/mulsf3.c: Likewise.
4841         * soft-fp/multf3.c: Likewise.
4842         * soft-fp/negdf2.c: Likewise.
4843         * soft-fp/negsf2.c: Likewise.
4844         * soft-fp/negtf2.c: Likewise.
4845         * soft-fp/op-1.h: Likewise.
4846         * soft-fp/op-2.h: Likewise.
4847         * soft-fp/op-4.h: Likewise.
4848         * soft-fp/op-8.h: Likewise.
4849         * soft-fp/op-common.h: Likewise.
4850         * soft-fp/quad.h: Likewise.
4851         * soft-fp/single.h: Likewise.
4852         * soft-fp/soft-fp.h: Likewise.
4853         * soft-fp/subdf3.c: Likewise.
4854         * soft-fp/subsf3.c: Likewise.
4855         * soft-fp/subtf3.c: Likewise.
4856         * soft-fp/truncdfsf2.c: Likewise.
4857         * soft-fp/trunctfdf2.c: Likewise.
4858         * soft-fp/trunctfsf2.c: Likewise.
4859         * soft-fp/trunctfxf2.c: Likewise.
4860         * soft-fp/unorddf2.c: Likewise.
4861         * soft-fp/unordsf2.c: Likewise.
4862         * soft-fp/unordtf2.c: Likewise.
4864 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
4866         PR libgcc/67624
4867         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4869 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4871         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4872         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4873         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4874         messages.
4875         (internal_mcount): Likewise.
4876         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4877         crt_compile, add CRTSTUFF_T_CFLAGS_S.
4879 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4881         * configure.ac (libgcc_cv_solaris_crts): New test.
4882         * configure: Regenerate.
4883         * config.in: Regenerate.
4884         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4885         * config/gmon-sol2.c: Rename to ...
4886         * config/sol2/gmon.c: ... this.
4887         Include auto-target.h.
4888         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4889         * config/t-sol2: Rename to ...
4890         * config/sol2/t-sol2: ... this.
4891         (gmon.o): Reflect renaming.
4892         (crtp.o, crtpg.o): New rules.
4893         * config.host (*-*-solaris2*): Reflect renaming.
4894         Use system CRTs if present.
4895         Remove default CRT case.
4897 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
4899         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4900         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4901         __kernel_cmpxchg2.
4902         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4903         (__sync_val_compare_and_swap_##WIDTH): Likewise.
4904         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4905         (__sync_lock_test_and_set_##WIDTH): Likewise.
4906         (__sync_lock_release_##WIDTH): Likewise.
4907         (__sync_fetch_and_##OP##_4): Change result to match type of
4908         __kernel_cmpxchg.
4909         (__sync_##OP##_and_fetch_4): Likewise.
4910         (__sync_val_compare_and_swap_4): Likewise.
4911         (__sync_bool_compare_and_swap_4): likewise.
4912         (__sync_lock_test_and_set_4): Likewise.
4913         (__sync_lock_release_4): Likewise.
4914         (FETCH_AND_OP_2): Add long long variants.
4915         (OP_AND_FETCH_2): Likewise.
4916         (COMPARE_AND_SWAP_2 ): Likewise.
4917         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4918         (SYNC_LOCK_RELEASE_2): Likewise.
4919         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4921 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
4923         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4924         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4925         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4926         (get_available_features): Habdle new features.
4928 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
4930         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4931         memory layout. Deal correctly with BSS region larger than 32K.
4932         Handle a watchdog reset like a power-on reset. Clean up unused
4933         code.
4935 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
4936             David Edelsohn  <dje.gcc@gmail.com>
4938         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4939         * config/rs6000/crtdbase.S: New file.
4940         * config/rs6000/t-aix-cxa: Build crtdbase.o.
4942 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
4944         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4945         Add support for call0 ABI.
4947 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
4949         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4951 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4953         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4954         (__GTHREAD_HAS_COND): Likewise.
4955         (__gthread_t): Likewise.
4956         (__gthread_cond_t): Likewise.
4957         (__gthread_time_t): Likewise.
4958         (__GTHREAD_MUTEX_INIT): Likewise.
4959         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4960         (__GTHREAD_COND_INIT): Likewise.
4961         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4962         (__GTHREAD_TIME_INIT): Likewise.
4963         (__gthread_create): Likewise.
4964         (__gthread_join): Likewise.
4965         (__gthread_detach): Likewise.
4966         (__gthread_equal): Likewise.
4967         (__gthread_self): Likewise.
4968         (__gthread_yield): Likewise.
4969         (__gthread_cond_broadcast): Likewise.
4970         (__gthread_cond_signal): Likewise.
4971         (__gthread_cond_wait): Likewise.
4972         (__gthread_cond_timedwait): Likewise.
4973         (__gthread_cond_wait_recursive): Likewise.
4974         (__gthread_cond_destroy): Likewise.
4975         (rtems_gxx_once): Delete.
4976         (rtems_gxx_key_create): Likewise.
4977         (rtems_gxx_key_delete): Likewise.
4978         (rtems_gxx_getspecific): Likewise.
4979         (rtems_gxx_setspecific): Likewise.
4980         (rtems_gxx_mutex_init): Likewise.
4981         (rtems_gxx_mutex_destroy): Likewise.
4982         (rtems_gxx_mutex_lock): Likewise.
4983         (rtems_gxx_mutex_trylock): Likewise.
4984         (rtems_gxx_mutex_unlock): Likewise.
4985         (rtems_gxx_recursive_mutex_init): Likewise.
4986         (rtems_gxx_recursive_mutex_lock): Likewise.
4987         (rtems_gxx_recursive_mutex_trylock): Likewise.
4988         (rtems_gxx_recursive_mutex_unlock): Likewise.
4989         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4990         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4991         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4992         (__gthread_once): Likewise.
4993         (__gthread_key_create): Likewise.
4994         (__gthread_key_delete): Likewise.
4995         (__gthread_getspecific): Likewise.
4996         (__gthread_setspecific): Likewise.
4997         (__gthread_key_t): Use <pthread.h> type.
4998         (__gthread_once_t): Likewise
4999         (__gthread_mutex_t): Use <sys/lock.h> type.
5000         (__gthread_recursive_mutex_t): Likewise
5001         (__gthread_mutex_lock): Use <sys/lock.h> function.
5002         (__gthread_mutex_trylock): Likewise.
5003         (__gthread_mutex_timedlock): Likewise.
5004         (__gthread_mutex_unlock): Likewise.
5005         (__gthread_mutex_destroy): Likewise.
5006         (__gthread_recursive_mutex_lock): Likewise.
5007         (__gthread_recursive_mutex_trylock): Likewise.
5008         (__gthread_recursive_mutex_timedlock): Likewise.
5009         (__gthread_recursive_mutex_unlock): Likewise.
5010         (__gthread_recursive_mutex_destroy): Likewise.
5012 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5014         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5015         context->sp instead of context->cfa.
5017 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5019         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5020         with unwind-dw2-fde-dip.
5022 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5024         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5025         CALL12 followed by series of ENTRY to spill windowed registers.
5026         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5027         instead of making linux spill syscall.
5029 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
5031         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5032         (get_intel_cpu): Likewise.
5034 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5036         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5037         (get_intel_cpu): Add Knights Landing support.
5039 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
5041         PR target/66954
5042         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5043         (get_available_features): Handle FEATURE_PCLMUL.
5045 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
5047         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5048         Broadwell.
5050 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
5052         PR target/66954
5053         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5054         (get_available_features): Handle FEATURE_AES.
5056 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
5058         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5059         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5061 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
5063         * offloadstuff.c: Constify host data.
5065 2015-07-17  Jan Beulich  <jbeulich@suse.com>
5067         * config/t-softfp: Split up "else ifneq".
5069 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
5070             Cesar Philippidis  <cesar@codesourcery.com>
5071             Chung-Lin Tang  <cltang@codesourcery.com>
5073         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5074         for __nios2_arch__ level.
5076 2015-07-13  John Marino  <gnugcc@marino.st>
5078         * config/i386/t-dragonfly: New.
5080 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
5082         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5083         better match light-weight syscall argument order.
5084         (__kernel_cmpxchg2): Likewise.
5085         Adjust callers.
5087 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
5089         * config.host: Support i[34567]86-*-elfiamcu target.
5090         * config/t-softfp-sfdftf: New file.
5091         * config/i386/32/t-iamcu: Likewise.
5092         * configure: Regenerated.
5094 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
5096         libgcc/config/arm/
5097         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5099 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5101         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5103 2015-05-27  John Marino  <gnugcc@marino.st>
5105         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5106         md_unwind_header
5107         * config/i386/freebsd-unwind.h: New.
5109 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
5111         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5112         i386/t-crtfm to tmake_file.
5113         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5114         (set_fast_math): Use set_fast_math_sse for SSE targets.
5115         * config/i386/t-crtfm: Remove.
5117 2015-05-21  Alan Modra  <amodra@gmail.com>
5119         PR libgcc/66225
5120         * config/rs6000/morestack.S: Remove ".abiversion 1".
5122 2015-05-20  Alan Modra  <amodra@gmail.com>
5124         * config/rs6000/morestack.S: New.
5125         * config/rs6000/t-stack-rs6000: New.
5126         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5127         to tmake_file.
5128         * generic-morestack.c: Don't build for powerpc 32-bit.
5130 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
5132         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5133         Remove useless endif/ifneq ($(enable_shared),yes) pair.
5135 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
5137         * config.host: FT32 target added.
5138         * config/ft32/*: New files for FT32 target.
5140 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
5142         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5143         New macros.
5144         * config/arm/ieee754-df.S: Add CFI directives.
5145         * config/arm/ieee754-sf.S: Add CFI directives.
5147 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
5149         * configure.ac: Include config/sjlj.m4.
5150         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5151         * config.in: Regenerate.
5152         * configure: Likewise.
5153         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5155 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
5157         * libgcov-util.c: Add space between string literal and macro name.
5159 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
5160             Chris Jones  <chrisj@nvidia.com>
5161             Joshua Conner  <jconner@nvidia.com>
5163         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5164         (arm*-*-uclinux*): Likewise.
5165         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5166         * config/arm/crtfastmath.c: New file.
5168 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
5170         * Makefile.in (real_host_noncanonical): New variable.
5171         (libsubdir): Use it.
5172         * configure.ac (real_host_noncanonical): Compute.  Remove special
5173         case for intelmicemul.
5174         * configure: Regenerate.
5176 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5178         * config/frv/elf-lib.h: New file.
5179         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5180         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5181         to tm_file.
5183 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5185         * config/frv/frvbengin.c: Do not include defaults.h
5186         * config/frv/frvend.c: Ditto.
5188 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
5190         * config.host: Add h8300-*-linux
5191         * config/h8300/t-linux: New file.
5192         * config/h8300/lib1funs.s: Change symbol prefix.
5193         * config/h8300/sfp-machine.h: 64bit double support.
5195 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
5196             Szabolcs Nagy  <szabolcs.nagy@arm.com>
5198         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5199         Linux if target provides dl_iterate_phdr.
5201 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
5203         PR target/65612
5204         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5205         * config/i386/cpuinfo.c (__cpu_model): Initialize.
5206         (__cpu_indicator_init@GCC_4.8.0): New.
5207         (__cpu_model@GCC_4.8.0): Likewise.
5208         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5209         -DUSE_ELF_SYMVER.
5211 2015-04-16  Nick Clifton  <nickc@redhat.com>
5213         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5214         and __modhi3 functions.
5215         * config/rl78/divmodso.S: Add G14 and G13 versions of the
5216         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5218 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
5220         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5221         do-while loop as macro body to avoid warnings.
5223 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
5224             Iain Sandoe  <iain@codesourcery.com>
5226         PR target/65351
5227         * configure: Regenerate.
5229 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
5230             Iain Sandoe  <iain@codesourcery.com>
5232         PR target/65351
5233         * configure: Regenerate.
5235 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
5237         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5239 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
5241         Implement call0 ABI for xtensa
5242         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5243         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5244         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5245         use ret in call0 ABI.
5246         * config/xtensa/t-windowed: New file.
5247         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5248         * libgcc/configure: Regenerated.
5249         * libgcc/configure.ac: Check if xtensa target is configured for
5250         windowed ABI and thus needs to use custom unwind code.
5252 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
5254         PR libgcc/64885
5255         * gthr-single.h: Use __unused__ attribute instead of unused.
5256         * config/gthr-vxworks.h: Likewise.
5257         * config/i386/gthr-win32.h: Likewise.
5259 2015-02-27  Kai Tietz  <ktietz@redhat.com>
5261         PR target/65038
5262         * config.in: Regenerated.
5263         * configure: Likewise.
5264         * configure.ac (AC_HEADER_STDC): Added explicit.
5265         (AC_CHECK_HEADERS): Check for default headers  plus
5266         for ftw.h header.
5267         * libgcov-util.c (gcov_read_profile_dir): Disable use
5268         of ftw-function, if header is not found.
5269         (ftw_read_file): Likewise.
5271 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
5273         PR target/65181
5274         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5275         -Dinhibit_libc.
5277 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
5279         * config/arm/bpabi.S (test_div_by_zero): Make label names
5280         consistent between thumb2 and arm mode cases.  Separate the
5281         signed comparison on the high word of the numerator from the
5282         unsigned comparison on the low word.
5283         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5284         signed comparison.
5286 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5288         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5289         and <string.h>.
5290         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5292 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
5294         PR gcov-profile/61889
5295         * libgcov-driver-system.c: undefine clashing macro for mkdir.
5297 2015-02-02  Nick Clifton  <nickc@redhat.com>
5299         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5300         rounding up the fraction.
5302 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
5304         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5305         oldval and newval to const void *.  Fix typo.
5306         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5307         (FETCH_AND_OP_WORD): Likewise.
5308         (OP_AND_FETCH_WORD): Likewise.
5309         (COMPARE_AND_SWAP_2): Likewise.
5310         (__sync_val_compare_and_swap_4): Likewise.
5311         (__sync_lock_test_and_set_4): Likewise.
5312         (SYNC_LOCK_RELEASE_2): Likewise.
5313         Remove support for long long atomic operations.
5315 2015-01-27  Caroline Tice  <cmtice@google.com>
5317         Committing VTV Cywin/Ming patch for Patrick Wollgast
5318         * Makefile.in: Move rules to build vtv_*.o out of the check
5319         for CUSTOM_CRTSTUFF.
5320         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5321         i[34567]86-*-mingw*)
5322          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5323         enable_vtable_verify.
5325 2015-01-27  Nick Clifton  <nickc@redhat.com>
5327         * config/rl78/cmpsi2.S: Use function start and end macros.
5328         (__gcc_bcmp): New function.
5329         * config/rl78/lshrsi3.S: Use function start and end macros.
5330         * config/rl78/mulsi3.S: Add support for G10.
5331         (__mulqi3): New function for G10.
5332         * config/rl78/signbit.S: Use function start and end macros.
5333         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5334         fpmath-sf.S.
5335         (LIB2FUNCS_EXCLUDE): Define.
5336         (LIB2FUNCS_ST): Define.
5337         * config/rl78/trampoline.S: Use function start and end macros.
5338         * config/rl78/vregs.h (START_FUNC): New macro.
5339         (START_ANOTHER_FUNC): New macro.
5340         (END_FUNC): New macro.
5341         (END_ANOTHER_FUNC): New macro.
5342         * config/rl78/bit-count.S: New file.  Contains assembler
5343         implementations of the bit counting functions: ___clzhi2,
5344         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5345         __paritysi2, __popcounthi2 and __popcountsi2.
5346         * config/rl78/fpbit-sf.S: New file.  Contains assembler
5347         implementationas of the math functions: __negsf2, __cmpsf2,
5348         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5349         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
5350         * config/rl78/fpmath-sf.S: New file.  Contains assembler
5351         implementations of the math functions: __subsf3, __addsf3,
5352         __mulsf3 and __divsf3
5354 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5356         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5357         Add i386/elf-lib.h to tm_file.
5358         * config/i386/elf-lib.h: Fix comment.
5359         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5360         && __sun__ && __svr4__]: Remove workaround.
5362 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
5364         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5365         FEATURE_BMI2.
5366         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5368 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
5370         * config/i386/cpuinfo.c (processor_subtypes): Add
5371         INTEL_COREI7_BROADWELL.
5372         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5373         model numbers.
5375 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
5377         * config/i386/elf-lib.h: New file.
5378         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5379         Wrap definition in #ifdef __i386__.
5380         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5381         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5382         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5383         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5384         to tm_file.
5386 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
5388         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5389         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5391 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
5393         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5394         Update rt_sigframe format and address for current Nios II
5395         Linux conventions.
5397 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
5399         * config.host (arm*-*-freebsd*): Add new configuration for
5400         arm*-*-freebsd*.
5401         * config/arm/freebsd-atomic.c: New file.
5402         * config/arm/t-freebsd: Likewise.
5403         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5404         'PC-relative indirect' OS's.
5406 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
5408         * config.host: Add Visium support.
5409         * config/visium: New directory.
5411 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
5413         Update copyright years.
5415 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
5417         * config.host: Support mipsisa32r6 and mipsisa64r6.
5418         * config/mips/mips16.S: Do not build for R6.
5420 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
5422         * config/sh/crt.h: New.
5423         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5424         symbols.
5425         * config/sh/crt1.S: Likewise.
5427 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
5429         PR libgcc/63832
5430         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5431         func_ptr *dtor_list temporary variable to avoid "array subscript
5432         is above array bounds" warnings.
5434 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
5436         * Makefile.in (with_aix_soname): Define.
5437         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5438         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5439         * configure: Recreate.
5441 2014-12-05  Olivier Hainque  <hainque@adacore.com>
5443         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5444         now provided by defaults.h.
5446 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
5448         PR target/55351
5449         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5450         whether it's defined.
5452 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
5454         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5455         * config/i386/cpuinfo.c (get_available_features): Detect it.
5457 2014-11-27  Tony Wang  <tony.wang@arm.com>
5459         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5460         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5461         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5463 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
5465         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5467 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
5469         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5470         instead.
5472 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
5473             John David Anglin  <danglin@gcc.gnu.org>
5475         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5476         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
5477         (OP_AND_FETCH_2): Likewise.
5478         (COMPARE_AND_SWAP_2): Likewise.
5479         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5480         (SYNC_LOCK_RELEASE_2): Likewise.
5481         (SUBWORD_SYNC_OP): Remove.
5482         (SUBWORD_VAL_CAS): Likewise.
5483         (SUBWORD_BOOL_CAS): Likewise.
5484         (FETCH_AND_OP_WORD): Update.
5485         Consistently use signed types.
5487 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
5488             Thomas Schwinge  <thomas@codesourcery.com>
5489             Ilya Verbin  <ilya.verbin@intel.com>
5490             Andrey Turetskiy  <andrey.turetskiy@intel.com>
5492         * Makefile.in (crtoffloadbegin$(objext)): New rule.
5493         (crtoffloadend$(objext)): Likewise.
5494         * configure: Regenerate.
5495         * configure.ac (accel_dir_suffix): Compute new variable.
5496         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5497         if enable_offload_targets is not empty.
5498         * offloadstuff.c: New file.
5500 2014-11-13  Nick Clifton  <nickc@redhat.com>
5502         * config/rl78/divmodhi.S: Add support for the G10 architecture.
5503         Use START_FUNC and END_FUNC macros to enable linker garbage
5504         collection.
5505         * config/rl78/divmodqi.S: Likewise.
5506         * config/rl78/divmodsi.S: Likewise.
5507         * config/rl78/mulsi3.S: Likewise.
5508         * config/rl78/lib2div.c: Remove G10 functions.
5509         * config/rl78/lib2muls.c: Likewise.
5510         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5511         * config/rl78/vregs.h (START_FUNC): New macro.
5512         (END_FUNC): New macro.
5514 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
5516         * config/mips/mips16.S: Set .module when supported.  Update O32
5517         FP64 calling convention and use for FPXX when possible.  Add FPXX
5518         calling convention fallback case.
5520 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
5522         * config.host: Handle nvptx-*-*.
5523         * shared-object.mk (as-flags-$o): Define.
5524         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5525         -xassembler-with-cpp.
5526         * static-object.mk: Identical changes.
5527         * config/nvptx/t-nvptx: New file.
5528         * config/nvptx/crt0.s: New file.
5529         * config/nvptx/free.asm: New file.
5530         * config/nvptx/malloc.asm: New file.
5531         * config/nvptx/realloc.c: New file.
5533 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5535         * Makefile.in (libgcc.map.in): New target.
5536         (libgcc.map): Use libgcc.map.in.
5537         * config/t-softfp (softfp_compat): New variable to be set by
5538         users.
5539         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5540         variables.
5541         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5542         directory.
5543         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5544         that use compat symbols and disable all code unless [SHARED].
5545         * config/t-softfp-compat: New file.
5546         * find-symver.awk: New file.
5547         * configure.ac (--with-glibc-version): New configure option.
5548         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5549         * configure: Regenerate.
5550         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5551         soft-float and e500.
5553 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
5555         * config/t-hardfp (hardfp_exclusions): Document new variable for
5556         user to define.
5557         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5558         * config/t-softfp (softfp_extras): Document new variable for user
5559         to define.
5560         (softfp_func_list): Add functions from $(softfp_extras).
5561         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5562         * config.host (powerpc*-*-linux*): For e500v1, use
5563         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5564         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5565         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5567 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
5569         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5570         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5571         memory read accesses are ok.
5573 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
5575         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5576         * configure: Regenerate.
5577         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5578         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
5579         of soft-fp for 32-bit classic hard float.  Do not use
5580         t-softfp-excl for soft float.
5582 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
5584         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5585         configurations.
5586         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5587         Remove variables.
5589 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
5591         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5592         introduced with 2014-10-21 trunk r216525.
5594 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
5595             Vidya Praveen  <vidya.praveen@atmel.com>
5596             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
5597             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
5598             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
5600         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5601         order.
5603         Updated library functions for AVRTINY arch.
5604         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5605         Replaced occurrences of r0/r1 with tmp/zero reg macros.
5606         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5607         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5608         wsubi/wadi macors.
5609         (__mulsi3_helper): Update stack, preserve callee saved regs and
5610         argument from stack. Restore callee save registers.
5611         (__mulpsi3): Likewise.
5612         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5613         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5614         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5615         AVRTINY.
5616         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5617         (__do_copy_data): Added new definition for AVRTINY.
5618         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5619         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5620         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5621         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5622         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5623         macors.
5624         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5625         AVRTINY.
5627         Fix broken long multiplication on tiny arch.
5629 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5631         * soft-fp/double.h: Update from glibc.
5632         * soft-fp/eqdf2.c: Likewise.
5633         * soft-fp/eqsf2.c: Likewise.
5634         * soft-fp/eqtf2.c: Likewise.
5635         * soft-fp/extenddftf2.c: Likewise.
5636         * soft-fp/extended.h: Likewise.
5637         * soft-fp/extendsfdf2.c: Likewise.
5638         * soft-fp/extendsftf2.c: Likewise.
5639         * soft-fp/extendxftf2.c: Likewise.
5640         * soft-fp/gedf2.c: Likewise.
5641         * soft-fp/gesf2.c: Likewise.
5642         * soft-fp/getf2.c: Likewise.
5643         * soft-fp/ledf2.c: Likewise.
5644         * soft-fp/lesf2.c: Likewise.
5645         * soft-fp/letf2.c: Likewise.
5646         * soft-fp/op-1.h: Likewise.
5647         * soft-fp/op-2.h: Likewise.
5648         * soft-fp/op-4.h: Likewise.
5649         * soft-fp/op-8.h: Likewise.
5650         * soft-fp/op-common.h: Likewise.
5651         * soft-fp/quad.h: Likewise.
5652         * soft-fp/single.h: Likewise.
5653         * soft-fp/soft-fp.h: Likewise.
5654         * soft-fp/unorddf2.c: Likewise.
5655         * soft-fp/unordsf2.c: Likewise.
5656         * soft-fp/unordtf2.c: Likewise.
5657         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5658         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5659         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5660         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5661         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5662         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5663         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5664         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5665         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5666         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5668 2014-10-08  Rong Xu  <xur@google.com>
5670         * libgcov-util.c (read_gcda_file): Fix format.
5671         (find_match_gcov_info): Ditto.
5672         (calculate_2_entries): New.
5673         (compute_one_gcov): Ditto.
5674         (gcov_info_count_all_cold): Ditto.
5675         (gcov_info_count_all_zero): Ditto.
5676         (extract_file_basename): Ditto.
5677         (get_file_basename): Ditto.
5678         (set_flag): Ditto.
5679         (matched_gcov_info): Ditto.
5680         (calculate_overlap): Ditto.
5681         (gcov_profile_overlap): Ditto.
5682         * libgcov-driver.c (compute_summary): Make
5683         it avavilable for external calls.
5685 2014-10-06  Rong Xu  <xur@google.com>
5687         * Makefile.in: Ditto.
5688         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5689         (gcov_sort_icall_topn_counter): Ditto.
5690         (gcov_sort_topn_counter_arrays): Ditto.
5691         (dump_one_gcov): Sort indirect_call topn counters.
5692         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5693         function.
5694         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5695         utility function.
5696         (__gcov_indirect_call_topn_profiler): New profiler function.
5697         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5698         * libgcov.h: New decls.
5700 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
5702         * config.host: Remove support for score-*.
5704 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
5706         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5707         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5708         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5709         __LIBGCC_XF_MANT_DIG__.
5710         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5711         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5712         __LIBGCC_TF_MANT_DIG__.
5713         * libgcc2.c (NOTRUNC): Define in terms of
5714         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5715         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5717 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
5719         PR target/63312
5720         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5721         New macros.
5723 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
5725         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5726         override USE_PT_GNU_EH_FRAME.
5727         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5728         check USE_EH_FRAME_REGISTRY_ALWAYS against
5729         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5730         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5731         variable for substituted force_explicit_eh_registry.
5732         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5733         * configure.ac (explicit-exception-frame-registration):
5734         New AC_ARG_ENABLE.
5735         * configure: Regenerate.
5737 2014-09-19  Olivier Hainque  <hainque@adacore.com>
5739         * config.host (powerpc-wrs-vxworksmils): New configuration,
5740         same as vxworksae.
5742 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
5744         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5746 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
5748         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5749         bits not set bits as indicating trapping exceptions.
5751 2014-09-17  Nathan sidwell  <nathan@acm.org>
5753         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5754         (LIBGCOV_DRIVER): ... here.
5755         * libgcov-driver.c (gcov_master): New.
5756         (gcov_exit): Remove from master chain.
5757         (__gcov_init): Add to master chain if version compatible.  Don't
5758         clear the version.
5759         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5760         (gcov_reset_int): Clear master chain, if compatible.
5761         (gcov_dump_int): New internal interface.  Dump master chain, if
5762         compatible.
5763         (gcov_dump): Alias for gcov_dump_int.
5764         * libgcov.h (struct gcov_root): Add next and prev fields.
5765         (struct gcov_master): New struct.
5766         (__gcov_master): New.
5767         (gcov_dump_int): Declare.
5769 2014-09-17  Olivier Hainque  <hainque@adacore.com>
5771         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5772         and crtbegin.o + crtend.o to extra_parts.
5774 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
5776         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5777         __LIBGCC_HAS_SF_MODE__.
5778         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5779         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5780         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5781         * config/libbid/bid_gcc_intrinsics.h
5782         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5783         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5784         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5785         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5786         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5787         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5789 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
5791         PR target/63223
5792         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5793         and R24 as needed.  Make work for all devices and .text locations.
5794         (__do_global_ctors, __do_global_dtors): Use word addresses.
5795         (__tablejump__, __tablejump_elpm__): Remove functions.
5796         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5797         Add _tablejump2.
5798         (XICALL, XIJMP): New macros.
5800 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5801         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
5803         * config.host (aarch64*): Include crtfastmath.o and
5804         t-crtfm.
5805         * config/aarch64/crtfastmath.c: New file.
5807 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
5809         * config.host: Remove picochip support.
5810         * config/picochip/adddi3.S: Remove.
5811         * config/picochip/ashlsi3.S: Remove.
5812         * config/picochip/ashlsi3.c: Remove.
5813         * config/picochip/ashrsi3.S: Remove.
5814         * config/picochip/ashrsi3.c: Remove.
5815         * config/picochip/clzsi2.S: Remove.
5816         * config/picochip/cmpsi2.S: Remove.
5817         * config/picochip/divmod15.S: Remove.
5818         * config/picochip/divmodhi4.S: Remove.
5819         * config/picochip/divmodsi4.S: Remove.
5820         * config/picochip/lib1funcs.S: Remove.
5821         * config/picochip/longjmp.S: Remove.
5822         * config/picochip/lshrsi3.S: Remove.
5823         * config/picochip/lshrsi3.c: Remove.
5824         * config/picochip/parityhi2.S: Remove.
5825         * config/picochip/popcounthi2.S: Remove.
5826         * config/picochip/setjmp.S: Remove.
5827         * config/picochip/subdi3.S: Remove.
5828         * config/picochip/t-picochip: Remove.
5829         * config/picochip/ucmpsi2.S: Remove.
5830         * config/picochip/udivmodhi4.S: Remove.
5831         * config/picochip/udivmodsi4.S: Remove.
5833 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
5835         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5836         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5837         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5838         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5839         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
5840         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5841         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
5842         defined and LIBGCC2_HAS_DF_MODE is defined.
5843         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
5844         defined and LIBGCC2_HAS_XF_MODE is defined.
5845         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
5846         defined and LIBGCC2_HAS_TF_MODE is defined.
5848 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
5850         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5851         and ROUND_TOWARDS_ZERO conditionals.
5853 2014-09-07  Nathan sidwell  <nathan@acm.org>
5855         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5856         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
5858 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
5860         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5861         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5862         uses to __LIBGCC_STACK_POINTER_REGNUM__.
5863         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5864         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5865         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5866         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5867         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5868         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5869         (DWARF_FRAME_REGISTERS): Change all uses to
5870         __LIBGCC_DWARF_FRAME_REGISTERS__.
5871         (EH_RETURN_STACKADJ_RTX): Change all uses to
5872         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5873         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5874         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
5875         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5876         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5877         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5878         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5879         to __LIBGCC_EH_FRAME_SECTION_NAME__.
5880         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5881         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5882         __LIBGCC_STACK_POINTER_REGNUM__.
5883         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5884         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5885         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5886         to __LIBGCC_STACK_POINTER_REGNUM__.
5887         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5888         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5889         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5890         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5891         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5892         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5893         (STACK_POINTER_REGNUM): Change all uses to
5894         __LIBGCC_STACK_POINTER_REGNUM__.
5895         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5896         use to __LIBGCC_STACK_POINTER_REGNUM__.
5897         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5898         uses to __LIBGCC_STACK_POINTER_REGNUM__.
5899         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5900         to __LIBGCC_DWARF_FRAME_REGISTERS__.
5901         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5902         to __LIBGCC_DWARF_FRAME_REGISTERS__.
5903         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5904         to __LIBGCC_STACK_POINTER_REGNUM__.
5905         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5906         Remove conditional definition.
5907         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5908         __LIBGCC_TEXT_SECTION_ASM_OP__.
5909         (EH_FRAME_SECTION_NAME): Change all uses to
5910         __LIBGCC_EH_FRAME_SECTION_NAME__.
5911         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5912         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5913         (CTORS_SECTION_ASM_OP): Change all uses to
5914         __LIBGCC_CTORS_SECTION_ASM_OP__.
5915         (DTORS_SECTION_ASM_OP): Change all uses to
5916         __LIBGCC_DTORS_SECTION_ASM_OP__.
5917         (JCR_SECTION_NAME): Change all uses to
5918         __LIBGCC_JCR_SECTION_NAME__.
5919         (INIT_SECTION_ASM_OP): Change all uses to
5920         __LIBGCC_INIT_SECTION_ASM_OP__.
5921         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5922         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5923         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5924         __LIBGCC_STACK_GROWS_DOWNWARD__.
5925         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5926         __LIBGCC_INIT_SECTION_ASM_OP__.
5927         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5928         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5929         (EH_FRAME_SECTION_NAME): Change all uses to
5930         __LIBGCC_EH_FRAME_SECTION_NAME__.
5931         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5932         definitions.  Change all uses to
5933         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5934         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5935         __LIBGCC_STACK_GROWS_DOWNWARD__.
5936         (DWARF_FRAME_REGISTERS): Change all uses to
5937         __LIBGCC_DWARF_FRAME_REGISTERS__.
5938         (EH_RETURN_STACKADJ_RTX): Change all uses to
5939         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5940         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5941         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5942         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5943         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5944         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5946 2014-09-02  Nathan sidwell  <nathan@acm.org>
5948         * libgcov-interface.c (STRONG_ALIAS): New.
5949         (__gcov_flush): Call __gcov_reset_int.
5950         (__gcov_reset): Strong alias for ...
5951         (__gcov_reset_ing): ... this renamed hidden version.
5952         * libgcov.h (__gcov_reset_int): New declaration.
5954 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
5956         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5957         call from here...
5958         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5959         (__dso_handle): Define on Cygwin.
5960         * config/i386/t-cygming (crtbeginS.o): New rule.
5961         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5963         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5964         declaration syntax.
5966 2014-08-13  Steve Ellcey  <sellcey@mips.com>
5968         * crtstuff.c: Undef caddr_t.
5970 2014-08-12  Steve Ellcey  <sellcey@mips.com>
5972         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
5974 2014-08-07  Nathan Sidwell  <nathan@acm.org>
5976         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5977         (LIBGCOV_DRIVER): ... to here.
5978         * libgcov.h (gcov_do_dump): New #define.
5979         (struct gcov_root): New.
5980         (__gcov_root): New declaration.
5981         (__gcov_dump_one): Declare.
5982         * libgcov-driver.c (gcov_list, gcov_dump_complete,
5983         run_accounted): Delete.
5984         (gcov_compute_histogram): Add LIST argument, adjust.
5985         (compute_summary): Adjust gcov_compute_histogram call.
5986         (gcov_do_dump): Not hidden, static in libgcov.
5987         (gcov_clear): Move  to interface.c.
5988         (__gcov_dump_one): New, broken out of ...
5989         (gcov_exit): ... here.  Make static.
5990         (__gcov_root): New.
5991         (__gcov_init): Adjust.
5992         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5993         declarations.
5994         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5995         (gcov_clear): Moved from driver.c.   Add LIST argument.
5996         (__gcov_reset): Adjust for changed interfaces.
5997         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5999 2014-08-04  Rohit  <rohitarulraj@freescale.com>
6001         PR target/60102
6002         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6003         based on change in SPE high register numbers and 3 HTM registers.
6005 2014-08-01  Nathan Sidwell  <nathan@acm.org>
6007         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6008         LIBGCOV_INTERFACE): Reformat.
6009         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6010         IN_GCOV_TOOL.
6011         * libgcov-interface.c: Reformat some comments.
6012         (__gcov_flush_mx): Add declaration.  Tidy up definition.
6014 2014-07-31  Alan Modra  <amodra@gmail.com>
6015             Peter Bergner  <bergner@vnet.ibm.com>
6017         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6018         (pack_ldouble): New function.
6019         (__gcc_qadd): Use it.
6020         (__gcc_qmul): Likewise.
6021         (__gcc_qdiv): Likewise.
6022         (__gcc_qneg): Likewise.
6023         (__gcc_stoq): Likewise.
6024         (__gcc_dtoq): Likewise.
6026 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
6028         * config/s390/tpf-unwind.h: Include <stdbool.h>.
6029         (__tpf_eh_return): Add original return address as second parameter.
6030         Handle cases where unwinder routines were called directly, instead
6031         of from within the C++ library.
6033 2014-07-29  Nathan Sidwell  <nathan@acm.org>
6035         * libgcov.h: Move renaming of entry points to lib gcov specific
6036         portion.
6037         (gcov_do_dump): New rename.
6038         (gcov_rewrite): Remove inline, make HIDDEN.
6039         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6040         (gcov_exit_compute_summary): Rename to ...
6041         (compute_summary): ... here.  Add LIST argument.
6042         (gcov_exit_merge_gcda): Rename to ...
6043         (merge_one_data): ... here.
6044         (gcov_exit_write_gcda): Rename to ...
6045         (write_one_data): ... here.
6046         (gcov_exit_merge_summary): Rename to ...
6047         (merge_summary): Add RUN_COUNTED argument.
6048         (gcov_exit_dump_gcov): Rename to ...
6049         (dump_one_gcov): Add RUN_COUNTED argument.
6050         (gcov_do_dump): New function, broken out of ...
6051         (gcov_exit): ... here.  Call it.
6053 2014-07-27  Anthony Green  <green@moxielogic.com>
6055         * config.host: Add moxiebox configuration suppport.
6057 2014-07-27  Nathan Sidwell  <nathan@acm.org>
6059         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6060         (struct gcov_filename): ... here.  Include buffer and max length
6061         fields.
6062         (gcov_max_filename): Remove.
6063         (gi_filename): Remove.
6064         (gcov_exit_compute_summary): Compute max filename here.
6065         (gcov_exit_merge_gcda): Add filename parm, adjust.
6066         (gcov_exit_merge_summary): Likewise.
6067         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6068         (gcov_exit): Likewise.
6069         (__gcov_init): Don't calculate max length here.
6070         * libgcov_util.c (max_filename_len): Remove.
6071         (read_gcda_file): Don't calculate max length here.
6072         (gcov_read_profile_dir): Don't propagate here.
6073         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6074         struct gcov_filename changes.
6075         (gcov_exit_open_gcda_file): Likewise.
6077 2014-07-25  Nathan Sidwell  <nathan@acm.org>
6079         * libgcov-driver.c (set_gcov_dump_complete,
6080         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6081         functions polluting user's namespace.
6082         (gcov_exit): Set variable directly.
6083         (gcov_clear): Reset variable directly.
6084         * libgcov-interface.c (get_gcov_dymp_complete,
6085         reset_gov_dump_complete): Remove declarations.
6086         (__gcov_reset, __gcov_dump): Don't call them.
6088 2014-07-24  DJ Delorie  <dj@redhat.com>
6090         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
6091         (__gcc_deregister_frame): Move logic to detect deregister function
6092         to ...
6093         (__gcc_register_frame): here, so it's consistent with the register
6094         logic.
6096 2014-07-23  Nathan Sidwell  <nathan@acm.org>
6098         * libgcov-driver.c (set_gcov_list): Remove.
6099         (gcov_list): Make non-static in GCOV_TOOL.
6100         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6102 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
6104         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6105         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6106         Don't use SYNC_LOCK_RELEASE for int type.
6108 2014-07-14  Richard Biener  <rguenther@suse.de>
6110         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6112 2014-07-11  Rong Xu  <xur@google.com>
6114         * libgcov-util.c (gcov_max_filename): Fix declartion.
6116 2014-07-10  Rong Xu  <xur@google.com>
6118         Add gcov-tool: an offline gcda profile processing tool
6119         Support.
6120         * libgcov-driver.c (gcov_max_filename): Make available
6121         to gcov-tool.
6122         * libgcov-merge.c (__gcov_merge_add): Replace
6123         gcov_read_counter() with a Macro.
6124         (__gcov_merge_ior): Ditto.
6125         (__gcov_merge_time_profile): Ditto.
6126         (__gcov_merge_single): Ditto.
6127         (__gcov_merge_delta): Ditto.
6128         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6129         in the utility functions.
6130         (set_fn_ctrs): Utility function for reading gcda files to in-memory
6131         gcov_list object link lists.
6132         (tag_function): Ditto.
6133         (tag_blocks): Ditto.
6134         (tag_arcs): Ditto.
6135         (tag_lines): Ditto.
6136         (tag_counters): Ditto.
6137         (tag_summary): Ditto.
6138         (read_gcda_finalize): Ditto.
6139         (read_gcda_file): Ditto.
6140         (ftw_read_file): Ditto.
6141         (read_profile_dir_init): Ditto.
6142         (gcov_read_profile_dir): Ditto.
6143         (gcov_read_counter_mem): Ditto.
6144         (gcov_get_merge_weight): Ditto.
6145         (merge_wrapper): A wrapper function that calls merging handler.
6146         (gcov_merge): Merge two gcov_info objects with weights.
6147         (find_match_gcov_info): Find the matched gcov_info in the list.
6148         (gcov_profile_merge): Merge two gcov_info object lists.
6149         (__gcov_add_counter_op): Process edge profile counter values.
6150         (__gcov_ior_counter_op): Process IOR profile counter values.
6151         (__gcov_delta_counter_op): Process delta profile counter values.
6152         (__gcov_single_counter_op): Process single  profile counter values.
6153         (fp_scale): Callback function for float-point scaling.
6154         (int_scale): Callback function for integer fraction scaling.
6155         (gcov_profile_scale): Scaling profile counters.
6156         (gcov_profile_normalize): Normalize profile counters.
6157         * libgcov.h: Add headers and functions for gcov-tool use.
6158         (gcov_get_counter): New.
6159         (gcov_get_counter_target): Ditto.
6160         (struct gcov_info): Make the functions field mutable in gcov-tool
6161         compilation.
6163 2014-06-23  Kai Tietz  <ktietz@redhat.com>
6165         PR libgcc/61585
6166         * unwind-seh.c (_Unwind_GetGR): Check for proper
6167         index range.
6168         (_Unwind_SetGR): Likewise.
6170 2014-05-22  Nick Clifton  <nickc@redhat.com>
6172         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6173         -mhwmult=none.
6175 2014-05-22  Teresa Johnson  <tejohnson@google.com>
6177         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6178         include.
6180 2014-05-20  John Marino  <gnugcc@marino.st>
6182         * config.host (*-*-dragonfly*): New target.
6183         * crtstuff.c: Make dl_iterate_support generic on *bsd.
6184         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6185         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6186         * config/i386/dragonfly-unwind.h: New.
6188 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
6190         PR libgcc/60166
6191         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6192         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6194 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6196         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6197         implementation.
6199 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
6201         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6203 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6205         PR libgcc/61097
6206         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6207         if --enable-shared.
6209 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6211         Work around for current cygwin32 build problems.
6212         * config/i386/cygming-crtbegin.c (__register_frame_info,
6213         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6214         functions only for 64-bit systems.
6216 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6218         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6219         (sigill_caught, sigill_hdlr): Remove.
6221 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6223         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6224         check.
6225         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6226         Solaris 9 single-threaded support.
6227         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6228         Solaris 9 single-threaded support.  Add call_user_handler code
6229         sequences.
6230         (sparc_is_sighandler): Likewise.
6232 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6234         * config.host: Append t-floattodi to tmake_file depending on
6235         host_address.
6237 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
6239         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6241 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
6243         PR libgcc/60472
6244         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
6245         variable to avoid "array subscript is above array bounds" warnings.
6246         Use __builtin_expect when checking *jcr_list for NULL.
6248 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6250         PR libgcc/59339
6251         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6252         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6253         vtv_*.o to extra_parts if enable_vtable_verify.
6255 2014-03-06  Nick Clifton  <nickc@redhat.com>
6257         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6258         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6260 2014-02-28  Joey Ye  <joey.ye@arm.com>
6262         PR libgcc/60166
6263         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6264         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6265         Set to zero.
6267 2014-02-24  Walter Lee  <walt@tilera.com>
6269         * config.host: Support "tilegx*" and "tilepro*" triplets.
6270         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6271         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6273 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
6274             Chung-Lin Tang  <cltang@codesourcery.com>
6276         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6277         * config/nios2/crti.S: Remove .file directive.
6278         * config/nios2/crtn.S: Likewise.
6280 2014-02-18  Kai Tietz  <ktietz@redhat.com>
6281         Jonathan Schleifer  <js@webkeks.org>
6283         PR objc/56870
6284         * unwind-seh.c (_GCC_specific_handler): Pass proper
6285         value to unwind-handler.
6287 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6289         * soft-fp/adddf3.c: Update from glibc.
6290         * soft-fp/addsf3.c: Likewise.
6291         * soft-fp/addtf3.c: Likewise.
6292         * soft-fp/divdf3.c: Likewise.
6293         * soft-fp/divsf3.c: Likewise.
6294         * soft-fp/divtf3.c: Likewise.
6295         * soft-fp/double.h: Likewise.
6296         * soft-fp/eqdf2.c: Likewise.
6297         * soft-fp/eqsf2.c: Likewise.
6298         * soft-fp/eqtf2.c: Likewise.
6299         * soft-fp/extenddftf2.c: Likewise.
6300         * soft-fp/extended.h: Likewise.
6301         * soft-fp/extendsfdf2.c: Likewise.
6302         * soft-fp/extendsftf2.c: Likewise.
6303         * soft-fp/extendxftf2.c: Likewise.
6304         * soft-fp/fixdfdi.c: Likewise.
6305         * soft-fp/fixdfsi.c: Likewise.
6306         * soft-fp/fixdfti.c: Likewise.
6307         * soft-fp/fixsfdi.c: Likewise.
6308         * soft-fp/fixsfsi.c: Likewise.
6309         * soft-fp/fixsfti.c: Likewise.
6310         * soft-fp/fixtfdi.c: Likewise.
6311         * soft-fp/fixtfsi.c: Likewise.
6312         * soft-fp/fixtfti.c: Likewise.
6313         * soft-fp/fixunsdfdi.c: Likewise.
6314         * soft-fp/fixunsdfsi.c: Likewise.
6315         * soft-fp/fixunsdfti.c: Likewise.
6316         * soft-fp/fixunssfdi.c: Likewise.
6317         * soft-fp/fixunssfsi.c: Likewise.
6318         * soft-fp/fixunssfti.c: Likewise.
6319         * soft-fp/fixunstfdi.c: Likewise.
6320         * soft-fp/fixunstfsi.c: Likewise.
6321         * soft-fp/fixunstfti.c: Likewise.
6322         * soft-fp/floatdidf.c: Likewise.
6323         * soft-fp/floatdisf.c: Likewise.
6324         * soft-fp/floatditf.c: Likewise.
6325         * soft-fp/floatsidf.c: Likewise.
6326         * soft-fp/floatsisf.c: Likewise.
6327         * soft-fp/floatsitf.c: Likewise.
6328         * soft-fp/floattidf.c: Likewise.
6329         * soft-fp/floattisf.c: Likewise.
6330         * soft-fp/floattitf.c: Likewise.
6331         * soft-fp/floatundidf.c: Likewise.
6332         * soft-fp/floatundisf.c: Likewise.
6333         * soft-fp/floatunditf.c: Likewise.
6334         * soft-fp/floatunsidf.c: Likewise.
6335         * soft-fp/floatunsisf.c: Likewise.
6336         * soft-fp/floatunsitf.c: Likewise.
6337         * soft-fp/floatuntidf.c: Likewise.
6338         * soft-fp/floatuntisf.c: Likewise.
6339         * soft-fp/floatuntitf.c: Likewise.
6340         * soft-fp/gedf2.c: Likewise.
6341         * soft-fp/gesf2.c: Likewise.
6342         * soft-fp/getf2.c: Likewise.
6343         * soft-fp/ledf2.c: Likewise.
6344         * soft-fp/lesf2.c: Likewise.
6345         * soft-fp/letf2.c: Likewise.
6346         * soft-fp/muldf3.c: Likewise.
6347         * soft-fp/mulsf3.c: Likewise.
6348         * soft-fp/multf3.c: Likewise.
6349         * soft-fp/negdf2.c: Likewise.
6350         * soft-fp/negsf2.c: Likewise.
6351         * soft-fp/negtf2.c: Likewise.
6352         * soft-fp/op-1.h: Likewise.
6353         * soft-fp/op-2.h: Likewise.
6354         * soft-fp/op-4.h: Likewise.
6355         * soft-fp/op-8.h: Likewise.
6356         * soft-fp/op-common.h: Likewise.
6357         * soft-fp/quad.h: Likewise.
6358         * soft-fp/single.h: Likewise.
6359         * soft-fp/soft-fp.h: Likewise.
6360         * soft-fp/subdf3.c: Likewise.
6361         * soft-fp/subsf3.c: Likewise.
6362         * soft-fp/subtf3.c: Likewise.
6363         * soft-fp/truncdfsf2.c: Likewise.
6364         * soft-fp/trunctfdf2.c: Likewise.
6365         * soft-fp/trunctfsf2.c: Likewise.
6366         * soft-fp/trunctfxf2.c: Likewise.
6367         * soft-fp/unorddf2.c: Likewise.
6368         * soft-fp/unordsf2.c: Likewise.
6369         * soft-fp/unordtf2.c: Likewise.
6370         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6371         macro.
6372         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6373         Likewise.
6374         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6375         Likewise.
6376         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6377         Likewise.
6378         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6379         Likewise.
6380         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6381         Likewise.
6382         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6383         Likewise.
6384         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6385         Likewise.
6386         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6387         Likewise.
6388         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6389         Likewise.
6390         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6391         Likewise.
6392         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6393         Likewise.
6394         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6395         Likewise.
6396         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6397         Likewise.
6398         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6399         Likewise.
6400         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6401         Likewise.
6403 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6405         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6406         cannot be represented.
6407         * config/s390/32/_fixsfdi.c: Likewise.
6408         * config/s390/32/_fixtfdi.c: Likewise.
6409         * config/s390/32/_fixunsdfdi.c: Likewise.
6410         * config/s390/32/_fixunssfdi.c: Likewise.
6411         * config/s390/32/_fixunstfdi.c: Likewise.
6413 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
6415         * configure.ac (libgcc_cv_mips_hard_float): New.
6416         * configure: Regenerate.
6417         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6418         t-softfp-sfdf for hard-float targets.
6419         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6420         (softfp_float_modes, softfp_int_modes, softfp_extensions)
6421         (softfp_truncations, softfp_exclude_libgcc2): New.
6422         * config/t-hardfp: New file.
6423         * config/t-hardfp-sfdf: Likewise.
6424         * config/hardfp.c: Likewise.
6426 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6428         * config.host: Include t-floattodi also for s390x.
6429         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6430         * config/s390/32/_fixsfdi.c: Likewise.
6431         * config/s390/32/_fixtfdi.c: Likewise.
6432         * config/s390/32/_fixunsdfdi.c: Likewise.
6433         * config/s390/32/_fixunssfdi.c: Likewise.
6434         * config/s390/32/_fixunstfdi.c: Likewise.
6436 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6438         PR target/59788
6439         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6440         (install-libgcc-unwind-map-forbuild): New target.
6441         (all): Depend on install-libgcc-unwind-map-forbuild.
6442         (install-libgcc-unwind-map): New target.
6443         (install): Depend on install-libgcc-unwind-map.
6445 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
6447         * config/nios2/crti.S (_init): Initialize GOT pointer from
6448         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6450 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
6452         * configure.ac: Check __mips64 when setting host_address.
6453         * configure: Regenerate.
6454         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6455         mips/t-mips64 and t-softfp.
6456         (mips*-*-linux*): Don't add mips/t-tpbit.
6457         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6458         (DPBIT, DPBIT_CFLAGS): Delete.
6459         * config/mips/sfp-machine.h: New file.
6460         * config/mips/t-mips64: Likewise.
6461         * config/mips/t-softfp-tf: Likewise.
6462         * config/mips/t-tpbit: Delete.
6464 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6466         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6467         as long long.
6469 2014-01-25  Walter Lee  <walt@tilera.com>
6471         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
6472         config.h or system.h.
6473         (bool) Define.
6475 2014-01-25  Walter Lee  <walt@tilera.com>
6477         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6478         (post_atomic_barrier): Ditto.
6479         (__fetch_and_do): New macro.
6480         (__atomic_fetch_and_do): Use __fetch_and_do.
6481         (__sync_fetch_and_do): New macro.
6482         (__sync_fetch_and_add_4): New function.
6483         (__sync_fetch_and_sub_4): New function.
6484         (__sync_fetch_and_or_4): New function.
6485         (__sync_fetch_and_and_4): New function.
6486         (__sync_fetch_and_xor_4): New function.
6487         (__sync_fetch_and_nand_4): New function.
6488         (__sync_fetch_and_add_8): New function.
6489         (__sync_fetch_and_sub_8): New function.
6490         (__sync_fetch_and_or_8): New function.
6491         (__sync_fetch_and_and_8): New function.
6492         (__sync_fetch_and_xor_8): New function.
6493         (__sync_fetch_and_nand_8): New function.
6494         (__do_and_fetch): New macro.
6495         (__atomic_do_and_fetch): Use __do_and_fetch.
6496         (__sync_do_and_fetch): New macro.
6497         (__sync_add_and_fetch_4): New function.
6498         (__sync_sub_and_fetch_4): New function.
6499         (__sync_or_and_fetch_4): New function.
6500         (__sync_and_and_fetch_4): New function.
6501         (__sync_xor_and_fetch_4): New function.
6502         (__sync_nand_and_fetch_4): New function.
6503         (__sync_add_and_fetch_8): New function.
6504         (__sync_sub_and_fetch_8): New function.
6505         (__sync_or_and_fetch_8): New function.
6506         (__sync_and_and_fetch_8): New function.
6507         (__sync_xor_and_fetch_8): New function.
6508         (__sync_nand_and_fetch_8): New function.
6509         (__sync_exchange_methods): New macro.
6510         (__sync_val_compare_and_swap_4): New function.
6511         (__sync_bool_compare_and_swap_4): New function.
6512         (__sync_lock_test_and_test_4): New function.
6513         (__sync_val_compare_and_swap_8): New function.
6514         (__sync_bool_compare_and_swap_8): New function.
6515         (__sync_lock_test_and_test_8): New function.
6516         (__subword_cmpxchg_body): New macro.
6517         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6518         (__atomic_compare_exchange_2): Ditto.
6519         (__sync_subword_cmpxchg): New macro.
6520         (__sync_val_compare_and_swap_1): New function.
6521         (__sync_bool_compare_and_swap_1): New function.
6522         (__sync_val_compare_and_swap_2): New function.
6523         (__sync_bool_compare_and_swap_2): New function.
6524         (__atomic_subword): Rename to ...
6525         (__subword): ... New name.
6526         (__atomic_subword_fetch): Use __subword.
6527         (__sync_subword_fetch): New macro.
6528         (__sync_fetch_and_add_1): New function.
6529         (__sync_fetch_and_sub_1): New function.
6530         (__sync_fetch_and_or_1): New function.
6531         (__sync_fetch_and_and_1): New function.
6532         (__sync_fetch_and_xor_1): New function.
6533         (__sync_fetch_and_nand_1): New function.
6534         (__sync_fetch_and_add_2): New function.
6535         (__sync_fetch_and_sub_2): New function.
6536         (__sync_fetch_and_or_2): New function.
6537         (__sync_fetch_and_and_2): New function.
6538         (__sync_fetch_and_xor_2): New function.
6539         (__sync_fetch_and_nand_2): New function.
6540         (__sync_add_and_fetch_1): New function.
6541         (__sync_sub_and_fetch_1): New function.
6542         (__sync_or_and_fetch_1): New function.
6543         (__sync_and_and_fetch_1): New function.
6544         (__sync_xor_and_fetch_1): New function.
6545         (__sync_nand_and_fetch_1): New function.
6546         (__sync_add_and_fetch_2): New function.
6547         (__sync_sub_and_fetch_2): New function.
6548         (__sync_or_and_fetch_2): New function.
6549         (__sync_and_and_fetch_2): New function.
6550         (__sync_xor_and_fetch_2): New function.
6551         (__sync_nand_and_fetch_2): New function.
6552         (__atomic_subword_lock): Use __subword.
6553         (__sync_subword_lock): New macro.
6554         (__sync_lock_test_and_set_1): New function.
6555         (__sync_lock_test_and_set_2): New function.
6557 2014-01-25  Walter Lee  <walt@tilera.com>
6559         * config/tilepro/atomic.c (BIT_OFFSET): Define.
6560         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6561         (__atomic_subword): Ditto.
6563 2014-01-25  Walter Lee  <walt@tilera.com>
6565         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6566         a prefix op argument.
6567         (__atomic_nand_fetch_4): Add prefix op.
6568         (__atomic_nand_fetch_8): Ditto.
6570 2014-01-21  Baruch Siach  <barch@tkos.co.il>
6572         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6574 2014-01-09  Rong Xu  <xur@google.com>
6576         * libgcov-driver.c (this_prg): make it local to save
6577         bss space.
6578         (gcov_exit_compute_summary): Ditto.
6579         (gcov_exit_merge_gcda): Ditto.
6580         (gcov_exit_merge_summary): Ditto.
6581         (gcov_exit_dump_gcov): Ditto.
6583 2014-01-08  Rong Xu  <xur@google.com>
6585         * libgcov-driver.c: Use libgcov.h.
6586         (buffer_fn_data): Use xmalloc instead of malloc.
6587         (gcov_exit_merge_gcda): Ditto.
6588         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6589         * libgcov.h: New common header files for libgcov-*.h.
6590         * libgcov-interface.c: Use libgcov.h
6591         * libgcov-merge.c: Ditto.
6592         * libgcov-profiler.c: Ditto.
6593         * Makefile.in: Add dependence to libgcov.h
6595 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
6597         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6598         case of small numerator and finite nonzero result.
6600 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
6602         Update copyright years
6604 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
6606         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6607         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6608         config/arc/dp-hack.h, config/arc/fp-hack.h,
6609         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6610         config/arc/ieee-754/arc600-dsp/divdf3.S,
6611         config/arc/ieee-754/arc600-dsp/divsf3.S,
6612         config/arc/ieee-754/arc600-dsp/muldf3.S,
6613         config/arc/ieee-754/arc600-dsp/mulsf3.S,
6614         config/arc/ieee-754/arc600-mul64/divdf3.S,
6615         config/arc/ieee-754/arc600-mul64/divsf3.S,
6616         config/arc/ieee-754/arc600-mul64/muldf3.S,
6617         config/arc/ieee-754/arc600-mul64/mulsf3.S,
6618         config/arc/ieee-754/arc600/divsf3.S,
6619         config/arc/ieee-754/arc600/mulsf3.S,
6620         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6621         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6622         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6623         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6624         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6625         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6626         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6627         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6628         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6629         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6630         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6631         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6632         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6633         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6634         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6635         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6636         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6637         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6638         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6639         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6640         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6641         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6642         vtv_start_preinit.c: Use the standard form for the copyright notice.
6644 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
6645             Chung-Lin Tang  <cltang@codesourcery.com>
6646             Based on patches from Altera Corporation
6648         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6649         * config/nios2/lib2-nios2.h: New file.
6650         * config/nios2/lib2-divmod-hi.c: New file.
6651         * config/nios2/linux-unwind.h: New file.
6652         * config/nios2/lib2-divmod.c: New file.
6653         * config/nios2/linux-atomic.c: New file.
6654         * config/nios2/t-nios2: New file.
6655         * config/nios2/crti.asm: New file.
6656         * config/nios2/t-linux: New file.
6657         * config/nios2/lib2-divtable.c: New file.
6658         * config/nios2/lib2-mul.c: New file.
6659         * config/nios2/tramp.c: New file.
6660         * config/nios2/crtn.asm: New file.
6662 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
6664         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6665         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6666         from cpuid.h to check vendor signatures.
6668 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
6670         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6671         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6672         (get_amd_cpu): Likewise.
6674 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
6676         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6677         Haswell.
6679 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6680             H.J. Lu  <hongjiu.lu@intel.com>
6682         PR target/59422
6683         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
6684         and AMD_JAGUAR.
6685         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6686         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6687         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
6688         FEATURE_XOP and FEATURE_FMA.
6689         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6690         AMDFAM15H_BDVER3.
6691         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6692         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6693         FEATURE_FMA4 and FEATURE_XOP.
6695 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
6697         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6698         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6699         (get_intel_cpu): Updated.
6701 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
6703         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6705 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
6707         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6708         instructions when __SSE_MATH__ is defined.
6710 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
6712         * config.host (microblaze-*-rtems*): New.
6714 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
6716         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6717         architectures that do not have hardware divide instruction.
6718         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6720 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
6722         * longlong.h: Delete (moved to include/).
6724 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6726         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6727         of normal number and qNaN to not raise an inexact exception.
6729 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
6731         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6733 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
6735         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6736         for correct opcodes on BE.
6738 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
6740         * soft-fp/op-4.h: Update from glibc.
6742 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
6744         * libgcc2.c (__udivmoddi4): Define new implementation when
6745         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6746         divide instructions.
6748 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
6750         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6752 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6754         * config/t-softfp (soft-fp-objects-base): New variable.
6755         (soft-fp-objects): Use it.
6757 2013-11-23  David Edelson  <dje.gcc@gmail.com>
6758             Andrew Dixie  <andrewd@gentrack.com>
6760         PR target/33704
6761         * config/rs6000/aixinitfini.c: New file.
6762         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6763         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6764         symbols.
6766 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
6768         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6770 2013-11-18  Jan Hubicka  <jh@suse.cz>
6772         * libgcov-driver.c (run_accounted): Make global level static.
6773         (gcov_exit_merge_summary): Silence warning; do not clear
6774         run_accounted here.
6775         (gcov_exit): Clear it here.
6777         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6778         run_accounted.
6780         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6781         (all_prg, crc32): Remove static vars.
6782         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6783         all_prg.
6784         (gcov_exit_merge_gcda): Add crc32 parameter.
6785         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6786         do not account run if it was already accounted.
6787         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6788         (gcov_exit): Initialize all_prg; update.
6790 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
6792         * configure: Regenerate.
6794 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6795             Alan Modra  <amodra@gmail.com>
6797         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6798         (frob_update_context): Use it.
6800 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6801             Alan Modra  <amodra@gmail.com>
6803         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6804         (trampoline_initial): Provide ELFv2 variant.
6805         (__trampoline_setup): Likewise.
6807         * config/rs6000/linux-unwind.h (frob_update_context): Do not
6808         check for AIX indirect function call sequence if _CALL_ELF == 2.
6810 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6811             Alan Modra  <amodra@gmail.com>
6813         * config/rs6000/linux-unwind.h (get_regs): Do not support
6814         old kernel versions if _CALL_ELF == 2.
6815         (frob_update_context): Do not support PLT stub variants only
6816         generated by old linkers if _CALL_ELF == 2.
6818 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6819             Alan Modra  <amodra@gmail.com>
6821         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6822         location of CR save area for 64-bit little-endian systems.
6824 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
6826         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6827         in tmake_file.
6828         * config/arm/t-vxworks: Delete.
6830 2013-11-10  Kai Tietz  <ktietz@redhat.com>
6832         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6833         Increment load-count on use of LIBGCC_SONAME DLL.
6834         (hmod_libgcc): New static variable to hold handle of
6835         LIBGCC_SONAME DLL.
6836         (__gcc_deregister_frame): Decrement load-count of
6837         LIBGCC_SONAME DLL.
6839 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
6841         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6842         availability.
6843         * configure: Regenerate
6845 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
6847         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6848         FP_EX_DENORM.  Store result to volatile location after SSE division
6849         to close interrupt window.  Remove unneeded fwait after x87
6850         division since interrupt window will be closed by emitted fstp.
6851         Rewrite FP_EX_INEXACT handling.
6853 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
6855         * soft-fp/README: Update.
6856         * soft-fp/adddf3.c: Update from glibc.
6857         * soft-fp/addsf3.c: Likewise.
6858         * soft-fp/addtf3.c: Likewise.
6859         * soft-fp/divdf3.c: Likewise.
6860         * soft-fp/divsf3.c: Likewise.
6861         * soft-fp/divtf3.c: Likewise.
6862         * soft-fp/double.h: Likewise.
6863         * soft-fp/eqdf2.c: Likewise.
6864         * soft-fp/eqsf2.c: Likewise.
6865         * soft-fp/eqtf2.c: Likewise.
6866         * soft-fp/extenddftf2.c: Likewise.
6867         * soft-fp/extended.h: Likewise.
6868         * soft-fp/extendsfdf2.c: Likewise.
6869         * soft-fp/extendsftf2.c: Likewise.
6870         * soft-fp/extendxftf2.c: Likewise.
6871         * soft-fp/fixdfdi.c: Likewise.
6872         * soft-fp/fixdfsi.c: Likewise.
6873         * soft-fp/fixdfti.c: Likewise.
6874         * soft-fp/fixsfdi.c: Likewise.
6875         * soft-fp/fixsfsi.c: Likewise.
6876         * soft-fp/fixsfti.c: Likewise.
6877         * soft-fp/fixtfdi.c: Likewise.
6878         * soft-fp/fixtfsi.c: Likewise.
6879         * soft-fp/fixtfti.c: Likewise.
6880         * soft-fp/fixunsdfdi.c: Likewise.
6881         * soft-fp/fixunsdfsi.c: Likewise.
6882         * soft-fp/fixunsdfti.c: Likewise.
6883         * soft-fp/fixunssfdi.c: Likewise.
6884         * soft-fp/fixunssfsi.c: Likewise.
6885         * soft-fp/fixunssfti.c: Likewise.
6886         * soft-fp/fixunstfdi.c: Likewise.
6887         * soft-fp/fixunstfsi.c: Likewise.
6888         * soft-fp/fixunstfti.c: Likewise.
6889         * soft-fp/floatdidf.c: Likewise.
6890         * soft-fp/floatdisf.c: Likewise.
6891         * soft-fp/floatditf.c: Likewise.
6892         * soft-fp/floatsidf.c: Likewise.
6893         * soft-fp/floatsisf.c: Likewise.
6894         * soft-fp/floatsitf.c: Likewise.
6895         * soft-fp/floattidf.c: Likewise.
6896         * soft-fp/floattisf.c: Likewise.
6897         * soft-fp/floattitf.c: Likewise.
6898         * soft-fp/floatundidf.c: Likewise.
6899         * soft-fp/floatundisf.c: Likewise.
6900         * soft-fp/floatunditf.c: Likewise.
6901         * soft-fp/floatunsidf.c: Likewise.
6902         * soft-fp/floatunsisf.c: Likewise.
6903         * soft-fp/floatunsitf.c: Likewise.
6904         * soft-fp/floatuntidf.c: Likewise.
6905         * soft-fp/floatuntisf.c: Likewise.
6906         * soft-fp/floatuntitf.c: Likewise.
6907         * soft-fp/gedf2.c: Likewise.
6908         * soft-fp/gesf2.c: Likewise.
6909         * soft-fp/getf2.c: Likewise.
6910         * soft-fp/ledf2.c: Likewise.
6911         * soft-fp/lesf2.c: Likewise.
6912         * soft-fp/letf2.c: Likewise.
6913         * soft-fp/muldf3.c: Likewise.
6914         * soft-fp/mulsf3.c: Likewise.
6915         * soft-fp/multf3.c: Likewise.
6916         * soft-fp/negdf2.c: Likewise.
6917         * soft-fp/negsf2.c: Likewise.
6918         * soft-fp/negtf2.c: Likewise.
6919         * soft-fp/op-1.h: Likewise.
6920         * soft-fp/op-2.h: Likewise.
6921         * soft-fp/op-4.h: Likewise.
6922         * soft-fp/op-8.h: Likewise.
6923         * soft-fp/op-common.h: Likewise.
6924         * soft-fp/quad.h: Likewise.
6925         * soft-fp/single.h: Likewise.
6926         * soft-fp/soft-fp.h: Likewise.
6927         * soft-fp/subdf3.c: Likewise.
6928         * soft-fp/subsf3.c: Likewise.
6929         * soft-fp/subtf3.c: Likewise.
6930         * soft-fp/truncdfsf2.c: Likewise.
6931         * soft-fp/trunctfdf2.c: Likewise.
6932         * soft-fp/trunctfsf2.c: Likewise.
6933         * soft-fp/trunctfxf2.c: Likewise.
6934         * soft-fp/unorddf2.c: Likewise.
6935         * soft-fp/unordsf2.c: Likewise.
6936         * soft-fp/unordtf2.c: Likewise.
6938 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
6940         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6941         (_FP_MUL_MEAT_D): Ditto.
6942         (_FP_DIV_MEAT_S): Ditto.
6943         (_FP_DIV_MEAT_D): Ditto.
6944         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6945         t-softfp-sfdf and t-softfp to tmake_file.
6947 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
6949         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6950         * config/i386/crtprec.c: Ditto.
6952 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
6953             Shiva Chen  <shiva0217@gmail.com>
6955         * config.host (nds32*-elf*): Add nds32 target.
6956         * config/nds32 : New directory and files.
6958 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
6960         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
6961         * config.host (cpu_type) <Setting default>: Add entry for
6962         crisv32-*-*.
6963         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6964         <crisv32-*-linux*>: Adjust.
6965         * longlong.h: Wrap the whole CRIS section in a single
6966         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
6967         and sub_ddmmss.
6968         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6969         defined.
6970         [__CRIS__] (__umulsidi3): Define.
6971         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6972         * config/cris/sfp-machine.h: New file.
6973         * config/cris/umulsidi3.S: New file.
6974         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6975         * config/cris/arit.c (SIGNMULT): New macro.
6976         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6977         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6978         saving 3 out of originally 33 cycles from the fastest
6979         path, 3 out of 54 from the medium path and one from the longest
6980         path.  Improve comments.
6982 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
6984         * sync.c: Remove static aliases and define each function directly
6985         under its real name.
6987 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
6989         * config.host (hppa*64*-*-linux*): Define extra_parts.
6990         (hppa*-*-linux*): Likewise.
6992 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
6994         * config/arc/crtgend.S: Add 2013 to Copyright years.
6995         * config/arc/gmon/atomic.h: Likewise.
6996         * config/arc/gmon/auxreg.h: Likewise.
6997         * config/arc/gmon/sys/gmon_out.h: Likewise.
6998         * config/arc/gmon/sys/gmon.h: Likewise.
6999         * config/arc/gmon/prof-freq.c: Likewise.
7000         * config/arc/gmon/mcount.c: Likewise.
7001         * config/arc/gmon/prof-freq-stub.S: Likewise.
7002         * config/arc/gmon/gmon.c: Likewise.
7003         * config/arc/gmon/machine-gmon.h: Likewise.
7004         * config/arc/gmon/profil.S: Likewise.
7005         * config/arc/gmon/dcache_linesz.S: Likewise.
7006         * config/arc/crtg.S: Likewise.
7007         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7008         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7009         * config/arc/ieee-754/adddf3.S: Likewise.
7010         * config/arc/ieee-754/truncdfsf2.S: Likewise.
7011         * config/arc/ieee-754/fixsfsi.S: Likewise.
7012         * config/arc/ieee-754/gtsf2.S: Likewise.
7013         * config/arc/ieee-754/floatsisf.S: Likewise.
7014         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7015         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7016         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7017         * config/arc/ieee-754/fixdfsi.S: Likewise.
7018         * config/arc/ieee-754/addsf3.S: Likewise.
7019         * config/arc/ieee-754/gesf2.S: Likewise.
7020         * config/arc/ieee-754/floatsidf.S: Likewise.
7021         * config/arc/ieee-754/extendsfdf2.S: Likewise.
7022         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7023         * config/arc/ieee-754/gtdf2.S: Likewise.
7024         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7025         * config/arc/ieee-754/uneqdf2.S: Likewise.
7026         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7027         * config/arc/ieee-754/uneqsf2.S: Likewise.
7028         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7029         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7030         * config/arc/ieee-754/eqdf2.S: Likewise.
7031         * config/arc/ieee-754/ordsf2.S: Likewise.
7032         * config/arc/ieee-754/divsf3.S: Likewise.
7033         * config/arc/ieee-754/divdf3.S: Likewise.
7034         * config/arc/ieee-754/floatunsidf.S: Likewise.
7035         * config/arc/ieee-754/orddf2.S: Likewise.
7036         * config/arc/ieee-754/eqsf2.S: Likewise.
7037         * config/arc/ieee-754/gedf2.S: Likewise.
7038         * config/arc/crtn.S: Likewise.
7039         * config/arc/crti.S: Likewise.
7040         * config/arc/t-arc700-uClibc: Likewise.
7041         * config/arc/asm.h: Likewise.
7042         * config/arc/libgcc-excl.ver: Likewise.
7043         * config/arc/t-arc-newlib: Likewise.
7044         * config/arc/divtab-arc700.c: Likewise.
7045         * config/arc/initfini.c: Likewise.
7046         * config/arc/fp-hack.h: Likewise.
7048 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
7049             Diego Novillo  <dnovillo@google.com>
7051         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
7052         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7053         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7054         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
7056 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
7057             Brendan Kehoe  <brendan@zen.org>
7058             Simon Cook  <simon.cook@embecosm.com>
7060         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7061         * config/arc: New directory.
7062         * longlong.h [__arc__] (umul_ppmm): Remove.
7063         [__arc__] (__umulsidi3): Define.
7064         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7065         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7067 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
7069         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7070         CreateSemaphoreA.
7071         * config/i386/gthr-win32.h: Likewise.
7073 2013-09-16  DJ Delorie  <dj@redhat.com>
7075         * config/rl78/vregs.h: Add G10 register definitions.
7076         * config/rl78/lib2mul.c: Enable for RL78/G10.
7077         * config/rl78/lib2div.c: Likewise.
7078         * config/rl78/lshrsi3.S: Use vregs.h.
7079         * config/rl78/cmpsi2.S: Likewise.
7080         * config/rl78/trampoline.S: Likewise.
7081         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
7083 2013-09-14  DJ Delorie  <dj@redhat.com>
7084             Nick Clifton  <nickc@redhat.com>
7086         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7087         * config/rl78/vregs.h: New.
7088         * config/rl78/signbit.S: New file.  Implements signbit function.
7089         * config/rl78/divmodsi.S: New.
7090         * config/rl78/divmodhi.S: New.
7091         * config/rl78/divmodqi.S: New.
7092         * config/rl78/t-rl78: Build them here...
7093         * config/rl78/lib2div.c: ...but not here.
7095 2013-09-12  DJ Delorie  <dj@redhat.com>
7097         * config.host (msp*-*-elf): New.
7098         * config/msp430/: New port.
7100 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
7102         PR gcov-profile/58127
7103         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7104         __thread var for emulated TLS.
7105         (__gcov_indirect_call_counters): Likewise.
7107 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
7108             Catherine Moore  <clm@codesourcery.com>
7109             Richard Sandiford  <rdsandiford@googlemail.com>
7111         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7112         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7113         (CALL_STUB_NO_RET): Likewise.
7114         (CALL_STUB_RET): Likewise.
7115         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7116         __mips16_ret call/return stub symbols.
7117         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7118         to tmake_file.
7120 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
7122         * config.host <mips*-*-linux*>: Remove a stray comment.
7124 2013-08-10  Jan Hubicka  <jh@suse.cz>
7126         Work around binutils PR14342
7127         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7128         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7129         (L_gcov_indirect_call_profiler_v2): New.
7131 2013-08-06  Jan Hubicka  <jh@suse.cz>
7133         * libgcov.c (__gcov_indirect_call_callee,
7134         __gcov_indirect_call_counters): New global vars.
7135         (__gcov_indirect_call_profiler): replace by ...
7136         (__gcov_indirect_call_profiler_v2) ... this one.
7138 2013-08-06  Caroline Tice  <cmtice@google.com>
7140         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
7141         vtv_start_preinit.o and vtv_end_preinit.o.
7142         * configure.ac: Add code to check/set enable_vtable_verify.
7143         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
7144         true.
7145         * vtv_start_preinit.c: New file.
7146         * vtv_end_preinit.c: New file.
7147         * vtv_start.c: New file.
7148         * vtv_end.c: New file.
7149         * configure: Regenerated.
7151 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
7153         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7154         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7155         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7156         GPL-3.0-with-GCC-exception.
7158 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
7160         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7161         ISA and up.
7163 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7165         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7166         mapping for FPRs when creating the fallback framestate.
7168 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
7170         PR target/57516
7171         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7172         (__round_s2_const, __round_u2_const)
7173         (__round_s4_const, __round_u4_const, __round_x8):
7174         Saturate result if addition result cannot be represented.
7176 2013-07-15  Matthias Klose  <doko@ubuntu.com>
7178         * libgcc2.c: Don't include <limits.h>.
7180 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
7182         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7184 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
7186         PR target/29776
7187         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7189 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
7191         PR middle-end/36041
7192         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7193         Define.
7194         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7195         instead of table lookups.
7196         (__popcountDI2): Likewise.
7198 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
7200         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7201         correctly.
7203 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7205         PR other/53317
7206         * soft-fp/adddf3.c: Update from glibc.
7207         * soft-fp/addsf3.c: Likewise.
7208         * soft-fp/addtf3.c: Likewise.
7209         * soft-fp/divdf3.c: Likewise.
7210         * soft-fp/divsf3.c: Likewise.
7211         * soft-fp/divtf3.c: Likewise.
7212         * soft-fp/double.h: Likewise.
7213         * soft-fp/eqdf2.c: Likewise.
7214         * soft-fp/eqsf2.c: Likewise.
7215         * soft-fp/eqtf2.c: Likewise.
7216         * soft-fp/extenddftf2.c: Likewise.
7217         * soft-fp/extended.h: Likewise.
7218         * soft-fp/extendsfdf2.c: Likewise.
7219         * soft-fp/extendsftf2.c: Likewise.
7220         * soft-fp/fixdfdi.c: Likewise.
7221         * soft-fp/fixdfsi.c: Likewise.
7222         * soft-fp/fixsfdi.c: Likewise.
7223         * soft-fp/fixsfsi.c: Likewise.
7224         * soft-fp/fixtfdi.c: Likewise.
7225         * soft-fp/fixtfsi.c: Likewise.
7226         * soft-fp/fixunsdfdi.c: Likewise.
7227         * soft-fp/fixunsdfsi.c: Likewise.
7228         * soft-fp/fixunssfdi.c: Likewise.
7229         * soft-fp/fixunssfsi.c: Likewise.
7230         * soft-fp/fixunstfdi.c: Likewise.
7231         * soft-fp/fixunstfsi.c: Likewise.
7232         * soft-fp/floatdidf.c: Likewise.
7233         * soft-fp/floatdisf.c: Likewise.
7234         * soft-fp/floatditf.c: Likewise.
7235         * soft-fp/floatsidf.c: Likewise.
7236         * soft-fp/floatsisf.c: Likewise.
7237         * soft-fp/floatsitf.c: Likewise.
7238         * soft-fp/floatundidf.c: Likewise.
7239         * soft-fp/floatundisf.c: Likewise.
7240         * soft-fp/floatunditf.c: Likewise.
7241         * soft-fp/floatunsidf.c: Likewise.
7242         * soft-fp/floatunsisf.c: Likewise.
7243         * soft-fp/floatunsitf.c: Likewise.
7244         * soft-fp/gedf2.c: Likewise.
7245         * soft-fp/gesf2.c: Likewise.
7246         * soft-fp/getf2.c: Likewise.
7247         * soft-fp/ledf2.c: Likewise.
7248         * soft-fp/lesf2.c: Likewise.
7249         * soft-fp/letf2.c: Likewise.
7250         * soft-fp/muldf3.c: Likewise.
7251         * soft-fp/mulsf3.c: Likewise.
7252         * soft-fp/multf3.c: Likewise.
7253         * soft-fp/negdf2.c: Likewise.
7254         * soft-fp/negsf2.c: Likewise.
7255         * soft-fp/negtf2.c: Likewise.
7256         * soft-fp/op-1.h: Likewise.
7257         * soft-fp/op-2.h: Likewise.
7258         * soft-fp/op-4.h: Likewise.
7259         * soft-fp/op-8.h: Likewise.
7260         * soft-fp/op-common.h: Likewise.
7261         * soft-fp/quad.h: Likewise.
7262         * soft-fp/single.h: Likewise.
7263         * soft-fp/soft-fp.h: Likewise.
7264         * soft-fp/subdf3.c: Likewise.
7265         * soft-fp/subsf3.c: Likewise.
7266         * soft-fp/subtf3.c: Likewise.
7267         * soft-fp/truncdfsf2.c: Likewise.
7268         * soft-fp/trunctfdf2.c: Likewise.
7269         * soft-fp/trunctfsf2.c: Likewise.
7270         * soft-fp/unorddf2.c: Likewise.
7271         * soft-fp/unordsf2.c: Likewise.
7272         * soft-fp/unordtf2.c: Likewise.
7273         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7274         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7275         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7276         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7277         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7278         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7279         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7280         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7281         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7282         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7283         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7284         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7286 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
7288         * config/mips/lib2funcs.c: New file.
7289         * config/mips/t-mips (LIB2ADD_ST): Add it.
7291 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
7293         PR target/6526
7294         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7295         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
7297 2013-06-08  Walter Lee  <walt@tilera.com>
7299         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7300         Replace int64_t with long long.  Add __extension__ where
7301         appropriate.
7302         * config/tilepro/atomic.c: Include config.h.
7304 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
7306         * config.host (arm-wrs-vxworks): Configure with other soft float.
7308 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
7310         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7311         (mips64r5900el-*-elf*): New configurations.
7313 2013-06-04  Alan Modra  <amodra@gmail.com>
7315         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7317 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
7319         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7321 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
7323         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7324         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7325         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7327 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
7329         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7330         (powerpc-wrs-vxworks): Likewise.
7332 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
7334         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7335         signal frames as well.
7336         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7337         STACK_BIAS to the CFA offset.
7339 2013-05-17  Richard Henderson  <rth@redhat.com>
7341         PR target/49146
7342         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7343         (execute_cfa_program): Use it when storing to fs->regs.
7345 2013-05-08  Kai Tietz  <ktietz@redhat.com>
7347         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7348         (__deregister_frame_info): Likewise.
7350 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
7352         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7353         NaN's payload.
7355         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7357 2013-04-25  Alan Modra  <amodra@gmail.com>
7359         * config.host: Match little-endian powerpc-linux.
7361 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
7363         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7364         as 'unsigned long long' instead of 'unsigned long'.
7365         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7366         'signed long'.
7368 2013-04-10  Julian Brown  <julian@codesourcery.com>
7370         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7371         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7372         unsigned char/unsigned short.
7373         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7375 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7377         PR other/55274
7378         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7380 2013-04-04  Meador Inge  <meadori@codesourcery.com>
7382         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7383         computing the location of the link register.
7384         (aeabi_uldivmod): Ditto.
7386 2013-03-27  Kai Tietz  <ktietz@redhat.com>
7388         * config.host: Add support for cygwin x64 target.
7389         * configure: Regenerated.
7391 2013-03-26  Walter Lee  <walt@tilera.com>
7393         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7394         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7396 2013-03-25  Kai Tietz  <ktietz@redhat.com>
7398         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7400 2013-03-20  Robert Mason  <rbmj@verizon.net>
7402         * config/vxlib-tls.c (__gthread_get_tsd_data,)
7403         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7404         (__gthread_leave_tsd_dtor_context): Add prototypes.
7405         (tls_delete_hook): Update.
7407 2013-03-20  Catherine Moore  <clm@codesourcery.com>
7408             Joseph Myers  <joseph@codesourcery.com>
7409             Chao-ying Fu  <fu@mips.com>
7411         * config/mips/mips16.S:  Don't build for microMIPS.
7412         * config/mips/linux-unwind.h: Handle microMIPS frame.
7413         * config/mips/crtn.S (fini, init): New labels.
7415 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
7417         PR tree-optimization/53265
7418         * unwind-dw2.c (execute_cfa_program): Avoid
7419         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7420         on targets with DWARF_FRAME_REGISTERS < 32.
7422 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
7424         PR target/49880
7425         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7426         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7428 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
7430         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7431         sandybridge processors.
7433 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
7435         PR target/56529
7436         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7437         inclusion list.
7439 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7441         * config/microblaze/crti.S: Setup stack protection at entry
7443 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
7445         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7446         (__rotldi3): Shift bytewise if applicable.
7448 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
7450         * config/aarch64/sync-cache.c
7451         (__aarch64_sync_cache_range): Silence warnings.
7453 2013-02-25  Catherine Moore  <clm@codesourcery.com>
7455         Revert:
7456         2013-02-24  Catherine Moore  <clm@codesourcery.com>
7457             Joseph Myers  <joseph@codesourcery.com>
7458             Chao-ying Fu  <fu@mips.com>
7460         * config/mips/mips16.S:  Don't build for microMIPS.
7461         * config/mips/linux-unwind.h: Handle microMIPS frame.
7462         * config/mips/crtn.S (fini, init): New labels.
7464 2013-02-24  Catherine Moore  <clm@codesourcery.com>
7465             Joseph Myers  <joseph@codesourcery.com>
7466             Chao-ying Fu  <fu@mips.com>
7468         * config/mips/mips16.S:  Don't build for microMIPS.
7469         * config/mips/linux-unwind.h: Handle microMIPS frame.
7470         * config/mips/crtn.S (fini, init): New labels.
7472 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7473         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7474         as dividend.
7476 2013-02-16  Alan Modra  <amodra@gmail.com>
7478         PR target/55431
7479         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7480         (ppc_fallback_frame_state): Always set up save locations for fp
7481         and altivec.  Don't bother with non-callee-saved regs, r0-r13
7482         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7484 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
7486         PR target/54222
7487         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7488         _ssmulHA, _ssmulSA.
7489         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7490         _ssmulha3, _usmulusa3, _ssmulsa3.
7491         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7492         (__muldi3): XCALL __muldi3_6 instead of rcall.
7493         (__umulsidi3, __mulsidi3): New functions.
7494         (do_prologue_saves, do_epilogue_restores): New .macros.
7495         (__divdi3_moddi3): Use them.
7496         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7497         (__usmulusa3, __ssmulsa3): New functions.
7499 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
7500             Jack Howarth  <howarth@bromo.med.uc.edu>
7501             Patrick Marlier  <patrick.marlier@gmail.com>
7503         PR libitm/55693
7504         * config/darwin-crt-tm.c: Remove dummy functions hack.
7506 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
7508         PR target/54222
7509         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7510         * config/avr/lib2-object.mk: New iterator to build objects from it.
7511         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7512         lib2funcs.c.
7513         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7514         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7515         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7516         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7517         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7518         * config/avr/lib1funcs-fixed.S: Implement them.
7520 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
7522         Update copyright years.
7524 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
7526         PR target/54601
7527         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7528         Add crtcxa to extra_parts.
7529         * config/rs6000/exit.h: New file.
7530         * config/rs6000/cxa_atexit.c: New file.
7531         * config/rs6000/cxa_finalize.c: New file.
7532         * config/rs6000/crtcxa.c: New file.
7533         * config/rs6000/t-aix-cxa: New file.
7534         * config/rs6000/libgcc-aix-cxa.ver: New file.
7536 2013-01-31  Nick Clifton  <nickc@redhat.com>
7538         * config/v850/lib1funcs.S: Add support for e3v5 architecture
7539         variant.
7541 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
7543         PR target/54222
7544         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7545         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
7546         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7547         _divQQ,  _divHQ,  _divHA,  _divSA,
7548         _divUQQ, _divUHQ, _divUHA, _divUSA.
7550 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
7552         * config.host(microblaze*-linux*): tmake_file: Remove
7553         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7554         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7555         to exclude functions from being built with libgcc.c and use
7556         the microblaze assembly.
7558 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7560         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7561         extra_parts.
7563 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
7565         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7566         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7567         __UINTPTR_TYPE__; also cast 'base' to the same type before the
7568         alignment operation.
7570 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
7572         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7573         loop start address for cache clearing.
7575 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7577         * config/avr/lib1funcs.S: Remove trailing blanks.
7578         * config/avr/lib1funcs-fixed.S: Ditto.
7580 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7582         * config/avr/avr-lib.h: Add GPL copyright notice.
7584 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7586         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7587         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7588         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7589         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7591 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
7593         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7594         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7596 2013-01-04  Nick Clifton  <nickc@redhat.com>
7598         * config/v850/lib1funcs.S: Only provide CALLT support functions if
7599         the CALLT instruction is supported.
7601 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
7603         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7604         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7606 2012-12-13  John Tytgat  <John@bass-software.com>
7608         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7609         is 25.
7611 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
7613         PR libgcc/55451
7614         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7615         undefined signed overflows.
7617 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
7619         PR target/55344
7620         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7622 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
7624         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7625         (FP_TRAPPING_EXCEPTIONS): Define.
7626         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7627         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7629 2012-12-04  Richard Henderson  <rth@redhat.com>
7631         PR bootstrap/55571
7632         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7634 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7636         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7637         (FP_EX_SHIFT): Define.
7638         (FP_TRAPPING_EXCEPTIONS): Define.
7640 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7642         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7643         (FP_ROUNDMODE): Use FP_RND_MASK.
7644         * config/aarch64/sfp-exceptions.c: New.
7645         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7646         Use __sfp_handle_exceptions.
7648 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
7650         * config.host: (arm*-*-freebsd*): Remove.
7651         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7652         (arm*-*-elf*): Remove.
7653         (arm*-*-wince-pe*): Remove.
7654         * arm/unwind-arm.c (struct fpa_reg): Delete.
7655         (struct fpa_regs): Delete.
7656         (phase1_vrs): Remove fpa element.
7657         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7658         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7659         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7660         * ieee754-sf.S (floatundisf): Remove FPA support.
7661         (floatdisf): Likewise.
7662         * ieee75f-df.S (floatundidf): Likewise.
7663         (floatdidf): Likewise.
7665 2012-11-29  Kai Tietz  <ktietz@redhat.com>
7667         PR target/55445
7668         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7669         * unwind-generic.h: Likewise.
7670         * unwind-seh.c: Likewise.
7672 2012-11-28  Richard Henderson  <rth@redhat.com>
7674         PR libgcc/48076
7675         * emutls.c (__emutls_get_address): Avoid race condition between
7676         obj->loc.offset read and emutls_key initialization.
7678 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
7680         Adjust decimal point of signed accum mode to GCC default.
7682         PR target/54222
7683         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7684         _divqq_helper.
7685         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7686         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7687         (__mulha3, __mulsa3)
7688         (__divqq3, __divha3, __divsa3): Adjust to new position of
7689         decimal point of signed accum types.
7691         (__mulusa3_round): New function.
7692         (__mulusa3): Use it.
7693         (__divqq_helper): New function.
7694         (__udivuqq3): Use it.
7696 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
7698         PR bootstrap/55370
7699         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7701 2012-11-18  Teresa Johnson  <tejohnson@google.com>
7703         PR bootstrap/55051
7704         * libgcov.c (gcov_exit): Remove merged program summary
7705         comparison unless !GCOV_LOCKED.
7707 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7709         * soft-fp: Updated from glibc upstream.
7711 2012-11-06  Ian Lance Taylor  <iant@google.com>
7713         * generic-morestack.c (__generic_morestack): Align the returned
7714         stack pointer to a 32 byte boundary.
7715         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7716         increment the return address until we have decided that we don't
7717         have a varargs function.
7718         (__morestack) [32-bit]: Align stack correctly when calling C
7719         functions.
7720         (__morestack) [64-bit]: Likewise.
7722 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
7724         * configure: Regenerate.
7726 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
7728         PR target/55175
7729         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7730         * config/i386/sfp-machine.h: Guard exception handling
7731         code with _SOFT_FLOAT.
7732         * config/i386/32/sfp-machine.h: Guard rounding handling
7733         code with _SOFT_FLOAT.
7734         * config/i386/64/sfp-machine.h: Ditto.
7736 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
7738         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7739         as extra_parts.
7741 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
7743         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7744         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
7745         when appropriate.  Correct structure element types.
7746         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7747         -minline-all-stringops from compile flags.
7749 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
7751         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7753 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
7755         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7757 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7759         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7760         tmake_file.
7762 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
7763             Jim MacArthur  <jim.macarthur@arm.com>
7764             Marcus Shawcroft  <marcus.shawcroft@arm.com>
7765             Nigel Stephens  <nigel.stephens@arm.com>
7766             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
7767             Richard Earnshaw  <rearnsha@arm.com>
7768             Sofiane Naci  <sofiane.naci@arm.com>
7769             Stephen Thomas  <stephen.thomas@arm.com>
7770             Tejas Belagod  <tejas.belagod@arm.com>
7771             Yufeng Zhang  <yufeng.zhang@arm.com>
7773         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7774         * config/aarch64/crti.S: New file.
7775         * config/aarch64/crtn.S: New file.
7776         * config/aarch64/linux-unwind.h: New file.
7777         * config/aarch64/sfp-machine.h: New file.
7778         * config/aarch64/sync-cache.c: New file.
7779         * config/aarch64/t-aarch64: New file.
7780         * config/aarch64/t-softfp: New file.
7782 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
7784         * config/mmix/crti.S: Mark program and data addresses using PRELD.
7785         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
7786         no-longer-needed LDBU insns.
7788 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7790         * config.host
7791         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7792         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7794 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
7796         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7798 2012-10-15  Matthias Klose  <doko@ubuntu.com>
7800         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7802 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
7804         * configure: Regenerate.
7805         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7807 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
7809         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7810         instructions for 64bit targets only.
7812 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
7814         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7815         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7816         * config/i386/32/sfp-machine.h: ... here.
7817         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7818         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7819         New defines.
7821 2012-10-07  Matthias Klose  <doko@ubuntu.com>
7823         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7824         as unused.
7825         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7827 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
7829         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7830         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7831         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7832         (ElfW): Likewise.
7834 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
7836         PR other/53889
7837         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7838         Fix parameter names.
7840 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
7842         PR target/33135
7843         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7844         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7845         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7847 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
7849         PR target/50457
7850         * config/sh/linux-atomic.S: Delete.
7851         * config/sh/linux-atomic.c: New.
7852         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7853         linux-atomic.c.  Add cflags to disable warnings.
7855 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
7857         PR other/53889
7858         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7859         function.
7860         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7861         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7862         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7863         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7864         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7865         Likewise.
7866         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7867         Likewise.
7868         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7869         Likewise.
7870         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7871         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7873 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
7875         * config.host (hppa-*-openbsd*): New target.
7876         * config/pa/t-openbsd: New file.
7878 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
7880         PR target/54222
7881         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7882         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7883         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7884         (__divsa3): Use __negsi2 to negate r_quoL.
7885         * config/avr/lib1funcs.S (FALIAS): New macro.
7886         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7887         (__negsi2): ...this new function.
7888         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7889         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7890         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7891         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7892         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7893         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7895 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
7897         PR target/54089
7898         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7899         (lshrsi3): Reimplement as lshrsi3_r0.
7901 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
7903         PR target/46191
7904         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7905         of libgcc.a.
7907 2012-09-07  Teresa Johnson  <tejohnson@google.com>
7909         PR gcov-profile/54487
7910         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7911         differences.
7913 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
7915         PR target/54461
7916         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7917         not configured --with-avrlibc=no.
7918         * config/avr/t-avrlibc: New file.
7919         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7920         (DPBIT_FUNCS): Ditto.
7921         (TPBIT_FUNCS): Ditto.
7923 2012-09-04  Teresa Johnson  <tejohnson@google.com>
7925         * libgcov.c (struct gcov_summary_buffer): New structure.
7926         (gcov_histogram_insert): New function.
7927         (gcov_compute_histogram): Ditto.
7928         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7929         histograms during summary merging.
7931 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
7933         * config.host (x86_64-*-openbsd*): New target.
7935 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
7937         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7938         attribute.
7940 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7942         PR target/54222
7943         * config/avr/t-avr (conv_X): Rename to func_X.
7945 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7947         PR target/54222
7948         * config/avr/lib1funcs-fixed.S: New file.
7949         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
7950         after they are used.
7951         (neg2, neg4): New macros.
7952         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7953         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7954         (__umulhisi3): Speed up MUL variant if there is enough flash.
7955         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7956         avr-modes.def.
7957         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7958         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7959         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7960         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7961         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7962         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7963         (LIB2FUNCS_EXCLUDE): Add supported functions.
7965 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
7967         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7968         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7969         libgcc-s-objects.
7970         * fixed-obj.mk: Only expand dependency if $o is not in
7971         LIB2FUNCS_EXCLUDE.
7973 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
7975         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7977 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
7979         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7980         depend on --enable-shared.
7981         ($(lib1asmfuncs-o)): Use %.vis files independent of
7982         --enable-shared.
7983         * static-object.mk ($(base)$(objext), $(base).vis)
7984         ($(base)_s$(objext)): Use same rules for visibility handling as in
7985         shared-object.mk.
7987 2012-08-21  Ian Lance Taylor  <iant@google.com>
7989         * config/i386/morestack.S (__morestack_non_split): Increase amount
7990         of space allocated for non-split code stack.
7992 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
7994         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7995         even if inhibit_libc.
7997 2012-08-17  Julian Brown  <julian@codesourcery.com>
7999         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8000         -fexceptions -fnon-call-exceptions if not defined.
8001         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8002         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8004 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
8006         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8007         type.
8009 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
8011         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8012         rs6000/t-slibgcc-aix.
8014 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
8016         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8018 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
8020         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8022 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
8024         PR driver/54171
8025         * Makefile.in (version): Replace top_srcdir with srcdir.
8027 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
8029         * Makefile.in (version): set to BASE-VER file from gcc directory.
8031 2012-08-01  Nick Clifton  <nickc@redhat.com>
8033         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8034         Implements __clrsb for an HImode argument.
8036 2012-07-31  Nick Clifton  <nickc@redhat.com>
8038         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8039         Implements __clrsb for an HImode argument.
8040         * config/stormy16/clrsbhi2.c: New file:
8041         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8043 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
8045         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8047 2012-07-19  Tristan Gingold  <gingold@adacore.com>
8048             Richard Henderson  <rth@redhat.com>
8050         * unwind-seh.c: New file.
8051         * unwind-generic.h: Include windows.h for SEH.
8052         (_Unwind_Exception): Use 6 private fields for SEH.
8053         (_GCC_specific_handler): Declare.
8054         * unwind-c.c (__gcc_personality_seh0): New function.
8055         Adjust for SEH.
8056         * config/i386/libgcc-cygming.ver: New file.
8057         * config/i386/t-seh-eh: New file.
8058         * config.host (x86_64-*-mingw*): Default to seh.
8060 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
8062         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8064 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
8066         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8067         __builtin_expect when checking for exceptions.
8068         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8070 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
8072         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8073         function declaration.
8074         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8075         (FP_RND_MASK): New.
8076         * config/ia64/sfp-exceptions.c: New.
8077         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
8079 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
8081         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8082         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8083         * config/i386/64/sfp-machine: ... (delete here) ...
8084         * config/i386/sfp-machine.h: ... to here.
8085         (FP_EX_MASK): Remove.
8086         (FP_RND_MASK): New.
8087         (FP_INIT_ROUNDMODE): Declare asm as volatile.
8089 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
8091         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8092         * config/i386/libgcc-sol2.ver: Ditto.
8093         * config/i386/libgcc-glibc.ver: Ditto.
8095 2012-06-11  Roland McGrath  <mcgrathr@google.com>
8097         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8098         If __GLIBC__ is defined, refer to __pthread_key_create instead of
8099         pthread_cancel.
8101 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
8103         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8104         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8105         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8106         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8107         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8108         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8109         * config/i386/64/sfp-machine: ... (delete here) ...
8110         * config/i386/sfp-machine.h: ... to here.
8111         (FP_EX_MASK): New.
8112         (__sfp_handle_exceptions): New function declaration.
8113         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8114         * config/i386/sfp-exceptions.c: New.
8115         * config/i386/t-softfp: New.
8116         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8117         i386/t-softfp to tmake_file.
8119 2012-06-03  David S. Miller  <davem@davemloft.net>
8121         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8122         change.
8124 2012-05-31  David S. Miller  <davem@davemloft.net>
8126         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8127         multiply and divide instructions on 32-bit when V9.
8128         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8130 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
8132         * config/arm/ieee754-df.S: Fix typos.
8133         * config/arm/ieee754-sf.S: Fix typos.
8134         * config/c6x/libunwind.S: Fix typos.
8135         * config/epiphany/udivsi3-float.c: Fix typos.
8136         * config/microblaze/muldi3_hard.S: Fix typos.
8137         * config/picochip/adddi3.S: Fix typos.
8138         * config/picochip/ashlsi3.S: Fix typos.
8139         * config/picochip/ashrsi3.S: Fix typos.
8140         * config/picochip/clzsi2.S: Fix typos.
8141         * config/picochip/cmpsi2.S: Fix typos.
8142         * config/picochip/divmod15.S: Fix typos.
8143         * config/picochip/divmodhi4.S: Fix typos.
8144         * config/picochip/divmodsi4.S: Fix typos.
8145         * config/picochip/longjmp.S: Fix typos.
8146         * config/picochip/lshrsi3.S: Fix typos.
8147         * config/picochip/parityhi2.S: Fix typos.
8148         * config/picochip/popcounthi2.S: Fix typos.
8149         * config/picochip/setjmp.S: Fix typos.
8150         * config/picochip/subdi3.S: Fix typos.
8151         * config/picochip/ucmpsi2.S: Fix typos.
8152         * config/picochip/udivmodhi4.S: Fix typos.
8153         * config/picochip/udivmodsi4.S: Fix typos.
8154         * config/spu/divv2df3.c: Fix typos.
8155         * config/spu/mfc_multi_tag_release.c: Fix typos.
8156         * config/spu/mfc_tag_release.c: Fix typos.
8157         * configure.ac: Fix typos.
8158         * configure: Regenerate.
8160 2012-05-25  Ian Lance Taylor  <iant@google.com>
8162         * config/i386/morestack.S (__morestack_non_split): Check whether
8163         caller is varargs and needs %bp to hold the stack frame on return.
8165 2012-05-25  Olivier Hainque  <hainque@adacore.com>
8167         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8168         sequence in the non pic case on VxWorks.
8170 2012-05-24  Olivier Hainque  <hainque@adacore.com>
8172         * Makefile.in: Move dependency on install-unwind_h from
8173         "install-leaf" to "install".
8175 2012-05-24  Olivier Hainque  <hainque@adacore.com>
8177         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8178         Use a separate command for stamp removals.
8180 2012-05-21  Andrew Pinski  <apinski@cavium.com>
8182         PR bootstrap/53183
8183         * configure.ac: Define the default includes to being none.
8184         * configure: Regenerate.
8186 2012-05-16  Olivier Hainque  <hainque@adacore.com>
8188         * Makefile.in (install-unwind_h): Rename into ...
8189         (install-unwind_h-forbuild): New target.
8190         (all): Use it instead of the former install-unwind_h.
8191         (install-unwind_h): Reinstate, copy to user install destination
8192         for include files, not to the internal gcc object directory one.
8193         (install-leaf): Depend on it.
8195 2012-05-15  Olivier Hainque  <hainque@adacore.com>
8197         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8198         register numbers. LR_REGNO replaces R_LR.
8199         (ucontext_for): New, helper for ...
8200         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8201         and 5.3 of ...
8202         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8204 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8206         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8207         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8208         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8209         i386/t-cpuinfo ...
8210         (i[34567]86-*-*, x86_64-*-*): ... here.
8212         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8213         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8215         * config/i386/i386-cpuinfo.c: Rename to ...
8216         * config/i386/cpuinfo.c: ... this.
8217         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8219         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8220         (libgcc_cv_init_priority): New test.
8221         * configure: Regenerate.
8222         * config.in: New file.
8223         * Makefile.in (clean): Rename config.h to auto-target.h.
8224         (config.h): Likewise.
8225         (stamp-h): Likewise.
8227         * config/i386/cpuinfo.c (auto-target.h): Include.
8228         (CONSTRUCTOR_PRIORITY): Define.
8229         (__cpu_indicator_init): Use it.
8231 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
8233         * longlong.h: Use a URL instead of an FSF postal address.
8234         Replace spaces with tab.
8236 2012-05-08  Teresa Johnson  <tejohnson@google.com>
8238         * libgcov.c (gcov_clear, __gcov_reset): New functions.
8239         (__gcov_dump): Ditto.
8240         (gcov_dump_complete): New global variable.
8241         (gcov_exit): Export hidden to enable use in L_gcov_dump.
8242         (__gcov_flush): Outline functionality now in gcov_clear.
8243         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8245 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
8247         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8248         (mips*-*-linux*): Include mips/t-tpbit when long double is
8249         16 bytes long.
8251 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
8253         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8254         (get_available_features): New argument. Check for AVX2.
8255         (__cpu_indicator_init): Modify call to get_available_features.
8257 2012-04-25  Alan Modra  <amodra@gmail.com>
8259         * config/rs6000/crtsavevr.S: New file.
8260         * config/rs6000/crtrestvr.S: New file.
8261         * config/rs6000/t-savresfgpr: Build the above.
8262         * config/rs6000/t-netbsd: Likewise.
8264 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
8266         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8268 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
8270         * libgcc/config/i386/i386-cpuinfo.c: New file.
8271         * libgcc/config/i386/t-cpuinfo: New file.
8272         * libgcc/config.host: Include t-cpuinfo.
8273         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8275 2012-04-24  Chao-ying Fu  <fu@mips.com>
8277         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8279 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
8281         struct siginfo vs. siginfo_t
8283         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8284         siginfo_t instead of struct siginfo.
8285         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8286         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8287         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8288         (ia64_handle_unwabi): Likewise.
8289         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8290         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8291         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8292         (sh_fallback_frame_state): Likewise.
8293         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8294         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8296 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
8298         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8299         system call number.
8301 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
8303         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8304         if it hasn't been previously saved.
8306 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
8308         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8309         only for glibc.
8311 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
8313         PR target/52737
8314         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8315         instead of __AVR_HAVE_8BIT_SP__.
8317 2012-03-26  Tristan Gingold  <gingold@adacore.com>
8319         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8320         (unw_table_entry): Use unw_word instead of unsigned long.
8321         (_Unwind_FindTableEntry): Likewise.
8322         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8323         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8324         (_Unwind_FindTableEntry): Likewise.
8325         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8326         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8327         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8328         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8329         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8330         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8331         (uw_init_context_1, uw_install_context): Likewise.
8332         (unw_word): Move to unwind-ia64.h
8334 2012-03-26  Tristan Gingold  <gingold@adacore.com>
8336         * config/vms/vms-ucrt0.c: Update copyright years.
8337         Add a sanity check.
8338         (___gcc_main_flags): Declare.
8339         (__main): Check flags to remap argv and exit code.
8340         * config.host (*-*-*vms*): Adjust extra_parts.
8341         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8342         (crt0.o): Add.
8344 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
8346         * arm/lib1funcs.asm (ctzsi2): New function.
8347         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8348         * arm/t-linux (LIB1ASMFUNCS): Likewise.
8349         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8350         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8351         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8352         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8354 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
8356         * config.host: Add bits to support powerpc64-*-freebsd*.
8357         * config/rs6000/freebsd-unwind.h: New file.
8358         * config/rs6000/t-freebsd64: New file.
8360 2012-03-20  Richard Guenther  <rguenther@suse.de>
8362         PR gcov-profile/52627
8363         * libgcov.c (init_mx): Fix mutex name.
8365 2012-03-16  Tristan Gingold  <gingold@adacore.com>
8367         * config/ia64/vms-unwind.h: Remove ulong (and replace
8368         it by unw_reg where used).  Define unw_reg with __int64.
8370 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8372         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8373         Solaris 8 handling.
8374         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8375         Solaris 8 handling.
8376         (sparc_is_sighandler): Likewise.
8378 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
8380         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8381         <= saved reg size.
8383 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8385         * config/arm/crtn.S: Fix typo.
8387 2012-03-13  Richard Guenther  <rguenther@suse.de>
8389         * libgcov.c: Remove stdio.h include and NULL un-define.
8391 2012-03-13  Richard Guenther  <rguenther@suse.de>
8393         PR target/52569
8394         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8396 2012-03-13  Richard Guenther  <rguenther@suse.de>
8398         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8400 2012-03-13  Richard Guenther  <rguenther@suse.de>
8402         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8403         and __gthread_mutex_init_function definitions.
8405 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8407         * config.host (mips*-*-openbsd*): Remove.
8409 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8411         * config.host: Remove alpha*-dec-osf5.1* handling.
8412         * config/alpha/gthr-posix.c: Remove.
8413         * config/alpha/libgcc-osf5.ver: Remove.
8414         * config/alpha/osf5-unwind.h: Remove.
8415         * config/alpha/t-osf-pthread: Remove.
8416         * config/alpha/t-slibgcc-osf: Remove.
8417         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8418         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8419         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8420         * mkmap-flat.awk: Remove osf_export handling.
8422 2012-03-12  Richard Guenther  <rguenther@suse.de>
8424         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8425         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8426         (__gthread_mutex_init_function): New function.
8427         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8429         PR gcov/49484
8430         * libgcov.c: Include gthr.h.
8431         (__gcov_flush_mx): New global variable.
8432         (init_mx, init_mx_once): New functions.
8433         (__gcov_flush): Protect self with a mutex.
8434         (__gcov_fork): Re-initialize mutex after forking.
8435         * unwind-dw2-fde.c: Change condition under which to use
8436         __GTHREAD_MUTEX_INIT_FUNCTION.
8438 2012-03-12  Tristan Gingold  <gingold@adacore.com>
8440         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8441         * config/ia64/t-vms: Likewise.
8443 2012-03-11  Michael Hope  <michael.hope@linaro.org>
8445         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8446         for Thumb-2.
8448 2012-03-07  Walter Lee  <walt@tilera.com>
8450         * config/tilepro/atomic.c: Rename "atomic_" prefix to
8451         "arch_atomic_".
8452         (atomic_xor): Rename and move definition to
8453         config/tilepro/atomic.h.
8454         (atomic_nand): Ditto.
8455         * config/tilepro/atomic.h: Rename "atomic_" prefix to
8456         "arch_atomic_".
8457         (arch_atomic_xor): Move from config/tilepro/atomic.c.
8458         (arch_atomic_nand): Ditto.
8460 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8462         PR target/52507
8463         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8465 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8467         PR target/52505
8468         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8469         from RAM.
8471 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8473         PR target/52461
8474         PR target/52508
8475         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8476         if RAMPZ affects reading from RAM.
8477         (__tablejump_elpm__): Ditto.
8478         (.xload): Ditto.
8479         (__movmemx_hi): Ditto.
8480         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8481         (__do_global_dtors): Ditto.
8482         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8483         (__movmemx_hi): Ditto.
8485 2012-03-05  Richard Henderson  <rth@redhat.com>
8487         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8488         [ARM] (count_trailing_zeros): Use the builtin.
8490 2012-03-01  Kai Tietz  <ktietz@redhat.com>
8492         * soft-fp: Imported from glibc upstream.
8494 2012-02-28  Kai Tietz  <ktietz@redhat.com>
8496         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8497         for mingw-targets as attribute gcc_struct.
8499 2012-02-28  Ian Lance Taylor  <iant@google.com>
8501         * generic-morestack.c (__splitstack_releasecontext): Correct call
8502         to __morestack_release_segments.
8504 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8506         PR target/52390
8507         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8508         for __linux__ when removing signals from __morestack_fullmask.
8510 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
8512         PR target/52261
8513         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8515 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8517         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8518         instead of HAVE_INITFINI_ARRAY.
8519         * config/ia64/crtend.S: Likewise.
8521 2012-02-20  Kai Tietz  <ktietz@redhat.com>
8523         PR libstdc++/52300
8524         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8526         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8527         to w32-unwind.h header.
8529 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8531         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8532         (mips*-*-linux*): Remove t-slibgcc-libgcc.
8533         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8534         * config/mips/mips16.S (__mips16_rdhwr): Delete.
8536 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8538         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8540 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8542         PR libitm/52220
8543         * config/darwin-crt-tm.c: Correct typo.
8545 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8546             Patrick Marlier  <patrick.marlier@gmail.com>
8548         PR libitm/52220
8549         * config/darwin-crt-tm.c: Generate dummy functions.
8551 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8552             Patrick Marlier  <patrick.marlier@gmail.com>
8554         PR libitm/52042
8555         * config/darwin-crt-tm.c (getTMCloneTable): New function.
8556         (__doTMRegistrations): Call it.
8557         (__doTMdeRegistrations): Likewise.
8559 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
8560             Anatoly Sokolov  <aesok@post.ru>
8561             Eric Weddington  <eric.weddington@atmel.com>
8563         PR target/52261
8564         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8565         (__epilogue_restores__): Ditto.
8567 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
8569         PR target/51921
8570         PR target/52205
8571         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8572         Solaris 11 and slightly reformat.
8573         (sparc_is_sighandler): Likewise.
8575 2012-02-14  Walter Lee  <walt@tilera.com>
8577         * config.host: Handle tilegx and tilepro.
8578         * config/tilegx/sfp-machine.h: New file.
8579         * config/tilegx/sfp-machine32.h: New file.
8580         * config/tilegx/sfp-machine64.h: New file.
8581         * config/tilegx/t-crtstuff: New file.
8582         * config/tilegx/t-softfp: New file.
8583         * config/tilegx/t-tilegx: New file.
8584         * config/tilepro/atomic.c: New file.
8585         * config/tilepro/atomic.h: New file.
8586         * config/tilepro/linux-unwind.h: New file.
8587         * config/tilepro/sfp-machine.h: New file.
8588         * config/tilepro/softdivide.c: New file.
8589         * config/tilepro/softmpy.S: New file.
8590         * config/tilepro/t-crtstuff: New file.
8591         * config/tilepro/t-tilepro: New file.
8593 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
8595         PR libstdc++/51296
8596         PR libstdc++/51906
8597         * gthr-posix.h: Allow static initializer macros to be disabled.
8598         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8600 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8602         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8603         Add t-slibgcc-libgcc to tmake_file.
8604         * config/mips/libgcc-mips16.ver: Revert previous patch.
8605         * config/mips/mips16.S (__mips16_rdhwr): Hide.
8607 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
8608             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
8610         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8611         * config/cr16/crti.S: New file.
8612         * config/cr16/crtlibid.S: New file.
8613         * config/cr16/crtn.S: New file.
8614         * config/cr16/lib1funcs.S: New file.
8615         * config/cr16/t-cr16: New file.
8616         * config/cr16/t-crtlibid: New file.
8617         * config/cr16/unwind-dw2.h: New file.
8618         * config/cr16/unwind-cr16.c: New file.
8619         * config/cr16/divmodhi3.c: New file.
8621 2012-01-25  Alan Modra  <amodra@gmail.com>
8623         * config/rs6000/t-linux64: Delete.  Move..
8624         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8625         * config/rs6000/t-linux: ..and libgcc flags to here.
8627 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
8629         * config.host (i[34567]86-*-interix3*):
8630         Change triplet to i[34567]86-*-interix[3-9]*.
8631         * configure: Regenerate.
8633 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
8634             Richard Sandiford  <rdsandiford@googlemail.com>
8636         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8637         * config/mips/mips16.S (__mips16_rdhwr): New function.
8638         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8640 2012-01-11  Nathan Sidwell  <nathan@acm.org>
8642         * libgcov.c (__gcov_init): Ignore objects with no functions.
8644 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
8646         PR target/49868
8647         Extend __pgmx semantics to linearize memory.
8648         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8649         * config/avr/lib1funcs.S (__xload_1): New function.
8650         (__movmemx_qi, __movmemx_hi): New functions.
8651         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8652         semantics.
8654 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
8656         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8657         purported sigacthandler address isn't null before dereferencing it.
8658         (sparc_is_sighandler): Likewise.
8660 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
8662         PR ada/41929
8663         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8664         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
8665         (sparc_is_sighandler): Likewise.
8666         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8668 2012-01-06  Tristan Gingold  <gingold@adacore.com>
8670         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8671         compatibility thunks...
8672         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8673         (crtbeginS.o, crtendS.o): ... and these to ...
8674         * config/ia64/t-ia64-elf: ... this new file.
8675         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8676         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8678 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8680         * configure: Regenerate.
8681         * config/s390/t-crtstuff: Remove -fPIC.
8683 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
8685         PR bootstrap/51006
8686         * enable-execute-stack-mprotect.c (getpagesize): Do not define
8687         for NetBSD.
8689 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
8691         PR target/51345
8692         * config/avr/lib1funcs.S: Remove FIXME comments.
8693         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8695 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
8697         Implement light-weight DImode support.
8698         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8699         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8700         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8701         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8703 2011-12-30  Nathan Sidwell  <nathan@acm.org>
8705         * libgcov.c (gcov_crc32): Remove global var.
8706         (free_fn_data): New function.
8707         (buffer_fn_data): Pass in filename, more robust error recovery.
8708         (crc32_unsigned): New function.
8709         (gcov_exit): More robust detection of new program. More robust
8710         error recovery.
8711         (__gcov_init): Do not update program's crc here.
8713 2011-12-21  Tristan Gingold  <gingold@adacore.com>
8715         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8717 2011-12-21  Ian Lance Taylor  <iant@google.com>
8719         * config/i386/morestack.S: Simplify CFI opcodes throughout.
8721 2011-12-20  Ian Lance Taylor  <iant@google.com>
8723         * config/i386/morestack.S (__morestack_non_split): If there is
8724         enough stack space already, don't split.  Ask for more stack space
8725         than we required.
8727 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
8729         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8730         `sys/sdt.h'.
8731         (_Unwind_DebugHook): New function.
8732         (uw_restore_core_regs): New define.
8733         (unwind_phase2): Use uw_restore_core_regs instead of
8734         restore_core_regs.
8735         (unwind_phase2_forced): Likewise.
8736         (__gnu_Unwind_Resume): Likewise.
8738 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
8740         * config/alpha/linux-unwind.h: Update copyright years.
8741         (MD_FROB_UPDATE_CONTEXT): New define.
8742         (alpha_frob_update_context): New function.
8744 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
8746         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8747         tmake_file rather replacing it.
8749 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
8751         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8752         function is not used for PPC64.
8753         (save_world): Amend comments.  Update the VRsave mask to reflect the
8754         saved regs.
8755         (rest_world): Update comments, do not  clobber r10, do not use r8.
8756         (eh_rest_world_r10): Amend comments, do not use r8.
8757         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8758         no longer used, move restore of CR and target address to the end of
8759         the routine.
8761 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
8763         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8764         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8766 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
8768         PR target/49313
8769         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8770         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8772 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
8774         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8776 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
8778         PR target/49313
8779         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8780         * config/avr/lib1funcs.S (__muldi3): New function.
8782 2011-12-06  Andrew Pinski  <apinski@cavium.com>
8784         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8785         size of func_ptr.
8786         (__frame_dummy_init_array_entry): Likewise.
8788 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
8790         Forward-port from gcc-4_6-branch r181936 2011-12-02.
8792         PR target/51345
8793         PR target/51002
8794         * config/avr/lib1funcs.S (__prologue_saves__,
8795         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8796         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
8798 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
8800         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8802 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8804         PR other/51272
8805         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8806         (_ITM_deregisterTMCloneTable): Likewise.
8807         (__register_frame_info): Fix unused warning.
8808         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8809         pthread_default_stacksize_np): Likewise.
8810         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8812 2011-11-29  DJ Delorie  <dj@redhat.com>
8814         * config.host (rl78-*-elf): New case.
8815         * config/rl78: New directory for the Renesas RL78.
8817 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
8819         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
8820         formatting.
8822 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8824         PR other/51022
8825         * config/rs6000/t-savresfgpr: New file.
8826         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8827         $(srcdir)/config/rs6000/eabi.S.
8828         * config/rs6000/t-ppccomm-ldbl: Remove.
8829         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8830         tmake_file.
8831         (powerpc-*-eabispe*): Likewise.
8832         (powerpc-*-eabi*): Likewise.
8833         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8834         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8835         to tmake_file, remove rs6000/t-ppccomm-ldbl.
8836         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8837         tmake_file.
8838         (powerpc-*-eabisim*): Likewise.
8839         (powerpc-*-elf*): Likewise.
8840         (powerpc-*-eabialtivec*): Likewise.
8841         (powerpc-xilinx-eabi*): Likewise.
8842         (powerpc-*-rtems*): Likewise.
8843         (powerpcle-*-elf*): Likewise.
8844         (powerpcle-*-eabisim*): Likewise.
8845         (powerpcle-*-eabi*): Likewise.
8847 2011-11-27  Ian Lance Taylor  <iant@google.com>
8849         * generic-morestack.c (__splitstack_find): Check for NULL old
8850         stack value.
8851         (__splitstack_resetcontext): New function.
8852         (__splitstack_releasecontext): New function.
8853         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8855 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
8857         * config/darwin-crt-tm.c: Correct comments, use correct licence.
8859 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
8861         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8863 2011-11-26  Richard Henderson  <rth@redhat.com>
8865         * config/m68k/linux-atomic.c: New file.
8866         * config/m68k/t-linux: New file.
8867         * config.host (m68k-uclinux, m68k-linux): Use it.
8869 2011-11-26  Richard Henderson  <rth@redhat.com>
8871         * crtstuff.c (__TMC_LIST__): Mark used not unused.
8872         (__TMC_END__): Only declare if hidden is available; in the definition,
8873         if hidden is unavailable add a null record.
8874         (deregister_tm_clones, register_tm_clones): New.
8875         (__do_global_dtors_aux, frame_dummy): Use them.
8876         (__do_global_dtors, __do_global_ctors_1): Likewise.
8878 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
8880         * config/darwin-crt-tm.c: New file.
8881         * config.host (darwin): Build crttms.o crttme.o to provide
8882         startup and shutdown for tm clones.
8883         * config/t-darwin (crttms.o): New build rule.
8884         (crttme.o): Likewise.
8886 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
8888         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8889         et al.
8891 2011-11-21  Richard Henderson  <rth@redhat.com>
8893         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8894         (__TMC_LIST__, __TMC_END__): New.
8895         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8896         (__do_global_dtors): Likewise.
8897         (frame_dummy): Call _ITM_registerTMCloneTable.
8898         (__do_global_ctors_1): Likewise.
8900 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8902         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8903         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8904         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8905         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8906         * config/i386/t-darwin64: Remove.
8907         * config/sh/t-netbsd (LIB2ADD): Remove.
8909 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
8911         PR target/49313
8912         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8913         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8914         * config/avr/lib1funcs.S (wmov): New assembler macro.
8915         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8916         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8917         (__udivmod64): New function.
8918         (__negdi2): New function.
8920 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
8922         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8923         *-*-freebsd*aout*): Remove.
8925 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
8927         * static-object.mk (c_flags-$o): Save c_flags.
8928         ($(base)$(objext)): Use it.
8930 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
8932         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8934 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
8936         PR target/49868
8937         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8938         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8939         New functions.
8941 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8943         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8944         functions.
8945         (aeabi_uidivmod): Likewise.
8946         (umodsi3): Likewise.
8947         (divsi3): Likewise.
8948         (aeabi_idivmod): Likewise.
8949         (modsi3): Likewise.
8951 2011-11-16  Tristan Gingold  <gingold@adacore.com>
8953         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8955 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
8957         PR target/49868
8958         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
8959         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8961 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8963         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8964         tmake_file list.
8965         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8966         * config/pa/t-stublib64: Delete.
8968 2011-11-12  Richard Henderson  <rth@redhat.com>
8970         * config/rs6000/linux-unwind.h (frob_update_context): Properly
8971         cast the pointer argument to _Unwind_SetGRPtr.
8973 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8975         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8977 2011-11-09  Ian Lance Taylor  <iant@google.com>
8979         * generic-morestack.c: Include <string.h>.
8980         (uintptr_type): Define.
8981         (struct initial_sp): Add dont_block_signals field.  Reduce size of
8982         extra array by 1.
8983         (allocate_segment): Set prev field to NULL.  Don't set
8984         __morestack_current_segment or __morestack_segments.
8985         (__generic_morestack): Update current->prev and *pp after calling
8986         allocate_segment.
8987         (__morestack_block_signals): Don't do anything if
8988         dont_block_signals is set.
8989         (__morestack_unblock_signals): Likewise.
8990         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
8991         uintptr_type.
8992         (__splitstack_block_signals): New function.
8993         (enum __splitstack_content_offsets): Define.
8994         (__splitstack_getcontext, __splitstack_setcontext): New functions.
8995         (__splitstack_makecontext): New function.
8996         (__splitstack_block_signals_context): New function.
8997         (__splitstack_find_context): New function.
8998         * config/i386/morestack.S (__morestack_get_guard): New function.
8999         (__morestack_set_guard, __morestack_make_guard): New functions.
9000         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9002 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9004         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9005         (i[34567]86-*-mingw*): ... here.
9006         (x86_64-*-mingw*): ... here.
9008 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9010         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9012 2011-11-07  Nathan Sidwell  <nathan@acm.org>
9014         * libgcov.c (struct gcov_fn_buffer): New struct.
9015         (buffer_fn_data): New helper.
9016         (gcov_exit): Rework for new gcov data structures.
9018 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
9020         PR target/49313
9021         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9023 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9025         * config.host (tmake_file): Correct comment.
9026         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9027         t-libgcc-pic.
9028         (bfin*-uclinux*): Likewise.
9029         (bfin*-linux-uclibc*): Likewise.
9030         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9032         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9033         assigning.
9034         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9035         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9036         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9037         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9038         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9039         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9040         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9041         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9042         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9043         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9044         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9045         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9046         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9048         * config/bfin/t-elf: Remove.
9049         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9051 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9053         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9054         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9055         (lm32-*-elf*, lm32-*-rtems*): Split into ...
9056         (lm32-*-elf*): ... this.
9057         (lm32-*-rtems*): ... and this.
9058         Add to tmake_file.
9059         (m32r-*-rtems*): Add to tmake_file.
9060         (moxie-*-rtems*): Likewise.
9061         (sparc-*-rtems*): Likewise.
9062         Remove t-rtems from tmake_file.
9063         (sparc64-*-rtems*): Likewise.
9064         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9065         instead.
9067 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9069         PR bootstrap/50982
9070         * config/gthr-posix.h: Move ...
9071         * gthr-posix.h: ... here.
9072         * config/gthr-lynx.h: Reflect this.
9073         * config/gthr-vxworks.h: Likewise.
9074         * config/rs6000/gthr-aix.h: Likewise.
9075         * configure.ac (target_thread_file): Likewise.
9076         * configure: Regenerate.
9078 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9080         * config.host (arm*-*-rtemseabi*): New target.
9082 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9084         PR other/50991
9085         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9086         extra-parts.
9088 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
9090         * config.host (epiphany-*-elf*): New configuration.
9091         * config/epiphany: New Directory.
9093 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
9095         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9096         * config/avr/t-rtems: New.
9097         Filter out _exit from LIB1ASMFUNCS.
9099 2011-11-04  David S. Miller  <davem@davemloft.net>
9101         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9102         * configure: Rebuild.
9104 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9106         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9107         variable.
9109 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
9111         PR target/50931
9112         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9113         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9115 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
9117         PR target/50989
9118         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9120 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9122         * config/c6x/t-elf (LIB2ADDEH): Set.
9123         * config/c6x/t-c6x-elf: Remove.
9125 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9127         * config/i386/sol2-ci.S: Rename to ...
9128         * config/i386/crti.S: ... this.
9129         * config/i386/sol2-cn.S: Rename to ...
9130         * config/i386/crtn.S: ... this.
9131         * config/sparc/sol2-ci.S: Rename to ...
9132         * config/sparc/crti.S: ... this.
9133         * config/sparc/sol2-cn.S: Rename to ...
9134         * config/sparc/crtn.S: ... this.
9135         * config/t-sol2 (CUSTOM_CRTIN): Remove.
9136         (crti.o, crtn.o): Remove.
9138 2011-11-04  Tristan Gingold  <gingold@adacore.com>
9140         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9142 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
9144         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9146 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
9148         * config.host (crisv32-*-none, cris-*-none): Remove.
9149         (crisv32-*-elf): Append to tmake_file, don't just set it.
9150         (cris-*-elf): Add missing t-fdpbit to tmake_file.
9152 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9154         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9155         (ecrtn$(objext)): Likewise.
9156         (ncrti$(objext)): Likewise.
9157         (ncrtn$(objext)): Likewise.
9159 2011-11-03  Andreas Schwab  <schwab@redhat.com>
9161         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9163 2011-11-02  David S. Miller  <davem@davemloft.net>
9165         * configure.ac: Set host_address on sparc too.
9166         * configure: Regenerate.
9167         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9168         based upon host_address.
9169         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9171 2011-11-02  Jason Merrill  <jason@redhat.com>
9173         * config/rs6000/t-ppccomm: Add missing \.
9175 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9177         * gthr-single.h, gthr.h: New files.
9178         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9179         config/gthr-vxworks.h, config/i386/gthr-win32.h,
9180         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9181         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9182         * config/i386/gthr-win32.c: Include "gthr-win32.h".
9183         * configure.ac (thread_header): New variable.
9184         Set it depending on target_thread_file.
9185         (gthr-default.h): Link from $thread_header.
9186         * configure: Regenerate.
9187         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9189 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9191         * configure.ac (tm_file_): New variable.
9192         Determine from tm_file.
9193         (tm_file, tm_defines): Substitute.
9194         * configure: Regenerate.
9195         * mkheader.sh: New file.
9196         * Makefile.in (clean): Remove libgcc_tm.h.
9197         ($(objects)): Depend on libgcc_tm.h.
9198         (libgcc_tm_defines, libgcc_tm_file): New variables.
9199         (libgcc_tm.h, libgcc_tm.stamp): New targets.
9200         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9201         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9202         ($(extra-parts)): Depend on libgcc_tm.h.
9203         * config.host (tm_defines, tm_file): New variable.
9204         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9205         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9206         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9207         (avr-*-rtems*): Likewise.
9208         (avr-*-*): Likewise.
9209         (frv-*-elf): Likewise.
9210         (frv-*-*linux*): Likewise.
9211         (h8300-*-rtems*): Likewise.
9212         (h8300-*-elf*): Likewise.
9213         (i[34567]86-*-darwin*): Likewise.
9214         (x86_64-*-darwin*): Likewise.
9215         (rx-*-elf): Likewise.
9216         (tic6x-*-uclinux): Likewise.
9217         (tic6x-*-elf): Likewise.
9218         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9219         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9220         * config/i386/cygming-crtbegin.c: Likewise.
9221         * config/i386/cygming-crtend.c: Likewise.
9222         * config/ia64/fde-vms.c: Likewise.
9223         * config/ia64/unwind-ia64.c: Likewise.
9224         * config/libbid/bid_gcc_intrinsics.h: Likewise.
9225         * config/rs6000/darwin-fallback.c: Likewise.
9226         * config/stormy16/lib2funcs.c: Likewise.
9227         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9228         * crtstuff.c: Likewise.
9229         * dfp-bit.h: Likewise.
9230         * emutls.c: Likewise.
9231         * fixed-bit.c: Likewise.
9232         * fp-bit.c: Likewise.
9233         * generic-morestack-thread.c: Likewise.
9234         * generic-morestack.c: Likewise.
9235         * libgcc2.c: Likewise.
9236         * libgcov.c: Likewise.
9237         * unwind-dw2-fde-dip.c: Likewise.
9238         * unwind-dw2-fde.c: Likewise.
9239         * unwind-dw2.c: Likewise.
9240         * unwind-sjlj.c: Likewise.
9242 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9244         * configure.ac: Include ../config/picflag.m4.
9245         (GCC_PICFLAG): Call it.
9246         Substitute.
9247         * configure: Regenerate.
9248         * Makefile.in (gcc_srcdir): Remove.
9249         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9250         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9251         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9252         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9253         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9254         Use $<.
9255         Remove comment.
9256         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9257         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9258         to refer to libgcc2.c.
9259         Use $<.
9260         * config/darwin-64.c: New file.
9261         * config/darwin-crt3.c: Remove comment.
9262         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9263         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9264         config/udivmodsi4.c: New files.
9265         * config/memcmp.c, config/memcpy.c, config/memmove.c,
9266         config/memset.c: New files.
9267         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9268         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9269         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9270         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9271         * config/t-openbsd-thread: New file.
9272         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9273         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9274         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9275         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9276         qrnnd.S.
9277         Adapt filename.
9278         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9279         to refer to gthr-posix.c.
9280         * config/alpha/t-vms (LIB2ADD): Set.
9281         * config/alpha/vms-gcc_shell_handler.c: New file.
9282         * config/arm/bpabi.c, config/arm/fp16.c,
9283         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9284         config/arm/unaligned-funcs.c: New files.
9285         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9286         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9287         * config/arm/t-linux: Likewise.
9288         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9289         * config/arm/t-netbsd: New file.
9290         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9291         * config/arm/t-symbian (LIB2ADD_ST): Set.
9292         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9293         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9294         * config/bfin/t-elf: New file.
9295         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9296         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9297         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9298         config/c6x/ltf.c: New files.
9299         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9300         (HOST_LIBGCC2_CFLAGS): Set.
9301         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9302         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9303         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9304         New files.
9305         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9306         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9307         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9308         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9309         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9310         files.
9311         * config/frv/t-frv (LIB2ADD): Set.
9312         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9313         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9314         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9315         config/h8300/popcounthi2.c: New files.
9316         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9317         * config/i386/gthr-win32.c: New file.
9318         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9319         * config/i386/t-cygwin: Likewise.
9320         * config/i386/t-darwin, config/i386/t-darwin64,
9321         config/i386/t-gthr-win32, config/i386/t-interix: New files.
9322         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9323         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9324         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9325         * config/ia64/quadlib.c: New file.
9326         * config/ia64/t-hpux (LIB2ADD): Set.
9327         * config/ia64/t-ia64: Add comment.
9328         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9329         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9330         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9331         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9332         * config/m32c/t-m32c (LIB2ADD): Set.
9333         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9334         * config/m32r/t-m32r: Likewise.
9335         * config/m68k/fpgnulib.c: New file.
9336         * config/m68k/t-floatlib (LIB2ADD): Set.
9337         (xfgnulib.c): New target.
9338         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9339         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9340         * config/mep/t-mep (LIB2ADD): Set.
9341         * config/microblaze/divsi3.asm: Rename to divsi3.S.
9342         * config/microblaze/moddi3.asm: Rename to moddi3.S.
9343         * config/microblaze/modsi3.asm: Rename to modsi3.S.
9344         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9345         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9346         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9347         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9348         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9349         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9350         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9351         New files.
9352         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9353         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9354         * config/pa/fptr.c, config/pa/lib2funcs.S,
9355         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9356         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9357         (LIB2ADD, LIB2ADD_ST): Set.
9358         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9359         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9360         Set.
9361         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9362         * config/pdp11/t-pdp11: New file.
9363         * config/picochip/libgccExtras/adddi3.S,
9364         config/picochip/libgccExtras/ashlsi3.S,
9365         config/picochip/libgccExtras/ashrsi3.S,
9366         config/picochip/libgccExtras/clzsi2.S,
9367         config/picochip/libgccExtras/cmpsi2.S,
9368         config/picochip/libgccExtras/divmod15.S,
9369         config/picochip/libgccExtras/divmodhi4.S,
9370         config/picochip/libgccExtras/divmodsi4.S,
9371         config/picochip/libgccExtras/lshrsi3.S,
9372         config/picochip/libgccExtras/parityhi2.S,
9373         config/picochip/libgccExtras/popcounthi2.S,
9374         config/picochip/libgccExtras/subdi3.S,
9375         config/picochip/libgccExtras/ucmpsi2.S,
9376         config/picochip/libgccExtras/udivmodhi4.S,
9377         config/picochip/libgccExtras/udivmodsi4.S: New files.
9378         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9379         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9380         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9381         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9382         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9383         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9384         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
9385         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9386         files.
9387         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9388         (HOST_LIBGCC2_CFLAGS): Set.
9389         * config/rs6000/t-darwin64: New file.
9390         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9391         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9392         * config/rs6000/t-ppccomm (LIB2ADD): Add
9393         $(srcdir)/config/rs6000/tramp.S.
9394         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9395         Add  $(srcdir)/config/rs6000/eabi.S.
9396         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9397         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9398         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9399         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9400         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9401         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9402         * config/rs6000/tramp.S: New file.
9403         * config/s390/t-tpf: Remove.
9404         * config/sh/linux-atomic.S: New file.
9405         * config/sh/t-linux (LIB2ADD): Set.
9406         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9407         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9408         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9409         to unwind-dw2.c.
9410         (HOST_LIBGCC2_CFLAGS): Set.
9411         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9412         * config/spu/divmodti4.c, config/spu/divv2df3.c,
9413         config/spu/float_disf.c, config/spu/float_unsdidf.c,
9414         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9415         config/spu/mfc_multi_tag_release.c,
9416         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9417         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9418         config/spu/multi3.c: New files.
9419         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9420         (HOST_LIBGCC2_CFLAGS): Set.
9421         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9422         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9423         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9424         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9425         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9426         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9427         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9428         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9429         config/stormy16/umodsi3.c: New files.
9430         * config/xtensa/lib2funcs.S: New file.
9431         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9432         * config/xtensa/t-xtensa (LIB2ADD): Set.
9433         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9434         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9435         Add t-freebsd-thread to tmake_file for posix threads.
9436         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9437         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9438         (*-*-lynxos*): Likewise.
9439         (*-*-netbsd*): Likewise.
9440         (*-*-openbsd*): Likewise.
9441         Add t-openbsd-thread to tmake_file for posix threads.
9442         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9443         (*-*-vxworks*): Set tmake_file.
9444         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9445         (alpha*-*-freebsd*): Likewise.
9446         (alpha*-*-netbsd*): Likewise.
9447         (alpha*-*-openbsd*): Likewise.
9448         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9449         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9450         (alpha*-dec-*vms*): Likewise.
9451         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9452         (bfin*-elf*): Add bfin/t-elf to tmake_file.
9453         (bfin*-uclinux*): Likewise.
9454         (bfin*-linux-uclibc*): Likewise.
9455         (crisv32-*-elf): Add cris/t-cris to tmake_file.
9456         (crisv32-*-none): Likewise.
9457         (cris-*-elf): Likewise.
9458         (cris-*-none): Likewise.
9459         (cris-*-linux*, crisv32-*-linux*): Likewise.
9460         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9461         tmake_file.
9462         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9463         tmake_file.
9464         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9465         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9466         (x86_64-*-elf*): Likewise.
9467         (i[34567]86-*-nto-qnx*): Likewise.
9468         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9469         win32 threads.
9470         (x86_64-*-mingw*): Likewise.
9471         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9472         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9473         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9474         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9475         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9476         tmake_file.
9477         (mipsisa64sr71k-*-elf*): Likewise.
9478         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9479         (mips-*-elf*, mipsel-*-elf*): Likewise.
9480         (mips64-*-elf*, mips64el-*-elf*): Likewise.
9481         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9482         (mips*-*-rtems*): Likewise.
9483         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9484         to tmake_file.
9485         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9486         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9487         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9488         (spu-*-elf*): Likewise.
9489         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9491 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9493         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9494         $(srcdir) to refer to $(LIB1ASMSRC).
9495         Use $<.
9496         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9497         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9498         config/arm/lib1funcs.S: New files.
9499         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9500         * config/arm/t-arm: New file.
9501         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9502         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9503         config/arm/t-strongarm-elf: New files.
9504         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9505         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9506         * config/avr/lib1funcs.S: New file.
9507         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9508         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9509         * config/c6x/lib1funcs.S: New file.
9510         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9511         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9512         * config/frv/lib1funcs.S: New file.
9513         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9514         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9515         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9516         * config/ia64/__divxf3.asm: Rename to ...
9517         * config/ia64/__divxf3.S: ... this.
9518         Adapt lib1funcs.asm filename.
9519         * config/ia64/_fixtfdi.asm: Rename to ...
9520         * config/ia64/_fixtfdi.S: ... this.
9521         Adapt lib1funcs.asm filename.
9522         * config/ia64/_fixunstfdi.asm: Rename to ...
9523         * config/ia64/_fixunstfdi.S: ... this.
9524         Adapt lib1funcs.asm filename.
9525         * config/ia64/_floatditf.asm: Rename to ...
9526         * config/ia64/_floatditf.S: ... this.
9527         Adapt lib1funcs.asm filename.
9528         * config/ia64/lib1funcs.S: New file.
9529         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9530         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9531         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9532         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9533         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9534         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9535         * config/mep/lib1funcs.S: New file.
9536         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9537         * config/mips/mips16.S: New file.
9538         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9539         * config/pa/milli64.S: New file.
9540         * config/pa/t-linux, config/pa/t-linux64: New files.
9541         * config/picochip/lib1funcs.S: New file.
9542         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9543         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9544         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9545         * config/sh/t-netbsd: New file.
9546         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9547         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9548         * config/sh/t-sh64: New file.
9549         * config/sparc/lb1spc.S: New file.
9550         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9551         filename.
9552         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9553         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9554         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9555         config/xtensa/lib1funcs.S: New files.
9556         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9557         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9558         tmake_file.
9559         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9560         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9561         (arm*-*-linux*): Likewise.
9562         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9563         arm*-*-linux-*eabi, add arm/t-linux otherwise.
9564         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9565         (arm*-*-ecos-elf): Likewise.
9566         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9567         (arm*-*-rtems*): Likewise.
9568         (arm*-*-elf): Likewise.
9569         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9570         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9571         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9572         (bfin*-uclinux*): Likewise.
9573         (bfin*-linux-uclibc*): Likewise.
9574         (bfin*-rtems*): Likewise.
9575         (bfin*-*): Likewise.
9576         (fido-*-elf): Merge into m68k-*-elf*.
9577         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9578         (frv-*-*linux*): Add frv/t-frv to tmake_file.
9579         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9580         (h8300-*-elf*): Likewise.
9581         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9582         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9583         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9584         (i[34567]86-*-mingw*): Likewise.
9585         (x86_64-*-mingw*): Likewise.
9586         (i[34567]86-*-interix3*): Likewise.
9587         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9588         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9589         (m68k-*-elf*): Also handle fido-*-elf.
9590         Add m68k/t-floatlib to tmake_file.
9591         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9592         (m68k-*-linux*): Likewise.
9593         (m68k-*-rtems*): Likewise.
9594         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9595         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9596         sh64*-*-*.
9597         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9598         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9599         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9600         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9601         sh/t-netbsd to tmake_file.
9602         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9603         (sh-*-rtems*): Add sh/t-sh to tmake_file.
9604         (sh-wrs-vxworks): Likewise.
9605         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9606         *-leon[3-9]*.
9607         (v850*-*-*): Add v850/t-v850 to tmake_file.
9608         (vax-*-linux*): Add vax/t-linux to tmake_file.
9609         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9611 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9613         * crtstuff.c: New file.
9614         * Makefile.in (CRTSTUFF_CFLAGS): Define.
9615         (CRTSTUFF_T_CFLAGS): Define.
9616         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9617         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9618         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9619         crtstuff.c.
9620         Use $<.
9621         (crtbeginT.o): Use $(objext).
9622         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9623         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9624         (gcc-extra-parts): Remove.
9625         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9626         Set extra_parts.
9627         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9628         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9629         Add t-crtstuff-pic to tmake_file.
9630         (*-*-lynxos*): New case.
9631         Set tmake_file, extra_parts.
9632         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9633         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9634         *-*-netbsdelf[2-9]*.
9635         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9636         (*-*-rtems*): Set extra_parts.
9637         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9638         (*-*-uclinux*): New case.
9639         Set extra_parts.
9640         (*-*-vms*): New case.
9641         Set tmake_file, extra_parts.
9642         (*-*-elf): Set extra_parts.
9643         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9644         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9645         vms/t-vms64.
9646         Set extra_parts.
9647         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9648         Set extra_parts.
9649         (arm*-*-freebsd*): Add t-crtin to tmake_file.
9650         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9651         (arm-wrs-vxworks): Append to tmake_file.
9652         Set extra_parts.
9653         (arm*-*-uclinux*): Set extra_parts.
9654         (arm*-*-ecos-elf): Likewise.
9655         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9656         arm*-*-eabi*.
9657         (arm*-*-rtems*): Set extra_parts.
9658         (arm*-*-elf): Likewise.
9659         (avr-*-rtems*): Clear extra_parts.
9660         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9661         Set extra_parts.
9662         (bfin*-uclinux*): Likewise.
9663         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9664         (bfin*-rtems*): Append to tmake_file.
9665         Set extra_parts.
9666         (bfin*-*): Likewise.
9667         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9668         (crisv32-*-elf): ... this.
9669         (crisv32-*-none): ... this.
9670         (cris-*-elf, cris-*-none): New cases.
9671         Add cris/t-elfmulti to tmake_file.
9672         (fr30-*-elf): Append to tmake_file.
9673         Set extra_parts.
9674         (frv-*-elf): Append to tmake_file, add frv/t-frv.
9675         Set extra_parts.
9676         (h8300-*-rtems*): Append to tmake_file.
9677         Set extra_parts.
9678         (h8300-*-elf*): Likewise.
9679         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9680         Set extra_parts.
9681         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9682         Set extra_parts.
9683         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9684         (x86_64-*-elf*): Likewise.
9685         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9686         (x86_64-*-freebsd*): Likewise.
9687         (x86_64-*-netbsd*): Likewise.
9688         (i[34567]86-*-linux*): Likewise.
9689         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9690         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9691         (x86_64-*-linux*): Likewise.
9692         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9693         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9694         tmake_file.
9695         Set extra_parts.
9696         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9697         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9698         Append to extra_parts, remove crtbegin.o, crtend.o.
9699         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9700         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9701         crtend.o, crtbeginS.o, crtendS.o.
9702         (ia64*-*-linux*): Comment extra_parts.
9703         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9704         Set extra_parts.
9705         (iq2000*-*-elf*): Clear extra_parts.
9706         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9707         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9708         (m32r-*-elf*, m32r-*-rtems*): Split off ...
9709         (m32r-*-rtems*): ... this.
9710         Add m32r/t-m32r to tmake_file.
9711         (m68k-*-elf*): Add t-crtin to tmake_file.
9712         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9713         (mcore-*-elf): Likewise.
9714         (microblaze*-*-*): Set extra_parts.
9715         (mips*-sde-elf*): New case.
9716         Set tmake_file, extra_parts.
9717         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9718         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9719         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9720         tmake_file.
9721         Set extra_parts.
9722         (mipsisa64sr71k-*-elf*): Likewise.
9723         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9724         (mips-*-elf*, mipsel-*-elf*): Likewise.
9725         (mips64-*-elf*, mips64el-*-elf*): Likewise.
9726         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9727         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
9728         (mips*-*-rtems*): Likewise.
9729         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9730         (moxie-*-*): Split into ...
9731         (moxie-*-elf, moxie-*-uclinux*): ... this.
9732         Add to extra_parts, remove crtbegin.o, crtend.o.
9733         (moxie-*-rtems*): New case.
9734         Set tmake_file.
9735         Clear extra_parts.
9736         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9737         Set extra_parts.
9738         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9739         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9740         tmake_file.
9741         Set extra_parts.
9742         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9743         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9744         Set extra_parts.
9745         (powerpc-*-eabisim*): Likewise.
9746         (powerpc-*-elf*): Likewise.
9747         (powerpc-*-eabialtivec*): Likewise.
9748         (powerpc-xilinx-eabi*): Likewise.
9749         (powerpc-*-eabi*): Likewise.
9750         (powerpc-*-rtems*): Likewise.
9751         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9752         tmake_file.
9753         Set extra_parts.
9754         (powerpc-*-lynxos*): Add to tmake_file.
9755         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9756         rs6000/t-crtstuff, t-crtstuff-pic.
9757         Set extra_parts.
9758         (powerpcle-*-eabisim*): Likewise.
9759         (powerpcle-*-eabi*): Likewise.
9760         (rx-*-elf): Remove extra_parts.
9761         (s390x-ibm-tpf*): Set extra_parts.
9762         (score-*-elf): Set extra_parts.
9763         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9764         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9765         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9766         (sh64l*-*-netbsd*): Split into ...
9767         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9768         Add t-crtstuff-pic to tmake_file.
9769         Set extra_parts.
9770         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9771         Set extra_parts.
9772         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9773         (sparc-*-elf*): Remove t-crtin from tmake_file.
9774         Add to extra_parts, remove crtbegin.o, crtend.o.
9775         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9776         (sparc64-*-linux*): Likewise.
9777         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9778         Add to extra_parts, remove crtbegin.o, crtend.o.
9779         (sparc64-*-elf*): Remove t-crtin from tmake_file.
9780         Add to extra_parts, remove crtbegin.o, crtend.o.
9781         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9782         Add to extra_parts, remove crtbegin.o, crtend.o.
9783         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9784         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9785         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9786         Set extra_parts.
9787         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9788         Set extra_parts.
9789         (tic6x-*-*): Change to ...
9790         (tic6x-*-elf): ... this.
9791         Set extra_parts.
9792         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9793         Set extra_parts.
9794         (am33_2.0-*-linux*): Add comment.
9795         (mep*-*-*): Add mep/t-mep to tmake_file.
9796         Set extra_parts.
9797         * config/alpha/t-vms: New file.
9798         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9799         * config/arm/crti.S, config/arm/crtn.S: New files.
9800         * config/bfin/crti.S, config/bfin/crtn.S: New files.
9801         * config/bfin/crtlibid.S: New file.
9802         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9803         * config/c6x/crti.S, config/c6x/crtn.S: New files.
9804         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9805         (crti.o, crtin.o): New rules.
9806         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9807         * config/c6x/t-uclinux: New file.
9808         * config/cris/t-elfmulti: New file.
9809         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9810         * config/fr30/crti.S, config/fr30/crtn.S: New files.
9811         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9812         * config/frv/t-frv: New file.
9813         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9814         * config/h8300/crti.S, config/h8300/crtn.S: New files.
9815         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9816         New files.
9817         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9818         refer to cygming-crtbegin.c, cygming-crtend.c.
9819         Use $<.
9820         * config/i386/t-nto: New file.
9821         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9822         * config/ia64/crti.S, config/ia64/crtn.S: New files.
9823         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9824         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9825         Use .S extension.
9826         Use $<.
9827         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9828         (crtinitS.o): New rule.
9829         * config/ia64/vms-crtinit.S: New file.
9830         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9831         * config/m32r/initfini.c: New file.
9832         * config/m32r/t-linux, config/m32r/t-m32r: New files.
9833         * config/m68k/crti.S, config/m68k/crtn.S: New files.
9834         * config/mcore/crti.S, config/mcore/crtn.S: New files.
9835         * config/mep/t-mep: New file.
9836         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9837         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9838         * config/mips/crti.S, config/mips/crtn.S: New files.
9839         * config/mips/t-crtstuff: New file.
9840         * config/mmix/crti.S, config/mmix/crtn.S: New files.
9841         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9842         (CUSTOM_CRTIN): Set.
9843         ($(T)crti.o, $(T)crtn.o): Remove $(T),
9844         dependencies.
9845         Use $(srcdir) to refer to crti.S, crtn.S.
9846         Use .S extension, $<.
9847         * config/moxie/crti.asm: Rename to ...
9848         * config/moxie/crti.S: ... this.
9849         * config/moxie/crtn.asm: Rename to ...
9850         * config/moxie/crtn.S: ... this.
9851         * config/moxie/t-moxie: Remove.
9852         * config/pa/stublib.c: New file.
9853         * config/pa/t-stublib, config/pa/t-stublib64: New files.
9854         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9855         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9856         * config/rs6000/t-crtstuff: New file.
9857         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9858         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9859         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9860         Make output file explicit.
9861         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9862         Make output file explicit.
9863         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9864         Make output file explicit.
9865         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9866         Make output file explicit.
9867         * config/score/crti.S, config/score/crtn.S: New files.
9868         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9869         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9870         files.
9871         * config/sh/t-sh, config/sh/t-superh: New files.
9872         * config/sparc/t-linux64: New file.
9873         * config/spu/cache.S, config/spu/cachemgr.c: New files.
9874         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9875         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9876         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9877         * config/t-crtin: Remove.
9878         * config/t-crtstuff-pic: New file.
9879         * config/t-sol2 (CUSTOM_CRTIN): Set.
9880         (crti.o, crtn.o): New rules.
9881         * config/vms/t-vms: New file.
9882         * config/vms/vms-ucrt0.c: New file.
9883         * config/xtensa/t-elf: New file.
9885 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9887         * Makefile.in (SHLIB_NM_FLAGS): Set.
9888         * mkmap-flat.awk, mkmap-symver.awk: New files.
9889         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9890         exceptions.
9891         * configure: Regenerate.
9892         * config/libgcc-glibc.ver: New file.
9893         * config/libgcc-libsystem.ver: New file.
9894         * config/t-libunwind (SHLIB_LC): Set.
9895         * config/t-linux: New file.
9896         * config/t-slibgcc (INSTALL_SHLIB): New.
9897         (SHLIB_INSTALL): Use it.
9898         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9899         to mkmap-symver.awk.
9900         (SHLIB_MAPFILES): Don't append, adapt pathname.
9901         (SHLIB_VERPFX): Set.
9902         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9903         to mkmap-symver.awk.
9904         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9905         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9906         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9907         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9908         to mkmap-flat.awk.
9909         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9910         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9911         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9912         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9913         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9914         * config/i386/libgcc-darwin.10.4.ver,
9915         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9916         New files.
9917         * config/i386/t-darwin: Remove.
9918         * config/i386/t-darwin64: Likewise.
9919         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9920         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9921         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9922         * config/i386/t-linux: New file.
9923         * config/i386/t-mingw32: New file.
9924         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9925         * config/ia64/t-glibc: Rename to ...
9926         * config/ia64/t-linux: ... this.
9927         (SHLIB_MAPFILES): Set.
9928         * config/ia64/t-glibc-libunwind: Rename to ...
9929         * config/ia64/t-linux-libunwind: ... this.
9930         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9931         * config/ia64/t-slibgcc-hpux: New file.
9932         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9933         * config/m68k/t-slibgcc-elf-ver: New file.
9934         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9935         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9936         to mkmap-flat.awk.
9937         * config/pa/t-slibgcc-hpux: New file.
9938         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9939         files.
9940         * config/rs6000/libgcc-darwin.10.4.ver,
9941         config/rs6000/libgcc-darwin.10.5.ver: New files.
9942         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9943         config/rs6000/libgcc-glibc.ver.
9944         * config/rs6000/libgcc-ppc64.ver: Rename to
9945         config/rs6000/libgcc-ibm-ldouble.ver.
9946         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9947         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9948         * config/rs6000/t-ldbl128: Rename to ...
9949         * config/rs6000/t-linux: ... this.
9950         (SHLIB_MAPFILES): Adapt filename.
9951         * config/rs6000/t-slibgcc-aix: New file.
9952         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9953         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9954         libgcc-excl.ver, libgcc-glibc.ver.
9955         (SHLIB_LINK, SHLIB_INSTALL): Remove.
9956         * config/sparc/libgcc-glibc.ver: New file.
9957         * config/sparc/t-linux: New file.
9958         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9959         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9960         t-slibgcc-elf-ver to tmake_file.
9961         Add t-slibgcc-nolc-override to tmake_file for posix threads on
9962         *-*-freebsd[34].
9963         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9964         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9965         t-slibgcc-elf-ver, t-linux to tmake_file.
9966         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9967         tmake_file.
9968         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9969         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9970         (alpha*-dec-*vms*): Likewise.
9971         (arm*-*-freebsd*): Append to tmake_file.
9972         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9973         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9974         arm*-*-linux-*eabi.
9975         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9976         tmake_file for arm*-*-symbianelf*.
9977         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9978         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9979         cris/t-linux.
9980         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9981         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9982         pa/t-slibgcc-dwarf-ver to tmake_file.
9983         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9984         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9985         (hppa*64*-*-hpux11*): Likewise.
9986         (hppa[12]*-*-hpux11*): Likewise.
9987         (x86_64-*-darwin*): Don't override tmake_file, but only keep
9988         i386/t-crtpc, i386/t-crtfm.
9989         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9990         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9991         to tmake_file.
9992         Add i386/t-cygwin to tmake_file.
9993         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9994         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9995         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9996         to tmake_file.
9997         Add i386/t-mingw32 to tmake_file.
9998         (x86_64-*-mingw*): Likewise.
9999         (ia64*-*-freebsd*): Append to tmake_file.
10000         (ia64*-*-linux*): Append to tmake_file.
10001         Replace ia64/t-glibc by ia64/t-linux.
10002         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10003         system libunwind.
10004         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10005         t-slibgcc-hpux to tmake_file.
10006         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10007         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10008         (m32rle-*-linux*): Likewise.
10009         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10010         sjlj exceptions.
10011         (microblaze*-linux*): New case.
10012         Append to tmake_file, add t-slibgcc-nolc-override.
10013         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10014         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10015         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10016         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10017         rs6000/t-slibgcc-aix to tmake_file.
10018         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10019         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10020         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10021         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10022         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10023         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10024         sh*-*-linux*.
10025         (sparc-*-linux*): Append to tmake_file for *-leon*.
10026         Add sparc/t-linux to tmake_file for non-Leon targets.
10027         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10028         (tic6x-*-uclinux): New case.
10029         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10030         (tic6x-*-*): Add c6x/t-elf to tmake_file.
10031         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10032         (am33_2.0-*-linux*): Append to tmake_file.
10033         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10034         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10035         x86_64-*-kfreebsd*-gnu.
10036         Add i386/t-linux to tmake_file.
10038 2011-10-28  Ian Lance Taylor  <iant@google.com>
10040         * config/i386/morestack.S: Correct CFI information to do proper
10041         returns throughout function.  In 32-bit mode, save %ebx so that it
10042         is restored on unwind.
10044 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
10046         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10047         case where B3 isn't the return register.
10049         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10050         logic for doubleword pops.
10052 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
10054         * config/rs6000/t-freebsd: Add wildcard.
10056 2011-10-21  Paul Brook  <paul@codesourcery.com>
10058         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10060 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
10061             Eric Botcazou  <ebotcazou@adacore.com>
10063         PR target/50737
10064         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10065         fs->signal_frame to 1.
10067 2011-10-07  Ian Lance Taylor  <iant@google.com>
10069         * generic-morestack-thread.c: #include <errno.h>.
10071 2011-10-07  Ian Lance Taylor  <iant@google.com>
10073         PR target/46093
10074         * generic-morestack.c (__generic_morestack): Make sure the segment
10075         is large enough for both the stack frame and the copied
10076         parameters.
10078 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10080         PR bootstrap/49804
10081         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10082         extra_parts.
10084 2011-09-28  Nick Clifton  <nickc@redhat.com>
10086         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10087         64-bit doubles are not enabled.
10088         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10089         and floatunsisf functions.
10091 2011-09-13  Paul Brook  <paul@codesourcery.com>
10093         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
10094         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10095         * unwind-arm-common.inc: New file.
10096         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10097         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10098         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10099         * config/c6x/libunwind.S: New file.
10100         * config/c6x/pr-support.c: New file.
10101         * config/c6x/unwind-c6x.c: New file.
10102         * config/c6x/unwind-c6x.h: New file.
10103         * config/c6x/t-c6x-elf: New file.
10105 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
10107         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10108         (ASM_DIVZERO): Ditto.
10109         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10111 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
10113         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10115 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
10117         PR target/50090
10118         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10119         instead of an assembly one.
10121 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
10123         PR bootstrap/50047
10124         * Makefile.in (install-unwind_h): Create
10125         $(gcc_objdir)/include/unwind.h atomically.
10127 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10129         * Makefile.in (install-unwind_h): Remove destination file first.
10131 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10133         * sync.c: New file.
10134         * config/mips/t-mips16: New file.
10135         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10136         (mips*-*-linux*): Likewise.
10137         (mips*-sde-elf*): Likewise.
10138         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10139         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10140         Add mips/t-mips16 to tmake_file.
10141         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10142         (mips-*-elf*): Likewise.
10143         (mips64-*-elf*): Likewise.
10144         (mips64orion-*-elf*): Likewise.
10145         (mips*-*-rtems*): Likewise.
10146         (mipstx39-*-elf*): Likewise.
10147         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10148         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10149         LIBGCC_SYNC_CFLAGS.
10150         Use $(srcdir) to refer to sync.c.
10151         Use $<.
10152         ($(libgcc-sync-funcs-o)): Likewise.
10153         ($(libgcc-sync-size-funcs-s-o)): Likewise.
10154         ($(libgcc-sync-funcs-s-o)): Likewise.
10156 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10158         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10159         t-libunwind.
10161 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
10163         PR other/48007
10164         * config/i386/value-unwind.h: New.
10166 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
10168         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10169         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10170         Add to tmake_file rather than overriding it.
10172 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10174         * config/t-softfp: Remove.
10175         * soft-fp: Moved from ../gcc/config.
10176         * soft-fp/README: Remove t-softfp reference.
10177         * soft-fp/t-softfp: Move to config/t-softfp.
10178         (softfp_machine_header): Remove.
10179         (softfp_file_list): Remove config subdir.
10180         (soft-fp-objects): New variable.
10181         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10182         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10183         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10184         * config/t-softfp-excl: New file.
10185         * config/t-softfp-sfdf: New file.
10186         * config/t-softfp-tf: New file.
10187         * config/no-sfp-machine.h: New file.
10188         * config/arm/sfp-machine.h: New file.
10189         * config/arm/t-softfp: New file.
10190         * config/c6x/sfp-machine.h: New file.
10191         * config/i386/32/t-fprules-softfp: Rename to ...
10192         * config/i386/32/t-softfp: ... this.
10193         (tifunctions, LIB2ADD): Remove.
10194         (softfp_int_modes): Override.
10195         * config/i386/64/t-softfp-compat (tf-functions): Remove config
10196         subdir.
10197         * config/i386/64/eqtf2.c: Likewise.
10198         * config/i386/64/getf2.c: Likewise.
10199         * config/i386/64/letf2.c: Likewise.
10200         * config/ia64/sft-machine.h: New file.
10201         * config/ia64/t-fprules-softfp: Rename to ...
10202         * config/ia64/t-softfp: ... this.
10203         * config/lm32/sfp-machine.h: New file.
10204         * config/moxie/t-moxie-softfp: Remove.
10205         * config/rs6000/ibm-ldouble-format: New file.
10206         * config/rs6000/ibm-ldouble.c: New file.
10207         * config/rs6000/libgcc-ppc-glibc.ver: New file
10208         * config/rs6000/libgcc-ppc64.ver: New file
10209         * config/rs6000/sfp-machine.h: New file.
10210         * config/rs6000/t-freebsd: New file.
10211         * config/rs6000/t-ibm-ldouble: New file.
10212         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10213         libgcc-ppc-glibc.ver.
10214         * config/rs6000/t-linux64: New file.
10215         * config/rs6000/t-ppccomm (LIB2ADD): Add
10216         $(srcdir)/config/rs6000/ibm-ldouble.c.
10217         * config/rs6000/t-ppccomm-ldbl: New file.
10218         * config/score/sfp-machine.h: New file.
10219         * config.host (sfp_machine_header): Explain.
10220         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10221         t-softfp to tmake_file.
10222         (arm*-*-uclinux*): Likewise.
10223         (arm*-*-ecos-elf): Likewise.
10224         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10225         (arm*-*-rtems*): Likewise.
10226         (arm*-*-elf): Likewise.
10227         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10228         in tmake_file.
10229         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10230         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10231         (lm32-*-uclinux*): Likewise.
10232         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10233         t-softfp-excl, t-softfp.
10234         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10235         (powerpc64-*-darwin*): Likewise.
10236         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10237         to tmake_file.
10238         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10239         tmake_file.
10240         (powerpc-*-eabisim*): Likewise.
10241         (powerpc-*-elf*): Likewise.
10242         (powerpc-*-eabialtivec*): Likewise.
10243         (powerpc-xilinx-eabi*): Likewise.
10244         (powerpc-*-rtems*): Likewise.
10245         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10246         t-softfp-excl, t-softfp to tmake_file.
10247         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10248         rs6000/t-ppccomm-ldbl to tmake_file.
10249         (powerpcle-*-elf*): Likewise.
10250         (powerpcle-*-eabisim*): Likewise.
10251         (powerpcle-*-eabi*): Likewise.
10252         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10253         rs6000/t-ibm-ldouble to tmake_file.
10254         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10255         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10256         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10257         (tic6x-*-*): Likewise.
10258         (i[34567]86-*-darwin*, x86_64-*-darwin*,
10259         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10260         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10261         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10262         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10263         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10264         t-softfp to tmake_file.
10265         * configure.ac (sfp_machine_header): Provide default if unset.
10266         Substitute.
10267         Link sfp-machine.h to config/$sfp_machine_header.
10268         * configure: Regenerate.
10270 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10272         * Makefile.in (double_type_size, long_double_type_size): Set.
10273         Remove $(fpbit-in-libgcc) support.
10274         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10275         (fpbit-src): New variable.
10276         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10277         Compile with -DFLOAT $(FPBIT_CFLAGS).
10278         Use $<.
10279         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10280         Compile with $(FPBIT_CFLAGS).
10281         Use $<.
10282         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10283         Compile with -DFLOAT $(TPBIT_CFLAGS).
10284         Use $<.
10285         * configure.ac (double_type_size, long_double_type_size):
10286         Determine and substitute.
10287         * configure: Regenerate.
10288         * fp-bit.c, fp-bit.h: New files.
10289         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10290         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10291         * config/mips/t-mips: New file.
10292         * config/mips/t-sdemtk: New file.
10293         * config/rs6000/ppc64-fp.c: New file.
10294         * config/rs6000/t-darwin (LIB2ADD): Add
10295         $(srcdir)/config/rs6000/ppc64-fp.c.
10296         * config/rs6000/t-ppc64-fp: New file.
10297         * config/rx/rx-lib.h: New file.
10298         * config/rx/t-rx (FPBIT): Set to true.
10299         ($(gcc_objdir)/fp-bit.c): Remove.
10300         (DPBIT): Set to true only with -m64bit-doubles.
10301         ($(gcc_objdir)/dp-bit.c): Remove.
10302         * config/sparc/t-softfp: Remove.
10303         * config/spu/t-elf: New file.
10304         * config/t-fdpbit, config/t-fpbit: New files.
10305         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10306         (mips*-*-*): Likewise.
10307         (arm-wrs-vxworks): Likewise.
10308         (arm*-*-freebsd*): Likewise.
10309         (avr-*-rtems*): Add t-fpbit to tmake_file.
10310         (avr-*-*): Likewise.
10311         (bfin*-elf*): Add t-fdpbit to tmake_file.
10312         (bfin*-uclinux*): Likewise.
10313         (bfin*-linux-uclibc*): Likewise.
10314         (bfin*-rtems*): New case.
10315         Add t-fdpbit to tmake_file.
10316         (bfin*-*): Add t-fdpbit to tmake_file.
10317         (crisv32-*-elf): Likewise.
10318         (cris-*-linux*): Likewise.
10319         (fr30-*-elf): Likewise.
10320         (frv-*-elf, frv-*-*linux*): Likewise.
10321         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10322         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10323         (m32r-*-elf*): Likewise.
10324         (m32rle-*-elf*): Likewise.
10325         (m32r-*-linux*): Likewise.
10326         (m32rle-*-linux*): Likewise.
10327         (mcore-*-elf): Add t-fdpbit to tmake_file.
10328         (microblaze*-*-*): Likewise.
10329         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10330         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10331         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10332         Fix typo.
10333         Add mips/t-tpbit to tmake-file.
10334         (mips*-*-linux*): Fix typo.
10335         (mips*-sde-elf*): New case
10336         Add mips/t-sdemtk unless using newlib.
10337         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10338         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10339         (mn10300-*-*): Likewise.
10340         (pdp11-*-*): Likewise.
10341         (picochip-*-*): Add t-fpbit to tmake_file.
10342         (powerpc-*-eabisimaltivec*): Likewise.
10343         (powerpc-*-eabisim*): Likewise.
10344         (powerpc-*-elf*): Likewise.
10345         (powerpc-*-eabialtivec*): Likewise.
10346         (powerpc-xilinx-eabi*): New case.
10347         Add t-fdpbit to tmake_file.
10348         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
10349         (powerpc-*-rtems*): Likewise.
10350         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10351         tmake_file.
10352         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10353         tmake_file.
10354         (powerpc-*-lynxos*): Likewise.
10355         (powerpcle-*-elf*): Likewise.
10356         (powerpcle-*-eabisim*): Likewise.
10357         (powerpcle-*-eabi*): Likewise.
10358         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10359         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10360         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10361         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10362         (rx-*-elf): Add t-fdpbit to tmake_file.
10363         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10364         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10365         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10366         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10367         sh*-*-netbsd*.
10368         (sh-*-rtems*): Add t-fdpbit to tmake_file.
10369         (sh-wrs-vxworks): Likewise.
10370         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10371         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10372         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10373         (sparc64-*-rtems*): ... new case.
10374         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10375         (spu-*-elf*): Likewise.
10376         Add spu/t-elf to tmake_file.
10377         (v850*-*-*): Add t-fdpbit to tmake_file.
10378         (xstormy16-*-elf): Likewise.
10379         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10380         (mep*-*-*): Likewise.
10382 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10384         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10385         variables.
10386         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10387         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10388         (install-unwind_h): New target.
10389         (all): Depend on it.
10390         * config.host (unwind_header): New variable.
10391         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10392         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10393         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10394         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10395         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10396         Set unwind_header.
10397         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10398         Set unwind_header.
10399         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10400         arm*-*-eabi*.
10401         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10402         Set unwind_header.
10403         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10404         (ia64*-*-freebsd*): Likewise.
10405         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10406         tmake_file.
10407         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10408         $with_system_libunwind.
10409         (ia64*-*-hpux*): Set tmake_file.
10410         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10411         (picochip-*-*): Set tmake_file.
10412         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10413         md_unwind_header.
10414         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10415         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10416         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10417         (xtensa*-*-elf*): Set tmake_file.
10418         (xtensa*-*-linux*): Likewise.
10419         * configure.ac: Include ../config/unwind_ipinfo.m4.
10420         Call GCC_CHECK_UNWIND_GETIPINFO.
10421         Link unwind.h to $unwind_header.
10422         * configure: Regenerate.
10423         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10424         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10425         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10426         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10427         * config/unwind-dw2-fde-darwin.c: New file.
10428         * config/arm/libunwind.S, config/arm/pr-support.c,
10429         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10430         config/arm/unwind-arm.h,: New files.
10431         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10432         config/ia64/t-eh-ia64, config/ia64/t-glibc,
10433         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10434         config/ia64/t-vms, config/ia64/unwind-ia64.c,
10435         config/ia64/unwind-ia64.h: New files.
10436         * config/picochip/t-picochip: New file.
10437         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10438         files.
10439         * config/rs6000/t-darwin (LIB2ADDEH): Set.
10440         * config/s390/t-tpf (LIB2ADDEH): Remove.
10441         * config/t-darwin (LIB2ADDEH): Set.
10442         * config/t-eh-dw2-dip: New file.
10443         * config/t-libunwind, config/t-libunwind-elf: New files.
10444         * config/t-sol2 (LIB2ADDEH): Remove.
10445         * config/xtensa/t-xtensa: New file.
10447 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
10449         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10450         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10451         long long to check rt_sigreturn syscall.
10453 2011-08-02  Alan Modra  <amodra@gmail.com>
10455         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10456         Restore for indirect call bcrtl from correct stack slot, and only
10457         if cfa+40 isn't valid.
10459 2011-08-01  Julian Brown  <julian@codesourcery.com>
10461         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10462         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10463         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10465 2011-08-01  Julian Brown  <julian@codesourcery.com>
10467         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10468         (libgcc-std.ver.in): Use above.
10469         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10470         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
10471         throughout file.
10472         * config/t-fixedpoint-gnu-prefix: New file.
10473         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10474         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10475         instead of __PFX__.
10477 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10479         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10480         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10481         for x86-64.  Properly check __x86_64__ and __LP64__.
10483 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10485         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10486         version.
10487         (_FP_WS_TYPE): Likewise.
10488         (_FP_I_TYPE): Likewise.
10490 2011-07-28  Alan Modra  <amodra@gmail.com>
10492         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10493         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10494         in a plt call stub.  Do restore r2 if stopped on bctrl.
10496 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10498         * config.host (i[3456x]86-*-netware*): Remove.
10499         * config/i386/netware-crt0.c, config/i386/t-nwld,
10500         config/i386/t-slibgcc-nwld: Remove.
10502 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
10504         * config.host: Handle tic6x-*-*.
10505         * config/c6x/c6x-abi.h: New file.
10507 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10509         * config/i386/crtprec.c: New file.
10510         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10511         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10512         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10513         (x86_64-*-darwin*): Likewise.
10514         (i[34567]86-*-solaris2*: Likewise.
10516 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10518         * config/alpha/crtfastmath.c: New file.
10519         * config/i386/crtfastmath.c: New file.
10520         * config/ia64/crtfastmath.c: New file.
10521         * config/mips/crtfastmath.c: New file.
10522         * config/sparc/crtfastmath.c: New file.
10524         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10525         crtfastmath.c.
10526         Add -frandom-seed=gcc-crtfastmath.
10527         * config/alpha/t-crtfm: Remove.
10528         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10529         * config/ia64/t-ia64 (crtfastmath.o): Remove.
10531         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10532         (alpha*-dec-osf5.1*): Likewise.
10533         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10534         Add crtfastmath.o to extra_parts.
10535         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10536         Add crtfastmath.o to extra_parts.
10537         (x86_64-*-darwin*): Likewise.
10538         (x86_64-*-mingw*): Likewise.
10539         (ia64*-*-elf*): Add t-crtfm to tmake_file.
10540         (ia64*-*-freebsd*): Likewise.
10541         (ia64*-*-linux*): Likewise.
10542         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10543         Add crtfastmath.o to extra_parts.
10545 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10547         * config/darwin-crt3.o: New file.
10548         * config/rs6000/darwin-crt2.c: New file.
10549         * config/t-darwin: New file.
10550         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10551         (crt2.o): New rule.
10552         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10553         (powerpc-*-darwin*): Add crt2.o to extra_parts.
10554         (powerpc64-*-darwin*): Likewise.
10556 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10558         * config/i386/netware-crt0.c: New file.
10559         * config/i386/t-nwld: Rename to ...
10560         * config/i386/t-slibgcc-nwld: ... this.
10561         * config/i386/t-nwld: New file.
10562         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10563         tmake_file.
10564         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10565         extra_parts.
10567 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10569         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10570         i386/t-crtstuff.
10571         * configure: Regenerate.
10573 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10575         * dfp-bit.c, dfp-bit.h: New files.
10576         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10577         variables.
10578         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10579         ($(d64pbit-o)): Likewise.
10580         ($(d128pbit-o)): Likewise.
10581         * config/t-dfprules: New file.
10582         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10583         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10584         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10585         (x86_64-*-linux*): Likewise.
10586         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10587         (i[34567]86-*-cygwin*): Likewise.
10588         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
10589         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10591 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10593         * Makfile.in (LIBGCOV): New variable.
10594         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10595         * libgcov.c: New file.
10597 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10599         * fixed-bit.c, fixed-bit.h: New files.
10600         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10601         refer to fixed-bit.c.
10603 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
10605         * config.host (*local*): Remove.
10607 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10609         PR target/39150
10610         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10611         like i?86-*-solaris2.1[0-9]*.
10612         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10613         * configure.ac (i?86-*-solaris2*): Likewise.
10614         * configure: Regenerate.
10616 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
10618         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10619         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10620         md_unwind_header by splitting out of...
10621         (i[34567]86-*-linux*): ... this.
10622         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10623         Remove md_unwind_header by splitting out of...
10624         (x86_64-*-linux*): ... this.
10626 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
10628         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10630 2011-06-28  Nick Clifton  <nickc@redhat.com>
10632         * config.host: Recognize all V850 variants.
10634 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
10636         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10638 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10640         * shared-object.mk (c_flags-$o): Save c_flags.
10641         ($(base)$(objext)): Use it.
10642         ($(base)_s$(objext)): Likewise.
10644 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
10646         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10647         * libgcc-std.ver.in (GCC_4.7.0): New section.
10649 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
10651         PR target/49313
10652         PR target/29524
10653         * config/avr/t-avr: Fix line endings.
10654         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
10655         _parityXX2.
10657 2011-06-14  Olivier Hainque  <hainque@adacore.com>
10658             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10660         * config/mips/irix6-unwind.h: New file.
10661         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10663 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
10665         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10666         (sparc64_fallback_frame_state): Use it.
10667         (sparc64_frob_update_context): Further adjust context.
10668         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10669         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10670         * config/sparc/sol2-cn.S: Likewise.
10672 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10674         * enable-execute-stack-empty.c: New file.
10675         * enable-execute-stack-mprotect.c: New file.
10676         * config/i386/enable-execute-stack-mingw32.c: New file.
10677         * config.host (enable_execute_stack): New variable.
10678         Select appropriate variants.
10679         * configure.ac: Link enable-execute-stack.c to
10680         $enable_execute_stack.
10681         * configure: Regenerate.
10682         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10683         (lib2funcs): Remove _enable_execute_stack.
10685 2011-06-09  David S. Miller  <davem@davemloft.net>
10686             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10688         * config.host (sparc-*-linux*): Correct md_unwind_header
10689         filename.
10690         (s390x-ibm-tpf*): Fix typo.
10692 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10694         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10695         Add crtfastmath.o to extra_parts.
10696         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10697         mips/t-crtfm.
10698         * config/mips/t-crtfm: Remove.
10700 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10702         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10704 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10706         * config.host (sh*-*-linux*): Fix typo.
10708 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10710         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10711         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10712         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10713         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10714         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10715         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10716         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10717         Wrap in !__MINGW64__.
10718         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10719         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10720         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10721         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10722         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10723         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10724         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10725         Wrap in !__LP64__.
10726         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10727         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10728         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10729         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10730         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10731         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10732         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10733         * config/no-unwind.h: New file.
10734         * config.host (md_unwind_header): Document.
10735         Define.
10736         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10737         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10738         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10739         hppa[12]*-*-hpux11*): Set md_unwind_header.
10740         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10741         Set md_unwind_header.
10742         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10743         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10744         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10745         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10746         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10747         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10748         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10749         md_unwind_header.
10750         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10751         * configure: Regenerate.
10753 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10755         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10756         Set tmake_file, extra_parts.
10757         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10758         Remove O32 support.
10759         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10760         Remove O32 support.
10761         * config/mips/t-irix6: New file.
10762         * config/mips/t-slibgcc-irix: New file.
10764 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10766         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10767         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10769 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10771         * configure.ac (target_thread_file): Determine thread model.
10772         * configure: Regenerate.
10773         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10774         * config/alpha/t-alpha: New file.
10775         * config/alpha/t-crtfm: Use $<.
10776         * config/alpha/t-ieee: New file.
10777         * config/alpha/t-osf-pthread: New file.
10778         * config/alpha/t-slibgcc-osf: New file.
10779         * config/alpha/libgcc-osf5.ver: New file.
10781 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10783         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10784         tmake_file.
10785         Add crtfastmath.o to extra_parts.
10787 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10789         * config/gmon-sol2.c: Reindent.
10790         Cleanup comments.
10791         Remove, correct casts.
10792         Use STDERR_FILENO, NULL.
10793         (BASEADDRESS): Remove.
10794         (minbrk): Remove.
10795         (errno, sbrk): Remove declarations.
10796         (monstartup) [hp300]: Remove.
10797         (mcount): Remove.
10799 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10801         * Makefile.in (cpu_type): Define.
10802         * config.host (i[34567]86-*-rtems*): Handle it.
10803         (i[34567]86-*-solaris2*): Move body ...
10804         (*-*-solaris2*): ... here.
10805         New case, generalize.
10806         (sparc-*-elf*): Handle it.
10807         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10808         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10809         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10810         Fold into ...
10811         (sparc*-*-solaris2*): ... this.
10812         New case.
10813         (sparc64-*-elf*): Handle it.
10814         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10815         Merge ../gcc/config/i386/gmon-sol2.c.
10816         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10817         Use C comments.
10818         Merge ../gcc/config/i386/sol2-gc1.asm.
10819         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10820         Use C comments.
10821         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10822         Use C comments.
10823         * config/i386/t-crtfm (crtfastmath.o): Use $<.
10824         * config/i386/t-crtstuff: New file.
10825         * config/i386/t-softfp: New file.
10826         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10827         $(T)crti.o, $(T)crtn.o): Remove.
10828         (gcrt1.o): New rule.
10829         (TARGET_LIBGCC2_CFLAGS): Remove.
10830         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10831         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10832         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10833         * config/sparc/t-sol2: New file.
10834         * config/sparc/t-crtfm: Move to ...
10835         * config/t-crtfm: ... this.
10836         Use $(cpu_type), $<.
10837         * config/t-crtin: New file.
10838         * config/sparc/t-softfp: New file.
10839         * config/sparc/t-softmul: New file.
10840         * config/t-rtems: New file.
10841         * config/t-slibgcc: New file.
10842         * config/t-slibgcc-elf-ver: New file.
10843         * config/t-slibgcc-gld: New file.
10844         * config/t-slibgcc-sld: New file.
10845         * config/t-sol2: New file.
10846         * configure.ac: Include ../config/lib-ld.m4.
10847         Call AC_LIB_PROG_LD_GNU.
10848         Substitute cpu_type.
10849         * configure: Regenerate.
10851 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
10853         PR bootstrap/49173
10854         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10855         libgcc-std.ver in the build directory.
10856         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10857         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10859 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
10861         * libgcc-std.ver.in: New file.
10862         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10863         variables.
10864         (libgcc-std.ver): New rule.
10865         * config/t-gnu-prefix: New file.
10867 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10869         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10871 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
10873         * config/i386/darwin-lib.h: New file.
10875 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
10877         * config/arm/symbian-lib.h: New.
10879 2011-05-04  Chris Demetriou  <cgd@google.com>
10881         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10882         (__x86.get_pc_thunk.bx): ...this.
10883         (__morestack): Adjust for rename, remove undef of __i686.
10885 2011-05-03  Chris Demetriou  <cgd@google.com>
10887         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10889 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
10891         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10892         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10893         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10894         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10895         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10896         Remove cases.
10898 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
10900         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10901         Adjust copyright year.
10903 2011-03-07  Ian Lance Taylor  <iant@google.com>
10905         * generic-morestack.c (__splitstack_find): Adjust returned stack
10906         pointer to include all registers pushed by __morestack.
10908 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
10910         PR target/40125
10911         * configure.ac: Call ACX_NONCANONICAL_TARGET.
10912         (toolexecdir): Calculate and AC_SUBST.
10913         (toolexeclibdir): Likewise.
10914         * Makefile.in (target_noncanonical): Import.
10915         (toolexecdir): Likewise.
10916         (toolexeclibdir): Likewise.
10917         * configure: Regenerate.
10919 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
10921         PR target/46040
10922         * config/arm/bpabi.h: Rename to...
10923         * config/arm/bpabi-lib.h: ...this.
10925 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10927         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10928         appropriate.
10929         * configure: Regenerate.
10931 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
10933         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10934         __FLOAT_WORD_ORDER__.
10935         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10936         Delete.
10938 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10940         PR other/46202
10941         * Makefile.in (install-strip): New phony target.
10943 2010-11-07  Ian Lance Taylor  <iant@google.com>
10945         PR target/46089
10946         * config/i386/morestack.S (__morestack_large_model): New
10947         function.
10949 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
10951         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10952         Delete.
10953         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10955 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
10957         * config/arm/bpabi.h: New file.
10958         * config/frv/frv-abi.h: New file.
10960 2010-10-01  Ian Lance Taylor  <iant@google.com>
10962         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10963         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10965 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10967         PR target/45858
10968         * config.host: Add the missing `$'.
10970 2010-09-30  Michael Eager  <eager@eagercon.com>
10972         * config.host: Add microblaze*-*-*.
10973         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10974         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10975         udivsi3.asm,umodsi3.asm}:  New.
10977 2010-09-28  Ian Lance Taylor  <iant@google.com>
10979         * configure.ac: Adjust CFI test to test assembler directly rather
10980         than checking gcc preprocessor macro.
10981         * configure: Rebuild.
10983 2010-09-27  Ian Lance Taylor  <iant@google.com>
10985         * configure.ac: Test whether assembler supports CFI directives.
10986         * config.host: Only add t-stack and i386/t-stack-i386 to
10987         tmake_file if libgcc_cv_cfi is "yes".
10988         * configure: Rebuild.
10990 2010-09-27  Ian Lance Taylor  <iant@google.com>
10992         * generic-morestack.h: New file.
10993         * generic-morestack.c: New file.
10994         * generic-morestack-thread.c: New file.
10995         * config/i386/morestack.S: New file.
10996         * config/t-stack: New file.
10997         * config/i386/t-stack-i386: New file.
10998         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10999         i386/t-stack-i386 to tmake_file.
11001 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
11003         * Makefile.in (libgcc-extra-parts):  Check for static archives and
11004         invoke ranlib after installing them.
11005         (gcc-extra-parts): Likewise.
11006         (install-leaf): Likewise.
11008 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
11010         * configure: Regenerated.
11012 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
11014         * configure: Regenerated.
11016 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
11017             Andrew Pinski  <pinskia@gmail.com>
11019         PR target/40959
11020         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
11022 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11024         PR target/45524
11025         * configure: Regenerated.
11027 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11029         * configure: Regenerate.
11031 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
11033         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11034         64bit targets.
11035         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11036         for 64bit targets.
11038 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
11039             Iain Sandoe  <iains@gcc.gnu.org>
11041         PR target/45476
11042         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11043         LIB2FUNCS_EXCLUDE functions.
11045 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11047         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11048         Include dfp.m4.
11049         * configure: Regenerate.
11051 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
11053         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11054         i386/t-freebsd to tmake_file.
11055         * config/i386/t-freebsd: New file.
11056         * config/i386/libgcc-bsd.ver: New file.
11058 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
11060         * config.host (powerpc*-eabispe*): Set tmake_file.
11061         (powerpc*-eabi*): Likewise.
11062         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11063         crtbeginS, crtendS, crtbeginT.
11065 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
11067         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11068         to tmake_file.  Add crtfastmath.o to extra_parts.
11069         * config/mips/t-crtfm: New.
11071 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
11073         * config.host (sparc64-*-rtems*): New target.
11075 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11077         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11078         assembler syntax.
11080 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
11082         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11084 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11086         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11087         alpha-dec-osf5.0* support.
11089 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
11091         * config.host: Add lm32-*-rtems*.
11093 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11094             Uros Bizjak  <ubizjak@gmail.com>
11096         PR target/39048
11097         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11098         like other remaining 32-bit x86 OSes.
11099         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11100         assembler syntax.
11101         * config/i386/libgcc-sol2.ver: New file.
11102         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11104 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
11106         PR c/43553
11107         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11108         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11109         is used and substitute set_use_emutls.
11110         * configure: Regenerated.
11112 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
11114         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11116 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11118         PR target/38085
11119         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11120         MULTILIB_CFLAGS.
11121         ($(T)gcrt1.o): Likewise.
11122         ($(T)crt1.o): Likewise.
11123         ($(T)crti.o): Likewise.
11124         ($(T)crtn.o): Likewise.
11126 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11128         PR other/42980
11129         * Makefile.in (install): Use $(MAKE) string in rule, for
11130         parallel make.
11132 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
11134         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11135         * config/mmix/t-mmix: New file.
11136         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11138 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
11140         PR java/41991
11141         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11142         SHLIB_MAPFILES.
11144 2010-01-04  Anthony Green  <green@moxielogic.com>
11146         * config/moxie/crti.asm, config/moxie/crtn.asm,
11147         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11148         config/moxie/t-moxie: New files.
11149         * config.host: Add t-moxie-softfp reference.
11151 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
11153         PR other/39888
11154         * config/t-slibgcc-darwin: Fix embedded rpaths for
11155         --enable-version-specific-runtime-libs, build extension stub
11156         libs exposing features available from current libgcc_s.
11158 2009-11-11  Jon Beniston  <jon@beniston.com>
11160         * config.host: Add lm32 targets.
11161         * config/lm32: New directory.
11162         * config/lm32/libgcc_lm32.h: New file.
11163         * config/lm32/_mulsi3.c: New file.
11164         * config/lm32/_udivmodsi4.c: New file.
11165         * config/lm32/_divsi3.c: New file.
11166         * config/lm32/_modsi3.c: New file.
11167         * config/lm32/_udivsi3.c: New file.
11168         * config/lm32/_umodsi3.c: New file.
11169         * config/lm32/_lshrsi3.S: New file.
11170         * config/lm32/_ashrsi3.S: New file.
11171         * config/lm32/_ashlsi3.S: New file.
11172         * config/lm32/crti.S: New file.
11173         * config/lm32/crtn.S: New file.
11174         * config/lm32/t-lm32: New file.
11175         * config/lm32/t-elf: New file.
11176         * config/lm32/t-uclinux: New file.
11178 2009-10-26  Nick Clifton  <nickc@redhat.com>
11180         * config.host: Add support for RX target.
11181         * config/rx: New directory.
11182         * config/rx/rx-abi-functions.c: New file. Supplementary
11183         functions for libgcc to support the RX ABI.
11184         * config/rx/rx-abi.h: New file.  Supplementary header file for
11185         libgcc RX ABI functions.
11186         * config/rx/t-rx: New file: Makefile fragment for building
11187         libgcc for the RX.
11189 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
11191         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11192         constraint of y0 to "g".
11194 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11196         * config.host: Include the s390 makefile fragments.
11197         * config/s390/32/_fixdfdi.c: New file.
11198         * config/s390/32/_fixsfdi.c: New file.
11199         * config/s390/32/_fixtfdi.c: New file.
11200         * config/s390/32/_fixunsdfdi.c: New file.
11201         * config/s390/32/_fixunssfdi.c: New file.
11202         * config/s390/32/_fixunstfdi.c: New file.
11203         * config/s390/32/t-floattodi: New file.
11204         * config/s390/libgcc-glibc.ver: New file.
11205         * config/s390/t-crtstuff: New file.
11206         * config/s390/t-linux: New file.
11207         * config/s390/t-tpf: New file.
11209 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11211         * configure.ac (AC_PREREQ): Bump to 2.64.
11213 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
11215         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11217 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11219         * configure: Regenerate.
11221 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
11223         * config.host (ia64-hp-*vms*): New target.
11224         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11225         with ia64-hp-*vms*.
11227 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11229         * configure.ac: Add snippet for maintainer-mode.
11230         * configure: Regenerate.
11231         * Makefile.in (AUTOCONF, configure_deps): New variables.
11232         ($(srcdir)/configure)): New rule, active only with maintainer
11233         mode turned on.
11235 2009-06-23  DJ Delorie  <dj@redhat.com>
11237         Add MeP port.
11238         * config.host: Add mep support.
11240 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
11242         * config.host: Add i386/${host_address}/t-fprules-softfp and
11243         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11245         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11246         for mingw targets.
11247         * config/i386/64/_multc3.c: Likewise.
11248         * config/i386/64/_powitf2.c: Likewise.
11249         * config/i386/64/eqtf2.c: Likewise.
11250         * config/i386/64/getf2.c: Likewise.
11251         * config/i386/64/letf2.c: Likewise.
11252         * config/i386/64/letf2.c: Likewise.
11253         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11254         unsigned long long for x64 mingw targets.
11255         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11256         (_FP_I_TYPE): Define as long long for x64 mingw target.
11258 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
11260         * config.host (vax-*-linux*): New.
11262 2009-05-31  Anthony Green  <green@moxielogic.com>
11264         * config.host: Add moxie support.
11265         * config/moxie/t-moxie: New file.
11267 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
11269         * config.host: Add i386/${host_address}/t-fprules-softfp and
11270         t-softfp to tmake_file for i[34567]86-*-cygwin*.
11272 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
11274         * config.host: Add i386/${host_address}/t-fprules-softfp to
11275         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11277 2009-04-09  Nick Clifton  <nickc@redhat.com>
11279         * config/ia64/tf-signs.c: Change copyright header to refer to
11280         version 3 of the GNU General Public License with version 3.1
11281         of the GCC Runtime Library Exception and to point readers at
11282         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11283         web page.
11284         * config/i386/32/tf-signs.c: Likewise.
11285         * config/libbid/_addsub_dd.c: Likewise.
11286         * config/libbid/_addsub_sd.c: Likewise.
11287         * config/libbid/_addsub_td.c: Likewise.
11288         * config/libbid/_dd_to_df.c: Likewise.
11289         * config/libbid/_dd_to_di.c: Likewise.
11290         * config/libbid/_dd_to_sd.c: Likewise.
11291         * config/libbid/_dd_to_sf.c: Likewise.
11292         * config/libbid/_dd_to_si.c: Likewise.
11293         * config/libbid/_dd_to_td.c: Likewise.
11294         * config/libbid/_dd_to_tf.c: Likewise.
11295         * config/libbid/_dd_to_udi.c: Likewise.
11296         * config/libbid/_dd_to_usi.c: Likewise.
11297         * config/libbid/_dd_to_xf.c: Likewise.
11298         * config/libbid/_df_to_dd.c: Likewise.
11299         * config/libbid/_df_to_sd.c: Likewise.
11300         * config/libbid/_df_to_td.c: Likewise.
11301         * config/libbid/_di_to_dd.c: Likewise.
11302         * config/libbid/_di_to_sd.c: Likewise.
11303         * config/libbid/_di_to_td.c: Likewise.
11304         * config/libbid/_div_dd.c: Likewise.
11305         * config/libbid/_div_sd.c: Likewise.
11306         * config/libbid/_div_td.c: Likewise.
11307         * config/libbid/_eq_dd.c: Likewise.
11308         * config/libbid/_eq_sd.c: Likewise.
11309         * config/libbid/_eq_td.c: Likewise.
11310         * config/libbid/_ge_dd.c: Likewise.
11311         * config/libbid/_ge_sd.c: Likewise.
11312         * config/libbid/_ge_td.c: Likewise.
11313         * config/libbid/_gt_dd.c: Likewise.
11314         * config/libbid/_gt_sd.c: Likewise.
11315         * config/libbid/_gt_td.c: Likewise.
11316         * config/libbid/_isinfd128.c: Likewise.
11317         * config/libbid/_isinfd32.c: Likewise.
11318         * config/libbid/_isinfd64.c: Likewise.
11319         * config/libbid/_le_dd.c: Likewise.
11320         * config/libbid/_le_sd.c: Likewise.
11321         * config/libbid/_le_td.c: Likewise.
11322         * config/libbid/_lt_dd.c: Likewise.
11323         * config/libbid/_lt_sd.c: Likewise.
11324         * config/libbid/_lt_td.c: Likewise.
11325         * config/libbid/_mul_dd.c: Likewise.
11326         * config/libbid/_mul_sd.c: Likewise.
11327         * config/libbid/_mul_td.c: Likewise.
11328         * config/libbid/_ne_dd.c: Likewise.
11329         * config/libbid/_ne_sd.c: Likewise.
11330         * config/libbid/_ne_td.c: Likewise.
11331         * config/libbid/_sd_to_dd.c: Likewise.
11332         * config/libbid/_sd_to_df.c: Likewise.
11333         * config/libbid/_sd_to_di.c: Likewise.
11334         * config/libbid/_sd_to_sf.c: Likewise.
11335         * config/libbid/_sd_to_si.c: Likewise.
11336         * config/libbid/_sd_to_td.c: Likewise.
11337         * config/libbid/_sd_to_tf.c: Likewise.
11338         * config/libbid/_sd_to_udi.c: Likewise.
11339         * config/libbid/_sd_to_usi.c: Likewise.
11340         * config/libbid/_sd_to_xf.c: Likewise.
11341         * config/libbid/_sf_to_dd.c: Likewise.
11342         * config/libbid/_sf_to_sd.c: Likewise.
11343         * config/libbid/_sf_to_td.c: Likewise.
11344         * config/libbid/_si_to_dd.c: Likewise.
11345         * config/libbid/_si_to_sd.c: Likewise.
11346         * config/libbid/_si_to_td.c: Likewise.
11347         * config/libbid/_td_to_dd.c: Likewise.
11348         * config/libbid/_td_to_df.c: Likewise.
11349         * config/libbid/_td_to_di.c: Likewise.
11350         * config/libbid/_td_to_sd.c: Likewise.
11351         * config/libbid/_td_to_sf.c: Likewise.
11352         * config/libbid/_td_to_si.c: Likewise.
11353         * config/libbid/_td_to_tf.c: Likewise.
11354         * config/libbid/_td_to_udi.c: Likewise.
11355         * config/libbid/_td_to_usi.c: Likewise.
11356         * config/libbid/_td_to_xf.c: Likewise.
11357         * config/libbid/_tf_to_dd.c: Likewise.
11358         * config/libbid/_tf_to_sd.c: Likewise.
11359         * config/libbid/_tf_to_td.c: Likewise.
11360         * config/libbid/_udi_to_dd.c: Likewise.
11361         * config/libbid/_udi_to_sd.c: Likewise.
11362         * config/libbid/_udi_to_td.c: Likewise.
11363         * config/libbid/_unord_dd.c: Likewise.
11364         * config/libbid/_unord_sd.c: Likewise.
11365         * config/libbid/_unord_td.c: Likewise.
11366         * config/libbid/_usi_to_dd.c: Likewise.
11367         * config/libbid/_usi_to_sd.c: Likewise.
11368         * config/libbid/_usi_to_td.c: Likewise.
11369         * config/libbid/_xf_to_dd.c: Likewise.
11370         * config/libbid/_xf_to_sd.c: Likewise.
11371         * config/libbid/_xf_to_td.c: Likewise.
11372         * config/libbid/bid128.c: Likewise.
11373         * config/libbid/bid128_2_str.h: Likewise.
11374         * config/libbid/bid128_2_str_macros.h: Likewise.
11375         * config/libbid/bid128_2_str_tables.c: Likewise.
11376         * config/libbid/bid128_add.c: Likewise.
11377         * config/libbid/bid128_compare.c: Likewise.
11378         * config/libbid/bid128_div.c: Likewise.
11379         * config/libbid/bid128_fma.c: Likewise.
11380         * config/libbid/bid128_logb.c: Likewise.
11381         * config/libbid/bid128_minmax.c: Likewise.
11382         * config/libbid/bid128_mul.c: Likewise.
11383         * config/libbid/bid128_next.c: Likewise.
11384         * config/libbid/bid128_noncomp.c: Likewise.
11385         * config/libbid/bid128_quantize.c: Likewise.
11386         * config/libbid/bid128_rem.c: Likewise.
11387         * config/libbid/bid128_round_integral.c: Likewise.
11388         * config/libbid/bid128_scalb.c: Likewise.
11389         * config/libbid/bid128_sqrt.c: Likewise.
11390         * config/libbid/bid128_string.c: Likewise.
11391         * config/libbid/bid128_to_int16.c: Likewise.
11392         * config/libbid/bid128_to_int32.c: Likewise.
11393         * config/libbid/bid128_to_int64.c: Likewise.
11394         * config/libbid/bid128_to_int8.c: Likewise.
11395         * config/libbid/bid128_to_uint16.c: Likewise.
11396         * config/libbid/bid128_to_uint32.c: Likewise.
11397         * config/libbid/bid128_to_uint64.c: Likewise.
11398         * config/libbid/bid128_to_uint8.c: Likewise.
11399         * config/libbid/bid32_to_bid128.c: Likewise.
11400         * config/libbid/bid32_to_bid64.c: Likewise.
11401         * config/libbid/bid64_add.c: Likewise.
11402         * config/libbid/bid64_compare.c: Likewise.
11403         * config/libbid/bid64_div.c: Likewise.
11404         * config/libbid/bid64_fma.c: Likewise.
11405         * config/libbid/bid64_logb.c: Likewise.
11406         * config/libbid/bid64_minmax.c: Likewise.
11407         * config/libbid/bid64_mul.c: Likewise.
11408         * config/libbid/bid64_next.c: Likewise.
11409         * config/libbid/bid64_noncomp.c: Likewise.
11410         * config/libbid/bid64_quantize.c: Likewise.
11411         * config/libbid/bid64_rem.c: Likewise.
11412         * config/libbid/bid64_round_integral.c: Likewise.
11413         * config/libbid/bid64_scalb.c: Likewise.
11414         * config/libbid/bid64_sqrt.c: Likewise.
11415         * config/libbid/bid64_string.c: Likewise.
11416         * config/libbid/bid64_to_bid128.c: Likewise.
11417         * config/libbid/bid64_to_int16.c: Likewise.
11418         * config/libbid/bid64_to_int32.c: Likewise.
11419         * config/libbid/bid64_to_int64.c: Likewise.
11420         * config/libbid/bid64_to_int8.c: Likewise.
11421         * config/libbid/bid64_to_uint16.c: Likewise.
11422         * config/libbid/bid64_to_uint32.c: Likewise.
11423         * config/libbid/bid64_to_uint64.c: Likewise.
11424         * config/libbid/bid64_to_uint8.c: Likewise.
11425         * config/libbid/bid_b2d.h: Likewise.
11426         * config/libbid/bid_binarydecimal.c: Likewise.
11427         * config/libbid/bid_conf.h: Likewise.
11428         * config/libbid/bid_convert_data.c: Likewise.
11429         * config/libbid/bid_decimal_data.c: Likewise.
11430         * config/libbid/bid_decimal_globals.c: Likewise.
11431         * config/libbid/bid_div_macros.h: Likewise.
11432         * config/libbid/bid_dpd.c: Likewise.
11433         * config/libbid/bid_flag_operations.c: Likewise.
11434         * config/libbid/bid_from_int.c: Likewise.
11435         * config/libbid/bid_functions.h: Likewise.
11436         * config/libbid/bid_gcc_intrinsics.h: Likewise.
11437         * config/libbid/bid_inline_add.h: Likewise.
11438         * config/libbid/bid_internal.h: Likewise.
11439         * config/libbid/bid_round.c: Likewise.
11440         * config/libbid/bid_sqrt_macros.h: Likewise.
11442 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
11444         * Makefile.in: Change copyright header to refer to version
11445         3 of the GNU General Public License and to point readers at the
11446         COPYING3 file and the FSF's license web page.
11447         * config.host: Likewise.
11449 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
11451         * config.host: Reorder and merge to match config.gcc change.
11453 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
11455         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11457 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
11459         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11460         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11461         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11462         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11464 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
11466         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11467         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11469 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
11471         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11472         ia64/t-softfp-compat to tmake_file.
11474         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11476         * config/ia64/__divxf3.asm: New.
11477         * config/ia64/_fixtfdi.asm: Likewise.
11478         * config/ia64/_fixunstfdi.asm: Likewise.
11479         * config/ia64/_floatditf.asm: Likewise.
11480         * config/ia64/t-fprules-softfp: Likewise.
11481         * config/ia64/t-softfp-compat: Likewise.
11482         * config/ia64/tf-signs.c: Likewise.
11484 2009-01-18  Ben Elliston  <bje@au.ibm.com>
11486         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11488 2009-01-16  Ben Elliston  <bje@au.ibm.com>
11490         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11491         to tmake_file.
11493 2009-01-13  Ben Elliston  <bje@au.ibm.com>
11495         * config/t-softfp: New file.
11496         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11497         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11499 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
11501         * config.host: Add m32r*-*-rtems*.
11503 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
11505         * config.host: Add m32c*-*-rtems*.
11507 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11509         PR bootstrap/33100
11510         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11511         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11512         * configure: Regenerate.
11513         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11514         tmake_file here from gcc/config.gcc.
11515         Move extra_parts here from gcc/config.gcc.
11516         * config/i386/t-sol2: Move here from gcc/config/i386.
11517         Use gcc_srcdir instead of srcdir.
11519 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
11521         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11522         case.
11524 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
11526         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11528 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
11530         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11532 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
11534         Add picoChip port.
11535         * config.host: Add picochip-*-*.
11537 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
11539         * config.host: Match more processor names for Xtensa.
11541 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
11543         * config/i386/64/t-softfp-compat: Update comments.
11545 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11547         * config/i386/64/_divtc3-compat.c: Moved to ...
11548         * config/i386/64/_divtc3.c: Here.
11550         * config/i386/64/_multc3-compat.c: Moved to ...
11551         * config/i386/64/_multc3.c: Here.
11553         * config/i386/64/_powitf2-compat.c: Moved to ...
11554         * config/i386/64/_powitf2.c: Here.
11556         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11557         .c suffix instead of -compat.c.
11559 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
11561         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11562         (_FP_MUL_MEAT_D): Ditto.
11563         (_FP_DIV_MEAT_S): Ditto.
11564         (_FP_DIV_MEAT_D): Ditto.
11566 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
11568         * Makefile.in: Add support for __sync_* libgcc functions.
11570 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
11572         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11574 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11576         PR boostrap/36702
11577         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11578         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
11580         * config/i386/64/t-fprules-softfp: Moved to ...
11581         * config/i386/64/t-softfp-compat: This.  New.
11583 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
11585         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11586         Initialize f with 0.0.
11588 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11590         PR target/36669
11591         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11593         * config/i386/64/_divtc3-compat.c: New.
11594         * config/i386/64/_multc3-compat.c: Likewise.
11595         * config/i386/64/_powitf2-compat.c: Likewise.
11596         * config/i386/64/eqtf2.c: Likewise.
11597         * config/i386/64/getf2.c: Likewise.
11598         * config/i386/64/letf2.c: Likewise.
11599         * config/i386/64/t-fprules-softfp: Likewise.
11601 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11603         * config.host: Add i386/${host_address}/t-fprules-softfp to
11604         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11605         i[34567]86-*-linux*, x86_64-*-linux*.
11607         * configure.ac: Set host_address to 64 or 32 for x86.
11608         * configure: Regenerated.
11610         * Makefile.in (config.status): Also depend on
11611         $(srcdir)/config.host.
11613         * config/i386/32/t-fprules-softfp: New.
11614         * config/i386/32/tf-signs.c: Likewise.
11616         * config/i386/64/sfp-machine.h: New. Moved from gcc.
11618 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11619             Uros Bizjak  <ubizjak@gmail.com>
11621         * config/i386/32/sfp-machine.h: New.
11623 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
11625         * config/rs6000/t-ppccomm: Remove rules that conflict with
11626         auto-generated rules.
11628 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11630         * configure.ac: sinclude override.m4.
11631         * configure: Regenerate.
11633 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
11635         * configure: Regenerate.
11637 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
11639         * Makefile.in (DECNUMINC): Remove
11640         -I$(MULTIBUILDTOP)../../libdecnumber.
11641         * gstdint.h: New.
11643 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
11645         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11646         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11647         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11648         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11649         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11650         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11651         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11652         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11653         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11654         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11655         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11656         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11657         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11658         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11660 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
11662         * config.host (sh2[lbe]*-*-linux*): Allow target.
11664 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
11666         * config/rs6000/t-ppccomm: Add build rules for new files.
11667         (LIB2ADD_ST): New variable.
11669 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
11671         PR target/34210
11672         PR target/35508
11673         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11674         * config/t-avr: New file. Build 16bit libgcc functions.
11676 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
11678         PR target/35401
11679         * config/t-slibgcc-darwin: Make install-leaf dependent on
11680         install-darwin-libgcc-stubs instead of install.
11682 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
11684         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11685         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11686         sh-*-rtemscoff*): Remove cases.
11688 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
11690         * Makefile.in (all): Use install-leaf rather than install.
11691         (install): Split most of the rule into...
11692         (install-leaf): ...this new one.
11694 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
11695             Paolo Bonzini  <bonzini@gnu.org>
11697         PR target/30572
11698         * Makefile.in: Use @shlib_slibdir@ substitution to get
11699         correct install name on darwin.
11700         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11702 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
11704         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11705         cris-*-elf and cris-*-none.
11706         (crisv32-*-linux*): Similar, as cris-*-linux*.
11708 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
11710         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11712 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
11714         PR regression/33926
11715         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11716         * configure: Regenerated.
11718 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
11720         * Makefile.in (dfp-filenames): Replace decimal_globals,
11721         decimal_data, binarydecimal and convert_data with
11722         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11723         and bid_convert_data, respectively.
11725 2007-09-17  Chao-ying Fu  <fu@mips.com>
11726             Nigel Stephens  <nigel@mips.com>
11728         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11729         * Makefile.in (fixed_point): Define.
11730         Check if fixed_point is yes to build support functions.
11731         * configure.ac: Check for fixed_point support.
11732         * configure: Regenerated.
11733         * gen-fixed.sh: New file to generate lists of fixed-point labels,
11734         funcs, modes, from, to.
11736 2007-09-11  Janis Johnson  <janis187@us.ibm.com
11738         * Makefile.in (dfp-filenames): Add bid128_noncomp.
11740 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
11742         * Makefile.in (dfp-filenames): Remove decUtility, add
11743         decDouble, decPacked, decQuad, decSingle.
11745 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
11747         * config.host : Add x86_64-elf target.
11749 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
11751         * configure.ac (set_have_cc_tls): Add a missing =.
11752         * configure: Regenerated.
11754 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
11756         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11757         and x86_64-*-linux*.
11759         * config/t-tls: New file.
11761         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11763         * configure.ac: Include ../config/enable.m4 and
11764         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
11765         supports TLS and substitute set_have_cc_tls.
11766         * configure: Regenerated.
11768 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
11770         * Makefile.in: Use libbid for DFP when BID is enabled.
11772 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
11774         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11775         extra_parts. Add config/i386/t-cygming to tmake_file.
11776         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11778 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
11779             Danny Smith  <dannysmith@users.sourceforge.net>
11781         PR target/29498
11782         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11783         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
11784         * config/i386/t-crtfm: Compile crtfastmath.o with
11785         -minline-all-stringops.
11787 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
11789         * config.host (sparc-wrs-vxworks): New target.
11791 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
11793         * config.host: Recognize fido.
11795 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
11797         * configure: Check host, not target, for decimal float support.
11799 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
11801         * config/i386/t-crtpc: New file.
11802         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11803         (x86_64-*-linux*): Ditto.
11805 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
11807         * config.host (x86_64-*-mingw*): New target.
11809 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
11810             H.J. Lu  <hongjiu.lu@intel.com>
11812         * Makefile.in (enable_decimal_float): New.
11813         (DECNUMINC): Add
11814         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11815         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11816         (decbits-filenames): This.
11817         (decbits-objects): New.
11818         (libgcc-objects): Add $(decbits-objects).
11820         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11821         Substitute enable_decimal_float.
11822         * configure: Regenerated.
11824 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
11826         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11828 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
11830         * Makefile.in (install-info): New dummy target.
11832 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
11834         * config.host (bfin*-linux-uclibc*): Set extra_parts.
11836 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
11838         * Makefile.in: Add install-html and install-pdf dummy
11839         targets.
11841 2007-02-05  Roger Sayle  <roger@eyesopen.com>
11842             Daniel Jacobowitz  <dan@codesourcery.com>
11844         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11845         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11846         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11848 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
11850         * Makefile.in (dec-filenames): Add decExcept.
11852 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
11854         PR bootstrap/30469
11855         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11856         -fprofile-use.
11858 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
11860         * configure.ac: Add --enable-version-specific-runtime-libs.
11861         Correct $slibdir default.
11862         * configure: Regenerated.
11864 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
11866         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11868 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
11870         PR target/30519
11871         * config.host (alpha*-*-linux*): Set extra_parts.
11873 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
11875         * config/sh/t-linux: New.
11876         * config.host (sh*-*-linux*): Set tmake_file.
11878 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
11880         * Makefile.in (install): Handle multilibs.
11882 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
11884         * Makefile.in: Added .PHONY entry for documentation targets.
11886 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
11888         * Makefile.in: Add empty info, html, dvi, pdf targets.
11890 2007-01-04  Mike Stump  <mrs@apple.com>
11892         * Makefile.in (MAKEINFO): Remove.
11893         (PERL): Likewise.
11895 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
11897         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11898         * configure: Regenerate.
11899         * Makefile.in (host_subdir): Substitute it.
11900         (gcc_objdir): Use it.
11902 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11904         * config.host (ia64*-*-linux*): Set tmake_file.
11906 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11908         * Makefile.in (version): Define.
11910 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11911             Paolo Bonzini  <bonzini@gnu.org>
11913         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11914         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11915         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11916         config/sparc/t-crtfm, config/t-slibgcc-darwin,
11917         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11918         shared-object.mk, siditi-object.mk, static-object.mk: New files.
11919         * configure: Generated.
11921 Copyright (C) 2007-2021 Free Software Foundation, Inc.
11923 Copying and distribution of this file, with or without modification,
11924 are permitted in any medium without royalty provided the copyright
11925 notice and this notice are preserved.