Daily bump.
[official-gcc.git] / libgcc / ChangeLog
blob19ce60757ec5929b865f9651980381b91a941db8
1 2021-10-22  Stafford Horne  <shorne@gmail.com>
3         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4         Change to 0.
6 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
8         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
9         outside of get_regs() in order to use it in another function, this
10         is done twice: for __powerpc64__ and for !__powerpc64__.
11         (struct trace_arg): New struct.
12         (struct layout): New struct.
13         (ppc_backchain_fallback): New function.
14         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
15         state and call MD_BACKCHAIN_FALLBACK.
17 2021-10-13  Martin Liska  <mliska@suse.cz>
19         PR gcov-profile/90364
20         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
21         checksums.
22         (write_one_data): Write also checksum.
23         * libgcov-util.c (read_gcda_file): Read also checksum field.
24         * libgcov.h (struct gcov_info): Add new field.
26 2021-10-08  Ian Lance Taylor  <iant@golang.org>
28         * config/i386/morestack.S: Use .init_array for constructor if
29         available.
30         * config/rs6000/morestack.S: Likewise.
31         * config/s390/morestack.S: Likewise.
33 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
35         PR target/101104
36         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
37         Use more correct values for native IBM 128-bit.
39 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
41         * config/i386/libgcc-darwin.ver: Add Symbols for
42         __cpu_model, __cpu_indicator_init.
44 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
46         * config/i386/sfp-machine.h: Guard Mach-O-specific code
47         using __APPLE__.
49 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
51         * config/t-slibgcc-darwin: Delete unused code.
53 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
55         * config/i386/t-darwin: Add in a vers file for X86-specific
56         symbols.
57         * config/t-darwin: Add the generic symbol maps here...
58         * config/t-slibgcc-darwin: ... removing from here.
59         * config/i386/libgcc-darwin.ver: New file.
61 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
63         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
64         and __mulhc3.
66 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
68         * config.host: Use convenience library for Darwin10
69         unwinder shim.
70         * config/t-darwin: Build Darwin10 unwinder shim as a
71         convenience library.
73 2021-09-13  Andrew Pinski  <apinski@marvell.com>
75         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
76         * config/m32r/libgcc-glibc.ver: Removed.
77         * config/m32r/t-linux: Removed.
79 2021-09-08  liuhongt  <hongtao.liu@intel.com>
81         * config/i386/t-softfp: Compile __{mul,div}hc3 into
82         libgcc_s.so.1.
84 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
85             Iain Sandoe  <iain@sandoe.co.uk>
87         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
88         and export *hf* and *hc* functions at GCC_12.0.0.
90 2021-09-06  liuhongt  <hongtao.liu@intel.com>
92         * Makefile.in: Adjust to support specific CFLAGS for each
93         libgcc source file.
94         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
95         related libgcc source files.
96         * config/i386/t-softfp: Ditto.
97         * config/i386/_divhc3.c: New file.
98         * config/i386/_mulhc3.c: New file.
100 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
102         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
103         alias_DFtype, alias_TFtype): New.
104         (ALIAS_SELECTOR): New.
105         (strong_alias): Use __typeof and a _Generic selector to
106         provide the type to the synthesized function.
108 2021-09-02  liuhongt  <hongtao.liu@intel.com>
110         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
111         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
112         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
113         * config/i386/t-softfp: Add hf soft-fp.
114         * config.host: Add i386/64/t-softfp.
115         * config/i386/64/t-softfp: New file.
117 2021-09-02  liuhongt  <hongtao.liu@intel.com>
119         * soft-fp/eqhf2.c: New file.
120         * soft-fp/extendhfdf2.c: New file.
121         * soft-fp/extendhfsf2.c: New file.
122         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
123         * soft-fp/truncdfhf2.c: New file
124         * soft-fp/truncsfhf2.c: New file
126 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
128         * unwind-arm-common.inc (abort): Remove.
130 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
132         * config/aarch64/value-unwind.h: Add missing runtime exception
133         paragraph.
134         * config/frv/frv-abi.h: Likewise.
135         * config/i386/value-unwind.h: Likewise.
136         * config/pa/pa64-hpux-lib.h: Likewise.
138 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
140         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
141         __gcc_qadd.
142         (__gcc_qadd): Call ldouble_qadd_internal.
143         (__gcc_qsub): Call ldouble_qadd_internal with second long double
144         argument negated.
146 2021-08-26  Jonathan Yong  <10walls@gmail.com>
148         * config/i386/cygming-crtend.c: Fix register_frame_ctor
149         and register_frame_dtor warnings.
151 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
153         PR target/102035
154         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
155         Add vlldm erratum work-around.
157 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
159         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
161 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
163         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
164         (gcov_type_unsigned): Likewise.
166 2021-08-14  Stafford Horne  <shorne@gmail.com>
168         PR target/99783
169         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
170         * config/or1k/t-crtstuff: New file.
172 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
174         * libgcov-driver.c (#include <stdint.h>): Remove.
175         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
177 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
179         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
180         * gcov.h (gcov_info): Declare.
181         (__gcov_info_to_gdca): Likewise.
182         * libgcov.h (gcov_write_counter): Remove.
183         (gcov_write_tag_length): Likewise.
184         * libgcov-driver.c (#include <stdint.h>): New.
185         (#include <string.h>): Remove.
186         (NEED_L_GCOV): Conditionally define.
187         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
188         (are_all_counters_zero): New.
189         (gcov_dump_handler): Likewise.
190         (gcov_allocate_handler): Likewise.
191         (dump_unsigned): Likewise.
192         (dump_counter): Likewise.
193         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
194         Use dump_unsigned() and dump_counter().
195         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
196         dump_unsigned(), dump_counter(), and are_all_counters_zero().
197         (__gcov_info_to_gcda): New.
199 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
201         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
202         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
203         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
204         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
206 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
208         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
210 2021-07-15  Alan Modra  <amodra@gmail.com>
212         * config/rs6000/morestack.S (R2_SAVE): Define.
213         (__morestack): Save and restore r2.  Set up r2 for called
214         functions.
216 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
218         * soft-fp/extendhfxf2.c: New file.
219         * soft-fp/truncxfhf2.c: Likewise.
221 2021-06-29  Julian Brown  <julian@codesourcery.com>
223         * config/gcn/lib2-bswapti2.c: New file.
224         * config/gcn/lib2-divmod-di.c: New file.
225         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
226         typedefs.
227         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
228         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
229         lib2-bswapti2.c.
231 2021-06-29  Julian Brown  <julian@codesourcery.com>
233         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
234         return types to USItype.
235         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
237 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
239         * configure: Regenerate.
240         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
241         typos among the name, CFLAGS and the test.
242         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
243         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
244         Remove.
245         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
246         macro FLOAT128_HW_INSNS_ISA3_1.
247         (FP128_3_1_CFLAGS_HW): Fix option typo.
248         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
249         FLOAT128_HW_INSNS_ISA3_1.
250         (__floattikf_resolve): Likewise.
251         (__floatuntikf_resolve): Likewise.
252         (__fixkfti_resolve): Likewise.
253         (__fixunskfti_resolve): Likewise.
254         (__floattikf): Likewise.
255         (__floatuntikf): Likewise.
256         (__fixkfti): Likewise.
257         (__fixunskfti): Likewise.
259 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
261         PR target/99939
262         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
263         macro.
264         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
265         on passing -mcmse option.
267 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
269         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
270         _ARCH_PPC64 .
272 2021-06-09  Carl Love  <cel@us.ibm.com>
274         * config.host: Add if test and set for
275         libgcc_cv_powerpc_3_1_float128_hw.
276         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
277         Change calls of __fixkfti to __fixkfti_sw.
278         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
279         Change calls of __fixunskfti to __fixunskfti_sw.
280         * config/rs6000/float128-p10.c (__floattikf_hw,
281         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
282         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
283         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
284         __fixunskfti_resolve): Add resolve functions.
285         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
286         * config/rs6000/float128-sed (floattitf, __floatuntitf,
287         __fixtfti, __fixunstfti): Add editor commands to change names.
288         * config/rs6000/float128-sed-hw (__floattitf,
289         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
290         change names.
291         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
292         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
293         * config/rs6000/quad-float128.h (__floattikf_sw,
294         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
295         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
296         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
297         * config/rs6000/t-float128 (floattikf, floatuntikf,
298         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
299         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
300         file names to fp128_ppc_funcs.
301         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
302         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
303         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
304         * config/rs6000/t-float128-p10-hw: New file.
305         * configure: Update script for isa 3.1 128-bit float support.
306         * configure.ac: Add check for 128-bit float hardware support.
307         * config/rs6000/fixkfti-sw.c: New file.
308         * config/rs6000/fixunskfti-sw.c: New file.
309         * config/rs6000/floattikf-sw.c: New file.
310         * config/rs6000/floatuntikf-sw.c: New file.
312 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
314         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
316 2021-05-13  Martin Liska  <mliska@suse.cz>
318         * libgcov-driver.c: Fix GNU coding style.
320 2021-05-10  Martin Liska  <mliska@suse.cz>
322         * libgcov-driver.c (gcov_version): Use different name that does
323         not clash with newly introduced macro.
325 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
327         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
328         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
329         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
331 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
333         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
334         Define.
335         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
336         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
337         Define.
338         (__divkc3): Improve complex divide.
340 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
342         PR target/98952
343         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
344         trampoline size comparison in 32-bit by reversing test and
345         combining load immediate with compare.
346         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
347         in 32-bit by reversing test and combining load immediate with
348         compare.
350 2021-04-05  Florian Weimer  <fweimer@redhat.com>
351             Michael Meissner   <meissner@linux.ibm.com>
353         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
354         point functions for $(decimal_float) only.
356 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
358         PR target/97653
359         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
360         $(objext) instead of $(object).  Use _floatunditf instead of
361         _floatunsditf.  Add tf <-> ti conversion objects.
362         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
364 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
366         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
367         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
368         (fp128_decstr_objs): Delete.
369         * dfp-bit.h: Call __sprintfieee128 to do conversions from
370         _Float128 to a Decimal type.  Call __strtoieee128 to do
371         conversions from a Decimal type to _Float128.
372         * config/rs6000/_sprintfkf.c: Delete file.
373         * config/rs6000/_sprintfkf.h: Delete file.
374         * config/rs6000/_strtokf.c: Delete file.
375         * config/rs6000/_strtokf.h: Delete file.
377 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
379         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
380         to __BYTE_ORDER__.
382 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
384         PR gcov-profile/99406
385         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
386         defined, define these macros if not defined already.
388 2021-03-04  Martin Liska  <mliska@suse.cz>
390         PR gcov-profile/99105
391         * libgcov-driver.c (write_top_counters): Rename to ...
392         (write_topn_counters): ... this.
393         (write_one_data): Pre-allocate buffer for number of items
394         in the corresponding linked lists.
395         * libgcov.h (malloc_mmap): New function.
396         (allocate_gcov_kvp): Use it.
398 2021-03-04  Martin Liska  <mliska@suse.cz>
400         PR gcov-profile/99385
401         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
403 2021-03-03  Martin Liska  <mliska@suse.cz>
405         PR gcov-profile/97461
406         * config.in: Regenerate.
407         * configure: Likewise.
408         * configure.ac: Check sys/mman.h header file
409         * libgcov-driver.c (struct gcov_kvp): Remove static
410         pre-allocated pool and use a dynamic one.
411         * libgcov.h (MMAP_CHUNK_SIZE): New.
412         (gcov_counter_add): Use mmap to allocate pool for struct
413         gcov_kvp.
415 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
417         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
418         the function.
419         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
421 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
423         PR libgcc/99236
424         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
425         negation of m in unsigned type.
427 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
428             Hau Hsu  <hsuhau617@gmail.com>
430         PR target/99157
431         * config/arm/t-arm: Fix cmse support detection.
433 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
435         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
437 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
439         * config/rs6000/_dd_to_kf.c: New file.
440         * config/rs6000/_kf_to_dd.c: New file.
441         * config/rs6000/_kf_to_sd.c: New file.
442         * config/rs6000/_kf_to_td.c: New file.
443         * config/rs6000/_sd_to_kf.c: New file.
444         * config/rs6000/_sprintfkf.c: New file.
445         * config/rs6000/_sprintfkf.h: New file.
446         * config/rs6000/_strtokf.h: New file.
447         * config/rs6000/_strtokf.c: New file.
448         * config/rs6000/_td_to_kf.c: New file.
449         * config/rs6000/quad-float128.h: Add new declarations.
450         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
451         (fp128_decstr_funcs): New macro.
452         (ibm128_dec_funcs): New macro.
453         (fp128_ppc_funcs): Add the new conversions.
454         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
455         compiled with -mabi=ieeelongdouble.
456         (fp128_decstr_objs): Force __float128 <-> string conversions to be
457         compiled with -mabi=ibmlongdouble.
458         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
459         compiled with -mabi=ieeelongdouble.
460         (FP128_CFLAGS_DECIMAL): New macro.
461         (IBM128_CFLAGS_DECIMAL): New macro.
462         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
463         (BFP_TO_DFP): Add PowerPC _Float128 support.
464         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
465         IEEE 128-bit floating point.
466         (DFP_TO_BFP): Add PowerPC _Float128 support.
467         (BFP_TO_DFP): Add PowerPC _Float128 support.
468         (BFP_SPRINTF): New macro.
470 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
472         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
473         * config/i386/savms64f.h: Likewise.
474         * config/i386/resms64.h: Likewise.
475         * config/i386/resms64f.h: Likewise.
476         * config/i386/resms64x.h: Likewise.
477         * config/i386/resms64fx.h: Likewise.
479 2021-01-26  Martin Liska  <mliska@suse.cz>
481         PR gcov-profile/98739
482         * libgcov.h (gcov_topn_add_value): Do not train when
483         we have a merged profile with a negative number of total
484         value.
486 2021-01-25  Martin Liska  <mliska@suse.cz>
488         PR gcov-profile/98739
489         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
490         ends with a dropped counter.
491         * libgcov.h (gcov_topn_add_value): Add return value.
493 2021-01-13  Stafford Horne  <shorne@gmail.com>
495         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
496         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
497         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
498         FP_EX_ALL): New constant macros.
499         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
500         FP_HANDLE_EXCEPTIONS): New macros.
501         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
503 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
505         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
506         posix siginfo case to struct handler_args. Detect between legacy
507         and siginfo from the second parameter, which is a small sigcode in
508         the legacy case, and a pointer in the siginfo case.
510 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
512         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
513         functions.
514         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
515         _bswapdi2.
517 2020-12-08  Ian Lance Taylor  <iant@golang.org>
519         * generic-morestack-thread.c (free_segments): Block signals during
520         thread exit.
522 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
524         PR libgcc/97543
525         PR libgcc/97643
526         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
527         (IBM128_SHARED_OBJS): New make variable.
528         (IBM128_OBJS): New make variable.  Set all objects to use the
529         explicit IBM format, and disable gnu attributes.
530         (IBM128_CFLAGS): New make variable.
531         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
532         modules.
534 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
536         * config/t-vxworks (LIB2ADD): Drop.
537         * config/t-vxworks7 (LIB2ADD): Likewise.
538         * config/vxcache.c: Remove.
540 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
542         * libgcc2.c (bswapsi2): Make constants unsigned.
544 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
546         * libgcc2.c (absvSI2): Simplify/improve implementation by using
547         builtin_add_overflow.
548         (absvsi2, absvDI2): Likewise.
550 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
552         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
553         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
555 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
557         * config/msp430/lib2hw_mul.S (mult64_hw): New.
558         (if MUL_32): Use mult64_hw for __muldi3.
559         (if MUL_F5): Use mult64_hw for __muldi3.
560         * config/msp430/lib2mul.c (__muldi3): New.
561         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
563 2020-11-17  Alan Modra  <amodra@gmail.com>
565         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
566         (LIB2_SIDITI_CONV_FUNCS): Define.
567         * config/rs6000/ppc64-fp.c: Delete file.
569 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
571         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
572         hwmult library functions.
574 2020-11-10  Jeff Law  <law@redhat.com>
576         * libgcc2.c: Fix whitespace issues in most recent change.
578 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
580         * libgcc2.c (__addvSI3): Use overflow builtins.
581         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
582         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
583         (__negvsi2, __negvDI2): Likewise.
584         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
585         generated code.
586         * libgcc2.h (__ucmpdi2): Adjust prototype.
588 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
589             Olivier Hainque   <hainque@adacore.com>
591         * config.host (aarch64-vxworks7*, tmake_file): Add
592         ${cpu_type}/t-lse and t-slibgcc-libgcc.
594 2020-11-03  Martin Storsjö  <martin@martin.st>
596         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
597         before calling the callback.
599 2020-10-30  Olivier Hainque  <hainque@adacore.com>
600             Douglas Rupp  <rupp@adacore.com>
601             Pat Bernardi  <bernardi@adacore.com>
603         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
604         to apply to VxWorks 7 as well.
606 2020-10-29  Olivier Hainque  <hainque@adacore.com>
608         * config/gthr-vxworks-tls.c: Fix preprocessor logic
609         controlling the definition of VX_ENTER_TLS_DTOR and
610         VX_LEAVE_TLS_DTOR based on a version major check.
612 2020-10-29  Olivier Hainque  <hainque@adacore.com>
614         * config/gthr-vxworks-thread.c: Fix name of macro used
615         to condition the inclusion of an actual implementation.
617 2020-10-27  Martin Liska  <mliska@suse.cz>
619         PR gcov-profile/97461
620         * libgcov.h (gcov_counter_add): Use first static counters
621         as it should help to have malloc wrappers set up.
623 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
625         * config/gthr-vxworks-thread.c: #include gthr.h before
626         testing the guard defined there.
627         * config/gthr-vxworks-cond.c: Likewise.
629 2020-10-21  Douglas Rupp  <rupp@adacore.com>
630             Olivier Hainque  <hainque@adacore.com>
632         * config.host (powerpc*-wrs-vxworks7*): New case.
633         * configure.ac: Handle powerpc*-*-vxworks7* as
634         powerpc*-*-linux* for ppc-fp_type.
635         * configure: Regenerate.
637 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
639         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
640         section on VxWorks >= 6.
641         * config/gthr-vxworks-thread.c: Condition the entire
642         implementation on __GTHREAD_CXX0X.
644 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
646         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
647         section on VxWorks >= 6.
648         * config/gthr-vxworks-cond.c: Condition the entire
649         implementation on __GTHREAD_HAS_COND.
651 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
653         * config/gthr-vxworks.c: #include <taskLib.h>.
655 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
657         * config/gthr-vxworks.h: Rewrite remaining occurrence
658         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
660 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
661              Olivier Hainque   <hainque@adacore.com>
663         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
664         except on VxWorks 6.
666 2020-10-16  Olivier Hainque  <hainque@adacore.com>
668         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
670 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
672         * config/gthr-vxworks-thread.c: Include stdlib.h.
673         (tls_delete_hook): Prototype it.
674         (__gthread_cond_signal): Return early if no waiters.  Consume
675         signal in case the semaphore got full.  Use semInfoGet instead
676         of kernel-mode-only semInfo.
677         (__gthread_cond_timedwait): Use semExchange.  Always take the
678         mutex again before returning.
679         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
681 2020-10-14  Olivier Hainque  <hainque@adacore.com>
683         * config/t-vxworks (LIBGCC2_INCLUDES): Append
684         $(MULTISUBDIR) to the -I path for fixed headers, as we
685         arrange to have different sets of such headers for different
686         multilibs when they are activated.
687         * config/t-vxworks7: Likewise.
689 2020-10-14  Olivier Hainque  <hainque@adacore.com>
691         * config/t-vxworks: Add include-fixed to include search
692         paths for libgcc on VxWorks.
693         * config/t-vxworks7: Likewise.
695 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
697         PR target/97148
698         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
699         instead of <cetintrin.h>.
701 2020-10-01  Alan Modra  <amodra@gmail.com>
703         * config/rs6000/morestack.S,
704         * config/rs6000/tramp.S: Support __PCREL__ code.
706 2020-10-01  Alan Modra  <amodra@gmail.com>
708         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
710 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
712         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
713         variable.
715 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
717         * config/aarch64/libgcc-softfp.ver: New file.
718         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
720 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
722         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
724 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
726         PR gcov-profile/96913
727         * libgcov-driver.c (write_one_data): Avoid function pointer
728         comparison in TOP streaming decision.
730 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
731             Christophe Lyon  <christophe.lyon@linaro.org>
733         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
734         qualifier.
735         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
736         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
737         missing prototypes.
739 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
741         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
742         unused variable warning.
744 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
746         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
748 2020-09-09  Tom de Vries  <tdevries@suse.de>
750         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
751         Wbuiltin-declaration-mismatch.
753 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
755         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
756         * config/msp430/srai.S (__gnu_mspabi_srap): New.
757         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
759 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
761         * config/nvptx/atomic.c: New.
762         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
764 2020-08-03  Ian Lance Taylor  <iant@golang.org>
766         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
768 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
770         PR target/96402
771         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
772         of x(tmp0), x(tmp1) in STXP arguments.
774 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
776         * config/riscv/save-restore.S [__riscv_xlen == 64]
777         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
778         (__riscv_save_2): Replace negative immediates used for the final
779         stack pointer adjustment with positive ones, right-shifted by 4.
781 2020-07-31  Martin Liska  <mliska@suse.cz>
783         * libgcov-driver.c: Add __gcov_kvp_pool
784         and __gcov_kvp_pool_index variables.
785         * libgcov.h (allocate_gcov_kvp): New.
786         (gcov_topn_add_value): Use it.
788 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
790         * config/aarch64/lse.S: Add PAC property note.
792 2020-07-23  Martin Liska  <mliska@suse.cz>
794         PR gcov-profile/96035
795         * libgcov-driver-system.c: Create gcov folders with 0777
796         so that it respects a system umask.
798 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
800         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
802 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
804         PR target/94891
805         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
806         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
807         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
808         (MD_DEMANGLE_RETURN_ADDR): This.
809         (aarch64_post_extract_frame_addr): Rename to ...
810         (aarch64_demangle_return_addr): This.
811         (aarch64_post_frob_eh_handler_addr): Remove.
812         * unwind-dw2.c (uw_update_context): Demangle return address.
813         (uw_frob_return_addr): Remove.
815 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
817         PR target/96001
818         * config/aarch64/lse.S: Add BTI marking and related definitions,
819         and add BTI c to function entries.
821 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
823         * config/aarch64/lse.S: Add stack note.
825 2020-07-02  Martin Liska  <mliska@suse.cz>
827         PR gcov-profile/95348
828         * libgcov-driver.c (merge_one_data): Merge only profiles
829         that are not of non-zero type.
830         (write_one_data): Write counters only if there's one non-zero
831         value.
832         * libgcov-util.c (tag_function): Change signature from unsigned
833         to int.
834         (tag_blocks): Likewise.
835         (tag_arcs): Likewise.
836         (tag_counters): Likewise.
837         (tag_summary): Likewise.
838         (tag_lines): Read only if COUNTERS is non-zero.
839         (read_gcda_file): Handle negative length for COUNTERS type.
841 2020-06-25  Martin Liska  <mliska@suse.cz>
843         * libgcov-driver.c (merge_summary): Remove function as its name
844         is misleading and doing something different.
845         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
846         in gcov-tool.
847         * libgcov-util.c (curr_object_summary): Remove.
848         (read_gcda_file): Remove unused curr_object_summary.
849         (gcov_merge): Merge summaries.
850         * libgcov.h: Add summary argument for gcov_info struct.
852 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
854         PR target/95259
855         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
856         "common/config/i386/i386-cpuinfo.h" and
857         "common/config/i386/cpuinfo.h".
858         (__cpu_features2): Changed to array.
859         (get_amd_cpu): Removed.
860         (get_intel_cpu): Likewise.
861         (get_available_features): Likewise.
862         (__cpu_indicator_init): Call cpu_indicator_init.
863         * config/i386/cpuinfo.h: Removed.
865 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
867         * Makefile.in: Remove uses of empty.mk. Use -include.
868         * config/avr/t-avr: Use -include.
869         * empty.mk: Delete.
871 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
873         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
874         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
875         and 64 bit with -maix64.
876         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
877         Build and install AIX-style FAT libraries.
879 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
881         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
882         'i386/gnu-unwind.h'
883         * config/i386/gnu-unwind.h: New file.
885 2020-06-17  Martin Liska  <mliska@suse.cz>
887         * libgcov-util.c (read_gcda_finalize): Remove const operator.
888         (merge_wrapper): Add both counts and use them properly.
889         (topn_to_memory_representation): New function.
890         (gcov_merge): Covert on disk representation to in memory
891         representation.
892         * libgcov.h: Remove const operator.
894 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
896         * configure: Regenerate.
897         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
898         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
900 2020-06-09  Martin Liska  <mliska@suse.cz>
902         PR gcov-profile/95494
903         * libgcov-driver.c (write_top_counters): Cast first to
904         intptr_t as sizeof(*) != sizeof(gcov_type).
905         * libgcov.h (gcov_counter_set_if_null): Remove.
906         (gcov_topn_add_value): Cast first to intptr_t and update
907         linked list directly.
909 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
911         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
912         with uw_install_context_1.
914 2020-06-04  Andreas Schwab  <schwab@suse.de>
916         PR target/59230
917         PR libfortran/59227
918         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
919         soft-fp/divtf3.c.
920         (LIB2ADD): Add config/ia64/divtf3.c.
921         * config/ia64/divtf3.c: New file.
923 2020-06-03  Martin Liska  <mliska@suse.cz>
925         PR gcov-profile/95480
926         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
927         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
928         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
929         (gcov_counter_set_if_null): Likewise.
931 2020-06-02  Jim Wilson  <jimw@sifive.com>
933         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
934         to bgtz.
936 2020-06-02  Martin Liska  <mliska@suse.cz>
938         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
939         of xmalloc.
941 2020-06-02  Martin Liska  <mliska@suse.cz>
943         * libgcov-driver.c (prune_topn_counter): Remove.
944         (prune_counters): Likewise.
945         (merge_one_data): Special case TOP N counters
946         as they have variable length.
947         (write_top_counters): New.
948         (write_one_data): Special case TOP N.
949         (dump_one_gcov): Do not prune TOP N counters.
950         * libgcov-merge.c (merge_topn_values_set): Remove.
951         (__gcov_merge_topn): Use gcov_topn_add_value.
952         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
953         Likewise here.
954         * libgcov.h (gcov_counter_add): New.
955         (gcov_counter_set_if_null): Likewise.
956         (gcov_topn_add_value): New.
958 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
960         * config/i386/sfp-exceptions.c (struct fenv):
961         Add __attribute__ ((gcc_struct)).
963 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
965         PR bootstrap/95413
966         * configure: Regenerated.
968 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
970         PR gcov-profile/95332
971         * libgcov-util.c (read_gcda_file): Call gcov_magic.
972         * libgcov.h (gcov_magic): Disable GCC poison.
974 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
976         PR target/95212
977         * config/i386/cpuinfo.h (processor_features): Move
978         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
980 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
982         PR target/91695
983         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
984         check.
986 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
988         PR target/95212
989         PR target/95220
990         * config/i386/cpuinfo.c (get_available_features): Fix
991         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
992         * config/i386/cpuinfo.h (processor_features): Add
993         FEATURE_AVX512VP2INTERSECT.
995 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
997         PR bootstrap/95147
998         * configure: Regenerated.
1000 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1002         * configure: Regenerated.
1004 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
1006         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1007         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1009 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1011         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1012         (__math_force_eval_div): New define.
1013         (__sfp_handle_exceptions): Use __math_force_eval_div to use
1014         generic division to generate INVALID, DIVZERO and INEXACT
1015         exceptions.
1017 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1019         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1020         instead of getauxval.
1021         (AT_HWCAP): Define.
1022         (HWCAP_ATOMICS): Define.
1023         Guard detection on __gnu_linux__.
1025 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
1027         * config.host: Delete changes meant for a private branch.
1028         * config/rs6000/t-float128: Likewise.
1029         * configure.ac: Likewise.
1030         * configure: Likewise.
1032 2020-05-05  Martin Liska  <mliska@suse.cz>
1034         PR gcov-profile/93623
1035         * Makefile.in: Remove __gcov_flush.
1036         * gcov.h (__gcov_flush): Remove.
1037         * libgcov-interface.c (__gcov_flush): Remove.
1038         (init_mx): Use renamed mutex.
1039         (__gcov_lock): Likewise.
1040         (__gcov_unlock): Likewise.
1041         (__gcov_fork): Likewise.
1042         (__gcov_flush): Remove.
1044 2020-05-05  Martin Liska  <mliska@suse.cz>
1046         PR gcov-profile/93623
1047         * libgcov-interface.c (__gcov_fork): Do not flush
1048         and reset only in child process.
1049         (__gcov_execl): Dump counters only and reset them
1050         only if exec* fails.
1051         (__gcov_execlp): Likewise.
1052         (__gcov_execle): Likewise.
1053         (__gcov_execv): Likewise.
1054         (__gcov_execvp): Likewise.
1055         (__gcov_execve): Likewise.
1057 2020-05-05  Martin Liska  <mliska@suse.cz>
1059         PR gcov-profile/93623
1060         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1061         * libgcov-interface.c (ALIAS_void_fn): Remove.
1062         (__gcov_lock): New.
1063         (__gcov_unlock): New.
1064         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1065         (__gcov_reset): Likewise.
1066         (__gcov_dump): Likewise.
1067         * libgcov.h (__gcov_lock): New declaration.
1068         (__gcov_unlock): Likewise.
1070 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1072         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1073         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1074         generic division to generate INVALID and DIVZERO exceptions.
1076 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1078         * config/rs6000/crtresfpr.S: Use .machine ppc.
1079         * config/rs6000/crtresxfpr.S: Likewise.
1080         * config/rs6000/crtsavfpr.S: Likewise.
1082 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1084         PR target/94514
1085         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1086         Update context->flags accroding to the frame state.
1088 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1090         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1091         Remove unneeded assignments to volatile memory.
1093 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
1095         PR target/93053
1096         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1097         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1098         is not defined, use just .arch armv8-a.
1099         (B, M, N, OPN): Define.
1100         (COMMENT): New .macro.
1101         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1102         defined.  Otherwise, move the operands right after the glue? and
1103         comment out operands where the macros are used.
1104         * configure: Regenerated.
1105         * config.in: Regenerated.
1107 2020-04-07  Ian Lance Taylor  <iant@golang.org>
1109         PR libgcc/94513
1110         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1111         syscall instead.
1113 2020-04-04  Ian Lance Taylor  <iant@golang.org>
1115         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1117 2020-04-03  Ian Lance Taylor  <iant@golang.org>
1119         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1120         than mmap/munmap, to avoid hooks.
1122 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
1124         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1125         (TPFRA_OFFSET): Macros removed.
1126         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1127         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1128         (PG3_SKIPPING_OFFSET): New macros.
1129         (__isPATrange): Use cinfc_fast for the check.
1130         (__isSkipResetAddr): New function.
1131         (s390_fallback_frame_state): Check for skip trace addresses. Use
1132         either ICST_CRET or ICST_SRET to calculate return address
1133         location.
1134         (__tpf_eh_return): Handle skip trace addresses.
1136 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
1138         PR target/94220
1139         * config/arm/lib1funcs.asm (COND): Use a single definition for
1140         unified syntax.
1141         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1142         (aeabi_idivmod): Likewise.
1143         (divsi3_skip_div0_test): Likewise.
1145 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
1147         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1149 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
1151         * config.host: Include the new makefile fragment.
1152         * config/s390/t-tpf: New file.
1154 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
1156         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1157         syntax.
1158         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1159         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1160         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1161         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1162         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1163         syntax.
1164         (divsi3, modsi3): Likewise.
1165         (clzdi2, ctzsi2): Likewise.
1166         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1167         unified syntax.
1168         (UNWIND_WRAPPER): Likewise.
1170 2020-03-02  Martin Liska  <mliska@suse.cz>
1172         * libgcov-interface.c: Remove duplicate
1173         declaration of __gcov_flush_mx.
1175 2020-02-18  Martin Liska  <mliska@suse.cz>
1177         PR ipa/92924
1178         * libgcov-merge.c (merge_topn_values_set): Record
1179         when a TOP N counter becomes invalid.  When merging
1180         remove a smallest value if the space is needed.
1182 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
1184         PR libstdc++/79193
1185         PR libstdc++/88999
1187         * configure: Regenerated.
1189 2020-02-10  Jeff Law  <law@redhat.com>
1191         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1192         sections.
1193         * config/frv/frvend.c: Similarly.
1195 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
1197         PR libgcc/85334
1198         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1199         New.
1201 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
1203         PR target/93615
1204         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1205         _Unwind_gnu_Find_got.
1206         * unwind-pe.h: Likewise.
1208 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
1210         PR target/93615
1211         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1212         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
1213         trailing :s in asm.  Formatting fixes.
1214         (_Unwind_decode_typeinfo_ptr): Adjust caller.
1216 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
1218         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1220         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1221         * config/nios2-elf-lib.h: New.
1222         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1223         code for finding GOT base for nios2.
1225 2020-01-27  Martin Liska  <mliska@suse.cz>
1227         PR gcov-profile/93403
1228         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1229         Call __gcov_indirect_call_profiler_body.
1230         (__gcov_indirect_call_profiler_body): New.
1231         (__gcov_indirect_call_profiler_v4_atomic): New.
1232         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1233         New declaration.
1235 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
1237         * config/arc/crti.S: Add RF16 object attribute.
1238         * config/arc/crtn.S: Likewise.
1239         * config/arc/crttls.S: Likewise.
1240         * config/arc/lib1funcs.S: Likewise.
1241         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1242         * config/arc/lib2funcs.c: New file.
1243         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1245 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
1247         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1248         * configure.ac: Handle `--with-toolexeclibdir='.
1249         * configure: Regenerate.
1251 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
1253         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1255 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
1257         * config/mips/gnustack.h: New file.
1258         * config/mips/crti.S: Include gnustack.h.
1259         * config/mips/crtn.S: Likewise.
1260         * config/mips/mips16.S: Likewise.
1261         * config/mips/vr4120-div.S: Likewise.
1263 2020-01-23  Martin Liska  <mliska@suse.cz>
1265         * libgcov-driver.c (prune_topn_counter): Remove
1266         check for -1 as we only prune run-time counters
1267         that do not generate an invalid state.
1269 2020-01-22  Martin Liska  <mliska@suse.cz>
1271         PR tree-optimization/92924
1272         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1273         try to find an existing value, then find an empty slot
1274         if not found.
1276 2020-01-22  Martin Liska  <mliska@suse.cz>
1278         PR tree-optimization/92924
1279         * libgcov-driver.c (prune_topn_counter): New.
1280         (prune_counters): Likewise.
1281         (dump_one_gcov): Prune a run-time counter.
1282         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1283         For a known value, add GCOV_TOPN_VALUES to value.
1284         Otherwise, decrement all counters by one.
1286 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
1288         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1290 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
1292         PR libgcc/92988
1293         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1294         DEFAULT_USE_CXA_ATEXIT is true.
1296 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
1297             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1299         * config/arm/t-arm: Check return value of gcc rather than lack of
1300         output.
1302 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
1304         * config/avr/lib1funcs.S (skip): Simplify.
1306 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
1308         * config/gcn/atomic.c: Remove include of stdint.h.
1309         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1310         __UINTPTR_TYPE__.
1312 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
1314         * config/gcn/atomic.c: New.
1315         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1317 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
1319         Implement 64-bit double functions.
1321         PR target/92055
1322         * config.host (tmake_file) [target=avr]: Add t-libf7,
1323         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1324         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1325         depending on sizeof (double) or sizeof (long double).
1326         * config/avr/libf7: New folder.
1328 2020-01-05  Olivier Hainque  <hainque@adacore.com>
1330         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1331         by IN_LIBGCC2.
1333 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
1335         Update copyright years.
1337 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1339         * config/gthr-vxworks.h: Use _vxworks-versions.h.
1340         * config/gthr-vxworks-tls.c: Likewise.
1342 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1344         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1345         standard zero-initializer syntax.
1347 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1349         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1350         reference to the internal VX_GET_TLS_DATA interface.
1352 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1354         * config/vxcrtstuff.c: Fix incorrect spelling of
1355         USE_INITFINI_ARRAY in guard.
1357 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1359         * config.host: s/msp430*-*-elf/msp430-*-elf*.
1360         Override default "extra_parts" variable.
1361         * configure: Regenerate.
1362         * configure.ac: Disable TM clone registry by default for
1363         msp430-elfbare.
1365 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1367         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1368         "extra_parts".
1369         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1371 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1373         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1374         true.
1376 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1378         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1379         defined instead of its value.
1381 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1383         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1384         if it will have contents.
1386 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
1388         PR target/92055
1389         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1391 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1393         PR libgcc/91737
1394         * config.host: Add t-gthr-noweak on *-*-musl*.
1395         * config/t-gthr-noweak: New file.
1397 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
1399         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1400         volatile void *.  Remove trap check.
1401         (__kernel_cmpxchg2): Likewise.
1402         (FETCH_AND_OP_2): Adjust operand types.
1403         (OP_AND_FETCH_2): Likewise.
1404         (FETCH_AND_OP_WORD): Likewise.
1405         (OP_AND_FETCH_WORD): Likewise.
1406         (COMPARE_AND_SWAP_2): Likewise.
1407         (__sync_val_compare_and_swap_4): Likewise.
1408         (__sync_bool_compare_and_swap_4): Likewise.
1409         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1410         (__sync_lock_test_and_set_4): Likewise.
1411         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
1412         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
1413         for release.
1414         (__sync_lock_release_8): Remove.
1416 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1418         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1419         of __sigset_t.
1421 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
1422             Doug Rupp <rupp@adacore.com>
1423             Olivier Hainque  <hainque@adacore.com>
1425         * config.host: Collapse the arm-vxworks entries into
1426         a single arm-wrs-vxworks7* one.
1427         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
1428         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1429         kernel modules, to be overriden by libstdc++ when we link with
1430         it.  Rely on externally provided __exidx_start/end.
1432 2019-11-14  Doug Rupp  <rupp@adacore.com>
1433             Olivier Hainque  <hainque@adacore.com>
1435         * config.host: Handle aarch64*-wrs-vxworks7*.
1437 2019-11-12  Olivier Hainque  <hainque@adacore.com>
1439         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1440         sources except the cxx0x support to LIB2ADDEH.  We don't support
1441         cxx0x on AE/653.
1442         * config/t-vxworksae: New file.
1443         * config.host: Handle *-*-vxworksae: Add the two aforementioned
1444         Makefile fragment files at their expected position in the tmake_file
1445         list, in accordance with what is done for other VxWorks variants.
1447 2019-11-12  Corentin Gay  <gay@adacore.com>
1448             Jerome Lambourg  <lambourg@adacore.com>
1449             Olivier Hainque  <hainque@adacore.com>
1451         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1452         sources to LIB2ADDEH.
1453         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1454         * config/t-vxworks7: Likewise.
1456         * config.host: Append a block at the end of the file to add the
1457         t-gthr files to the tmake_file list for VxWorks after everything
1458         else.
1460         * config/vxlib.c: Rename as gthr-vxworks.c.
1461         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1463         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
1464         API and a basic error checking API, both internal.  Simplify the
1465         __gthread_once_t type definition and initializers.  Add sections
1466         for condition variables support and for the C++0x thread support,
1467         conditioned against Vx653 for the latter.
1469         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1470         implementation, leveraging the TAS internal API.
1471         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1472         API, leveraging the general availability of TLS services in VxWorks7
1473         post SR6xxx.
1474         (__gthread_setspecific, __gthread_setspecific): Use it.
1475         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1476         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
1477         support based on VxWorks primitives.
1478         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
1479         based on VxWorks primitives.
1481 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
1482             Olivier Hainque  <hainque@adacore.com>
1484         * config/vxcrtstuff.c: New file.
1485         * config/t-vxcrtstuff: New Makefile fragment.
1486         * config.host: Append t-vxcrtstuff to the tmake_file list
1487         on all VxWorks ports using dwarf for table based EH.
1489 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
1491         Support 64-bit double and 64-bit long double configurations.
1493         PR target/92055
1494         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1495         long double is a 32-bit type.
1496         * config/avr/t-avrlibc: Copy double64 and long-double64
1497         multilib(s) from the vanilla one.
1498         * config/avr/t-copy-libgcc: New Makefile snip.
1500 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1502         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1503         the target output object format is not ELF.
1504         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1506 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
1508         PR libgcc/78804
1509         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1510         * fp-bit.c (pack_d, unpack_d): Remove special cases for
1511         FLOAT_BIT_ORDER_MISMATCH.
1512         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1514 2019-11-01  Jim Wilson  <jimw@sifive.com>
1516         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1518 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1520         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1521         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
1522         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1523         Define symbols for 32-bit and f5series hardware multiply
1524         register addresses.
1525         Replace hard-coded register addresses with symbols.
1526         Fix "_mspabi*" typo.
1527         Fix whitespace.
1528         * config/msp430/lib2mul.c: Add comment.
1530 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
1532         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1533         unsigned int.  Adjust callers.
1534         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1535         unsigned int *.  Load relocation offset before function pointer.
1536         Add barrier to ensure ordering.
1538 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
1540         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1541         Load PIC register after branch target.  Fix white space.
1542         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1543         implementations.  Load PIC register after branch target.  Don't
1544         clobber function pointer when it points to function descriptor.
1545         Use nullification instead of branch in LINUX implementation.
1547 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
1549         * config/pa/fptr.c: Disable -Warray-bounds warning.
1551 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
1553         * config.in, configure: Re-rebuild with stock autoconf 2.69,
1554         not the ubuntu modified 2.69.
1556         PR target/91833
1557         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
1558         initialization if !HAVE_SYS_AUXV_H.
1559         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1560         * config.in, configure: Rebuild.
1562         PR target/91834
1563         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1564         overlap the inputs.
1566 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
1568         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1569         CTR_EL0.IDC and CTR_EL0.DIC.
1571 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
1573         Revert:
1574         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1575                 Mickaël Guêné <mickael.guene@st.com>
1577         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1578         architecture.
1580 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
1582         * config/aarch64/lse-init.c: New file.
1583         * config/aarch64/lse.S: New file.
1584         * config/aarch64/t-lse: New file.
1585         * config.host: Add t-lse to all aarch64 tuples.
1587 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1588         Mickaël Guêné <mickael.guene@st.com>
1590         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1591         architecture.
1593 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1594         Mickaël Guêné <mickael.guene@st.com>
1596         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1597         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1598         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1599         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1600         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1601         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1602         (__gnu_personality_sigframe_fdpic): New.
1603         (get_eit_entry): Add FDPIC signal frame support.
1605 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1606         Mickaël Guêné <mickael.guene@st.com>
1608         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1609         (__kernel_dmb): Likewise.
1610         (__fdpic_cmpxchg): New function.
1611         (__fdpic_dmb): New function.
1612         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1613         (gnu_Unwind_Find_got): New function.
1614         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1615         * unwind-arm-common.inc (UCB_PR_GOT): New.
1616         (funcdesc_t): New struct.
1617         (get_eit_entry): Add FDPIC support.
1618         (unwind_phase2): Likewise.
1619         (unwind_phase2_forced): Likewise.
1620         (__gnu_Unwind_RaiseException): Likewise.
1621         (__gnu_Unwind_Resume): Likewise.
1622         (__gnu_Unwind_Backtrace): Likewise.
1623         * unwind-pe.h (read_encoded_value_with_base): Likewise.
1625 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1626         Mickaël Guêné <mickael.guene@st.com>
1628         * libgcc/crtstuff.c: Add support for FDPIC.
1630 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1632         * config.host: Handle *-*-uclinuxfdpiceabi.
1634 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
1636         * config.host: Set cpu_type for bpf-*-* targets.
1637         * config/bpf/t-bpf: Likewise.
1638         * config/bpf/crtn.S: Likewise.
1639         * config/bpf/crti.S: New file.
1641 2019-09-06  Jim Wilson  <jimw@sifive.com>
1643         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1644         (riscv*-*-freebsd*): Likewise.
1646 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
1648         * config.host: Remove references to spu.
1649         * config/spu/: Remove directory.
1651 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1653         PR target/91306
1654         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1655         element type, instead of "sizeof" the element type.
1656         (__DTOR_LIST__): Likewise.
1657         (__TMC_LIST__): Likewise.
1658         (__do_global_dtors_aux_fini_array_entry): Likewise.
1659         (__frame_dummy_init_array_entry): Likewise.
1660         (__CTOR_END__): Likewise.
1661         (__DTOR_END__): Likweise.
1662         (__FRAME_END__): Likewise.
1663         (__TMC_END__): Likewise.
1665 2019-08-20  Lili Cui  <lilicui@intel.com>
1667         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1668         INTEL_COREI7_COOPERLAKE.
1670 2019-07-31  Matt Thomas  <matt@3am-software.com>
1671             Nick Hudson <nick@nthcliff.demon.co.uk>
1672             Matthew Green <mrg@eterna.com.au>
1673             Maya Rashish <coypu@sdf.org>
1675         * config.host (hppa*-*-netbsd*): New case.
1676         * config/pa/t-netbsd: New file.
1678 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
1680         * config/arm/cmse.c (cmse_check_address_range): Add
1681         warn_unused_result attribute.
1683 2019-07-22  Martin Liska  <mliska@suse.cz>
1685         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1686         * config/pa/t-stublib: Likewise.
1688 2019-07-22  Stafford Horne  <shorne@gmail.com>
1690         PR target/90362
1691         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1692         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1693         instructions are not available on every processor.  Change a
1694         l.bnf to l.bf to fix logic issue.
1696 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
1698         * config.host: Remove reference to t-darwin8.
1700 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
1702         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1703         list.
1704         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
1705         mmacosx-version-min for crts to run across all system versions.
1706         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1707         * config/t-darwin: Revise mmacosx-version-min for crts to run across
1708         system versions >= 10.4.
1710 2019-07-03  Martin Liska  <mliska@suse.cz>
1712         * Makefile.in: Use topn_values instead of one_value names.
1713         * libgcov-merge.c (__gcov_merge_single): Move to ...
1714         (__gcov_merge_topn): ... this.
1715         (merge_single_value_set): Move to ...
1716         (merge_topn_values_set): ... this.
1717         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1718         ...
1719         (__gcov_topn_values_profiler_body): ... this.
1720         (__gcov_one_value_profiler_v2): Move to ...
1721         (__gcov_topn_values_profiler): ... this.
1722         (__gcov_one_value_profiler_v2_atomic): Move to ...
1723         (__gcov_topn_values_profiler_atomic): ... this.
1724         (__gcov_indirect_call_profiler_v4): Remove.
1725         * libgcov-util.c (__gcov_single_counter_op): Move to ...
1726         (__gcov_topn_counter_op): ... this.
1727         * libgcov.h (L_gcov_merge_single): Remove.
1728         (L_gcov_merge_topn): New.
1729         (__gcov_merge_single): Remove.
1730         (__gcov_merge_topn): New.
1731         (__gcov_one_value_profiler_v2): Move to ..
1732         (__gcov_topn_values_profiler): ... this.
1733         (__gcov_one_value_profiler_v2_atomic): Move to ...
1734         (__gcov_topn_values_profiler_atomic): ... this.
1736 2019-07-03  Martin Liska  <mliska@suse.cz>
1738         * libgcov-merge.c (merge_single_value_set): Support N values.
1739         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1741 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
1743         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1744         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1745         * configure.ac: Add --disable-tm-clone-registry option.
1746         * configure: Regenerate.
1748 2019-06-27  Martin Liska  <mliska@suse.cz>
1750         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1751         dead assignments.
1752         * libgcov-util.c: Likewise.
1754 2019-06-27  Martin Liska  <mliska@suse.cz>
1756         * libgcov-util.c (gcov_profile_merge): Release allocated
1757         memory.
1758         (calculate_overlap): Likewise.
1760 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
1762         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1763         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1764         Build objects for the out of line save/restore register functions
1765         so that they can be used for any supported Darwin version.
1766         * config/t-darwin: Default the build Darwin version to Darwin8
1767         (MacOS 10.4).
1769 2019-06-25  Martin Liska  <mliska@suse.cz>
1771         * libgcov-driver-system.c (replace_filename_variables): Do not
1772         call strlen with NULL argument.
1774 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
1776         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1777         * config/gcn/unwind-gcn.c: New file.
1779 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
1780             Andrew Stubbs  <ams@codesourcery.com>
1782         * configure: Regenerate.
1783         * config/gcn/gthr-gcn.h: New.
1785 2019-06-18  Tom de Vries  <tdevries@suse.de>
1787         * config/nvptx/crt0.c (__main): Declare.
1789 2019-06-17  Matthew Green  <mrg@eterna.com.au>
1790             Maya Rashish  <coypu@sdf.org>
1792         * config.host (aarch64*-*-netbsd*): New case.
1794 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1796         * config/msp430/slli.S (__mspabi_sllll): New library function for
1797         performing a logical left shift of a 64-bit value.
1798         * config/msp430/srai.S (__mspabi_srall): New library function for
1799         performing a arithmetic right shift of a 64-bit value.
1800         * config/msp430/srll.S (__mspabi_srlll): New library function for
1801         performing a logical right shift of a 64-bit value.
1803 2019-06-14  Matt Thomas  <matt@3am-software.com>
1804             Matthew Green  <mrg@eterna.com.au>
1805             Nick Hudson  <skrll@netbsd.org>
1806             Maya Rashish  <coypu@sdf.org>
1808         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1809         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1810         functions to build.
1811         * config/arm/t-netbsd-eabi: New file.
1813 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
1815         * config.host: Add PRU target.
1816         * config/pru/asri.c: New file.
1817         * config/pru/eqd.c: New file.
1818         * config/pru/eqf.c: New file.
1819         * config/pru/ged.c: New file.
1820         * config/pru/gef.c: New file.
1821         * config/pru/gtd.c: New file.
1822         * config/pru/gtf.c: New file.
1823         * config/pru/led.c: New file.
1824         * config/pru/lef.c: New file.
1825         * config/pru/lib2bitcountHI.c: New file.
1826         * config/pru/lib2divHI.c: New file.
1827         * config/pru/lib2divQI.c: New file.
1828         * config/pru/lib2divSI.c: New file.
1829         * config/pru/libgcc-eabi.ver: New file.
1830         * config/pru/ltd.c: New file.
1831         * config/pru/ltf.c: New file.
1832         * config/pru/mpyll.S: New file.
1833         * config/pru/pru-abi.h: New file.
1834         * config/pru/pru-asm.h: New file.
1835         * config/pru/pru-divmod.h: New file.
1836         * config/pru/sfp-machine.h: New file.
1837         * config/pru/t-pru: New file.
1839 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
1841         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1843 2019-06-10  Martin Liska  <mliska@suse.cz>
1845         PR bootstrap/90808
1846         * libgcov.h: Add ATTRIBUTE_UNUSED.
1848 2019-06-10  Martin Liska  <mliska@suse.cz>
1850         * Makefile.in: Add __gcov_one_value_profiler_v2,
1851         __gcov_one_value_profiler_v2_atomic and
1852         __gcov_indirect_call_profiler_v4.
1853         * libgcov-merge.c (__gcov_merge_single): Change
1854         function signature.
1855         (merge_single_value_set): New.
1856         * libgcov-profiler.c (__gcov_one_value_profiler_body):
1857         Update functionality.
1858         (__gcov_one_value_profiler): Remove.
1859         (__gcov_one_value_profiler_v2): ... this.
1860         (__gcov_one_value_profiler_atomic): Rename to ...
1861         (__gcov_one_value_profiler_v2_atomic): this.
1862         (__gcov_indirect_call_profiler_v3): Rename to ...
1863         (__gcov_indirect_call_profiler_v4): ... this.
1864         * libgcov.h (__gcov_one_value_profiler): Remove.
1865         (__gcov_one_value_profiler_atomic): Remove.
1866         (__gcov_one_value_profiler_v2_atomic): New.
1867         (__gcov_indirect_call_profiler_v3): Remove.
1868         (__gcov_one_value_profiler_v2): New.
1869         (__gcov_indirect_call_profiler_v4): New.
1870         (gcov_get_counter_ignore_scaling): New function.
1872 2019-06-07  Martin Liska  <mliska@suse.cz>
1874         * Makefile.in: Remove usage of
1875         _gcov_merge_icall_topn.
1876         * libgcov-driver.c (gcov_sort_n_vals): Remove.
1877         (gcov_sort_icall_topn_counter): Likewise.
1878         (gcov_sort_topn_counter_arrays): Likewise.
1879         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1880         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1881         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1882         Likewise.
1883         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1884         (struct indirect_call_tuple): Remove.
1885         (__gcov_indirect_call_topn_profiler): Remove.
1886         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1887         * libgcov.h (gcov_sort_n_vals): Remove.
1888         (L_gcov_merge_icall_topn): Likewise.
1889         (__gcov_merge_icall_topn): Likewise.
1890         (__gcov_indirect_call_topn_profiler): Likewise.
1892 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
1894         * config/rs6000/t-darwin: Ensure that the unwinder is built with
1895         altivec enabled.
1897 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1899         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1900         section.
1901         (__mspabi_slli): Likewise.
1902         (__mspabi_slll_n): Likewise.
1903         (__mspabi_slll): Likewise.
1904         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1905         (__mspabi_srai): Likewise.
1906         (__mspabi_sral_n): Likewise.
1907         (__mspabi_sral): Likewise.
1908         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1909         (__mspabi_srli): Likewise.
1910         (__mspabi_srll_n): Likewise.
1911         (__mspabi_srll): Likewise.
1913 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
1915         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1916         Add appropriate tm_file clause as well.
1917         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1919 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
1921         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1922         rather than .data/.bss so it can be accessed via gp-relative
1923         addressing.
1925 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
1927         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1928         (CR2_REGNO): Rename to R_CR2.
1929         (XER_REGNO): Rename to R_XER.
1930         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1931         (VRSAVE_REGNO): Rename to R_VRSAVE.
1932         (VSCR_REGNO): R_VSCR.
1934 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
1936         * config.host (rx-*-linux*): Add new case.
1937         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1939 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
1941         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1942         function.
1943         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1944         aarch64_post_frob_eh_handler_addr): Add check for b-key.
1945         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1946         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1947         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1948         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1949         string.
1950         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1951         string.
1952         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1954 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1956         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1957         Remove Solaris 9 and 10 support.
1958         (sparc_is_sighandler): Likewise.
1960 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
1962         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1964 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1966         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1967         4_FP_W_TYPEs are used for IEEE quad precision.
1968         * soft-fp/extendhftf2.c: Likewise.
1969         * soft-fp/extendsftf2.c: Likewise.
1970         * soft-fp/extendxftf2.c: Likewise.
1971         * soft-fp/trunctfdf2.c: Likewise.
1972         * soft-fp/trunctfhf2.c: Likewise.
1973         * soft-fp/trunctfsf2.c: Likewise.
1974         * soft-fp/trunctfxf2.c: Likewise.
1975         * config/rs6000/ibm-ldouble.c: Likewise.
1977 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1979         * config.host: Simplify various *-*-solaris2.1[0-9]* to
1980         *-*-solaris2*.
1981         * configure.ac: Likewise.
1982         * configure: Regenerate.
1984         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1985         Solaris 10 and Solaris 11 < snv_125 handling.
1987 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
1989         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1991 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
1993         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1994         * config/i386/cpuinfo.h (enum processor_features): Add
1995         FEATURE_AVX512BF16.
1997 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1998             Bernd Edlinger  <bernd.edlinger@hotmail.de>
1999             Jakub Jelinek  <jakub@redhat.com>
2001         PR target/89093
2002         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2003         * config/arm/unwind-arm.c: Likewise.
2004         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2005         attribute for ARM.
2007 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
2009         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2010         (RT_SIGRETURN): Update.
2011         (nds32_fallback_frame_state): Update.
2013 2019-02-21  Martin Sebor  <msebor@redhat.com>
2015         * libgcc2.h (__clear_cache): Correct signature.
2016         * libgcc2.c (__clear_cache): Same.
2018 2019-02-20  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2020         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2021         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2023 2019-02-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2025         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2026         regno instead of index to DWARF_ZERO_REG.
2028 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
2030         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2031         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2033 2019-01-31  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2035         * config/alpha/t-linux: Add -mfp-rounding-mode=d
2036         to HOST_LIBGCC2_CFLAGS.
2038 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
2040         PR libgcc/88931
2041         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
2043 2019-01-18  Martin Liska  <mliska@suse.cz>
2045         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2046         to ...
2047         (__gcov_indirect_call_profiler_v3): ... this.
2048         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2049         (__gcov_indirect_call_profiler_v3): Likewise.
2050         * Makefile.in: Bump function name.
2052 2019-01-18  Martin Liska  <mliska@suse.cz>
2054         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2055         (gcov_version): Use in gcov_error.
2056         (merge_one_data): Likewise.
2057         (dump_one_gcov): Likewise.
2059 2019-01-18  Martin Liska  <mliska@suse.cz>
2061         * libgcov-driver.c (gcov_version_string): New function.
2062         (gcov_version): Convert version integer into string.
2064 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
2065             Kwok Cheung Yeung  <kcy@codesourcery.com>
2066             Julian Brown  <julian@codesourcery.com>
2067             Tom de Vries  <tom@codesourcery.com>
2069         * config.host: Recognize amdgcn*-*-amdhsa.
2070         * config/gcn/crt0.c: New file.
2071         * config/gcn/lib2-divmod-hi.c: New file.
2072         * config/gcn/lib2-divmod.c: New file.
2073         * config/gcn/lib2-gcn.h: New file.
2074         * config/gcn/sfp-machine.h: New file.
2075         * config/gcn/t-amdgcn: New file.
2077 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
2079         PR other/16615
2081         * config/c6x/libunwind.S: Mechanically replace "can not" with
2082         "cannot".
2083         * config/tilepro/atomic.h: Likewise.
2084         * config/vxlib-tls.c: Likewise.
2085         * generic-morestack-thread.c: Likewise.
2086         * generic-morestack.c: Likewise.
2087         * mkmap-symver.awk: Likewise.
2089 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
2091         Update copyright years.
2093 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
2095         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2096         to ignore -Waddress-of-packed-member.
2098 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
2100         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2101         parameter and corresponding code.
2102         (ARM_FUNC_START): Likewise in both definitions.
2103         Also update footer comment about condition that need to match with
2104         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2105         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2106         defined.  Weakly define it in this case.
2107         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2108         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2109         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2110         comment to keep condition in sync with the one in
2111         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2113 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
2115         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2116         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2118 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2120         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2121         and .cfi_endproc directives for VxWorks targets.
2123 2018-12-05  Paul Koning  <ni1d@arrl.net>
2125         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2127 2018-11-27  Alan Modra  <amodra@gmail.com>
2129         * config/rs6000/morestack.S (__stack_split_initialize),
2130         (__morestack_get_guard, __morestack_set_guard),
2131         (__morestack_make_guard): Provide CFI covering these functions.
2132         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2134 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2136         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2137         (sc_pt_regs_lr): Update for kernel.
2138         (sc_pt_regs_tls): Update for kernel.
2140 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2142         * config/csky/linux-unwind.h: Fix coding style.
2144 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2146         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2147         (csky_fallback_frame_state): Modify the check of the
2148         instructions to adapt to changes in the kernel
2150 2018-11-09  Stafford Horne  <shorne@gmail.com>
2151             Richard Henderson  <rth@twiddle.net>
2153         * config.host: Add OpenRISC support.
2154         * config/or1k/*: New.
2156 2018-11-08  Kito Cheng  <kito@andestech.com>
2158         * soft-fp/adddf3.c: Update from glibc.
2159         * soft-fp/addsf3.c: Likewise.
2160         * soft-fp/addtf3.c: Likewise.
2161         * soft-fp/divdf3.c: Likewise.
2162         * soft-fp/divsf3.c: Likewise.
2163         * soft-fp/divtf3.c: Likewise.
2164         * soft-fp/double.h: Likewise.
2165         * soft-fp/eqdf2.c: Likewise.
2166         * soft-fp/eqsf2.c: Likewise.
2167         * soft-fp/eqtf2.c: Likewise.
2168         * soft-fp/extenddftf2.c: Likewise.
2169         * soft-fp/extended.h: Likewise.
2170         * soft-fp/extendhftf2.c: Likewise.
2171         * soft-fp/extendsfdf2.c: Likewise.
2172         * soft-fp/extendsftf2.c: Likewise.
2173         * soft-fp/extendxftf2.c: Likewise.
2174         * soft-fp/fixdfdi.c: Likewise.
2175         * soft-fp/fixdfsi.c: Likewise.
2176         * soft-fp/fixdfti.c: Likewise.
2177         * soft-fp/fixhfti.c: Likewise.
2178         * soft-fp/fixsfdi.c: Likewise.
2179         * soft-fp/fixsfsi.c: Likewise.
2180         * soft-fp/fixsfti.c: Likewise.
2181         * soft-fp/fixtfdi.c: Likewise.
2182         * soft-fp/fixtfsi.c: Likewise.
2183         * soft-fp/fixtfti.c: Likewise.
2184         * soft-fp/fixunsdfdi.c: Likewise.
2185         * soft-fp/fixunsdfsi.c: Likewise.
2186         * soft-fp/fixunsdfti.c: Likewise.
2187         * soft-fp/fixunshfti.c: Likewise.
2188         * soft-fp/fixunssfdi.c: Likewise.
2189         * soft-fp/fixunssfsi.c: Likewise.
2190         * soft-fp/fixunssfti.c: Likewise.
2191         * soft-fp/fixunstfdi.c: Likewise.
2192         * soft-fp/fixunstfsi.c: Likewise.
2193         * soft-fp/fixunstfti.c: Likewise.
2194         * soft-fp/floatdidf.c: Likewise.
2195         * soft-fp/floatdisf.c: Likewise.
2196         * soft-fp/floatditf.c: Likewise.
2197         * soft-fp/floatsidf.c: Likewise.
2198         * soft-fp/floatsisf.c: Likewise.
2199         * soft-fp/floatsitf.c: Likewise.
2200         * soft-fp/floattidf.c: Likewise.
2201         * soft-fp/floattihf.c: Likewise.
2202         * soft-fp/floattisf.c: Likewise.
2203         * soft-fp/floattitf.c: Likewise.
2204         * soft-fp/floatundidf.c: Likewise.
2205         * soft-fp/floatundisf.c: Likewise.
2206         * soft-fp/floatunditf.c: Likewise.
2207         * soft-fp/floatunsidf.c: Likewise.
2208         * soft-fp/floatunsisf.c: Likewise.
2209         * soft-fp/floatunsitf.c: Likewise.
2210         * soft-fp/floatuntidf.c: Likewise.
2211         * soft-fp/floatuntihf.c: Likewise.
2212         * soft-fp/floatuntisf.c: Likewise.
2213         * soft-fp/floatuntitf.c: Likewise.
2214         * soft-fp/gedf2.c: Likewise.
2215         * soft-fp/gesf2.c: Likewise.
2216         * soft-fp/getf2.c: Likewise.
2217         * soft-fp/half.h: Likewise.
2218         * soft-fp/ledf2.c: Likewise.
2219         * soft-fp/lesf2.c: Likewise.
2220         * soft-fp/letf2.c: Likewise.
2221         * soft-fp/muldf3.c: Likewise.
2222         * soft-fp/mulsf3.c: Likewise.
2223         * soft-fp/multf3.c: Likewise.
2224         * soft-fp/negdf2.c: Likewise.
2225         * soft-fp/negsf2.c: Likewise.
2226         * soft-fp/negtf2.c: Likewise.
2227         * soft-fp/op-1.h: Likewise.
2228         * soft-fp/op-2.h: Likewise.
2229         * soft-fp/op-4.h: Likewise.
2230         * soft-fp/op-8.h: Likewise.
2231         * soft-fp/op-common.h: Likewise.
2232         * soft-fp/quad.h: Likewise.
2233         * soft-fp/single.h: Likewise.
2234         * soft-fp/soft-fp.h: Likewise.
2235         * soft-fp/subdf3.c: Likewise.
2236         * soft-fp/subsf3.c: Likewise.
2237         * soft-fp/subtf3.c: Likewise.
2238         * soft-fp/truncdfsf2.c: Likewise.
2239         * soft-fp/trunctfdf2.c: Likewise.
2240         * soft-fp/trunctfhf2.c: Likewise.
2241         * soft-fp/trunctfsf2.c: Likewise.
2242         * soft-fp/trunctfxf2.c: Likewise.
2243         * soft-fp/unorddf2.c: Likewise.
2244         * soft-fp/unordsf2.c: Likewise.
2245         * soft-fp/unordtf2.c: Likewise.
2247 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
2249         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2250         * config/i386/cpuinfo.h (processor_types): Add znver2.
2252 2018-11-01  Paul Koning  <ni1d@arrl.net>
2254         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2255         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2257 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
2259         PR bootstrap/82856
2260         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
2261         * configure: Regenerate.
2263 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
2265         * config/arc/lib1funcs.S (_muldi3): New function.
2266         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2268 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2270         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2272 2018-10-25  Martin Liska  <mliska@suse.cz>
2274         PR other/87735
2275         * libgcov-profiler.c: Revert.
2277 2018-10-24  Martin Liska  <mliska@suse.cz>
2279         * libgcov-profiler.c: Start from 1 in order to distinguish
2280         functions which were seen and these that were not.
2282 2018-10-18  Paul Koning  <ni1d@arrl.net>
2284         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2285         standard.
2286         * divmod.c: Update references to __udivmodsi4.
2287         * udivmod.c: Ditto.
2288         * udivhi3.c: New file.
2289         * udivmodhi4.c: New file.
2290         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2292 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2294         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2296 2018-10-12  Olivier Hainque  <hainque@adacore.com>
2298         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2299         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2301 2018-10-08  Paul Koning  <ni1d@arrl.net>
2303         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2305 2018-10-04  Martin Liska  <mliska@suse.cz>
2307         PR gcov-profile/84107
2308         * libgcov-profiler.c (__gcov_indirect_call):
2309         Change type to indirect_call_tuple.
2310         (struct indirect_call_tuple): New struct.
2311         (__gcov_indirect_call_topn_profiler): Change type.
2312         (__gcov_indirect_call_profiler_v2): Use the new
2313         variables.
2314         * libgcov.h (struct indirect_call_tuple): New struct
2315         definition.
2317 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
2319         * libgcc2.c (isnan): Use __builtin_isnan.
2320         (isfinite): Use __builtin_isfinite.
2321         (isinf): Use __builtin_isinf.
2323 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
2325         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2327 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
2329         * config/vxcache.c: New file.  Provide __clear_cache, based on
2330         the cacheTextUpdate VxWorks service.
2331         * config/t-vxworks (LIB2ADD): Add vxcache.c.
2332         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2333         * config/t-vxwoks7: Likewise.
2335 2018-09-21  Martin Liska  <mliska@suse.cz>
2337         * libgcov-driver.c (crc32_unsigned): Remove.
2338         (gcov_histogram_insert): Likewise.
2339         (gcov_compute_histogram): Likewise.
2340         (compute_summary): Simplify rapidly.
2341         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2342         (merge_summary): Rapidly simplify.
2343         (dump_one_gcov): Ignore gcov_summary.
2344         (gcov_do_dump): Do not handle program summary, it's not
2345         used.
2346         * libgcov-util.c (tag_summary): Remove.
2347         (read_gcda_finalize): Fix coding style.
2348         (read_gcda_file): Initialize curr_object_summary.
2349         (compute_summary): Remove.
2350         (calculate_overlap): Remove settings of run_max.
2352 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
2354         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2355         ucontext_t type instead.
2356         (nds32_fallback_frame_state): Remove struct _sigframe statement.
2358 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
2360         * config/nds32/t-nds32-glibc: New file.
2362 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2364         * configure.ac (solaris_ld_v2_maps): New test.
2365         * configure: Regenerate.
2366         * Makefile.in (solaris_ld_v2_maps): New variable.
2367         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2368         if supported.
2370 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
2372         PR target/86951
2373         * config/arm/lib1funcs.asm (speculation_barrier): New function.
2374         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2375         to build.
2377 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
2379         * config/unwind-dw2-fde-darwin.c
2380         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2381         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
2382         * config/t-darwin: Build Darwin10 unwinder shim crt.
2383         * libgcc/config.host: Add the Darwin10 unwinder shim.
2385 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2387         * config.host: Add crtbegin.o and crtend.o for
2388         powerpc-wrs-vxworks target.
2390 2018-08-17  Jojo  <jijie_rong@c-sky.com>
2391             Huibin Wang  <huibin_wang@c-sky.com>
2392             Sandra Loosemore  <sandra@codesourcery.com>
2393             Chung-Lin Tang  <cltang@codesourcery.com>
2395         C-SKY port: libgcc
2397         * config.host: Add C-SKY support.
2398         * config/csky/*: New.
2400 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
2402         * config/nds32/t-nds32-isr: Rearrange object dependency.
2403         * config/nds32/initfini.c: Add dwarf2 unwinding support.
2404         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2405         and registers usage.
2406         * config/nds32/isr-library/excp_isr.S: Ditto.
2407         * config/nds32/isr-library/intr_isr.S: Ditto.
2408         * config/nds32/isr-library/reset.S: Ditto.
2409         * config/nds32/isr-library/restore_all.inc: Ditto.
2410         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2411         * config/nds32/isr-library/restore_partial.inc: Ditto.
2412         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2413         * config/nds32/isr-library/save_all.inc: Ditto.
2414         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2415         * config/nds32/isr-library/save_partial.inc: Ditto.
2416         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2417         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2419 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
2421         * config/pa/linux-atomic.c: Update comment.
2422         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2423         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2424         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2425         __ATOMIC_RELAXED for atomic loads.
2426         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
2427         unordered store to release lock.
2428         (__sync_lock_release_8): Likewise.
2429         (SYNC_LOCK_RELEASE_2): Remove define.
2431 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
2433         PR libgcc/86512
2434         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2435         exponent goes negative. Update my email address.
2436         * config/arm/ieee754-sf.S: Likewise.
2438 2018-08-01  Martin Liska  <mliska@suse.cz>
2440         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2441         check that  __gcov_indirect_call_callee is non-null.
2443 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
2445         * config/arm/ieee754-df.S: Fix comment for code working on
2446         architectures >= 4.
2447         * config/arm/ieee754-sf.S: Likewise.
2449 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2451         PR libgcc/85334
2452         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2453         Removed.
2455 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
2457         * configure: Regenerated.
2459 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2461         * Makefile.in (install_leaf): Use enable_gcov instead of
2462         enable_libgcov.
2464 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2466         * configure.ac: Add --disable-gcov option.
2467         * configure: Regenerate.
2468         * Makefile.in: Honour @enable_gcov@.
2470 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
2472         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2473         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2474         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2475         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2476         __ARM_ARCH__.
2477         * config/arm/ieee754-sf.S: Likewise.
2478         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2480 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
2482         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2483         longer supported.
2484         * config/arm/ieee754-sf.S: Likewise.
2486 2018-06-20  Than McIntosh  <thanm@google.com>
2488         PR libgcc/86213
2489         * generic-morestack.c (allocate_segment): Move calls to getenv and
2490         getpagesize to __morestack_load_mmap.
2491         (__morestack_load_mmap) Initialize static_pagesize and
2492         use_guard_page here so as to avoid clobbering SSE regs during a
2493         __morestack call.
2495 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
2497         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2498         support modules with -mno-gnu-attribute.
2499         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2501 2018-06-07  Olivier Hainque  <hainque@adacore.com>
2503         * config/t-vxworks (LIBGCC_INCLUDES): Add
2504         -I$(MULTIBUILDTOP)../../gcc/include.
2505         * config/t-vxworks7: Likewise. Reformat a bit to match
2506         the t-vxworks layout.
2508 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
2510         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2512 2018-06-07  Martin Liska  <mliska@suse.cz>
2514         * libgcov-driver.c: Rename cs_all to all and assign it from
2515         all_prg.
2517 2018-06-07  Martin Liska  <mliska@suse.cz>
2519         PR bootstrap/86057
2520         * libgcov-driver-system.c (replace_filename_variables): Use
2521         memcpy instead of mempcpy.
2522         (allocate_filename_struct): Do not allocate filename, allocate
2523         prefix and set it.
2524         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2525         here and properly copy content into it.
2526         * libgcov-driver.c (struct gcov_filename): Remove max_length
2527         field, change prefix from size_t into char *.
2528         (compute_summary): Do not calculate longest filename.
2529         (gcov_do_dump): Release memory of gf.filename after each file.
2530         * libgcov-util.c (compute_summary): Use new signature of
2531         compute_summary.
2532         (calculate_overlap): Likewise.
2534 2018-06-05  Martin Liska  <mliska@suse.cz>
2536         PR gcov-profile/47618
2537         * libgcov-driver-system.c (replace_filename_variables): New
2538         function.
2539         (gcov_exit_open_gcda_file): Use it.
2541 2018-06-05  Martin Liska  <mliska@suse.cz>
2543         * libgcov-driver.c (gcov_compute_histogram): Remove usage
2544         of gcov_ctr_summary.
2545         (compute_summary): Do it just for a single summary.
2546         (merge_one_data): Likewise.
2547         (merge_summary): Simplify as we read just single summary.
2548         (dump_one_gcov): Pass proper argument.
2549         * libgcov-util.c (compute_one_gcov): Simplify as we have just
2550         single summary.
2551         (gcov_info_count_all_cold): Likewise.
2552         (calculate_overlap): Likewise.
2554 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
2555             Monk Chiang  <sh.chiang04@gmail.com>
2557         * config.host (nds32*-linux*): New.
2558         * config/nds32/linux-atomic.c: New file.
2559         * config/nds32/linux-unwind.h: New file.
2561 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
2563         PR target/85591
2564         * config/i386/cpuinfo.c (get_amd_cpu): Return
2565         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2567 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
2569         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2571 2018-05-29  Martin Liska  <mliska@suse.cz>
2573         PR gcov-profile/85759
2574         * libgcov-driver-system.c (gcov_error): Introduce usage of
2575         GCOV_EXIT_AT_ERROR env. variable.
2576         * libgcov-driver.c (merge_one_data): Print error that we
2577         overwrite a gcov file with a different timestamp.
2579 2018-05-23  Kalamatee  <kalamatee@gmail.com>
2581         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2582         path to Lf$finfty.
2584 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
2585             Monk Chiang  <sh.chiang04@gmail.com>
2586             Jim Wilson <jimw@sifive.com>
2588         * config/riscv/save-restore.S: Add support for rv32e.
2590 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2592         * config/arm/libunwind.S: Update comment relating to armv5.
2594 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
2596         * config/arm/cmse.c (cmse_check_address_range): Replace
2597         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2599 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
2601         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2602         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2604 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
2606         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2607         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2609 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
2611         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2613 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
2614             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2616         PR libgcc/84292
2617         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2618         op_and_fetch to return the right result.
2620 2018-04-27  Alan Modra  <amodra@gmail.com>
2622         PR libgcc/85532
2623         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2624         -fno-asynchronous-unwind-tables.
2626 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
2628         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2629         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2631 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
2633         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2634         when including "config/i386/shadow-stack-unwind.h".
2636 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
2638         * configure: Regenerated.
2640 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
2642         PR target/85456
2643         * config/rs6000/_powikf2.c: New file.  Add support for the
2644         __builtin_powil function when long double is IEEE 128-bit floating
2645         point.
2646         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2647         __powikf2 support.
2648         (__powikf2): Likewise.
2649         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2650         (__powikf2_hw): Likewise.
2651         (__powikf2): Likewise.
2652         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2653         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2654         (_powikf2-hw.c): Likewise.
2656 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
2658         PR libgcc/85334
2659         * unwind-generic.h (_Unwind_Frames_Increment): New.
2660         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2661         Likewise.
2662         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2663         count with _Unwind_Frames_Increment.
2664         (_Unwind_ForcedUnwind_Phase2): Likewise.
2666 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
2668         PR libgcc/85379
2669         * config/i386/morestack.S (__stack_split_initialize): Add
2670         _CET_ENDBR.
2672 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
2674         * configure: Regenerated.
2676 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
2678         PR jit/85384
2679         * configure: Regenerate.
2681 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
2683         PR target/84945
2684         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2685         -Wdangling-else warnings.  Mask shift counts to avoid
2686         -Wshift-count-negative and -Wshift-count-overflow false positives.
2688 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
2690         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2692 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
2694         PR target/85100
2695         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2696         (XSTATE_FP): Likewise.
2697         (XSTATE_SSE): Likewise.
2698         (XSTATE_YMM): Likewise.
2699         (XSTATE_OPMASK): Likewise.
2700         (XSTATE_ZMM): Likewise.
2701         (XSTATE_HI_ZMM): Likewise.
2702         (XCR_AVX_ENABLED_MASK): Likewise.
2703         (XCR_AVX512F_ENABLED_MASK): Likewise.
2704         (get_available_features): Enable AVX and AVX512 features only
2705         if their states are supported by OSXSAVE.
2707 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2709         PR target/85025
2710         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2711         Fix a typo, tmp => 255.
2713 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
2715         PR target/84945
2716         * config/i386/cpuinfo.h (__cpu_features2): Declare.
2717         * config/i386/cpuinfo.c (__cpu_features2): New variable for
2718         ifndef SHARED only.
2719         (set_feature): Define.
2720         (get_available_features): Use set_feature macro.  Set __cpu_features2
2721         to the second word of features ifndef SHARED.
2723 2018-03-15  Julia Koval  <julia.koval@intel.com>
2725         * config/i386/cpuinfo.c (get_available_features): Add
2726         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2727         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2728         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2729         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2730         FEATURE_AVX512BITALG.
2732 2018-03-14  Julia Koval  <julia.koval@intel.com>
2734         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2735         icelake client and icelake server.
2737 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
2739         * config/pa/fptr.c (_dl_read_access_allowed): New.
2740         (__canonicalize_funcptr_for_compare): Use it.
2742 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
2744         PR debug/83917
2745         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2746         $asm_hidden_op if visibility ("hidden") attribute works.
2747         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2748         * config/i386/i386-asm.h: Don't include auto-host.h.
2749         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2750         PACKAGE_URL): Don't undefine.
2751         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2752         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2753         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2754         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2755         definition instead of hardcoded .hidden.
2756         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2757         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2758         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2759         (USE_GAS_CFI_DIRECTIVES): Don't define.
2760         * configure: Regenerated.
2761         * config.in: Likewise.
2763 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
2765         PR debug/83917
2766         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2767         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2768         inclusion of auto-target.h and auto-host.h.
2769         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2770         __GCC_HAVE_DWARF2_CFI_ASM.
2771         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2772         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2773         cfi_pop): Define.
2774         * config/i386/cygwin.S: Don't include auto-host.h here, just
2775         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2776         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2777         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2778         * config/i386/resms64fx.h: Add cfi_* directives.
2779         * config/i386/resms64x.h: Likewise.
2781 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
2783         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2784         .literal_position directive.
2785         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2787 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2789         PR target/84148
2790         * configure: Regenerate.
2792 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2794         PR target/84239
2795         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2796         Include cetintrin.h not x86intrin.h.
2798 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2800         PR target/84239
2801         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2802         Use new _get_ssp and _inc_ssp intrinsics.
2804 2018-02-02  Julia Koval  <julia.koval@intel.com>
2806         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2808 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
2810         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2811         option.
2812         (__divsi3): Use RF16 safe registers.
2813         (__modsi3): Likewise.
2815 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
2817         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2818         (__divsf3): Make NaN return value quiet.
2819         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2820         (__divdf3): Make NaN return value quiet.
2822 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2824         * config/rl78/anddi3.S: New assembly file.
2825         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2827 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2829         * config/rl78/umindi3.S: New assembly file.
2830         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2832 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2834         * config/rl78/smindi3.S: New assembly file.
2835         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2837 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2839         * config/rl78/smaxdi3.S: New assembly file.
2840         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2842 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2844         * config/rl78/umaxdi3.S: New assembly file.
2845         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2847 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
2849         PR lto/83452
2850         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2851         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2853 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
2855         * config/aarch64/value-unwind.h (aarch64_vg): New function.
2856         (DWARF_LAZY_REGISTER_VALUE): Define.
2857         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2858         to provide a fallback register value.
2860 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
2862         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2863         __ibm128, instead of trying to use long double.
2864         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2865         accomidate -mabi=ieeelongdouble multilibs.
2866         (CVT_IBM128_TO_FLOAT128): Likewise.
2867         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2868         the appropriate IBM extended double type.
2869         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2870         (__gcc_qsub): Likewise.
2871         (__gcc_qmul): Likewise.
2872         (__gcc_qdiv): Likewise.
2873         (pack_ldouble): Likewise.
2874         (__gcc_qneg): Likewise.
2875         (__gcc_qeq): Likewise.
2876         (__gcc_qne): Likewise.
2877         (__gcc_qge): Likewise.
2878         (__gcc_qle): Likewise.
2879         (__gcc_stoq): Likewise.
2880         (__gcc_dtoq): Likewise.
2881         (__gcc_itoq): Likewise.
2882         (__gcc_utoq): Likewise.
2883         (__gcc_qunord): Likewise.
2884         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2885         quad-float128.h for the definitions.
2886         (COPYSIGN): Use the f128 version instead of the q version.
2887         (INFINITY): Likewise.
2888         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2889         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2890         quad-float128.h for the definitions.
2891         (COPYSIGN): Use the f128 version instead of the q version.
2892         (INFINITY): Likewise.
2893         (FABS): Likewise.
2894         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2895         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2896         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2898 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2900         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2901         configuration.
2903 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
2905         Update copyright years.
2907 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
2909         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2910         * config/riscv/multi3.c: New file.
2911         * config/riscv/multi3.S: Remove.
2913 2017-12-08  Jim Wilson  <jimw@sifive.com>
2915         * config/riscv/div.S: Use FUNC_* macros.
2916         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2917         * config/riscv/save-restore.S: Likewise.
2918         * config/riscv/riscv-asm.h: New.
2920 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
2922         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2923         * config/rs6000/_divkc3.c (__divkc3): Likewise.
2925         PR libgcc/83112
2926         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2927         correct type for all ifunc resolvers to silence -Wattribute-alias
2928         warnings.  Eliminate the forward declaration of the resolver
2929         functions which is no longer needed.
2930         (__subkf3_resolve): Likewise.
2931         (__mulkf3_resolve): Likewise.
2932         (__divkf3_resolve): Likewise.
2933         (__negkf2_resolve): Likewise.
2934         (__eqkf2_resolve): Likewise.
2935         (__nekf2_resolve): Likewise.
2936         (__gekf2_resolve): Likewise.
2937         (__gtkf2_resolve): Likewise.
2938         (__lekf2_resolve): Likewise.
2939         (__ltkf2_resolve): Likewise.
2940         (__unordkf2_resolve): Likewise.
2941         (__extendsfkf2_resolve): Likewise.
2942         (__extenddfkf2_resolve): Likewise.
2943         (__trunckfsf2_resolve): Likewise.
2944         (__trunckfdf2_resolve): Likewise.
2945         (__fixkfsi_resolve): Likewise.
2946         (__fixkfdi_resolve): Likewise.
2947         (__fixunskfsi_resolve): Likewise.
2948         (__fixunskfdi_resolve): Likewise.
2949         (__floatsikf_resolve): Likewise.
2950         (__floatdikf_resolve): Likewise.
2951         (__floatunsikf_resolve): Likewise.
2952         (__floatundikf_resolve): Likewise.
2953         (__extendkftf2_resolve): Likewise.
2954         (__trunctfkf2_resolve): Likewise.
2956         PR libgcc/83103
2957         * config/rs6000/quad-float128.h (TF): Don't define if long double
2958         is IEEE 128-bit floating point.
2959         (TCtype): Define as either TCmode or KCmode, depending on whether
2960         long double is IEEE 128-bit floating point.
2961         (__mulkc3_sw): Add declarations for software/hardware versions of
2962         complex multiply/divide.
2963         (__divkc3_sw): Likewise.
2964         (__mulkc3_hw): Likewise.
2965         (__divkc3_hw): Likewise.
2966         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2967         handlers to switch between using software emulation and hardware
2968         float128 instructions, build the complex multiply/divide functions
2969         for both software and hardware support.
2970         * config/rs6000/_divkc3.c (_divkc3): Likewise.
2971         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2972         (__divkc3_resolve): Likewise.
2973         (__mulkc3): Likewise.
2974         (__divkc3): Likewise.
2975         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2976         (fp128_hw_src): Likewise.
2977         (fp128_hw_static_obj): Likewise.
2978         (fp128_hw_shared_obj): Likewise.
2979         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2980         _mulkc3.c and _divkc3.c, changing the function name.
2981         (_divkc3-hw.c): Likewise.
2982         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2983         and _divkc3-hw.c.
2985 2017-11-26  Julia Koval  <julia.koval@intel.com>
2987         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2988         * config/i386/cpuinfo.h (processor_subtypes): Add
2989         INTEL_COREI7_CANNONLAKE.
2991 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2993         PR bootstrap/83015
2994         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2995         parameter.
2996         * config/xtensa/unwind-dw2-xtensa.c: Likewise
2997         * config/ia64/unwind-ia64.c: Add frames parameter.
2998         * unwind-sjlj.c: Likewise.
3000 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3002         * config/i386/linux-unwind.h: Include
3003         config/i386/shadow-stack-unwind.h.
3004         * config/i386/shadow-stack-unwind.h: New file.
3005         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3006         pass it to _Unwind_Frames_Extra.
3007         * unwind-generic.h (_Unwind_Frames_Extra): New.
3008         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3009         parameter. Add local variable frames to count number of frames.
3010         (_Unwind_ForcedUnwind_Phase2): Likewise.
3011         (_Unwind_RaiseException): Add local variable frames to count
3012         number of frames, pass it to _Unwind_RaiseException_Phase2 and
3013         uw_install_context.
3014         (_Unwind_ForcedUnwind): Likewise.
3015         (_Unwind_Resume): Likewise.
3016         (_Unwind_Resume_or_Rethrow): Likewise.
3018 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3020         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3021         (CET_FLAGS): New.
3022         * config/i386/morestack.S: Include <cet.h>.
3023         (__morestack_large_model): Add _CET_ENDBR at function entrance.
3024         * config/i386/resms64.h: Include <cet.h>.
3025         * config/i386/resms64f.h: Likewise.
3026         * config/i386/resms64fx.h: Likewise.
3027         * config/i386/resms64x.h: Likewise.
3028         * config/i386/savms64.h: Likewise.
3029         * config/i386/savms64f.h: Likewise.
3030         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3031         (CRTSTUFF_T_CFLAGS): Likewise.
3032         * configure.ac: Include ../config/cet.m4.
3033         Set and substitute CET_FLAGS.
3034         * configure: Regenerated.
3036 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3038         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3039         renaming.
3040         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3041         * configure.ac (libgcc_cv_solaris_crts): Likewise.
3042         * configure: Regenerate.
3044 2017-11-07  Tom de Vries  <tom@codesourcery.com>
3046         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3047         after "do {} while (0)".
3049 2017-11-07  Tom de Vries  <tom@codesourcery.com>
3051         PR other/82784
3052         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3053         semicolon after "do {} while (0)".
3054         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3055         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3056         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3057         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3059 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
3061         PR libgcc/82635
3062         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3063         sysctl to determine whether we're in a trampoline.
3064         Keep the pattern matching method for systems without
3065         KERN_PROC_SIGTRAMP sysctl.
3067 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
3068             Vineet Gupta <vgupta@synopsys.com>
3070         * config.host (arc*-*-linux*): Set md_unwind_header variable.
3071         * config/arc/linux-unwind-reg.def: New file.
3072         * config/arc/linux-unwind-reg.h: Likewise.
3074 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
3076         * config/rl78/subdi3.S: New assembly file.
3077         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3079 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
3081         * config/rl78/adddi3.S: New assembly file.
3082         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3084 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
3086         PR target/82274
3087         * libgcc2.c (__mulvDI3): If both operands have
3088         the same highpart of -1 and the topmost bit of lowpart is 0,
3089         multiplication overflows even if both lowparts are 0.
3091 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
3093         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3095 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
3097         * config/microblaze/crti.S, config/microblaze/crtn.S,
3098         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3099         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3100         config/microblaze/mulsi3.S,
3101         config/microblaze/stack_overflow_exit.S,
3102         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3103         config/pa/milli64.S: Add .note.GNU-stack section.
3105 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
3107         * configure.ac: Add Check for HAVE_AS_AVX.
3108         * config.in: Regenerate.
3109         * configure: Likewise.
3110         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3111         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3112         Correct out-of-date comments.
3114 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
3116         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3117         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3119 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
3121         * config/i386/i386-asm.h (PASTE2): New macro.
3122         (ASMNAME): Modify to use PASTE2.
3123         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3124         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3125         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3126         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3127         * config/i386/resms64f.S: Likewise.
3128         * config/i386/resms64fx.S: Likewise.
3129         * config/i386/resms64x.S: Likewise.
3130         * config/i386/savms64.S: Likewise.
3131         * config/i386/savms64f.S: Likewise.
3132         * config/i386/avx_resms64.S: New file that only defines a macro and
3133         includes it's corresponding header file.
3134         * config/i386/avx_resms64f.S: Likewise.
3135         * config/i386/avx_resms64fx.S: Likewise.
3136         * config/i386/avx_resms64x.S: Likewise.
3137         * config/i386/avx_savms64.S: Likewise.
3138         * config/i386/avx_savms64f.S: Likewise.
3139         * config/i386/sse_resms64.S: Likewise.
3140         * config/i386/sse_resms64f.S: Likewise.
3141         * config/i386/sse_resms64fx.S: Likewise.
3142         * config/i386/sse_resms64x.S: Likewise.
3143         * config/i386/sse_savms64.S: Likewise.
3144         * config/i386/sse_savms64f.S: Likewise.
3145         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3147 2017-09-01  Olivier Hainque  <hainque@adacore.com>
3148         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3150 2017-08-31  Olivier Hainque  <hainque@adacore.com>
3152         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3153         match as powerpc-wrs-vxworks*.
3155 2017-08-07  Jonathan Yong  <10walls@gmail.com>
3157         * config.host (*-cygwin): Include file from mingw
3158         config/i386/enable-execute-stack-mingw32.c
3160 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
3161             Doug Rupp  <rupp@adacore.com>
3162             Olivier Hainque  <hainque@adacore.com>
3164         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3165         as well as arm-wrs-vxworks.
3166         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
3167         LIB2ADDEH.
3168         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3169         __exidx_start and __exidx_end for downloadable modules.
3171 2017-08-01  Olivier Hainque  <hainque@adacore.com>
3173         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3174         * config/t-vxworks7: Likewise.
3176 2017-08-01  Olivier Hainque  <hainque@adacore.com>
3178         * config/t-vxworks: Instead of redefining LIB2ADD,
3179         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3181 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3183         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3185 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
3187         PR testsuite/80759
3188         * config.host: include i386/t-msabi for darwin and solaris.
3189         * config/i386/i386-asm.h
3190         (ELFFN): Rename to FN_TYPE.
3191         (FN_SIZE): New macro.
3192         (FN_HIDDEN): Likewise.
3193         (ASMNAME): Likewise.
3194         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3195         .globl.
3196         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3197         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3198         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3199         .macro.
3200         * config/i386/resms64f.S: Likewise.
3201         * config/i386/resms64fx.S: Likewise.
3202         * config/i386/resms64x.S: Likewise.
3203         * config/i386/savms64.S: Likewise.
3204         * config/i386/savms64f.S: Likewise.
3206 2017-07-19  John Marino  <gnugcc@marino.st>
3208         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3210 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
3212         PR target/81193
3213         * configure.ac (PowerPC float128 hardware support): Test whether
3214         we can use __builtin_cpu_supports before enabling the ifunc
3215         handler.
3216         * configure: Regenerate.
3218 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
3220         * config.host: Remove uclibc from arc target spec.
3222 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
3224         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3226 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
3228         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3229         (have_ieee_hw_p): Delete function.
3230         (SW_OR_HW) Use __builtin_cpu_supports().
3232 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3234         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3236 2017-07-03  Olivier Hainque  <hainque@adacore.com>
3238         * config/t-vxworks7: New file, really.
3240 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
3242         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3243         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3244         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3245         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3246         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3247         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3248         config/pa/linux-unwind.h (pa32_fallback_frame_state),
3249         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3250         config/sh/linux-unwind.h (sh_fallback_frame_state),
3251         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3252         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3253         ucontext_t instead of struct ucontext.
3255 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
3257         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3258         (x86_64-wrs-vxworks7): Likewise.
3260 2017-06-27  Olivier Hainque  <hainque@adacore.com>
3262         * config/t-vxworks7: New file.
3263         * config.host (*-*-vxworks7): Use it.
3265 2017-06-22  Matt Turner  <mattst88@gmail.com>
3267         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3268         skylake case.
3270 2017-06-21  Richard Biener  <rguenther@suse.de>
3272         PR gcov-profile/81080
3273         * configure.ac: Add AC_SYS_LARGEFILE.
3274         * libgcov.h: Include auto-target.h before tsystem.h to pick
3275         up _FILE_OFFSET_BITS which might differ for multilibs.
3276         * config.in: Regenerate.
3277         * configure: Likewise.
3279 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
3281         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3283 2017-06-09  Martin Liska  <mliska@suse.cz>
3285         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3286         Reset __gcov_indirect_call_callee to NULL.
3288 2017-06-08  Olivier Hainque  <hainque@adacore.com>
3290         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3291         the set of -I options, support for direct inclusions of net/uio.h
3292         by VxWorks header files via ioLib.h.
3294 2017-06-07  Tony Reix  <tony.reix@atos.net>
3295             Matthieu Sarter  <matthieu.sarter.external@atos.net>
3296             David Edelsohn  <dje.gcc@gmail.com>
3298         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3299         unconditionally.
3300         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
3301         AIX 7.2 support.
3303 2017-06-02  Olivier Hainque  <hainque@adacore.com>
3305         * config/vxlib.c (__gthread_once): Add missing value to
3306         return statement.
3308 2017-05-30  Olivier Hainque  <hainque@adacore.com>
3310         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3311         dollar sign before $(MULTIDIR).
3313 2017-05-26  Richard Henderson  <rth@redhat.com>
3315         PR libgcc/80037
3316         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3318 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
3320         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3321         _Unwind_SetIP available as functions for arm*-*-freebsd*.
3322         * config/arm/unwind-arm.c: Implement the above.
3324 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3326         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3327         section for a non-executable stack.
3329 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
3331         PR target/80600
3332         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3334 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
3336         * config.host: Add i386/t-msabi to i386/t-linux file list.
3337         * config/i386/i386-asm.h: New file.
3338         * config/i386/resms64.S: New file.
3339         * config/i386/resms64f.S: New file.
3340         * config/i386/resms64fx.S: New file.
3341         * config/i386/resms64x.S: New file.
3342         * config/i386/savms64.S: New file.
3343         * config/i386/savms64f.S: New file.
3344         * config/i386/t-msabi: New file.
3346 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
3348         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3349         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3351 2017-05-05  Joshua Conner  <joshconner@google.com>
3353         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3354         pc-relative indirect handling for fuchsia.
3355         * config/t-slibgcc-fuchsia: New file.
3356         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3357         x86_64-*-fuchsia*): Add definitions.
3359 2017-04-19  Martin Liska  <mliska@suse.cz>
3361         PR gcov-profile/80435
3362         * Makefile.in: Install gcov.h.
3363         * gcov.h: New file.
3364         * libgcov.h: Use the header and make __gcov_flush publicly
3365         visible.
3367 2017-04-18  Martin Liska  <mliska@suse.cz>
3369         PR gcov-profile/78783
3370         * libgcov-driver.c (gcov_get_filename): New function.
3372 2017-04-07  Jeff Law  <law@redhat.com>
3374         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3375         target makefile fragment.
3376         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3378 2017-04-07  Alan Modra  <amodra@gmail.com>
3380         PR target/45053
3381         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3383 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
3385         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3387 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
3389         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3391 2017-03-10  John Marino  <gnugcc@marino.st>
3393         * config/aarch64/freebsd-unwind.h: New file.
3394         * config.host: Add aarch64-*-freebsd unwinder.
3396 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3398         * config/rs6000/crtrestvr.s: Use .machine altivec.
3399         * config/rs6000/crtsavevr.s: Ditto.
3401 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3403         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3404         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
3405         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3406         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
3407         * configure: Regenerate.
3408         * config.in: Regenerate.
3410 2017-03-02  Jonathan Yong <10walls@gmail.com>
3412         * config/i386/gthr-win32.h: Define NOGDI before
3413         windows.h include to prevent w32api CC_NONE macro
3414         clash with libgfortran.
3416 2017-03-02  Jonathan Yong <10walls@gmail.com>
3418         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3420 2017-02-16  Andrew Pinski  <apinski@cavium.com>
3422         * config/aarch64/value-unwind.h: New file.
3423         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3424         to tm_file.
3426 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
3428         * config.host: Add RISC-V tuples.
3429         * config/riscv/atomic.c: New file.
3430         * config/riscv/crti.S: Likewise.
3431         * config/riscv/crtn.S: Likewise.
3432         * config/riscv/div.S: Likewise.
3433         * config/riscv/linux-unwind.h: Likewise.
3434         * config/riscv/muldi3.S: Likewise.
3435         * config/riscv/multi3.S: Likewise.
3436         * config/riscv/save-restore.S: Likewise.
3437         * config/riscv/sfp-machine.h: Likewise.
3438         * config/riscv/t-elf: Likewise.
3439         * config/riscv/t-elf32: Likewise.
3440         * config/riscv/t-elf64: Likewise.
3441         * config/riscv/t-softfp32: Likewise.
3442         * config/riscv/t-softfp64: Likewise.
3444 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
3446         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3447         /* FALLTHRU */ comments.
3449 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
3451         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3453 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
3455         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3456         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
3457         DW_CFA_GNU_window_save for AArch64 and LP64.
3459 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
3461         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3463 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
3465         * config/aarch64/aarch64-unwind.h: New file.
3466         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3467         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3468         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3469         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3470         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3471         (aarch64_post_extract_frame_addr): New function.
3472         (aarch64_post_frob_eh_handler_addr): New function.
3473         (aarch64_frob_update_context): New function.
3474         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3475         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3476         aarch64*-*-freebsd*):
3477         Initialize md_unwind_header to include aarch64-unwind.h.
3478         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3479         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3480         __aarch64__.
3481         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3482         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3483         (uw_frob_return_addr): New function.
3484         (uw_install_context): Use uw_frob_return_addr.
3486 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
3488         PR other/79046
3489         * configure.ac: Add GCC_BASE_VER.
3490         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3491         version from BASE-VER file.
3492         * configure: Regenerated.
3494 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
3496         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3497         libmul_f5.a): Filter archived prerequisites.
3499 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
3501         * config/i386/cpuinfo.h (processor_features): Add
3502         FEATURE_AVX512VPOPCNTDQ.
3503         * config/i386/cpuinfo.c (get_available_features): Habdle new
3504         feature.
3506 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3508         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3509         payload if [__mips_nan2008].
3511 2017-01-04  Alan Modra  <amodra@gmail.com>
3513         * Makefile.in (configure_deps): Update.
3514         * configure: Regenerate.
3516 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
3518         Update copyright years.
3520 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
3522         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3523         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3524         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3526 2016-12-17  Matthias Klose  <doko@ubuntu.com>
3528         * config/arc/gmon: Remove empty directory.
3530 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
3532         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3533         crtgend.
3534         (arc*-*-elf*): Likewise.
3535         * config/arc/t-arc: Remove old gmon lib targets.
3536         * config/arc/crtg.S: Remove.
3537         * config/arc/crtgend.S: Likewise.
3538         * config/arc/gmon/atomic.h: Likewise.
3539         * config/arc/gmon/auxreg.h: Likewise.
3540         * config/arc/gmon/dcache_linesz.S: Likewise.
3541         * config/arc/gmon/gmon.c: Likewise.
3542         * config/arc/gmon/machine-gmon.h: Likewise.
3543         * config/arc/gmon/mcount.c: Likewise.
3544         * config/arc/gmon/prof-freq-stub.S: Likewise.
3545         * config/arc/gmon/prof-freq.c: Likewise.
3546         * config/arc/gmon/profil.S: Likewise.
3547         * config/arc/gmon/sys/gmon.h: Likewise.
3548         * config/arc/gmon/sys/gmon_out.h: Likewise.
3549         * config/arc/t-arc-newlib: Likewise.
3550         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3552 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
3554         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3556 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
3558         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3559         R16 instead of push + pop.
3560         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3562 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
3564         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3565         tmake_file.
3567 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
3569         * config.host (arc*-*-linux-uclibc*): Use default extra
3570         objects. Include linux-android header.
3571         * config/arc/crti.S (_init): Declare symbol as function.
3572         (_fini): Likewise.
3574 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
3576         PR fortran/78379
3577         * config/i386/cpuinfo.c:  Move denums for processor vendors,
3578         processor type, processor subtypes and declaration of
3579         struct __processor_model into
3580         * config/i386/cpuinfo.h:  New header file.
3582 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
3583             Thomas Preud'homme  <thomas.preudhomme@arm.com>
3585         * config/arm/cmse_nonsecure_call.S: New.
3586         * config/arm/t-arm: Compile cmse_nonsecure_call.S
3588 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
3589             Thomas Preud'homme  <thomas.preudhomme@arm.com>
3591         * config/arm/t-arm (HAVE_CMSE): New.
3592         * config/arm/cmse.c: New.
3594 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3596         PR gcc/74748
3597         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3598         use generic linker version information on Blackfin.
3600         PR gcc/74748
3601         * libgcc/mkmap-symver.awk: add support for skip_underscore
3603 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
3604             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3606         PR target/67710
3607         *  config/t-darwin: Default builds to 10.5 codegen.
3609 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
3611         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3612         (_FP_NANSIGN_H): Likewise.
3613         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3614         (softfp_truncations): Add tfhf.
3615         (softfp_extras): Add required conversion functions.
3617 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3618             Matthew Wahab  <matthew.wahab@arm.com>
3620         * config/arm/fp16.c (binary64): New.
3621         (__gnu_d2h_internal): New.
3622         (__gnu_d2h_ieee): New.
3623         (__gnu_d2h_alternative): New.
3625 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3626             Matthew Wahab  <matthew.wahab@arm.com>
3628         * config/arm/fp16.c (struct format): New.
3629         (binary32): New.
3630         (__gnu_float2h_internal): New.  Body moved from
3631         __gnu_f2h_internal and generalize.
3632         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3633         Call it with binary32.
3635 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3637         * soft-fp/extendhftf2.c: Update from glibc.
3638         * soft-fp/fixhfti.c: Likewise.
3639         * soft-fp/fixunshfti.c: Likewise.
3640         * soft-fp/floattihf.c: Likewise.
3641         * soft-fp/floatuntihf.c: Likewise.
3642         * soft-fp/half.h: Likewise.
3643         * soft-fp/trunctfhf2.c: Likewise.
3645 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
3647         PR libgcc/77813
3648         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3649         __TMC_END__ behind a passthrough asm.
3651 2016-11-18  Walter Lee  <walt@tilera.com>
3653         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3655 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
3657         * config/i386/cpuinfo.c (processor_features): Add
3658         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3660 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
3662         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3663         (__ARC_NORM__): Use instead ARC_OPTFPE.
3664         * config/arc/fp-hack.h: Likewise.
3665         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3666         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3668 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
3670         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3671         * config/nvptx/mgomp.c: New file.
3672         * config/nvptx/t-nvptx: Add mgomp.c
3674 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
3676         PR libgcc/68468
3677         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3679 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
3681         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3682         of checking for cpus.
3683         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3684         (__modsi3, __clzsi2): Likewise.
3686 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3688         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3689         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3690         * config/i386/t-cpuinfo-static: New.
3692 2016-11-03  Martin Liska  <mliska@suse.cz>
3694         * libgcov-profiler.c (__gcov_time_profiler): Remove.
3695         (__gcov_time_profiler_atomic): Likewise.
3697 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3699         PR libgcc/78067
3700         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3701         count_leading_zeros.
3703 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
3705         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3706         * libgcc2.c (__divmoddi4): New function.
3707         * libgcc2.h (__divmoddi4): Declare.
3708         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3709         and __PFX_divmodti4.
3711 2016-10-24  Florian Weimer  <fweimer@redhat.com>
3713         PR libgcc/78064
3714         * unwind-c.c: Include auto-target.h.
3716 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
3718         * config/pa/pa64-hpux-lib.h: New file.
3719         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3720         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3721         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3722         hppa*64*-*-hpux11*.
3724 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
3726         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3727         definition.
3728         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3729         definition.
3730         * config/xtensa/t-windowed (LIB2ADDEH): Use
3731         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3732         or xtensa/t-linux.
3734 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
3736         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3737         __ieee754_sqrt): New functions.
3738         (__divdf3): Add implementation with new FPU instructions under
3739         #if XCHAL_HAVE_DFP_DIV.
3740         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3741         __ieee754_sqrtf): New functions.
3742         (__divsf3): Add implementation with new FPU instructions under
3743         #if XCHAL_HAVE_FP_DIV.
3744         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3745         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3747 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3749         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3750         equivalent.
3751         * config/tilepro/atomic.c: Likewise and stop casting model to
3752         enum memmodel.
3754 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
3756         PR target/77586
3757         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3758         soft-fp.
3760 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
3762         * config.host: Add support for aarch64-*-freebsd*.
3764 2016-10-05  Andreas Schwab  <schwab@suse.de>
3766         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3767         (.section .init_array): Don't call __do_jv_register_classes.
3768         (.section .init): Likewise.
3770 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
3772         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3773         (__JCR_LIST__): Remove.
3774         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3775         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3776         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3777         * config/ia64/crtend.S (__JCR_END__): Remove.
3778         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3779         conditionals.
3780         (__JCR_LIST__, __JCR_END__): Remove.
3781         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3782         (__do_global_ctors_1): Likewise.
3784 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
3786         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3787         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3789 2016-09-27  Martin Liska  <mliska@suse.cz>
3791         PR gcov-profile/7970
3792         PR gcov-profile/16855
3793         PR gcov-profile/44779
3794         * libgcov-driver.c (__gcov_init): Do not register a atexit
3795         handler.
3796         (__gcov_exit): Rename from gcov_exit.
3797         * libgcov.h (__gcov_exit): Declare.
3799 2016-09-27  Martin Liska  <mliska@suse.cz>
3801         PR bootstrap/77749
3802         * Makefile.in: Remove _gcov_merge_delta.
3803         * libgcov-merge.c (void __gcov_merge_delta): Remove.
3804         * libgcov-util.c (__gcov_delta_counter_op): Remove.
3805         * libgcov.h: Remove declaration of __gcov_merge_delta.
3807 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
3809         * configure.ac: Do not create links, only substitute the filenames.
3810         * configure: Regenerate.
3811         * Makefile.in: Assign the substitution results to variables.
3812         (LIBGCC_LINKS): Define.
3813         (enable-execute-stack.c): New rule.
3814         (unwind.h): Likewise.
3815         (md-unwind-support.h): Likewise.
3816         (sfp-machine.h): Likewise.
3817         (gthr-default.h): Likewise.
3818         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3819         unwind.h as prerequisite of install-unwind_h-forbuild.
3821 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
3823         PR libgcc/71744
3824         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3825         is not the primary registry and atomics are available.
3826         (any_objects_registered): New variable.
3827         (__register_frame_info_bases, __register_frame_info_table_bases):
3828         Atomically store 1 to any_objects_registered after registering first
3829         unwind info.
3830         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3832 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
3834         PR target/63250
3835         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3836         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3837         (HFtype): Likewise.
3838         (HCtype): Likewise.
3839         (__divhc3): Likewise.
3840         (__mulhc3): Likewise.
3841         * libgcc2.c: Support _mulhc3 and _divhc3.
3843 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3845         PR libgcc/77519
3846         * libgcc2.c (NOTRUNC): Invert settings.
3848 2016-09-06  Martin Liska  <mliska@suse.cz>
3850         PR gcov-profile/77378
3851         PR gcov-profile/77466
3852         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3853         conditionaly enable/disable *_atomic functions.
3855 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
3857         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3858         where not already enabled.
3860 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3862         * config/mips/linux-unwind.h: Use sys/syscall.h.
3864 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3866         PR libgcc/77265
3867         * soft-fp/adddf3.c: Update from glibc.
3868         * soft-fp/addsf3.c: Likewise.
3869         * soft-fp/addtf3.c: Likewise.
3870         * soft-fp/divdf3.c: Likewise.
3871         * soft-fp/divsf3.c: Likewise.
3872         * soft-fp/divtf3.c: Likewise.
3873         * soft-fp/double.h: Likewise.
3874         * soft-fp/eqdf2.c: Likewise.
3875         * soft-fp/eqsf2.c: Likewise.
3876         * soft-fp/eqtf2.c: Likewise.
3877         * soft-fp/extenddftf2.c: Likewise.
3878         * soft-fp/extended.h: Likewise.
3879         * soft-fp/extendsfdf2.c: Likewise.
3880         * soft-fp/extendsftf2.c: Likewise.
3881         * soft-fp/extendxftf2.c: Likewise.
3882         * soft-fp/fixdfdi.c: Likewise.
3883         * soft-fp/fixdfsi.c: Likewise.
3884         * soft-fp/fixdfti.c: Likewise.
3885         * soft-fp/fixsfdi.c: Likewise.
3886         * soft-fp/fixsfsi.c: Likewise.
3887         * soft-fp/fixsfti.c: Likewise.
3888         * soft-fp/fixtfdi.c: Likewise.
3889         * soft-fp/fixtfsi.c: Likewise.
3890         * soft-fp/fixtfti.c: Likewise.
3891         * soft-fp/fixunsdfdi.c: Likewise.
3892         * soft-fp/fixunsdfsi.c: Likewise.
3893         * soft-fp/fixunsdfti.c: Likewise.
3894         * soft-fp/fixunssfdi.c: Likewise.
3895         * soft-fp/fixunssfsi.c: Likewise.
3896         * soft-fp/fixunssfti.c: Likewise.
3897         * soft-fp/fixunstfdi.c: Likewise.
3898         * soft-fp/fixunstfsi.c: Likewise.
3899         * soft-fp/fixunstfti.c: Likewise.
3900         * soft-fp/floatdidf.c: Likewise.
3901         * soft-fp/floatdisf.c: Likewise.
3902         * soft-fp/floatditf.c: Likewise.
3903         * soft-fp/floatsidf.c: Likewise.
3904         * soft-fp/floatsisf.c: Likewise.
3905         * soft-fp/floatsitf.c: Likewise.
3906         * soft-fp/floattidf.c: Likewise.
3907         * soft-fp/floattisf.c: Likewise.
3908         * soft-fp/floattitf.c: Likewise.
3909         * soft-fp/floatundidf.c: Likewise.
3910         * soft-fp/floatundisf.c: Likewise.
3911         * soft-fp/floatunditf.c: Likewise.
3912         * soft-fp/floatunsidf.c: Likewise.
3913         * soft-fp/floatunsisf.c: Likewise.
3914         * soft-fp/floatunsitf.c: Likewise.
3915         * soft-fp/floatuntidf.c: Likewise.
3916         * soft-fp/floatuntisf.c: Likewise.
3917         * soft-fp/floatuntitf.c: Likewise.
3918         * soft-fp/gedf2.c: Likewise.
3919         * soft-fp/gesf2.c: Likewise.
3920         * soft-fp/getf2.c: Likewise.
3921         * soft-fp/ledf2.c: Likewise.
3922         * soft-fp/lesf2.c: Likewise.
3923         * soft-fp/letf2.c: Likewise.
3924         * soft-fp/muldf3.c: Likewise.
3925         * soft-fp/mulsf3.c: Likewise.
3926         * soft-fp/multf3.c: Likewise.
3927         * soft-fp/negdf2.c: Likewise.
3928         * soft-fp/negsf2.c: Likewise.
3929         * soft-fp/negtf2.c: Likewise.
3930         * soft-fp/op-1.h: Likewise.
3931         * soft-fp/op-2.h: Likewise.
3932         * soft-fp/op-4.h: Likewise.
3933         * soft-fp/op-8.h: Likewise.
3934         * soft-fp/op-common.h: Likewise.
3935         * soft-fp/quad.h: Likewise.
3936         * soft-fp/single.h: Likewise.
3937         * soft-fp/soft-fp.h: Likewise.
3938         * soft-fp/subdf3.c: Likewise.
3939         * soft-fp/subsf3.c: Likewise.
3940         * soft-fp/subtf3.c: Likewise.
3941         * soft-fp/truncdfsf2.c: Likewise.
3942         * soft-fp/trunctfdf2.c: Likewise.
3943         * soft-fp/trunctfsf2.c: Likewise.
3944         * soft-fp/trunctfxf2.c: Likewise.
3945         * soft-fp/unorddf2.c: Likewise.
3946         * soft-fp/unordsf2.c: Likewise.
3947         * soft-fp/unordtf2.c: Likewise.
3949 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
3951         PR gcov-profile/67097
3952         * libgcov-util.c (gcov_profile_merge): Skip missing files.
3954 2016-08-10  Martin Liska  <mliska@suse.cz>
3956         PR gcov-profile/58306
3957         * Makefile.in: New functions (modules) are added.
3958         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3959         function.
3960         (__gcov_pow2_profiler_atomic): New function.
3961         (__gcov_one_value_profiler_body): New argument is instroduced.
3962         (__gcov_one_value_profiler): Call with the new argument.
3963         (__gcov_one_value_profiler_atomic): Likewise.
3964         (__gcov_indirect_call_profiler_v2): Likewise.
3965         (__gcov_time_profiler_atomic): New function.
3966         (__gcov_average_profiler_atomic): Likewise.
3967         (__gcov_ior_profiler_atomic): Likewise.
3968         * libgcov.h: Declare the aforementioned functions.
3970 2016-08-09  Martin Liska  <mliska@suse.cz>
3972         * libgcov-util.c: Fix typo and GNU coding style.
3974 2016-08-09  Martin Liska  <mliska@suse.cz>
3976         * Makefile.in: Remove __gcov_indirect_call_profiler.
3977         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3978         function.
3979         * libgcov.h: And the declaration of the function.
3981 2016-08-09  Martin Liska  <mliska@suse.cz>
3983         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3984         power of two.
3986 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3988         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3989         * config/rs6000/_mulkc3.c: Likewise.
3991 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
3993         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3994         zero_reg as previous call to __umulhisi3 already cleared it.
3996 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
3998         PR target/59833
3999         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4001 2016-07-19  Nick Clifton  <nickc@redhat.com>
4003         * config.host (m32r): Add m32r/t-m32r to tmake_file.
4004         Add crtinit.o and crtfini.o to extra_parts.
4006 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4008         * config/rs6000/_divkc3.c: New.
4009         * config/rs6000/_mulkc3.c: New.
4010         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4011         and _divkc3.
4012         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4013         fp128_ppc_funcs.
4015 2016-07-11  Hale Wang  <hale.wang@arm.com>
4016             Andre Vieira  <andre.simoesdiasvieira@arm.com>
4018         * config/arm/lib1funcs.S: Add new wrapper.
4020 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4022         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4024 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4026         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4027         and ARMv5t* rather than for a fixed list of architectures.
4029 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4031         * config/arm/bpabi-v6m.S: Clarify what architectures is the
4032         implementation suitable for.
4033         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4034         for all Thumb-1 only targets.
4035         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4036         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4037         __ARM_ARCH_6M__.
4038         (EQUIV): Likewise.
4039         (ARM_FUNC_ALIAS): Likewise.
4040         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4041         version.
4042         (modsi3): Likewise.
4043         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4044         (clzdi2): Likewise.
4045         (ctzsi2): Likewise.
4046         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4047         __ARM_ARCH_6M__ in guard for checking whether it is defined.
4048         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4049         __ARM_ARCH_6M__ and add comment to indicate the connection between
4050         this condition and the one in gcc/config/arm/elf.h.
4051         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4052         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4053         * config/arm/t-softfp: Likewise.
4055 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4057         * libgcc2.c (SYMBOL__MAIN): Remove checks for
4058         CTOR_LISTS_DEFINED_EXTERNALLY.
4060 2016-06-28  Walter Lee  <walt@tilera.com>
4062         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4063         asm/unistd.h.
4064         (SPR_CMPEXCH_VALUE): Define for tilegx.
4065         (__NR_FAST_cmpxchg): Define for tilepro.
4066         (__NR_FAST_atomic_update): Define for tilepro.
4067         (__NR_FAST_cmpxchg64): Define for tilepro.
4069 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
4071         * config.host: Add suport for arm*-*-phoenix* targets.
4073 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4075         * config.host: Remove support for mep-*.
4076         * config/mep/lib1funcs.S: Remove.
4077         * config/mep/lib2funcs.c: Remove.
4078         * config/mep/t-mep: Remove.
4079         * config/mep/tramp.c: Remove.
4081 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4083         * config.host: Remove support for avr-rtems.
4084         * config/avr/t-rtems: Remove.
4086 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4088         * config.host: Remove m32r-rtems support.
4090 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4092         * config.host: Remove h8300-rtems support.
4094 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4096         * config.host: Remove support for knetbsd.
4098 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4100         * config.host: Remove support for openbsd 2 and 3.
4102 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4104         * config.host: Remove interix support.
4105         * config/i386/t-interix: Remove.
4107 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
4109         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4110         least-significant bit in function pointer for fixup.
4112 2016-06-05  Aaron Conole  <aconole@redhat.com>
4113             Nathan Sidwell  <nathan@acm.org>
4115         PR libgcc/71400
4116         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4117         (get_gcov_error_file): Check __gcov_error_file before trying to
4118         initialize it.
4119         (gcov_error): Always use get_gcov_error_file.
4121 2016-06-02  Aaron Conole  <aconole@redhat.com>
4123         * libgcov-driver-system.c (__gcov_error_file): New.
4124         (get_gcov_error_file): New.
4125         (gcov_error): Use and set __gcov_error_file.
4126         (gcov_error_exit): New.
4127         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4129 2016-05-26  Nathan Sidwell  <nathan@acm.org>
4131         * config/nvptx/free.asm: Delete.
4132         * config/nvptx/malloc.asm: Delete.
4133         * config/nvptx/realloc.c: Delete.
4134         * t-nvptx: Update.
4136 2016-05-25  Nathan Sidwell  <nathan@acm.org>
4138         * config/nvptx/crt0.s: Delete.
4139         * config/nvptx/crt0.c: New.
4140         * t-nvptx: Update.
4142 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
4144         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4145         dw2/seh configuration.
4146         [x86_64-*-mingw*]: Likewise.
4148 2016-05-10  Joel Sherrill <joel@rtems.org>
4150         PR libgcc/70720
4151         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4152         targets so the same extra_parts are built.  Also have tmake_file add
4153         on to its value rather than override.
4155 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
4157         * config.host: Remove SH5 support.
4158         * configure: Likewise.
4160 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
4162         * config/sh/crt1.S: Remove SH5 support.
4163         * config/sh/crti.S: Likewise.
4164         * config/sh/crtn.S: Likewise.
4165         * config/sh/lib1funcs-4-300.S: Likewise.
4166         * config/sh/lib1funcs-Os-4-200.S: Likewise.
4167         * config/sh/lib1funcs.S: Likewise.
4168         * config/sh/linux-unwind.h: Likewise.
4169         * config/sh/t-sh64: Delete.
4171 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
4173         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4175 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
4176             Joern Rennecke  <joern.rennecke@embecosm.com>
4178         * config/arc/crttls.S: New file.
4179         * config/arc/t-arc: New rule.
4180         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4182 2016-04-25  Nick Clifton  <nickc@redhat.com>
4184         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4185         (__mspabi_cmpd): Likewise.
4186         * config/msp430/floathidf.c (__floathidf): Likewise.
4187         * config/msp430/floathisf.c (__floathisf): Likewise
4188         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4189         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4190         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4191         second parameter.
4192         (__ashrsi3): Likewise.
4194 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
4196         * config/m68k/linux-atomic.c: Do not include unistd.h
4198 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
4200         * config/arm/ieee754-df.S: Fix typos in comments.
4202 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
4204         PR target/70381
4205         * configure.ac (powerpc*-*-linux*): Rework tests to build
4206         __float128 emulation routines to not depend on using #pragma GCC
4207         target to enable -mfloat128.
4208         * configure: Regnerate.
4210 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
4212         PR target/67172
4213         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4214         __MINGW32__ is defined.
4216 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
4218         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4220 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
4222         PR libgcc/70363
4223         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4224         built with an assembler that does not support ISA 3.0
4225         instructions, rename __extendkftf2_sw to __extendkftf2.
4227 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4229         PR target/38239
4230         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4231         call-clobbered registers.
4232         (internal_mcount): Remove __i386__ handling.
4234 2016-02-26  Joel Sherrill <joel@rtems.org>
4236         * config.host: Add x86_64-*-rtems*.
4238 2016-02-26  Joel Sherrill <joel@rtems.org>
4240         * libgcc/config.host: Add aarch64-*-rtems*.
4242 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4243             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4245         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4246         union of u64 and double.
4247         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4248         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4249         value.
4250         (FP_ROUNDMODE): Update the usage of _fpscr.
4252 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
4254         PR driver/68463
4255         * Makefile.in (crtoffloadtable$(objext)): New rule.
4256         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4257         enable_offload_targets is not empty.
4258         * configure: Regenerate.
4259         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4260         crtoffloadtable.
4262 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
4264         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4265         .literal_position before the function.
4266         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4267         Likewise.
4269 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
4271         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4272         * config/s390/morestack.S: New file.
4273         * config/s390/t-stack-s390: New file.
4274         * generic-morestack.c (__splitstack_find): Add s390-specific code.
4276 2016-02-12  Walter Lee  <walt@tilera.com>
4278         * config.host (tilegx*-*-linux*): remove ti from
4279         softfp_int_modes for 32-bit configs.
4281 2016-02-10  Ian Lance Taylor  <iant@google.com>
4283         PR go/68562
4284         * config/i386/morestack.S (__stack_split_initialize): Align
4285         stack.
4287 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
4289         PR bootstrap/69611
4290         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4291         __FLOAT128__ to compile only for __float128 capable targets.
4293 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
4295         PR target/69444
4296         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4297         instead of ___NO_FPRS__.
4299 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
4300             Steven Munroe  <munroesj@linux.vnet.ibm.com>
4301             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4303         * config/rs6000/float128-sed: New files to convert TF names to KF
4304         names for PowerPC IEEE 128-bit floating point support.
4305         * config/rs6000/float128-sed-hw: Likewise.
4307         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4308         floating point hardware support.
4310         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4311         128-bit floating point software emulation or use ISA 3.0 hardware
4312         support if it is available.
4314         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4315         floating point.
4317         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4318         floating point to IBM extended double.
4320         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4321         double to IEEE 128-bit floating point.
4323         * config/rs6000/t-float128: New Makefile fragments to enable
4324         building __float128 emulation support.
4325         * config/rs6000/t-float128-hw: Likewise.
4327         * config/rs6000/sfp-exceptions.c: New file to provide exception
4328         support for IEEE 128-bit floating point.
4330         * config/rs6000/floattikf.c: New files for converting between IEEE
4331         128-bit floating point and signed/unsigned 128-bit integers.
4332         * config/rs6000/fixunskfti.c: Likewise.
4333         * config/rs6000/fixkfti.c: Likewise.
4334         * config/rs6000/floatuntikf.c: Likewise.
4336         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4337         when building on 64-bit systems, or when VSX is enabled.
4338         (_FP_W_TYPE): Likewise.
4339         (_FP_WS_TYPE): Likewise.
4340         (_FP_I_TYPE): Likewise.
4341         (TItype): Define on 64-bit systems.
4342         (UTItype): Likewise.
4343         (TI_BITS): Likewise.
4344         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4345         (_FP_MUL_MEAT_Q): Likewise.
4346         (_FP_DIV_MEAT_D): Likewise.
4347         (_FP_DIV_MEAT_Q): Likewise.
4348         (_FP_NANFRAC_D): Likewise.
4349         (_FP_NANFRAC_Q): Likewise.
4350         (ISA_BIT): Add exception support if we are being compiled on a
4351         machine with hardware floating point support to build the IEEE
4352         128-bit emulation functions.
4353         (FP_EX_INVALID): Likewise.
4354         (FP_EX_OVERFLOW): Likewise.
4355         (FP_EX_UNDERFLOW): Likewise.
4356         (FP_EX_DIVZERO): Likewise.
4357         (FP_EX_INEXACT): Likewise.
4358         (FP_EX_ALL): Likewise.
4359         (__sfp_handle_exceptions): Likewise.
4360         (FP_HANDLE_EXCEPTIONS): Likewise.
4361         (FP_RND_NEAREST): Likewise.
4362         (FP_RND_ZERO): Likewise.
4363         (FP_RND_PINF): Likewise.
4364         (FP_RND_MINF): Likewise.
4365         (FP_RND_MASK): Likewise.
4366         (_FP_DECL_EX): Likewise.
4367         (FP_INIT_ROUNDMODE): Likewise.
4368         (FP_ROUNDMODE): Likewise.
4370         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4371         VSX code, enable IEEE 128-bit floating point.  If the compiler can
4372         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4373         floating point hardware instructions and it supports declaring
4374         functions with the ifunc attribute, enable ifunc functions to
4375         switch between software and hardware support.
4376         * configure.ac (powerpc*-*-linux*): Likewise.
4377         * configure: Regenerate.
4379 2016-01-15  Nick Clifton  <nickc@redhat.com>
4381         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4382         dependency as the source file to be compiled.
4383         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4384         (lib2hw_mul_f5.o): Likewise.
4386 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4388         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4389         * libgcc/config/rs6000/fixkfti.c: Likewise.
4390         * libgcc/config/rs6000/fixunskfti.c: Likewise.
4391         * libgcc/config/rs6000/float128-hw.c: Likewise.
4392         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4393         * libgcc/config/rs6000/float128-sed: Likewise.
4394         * libgcc/config/rs6000/floattikf.c: Likewise.
4395         * libgcc/config/rs6000/floatuntikf.c: Likewise.
4396         * libgcc/config/rs6000/quad-float128.h: Likewise.
4397         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4398         * libgcc/config/rs6000/sfp-machine.h: Likewise.
4399         * libgcc/config/rs6000/t-float128: Likewise.
4400         * libgcc/config/rs6000/t-float128-hw: Likewise.
4401         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4402         * libgcc/config.host: Likewise.
4403         * libgcc/configure: Likewise.
4404         * libgcc/configure.ac: Likewise.
4406 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4407             Steven Munroe  <munroesj@linux.vnet.ibm.com>
4408             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4410         * config/rs6000/sfp-exceptions.c: New file to provide exception
4411         support for IEEE 128-bit floating point.
4413         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4414         floating point hardware support.
4416         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4417         point conversions.
4418         * config/rs6000/fixunskfti.c: Likewise.
4419         * config/rs6000/fixkfti.c: Likewise.
4420         * config/rs6000/floatuntikf.c: Likewise.
4421         * config/rs6000/extendkftf2-sw.c: Likewise.
4422         * config/rs6000/trunctfkf2-sw.c: Likewise.
4424         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4425         128-bit floating point software emulation or use ISA 3.0 hardware
4426         support if it is available.
4428         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4429         floating point.
4431         * config/rs6000/t-float128: New Makefile fragments to enable
4432         building __float128 emulation support.
4433         * config/rs6000/t-float128-hw: Likewise.
4435         * config/rs6000/float128-sed: New file to convert TF names to KF
4436         names for PowerPC IEEE 128-bit floating point support.
4438         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4439         when building on 64-bit systems, or when VSX is enabled.
4440         (_FP_W_TYPE): Likewise.
4441         (_FP_WS_TYPE): Likewise.
4442         (_FP_I_TYPE): Likewise.
4443         (TItype): Define on 64-bit systems.
4444         (UTItype): Likewise.
4445         (TI_BITS): Likewise.
4446         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4447         (_FP_MUL_MEAT_Q): Likewise.
4448         (_FP_DIV_MEAT_D): Likewise.
4449         (_FP_DIV_MEAT_Q): Likewise.
4450         (_FP_NANFRAC_D): Likewise.
4451         (_FP_NANFRAC_Q): Likewise.
4452         (ISA_BIT): Add exception support if we are being compiled on a
4453         machine with hardware floating point support to build the IEEE
4454         128-bit emulation functions.
4455         (FP_EX_INVALID): Likewise.
4456         (FP_EX_OVERFLOW): Likewise.
4457         (FP_EX_UNDERFLOW): Likewise.
4458         (FP_EX_DIVZERO): Likewise.
4459         (FP_EX_INEXACT): Likewise.
4460         (FP_EX_ALL): Likewise.
4461         (__sfp_handle_exceptions): Likewise.
4462         (FP_HANDLE_EXCEPTIONS): Likewise.
4463         (FP_RND_NEAREST): Likewise.
4464         (FP_RND_ZERO): Likewise.
4465         (FP_RND_PINF): Likewise.
4466         (FP_RND_MINF): Likewise.
4467         (FP_RND_MASK): Likewise.
4468         (_FP_DECL_EX): Likewise.
4469         (FP_INIT_ROUNDMODE): Likewise.
4470         (FP_ROUNDMODE): Likewise.
4472         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4473         compiler can do __float128.
4474         * configure: Regenerate.
4476         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4477         VSX code, enable IEEE 128-bit floating point.
4479 2016-01-05  Olivier Hainque  <hainque@adacore.com>
4481         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4482         specificities.
4484 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
4486         Update copyright years.
4488 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
4490         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4491         soft-fp targets.
4493 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4495         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4496         instead of abort to avoid dependency on stdlib.h.
4498 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
4500         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4501         to initialize call to __dl_fixup once.
4503 2015-12-04  Nick Clifton  <nickc@redhat.com>
4505         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4506         Allow for the second argument being negative.
4507         * config.host (extra_parts): Define for MSP430.  Create separate
4508         libraries for each of the hardware multiply formats.
4509         * config/msp430/lib2hw_mul.S: Build only the multiply routines
4510         that are needed.
4511         * config/msp430/lib2mul.c: Likewise.
4512         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4513         Add rules to build hardware multiply libraries.
4514         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4515         __mspabi_divul function.
4516         (__mspabi_divllu): New stub function.
4518 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
4520         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4521         fixup values if saved GOT address doesn't match runtime address.
4522         (fixup_branch_offset): Reorder list.
4524 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4526         * Makefile.in (VTV_CFLAGS): New variable.
4527         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4528         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4529         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4530         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4531         to extra_parts if $enable_vtable_verify = yes.
4533 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4535         PR target/68059
4536         * config/arm/linux-atomic-64bit.c (__write): Rename to...
4537         (write): ...this and fix the return type.
4539 2015-11-19  DJ Delorie  <dj@redhat.com>
4541         * config/msp430/lib2hw_mul.S: Fix alignment.
4543 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
4545         * config/nvptx/reduction.c: New.
4546         * config/nvptx/t-nvptx (LIB2ADD): Add it.
4548 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
4550         * config/rs6000/on_exit.c: New file.
4551         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4552         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4554 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
4556         * config/arc/dp-hack.h: Add support for ARCHS.
4557         * config/arc/ieee-754/divdf3.S: Likewise.
4558         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4559         * config/arc/ieee-754/muldf3.S: Likewise.
4560         * config/arc/ieee-754/mulsf3.S: Likewise
4561         * config/arc/lib1funcs.S: Likewise
4562         * config/arc/gmon/dcache_linesz.S: Don't read the build register
4563         for ARCv2 cores.
4564         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4565         for ARCv2 cores.
4566         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4567         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4568         cores.
4570 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4572         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4573         value.
4574         * config/ia64/crtend.S: Likewise.
4576 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4578         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4579         __CHAR_BIT__ instead of BITS_PER_UNIT.
4580         * fixed-bit.h: Likewise.
4581         * fp-bit.h: Likewise.
4582         * libgcc2.c (__popcountSI2): Likewise.
4583         (__popcountDI2): Likewise.
4584         * libgcc2.h: Likewise.
4585         * libgcov.h: Likewise.
4587 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
4589         * config/rs6000/atexit.c: New file.
4590         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4591         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4592         * config/rs6000/cxa_finalize.c
4593         (catomic_compare_and_exchange_bool_acq): Negate return value.
4595 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
4597         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4598         (processor_subtypes): Add znver1.
4599         (get_amd_cpu): Detect znver1.
4601 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
4603         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4604         Include crtfastmath.o.
4606 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
4608         PR libgcc/66883
4609         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4611 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
4613         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4614         * config/rl78/divmodsi.S: Update return register to r8.
4615         * config/rl78/divmodhi.S: Update return register to r8,r9.
4616         Branch to main_loop_done_himode to pop registers before return.
4618 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
4620         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4621         (__cpu_indicator_init): Fix model selection for AMD CPUs.
4623 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
4625         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4627 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
4629         * config.host (xtensa*-*-uclinux*): New configuration.
4631 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
4633         * config/i386/cpuinfo.c (processor_features): Add
4634         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4636 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4638         * soft-fp/adddf3.c: Update from glibc.
4639         * soft-fp/addsf3.c: Likewise.
4640         * soft-fp/addtf3.c: Likewise.
4641         * soft-fp/divdf3.c: Likewise.
4642         * soft-fp/divsf3.c: Likewise.
4643         * soft-fp/divtf3.c: Likewise.
4644         * soft-fp/double.h: Likewise.
4645         * soft-fp/eqdf2.c: Likewise.
4646         * soft-fp/eqsf2.c: Likewise.
4647         * soft-fp/eqtf2.c: Likewise.
4648         * soft-fp/extenddftf2.c: Likewise.
4649         * soft-fp/extended.h: Likewise.
4650         * soft-fp/extendsfdf2.c: Likewise.
4651         * soft-fp/extendsftf2.c: Likewise.
4652         * soft-fp/extendxftf2.c: Likewise.
4653         * soft-fp/fixdfdi.c: Likewise.
4654         * soft-fp/fixdfsi.c: Likewise.
4655         * soft-fp/fixdfti.c: Likewise.
4656         * soft-fp/fixsfdi.c: Likewise.
4657         * soft-fp/fixsfsi.c: Likewise.
4658         * soft-fp/fixsfti.c: Likewise.
4659         * soft-fp/fixtfdi.c: Likewise.
4660         * soft-fp/fixtfsi.c: Likewise.
4661         * soft-fp/fixtfti.c: Likewise.
4662         * soft-fp/fixunsdfdi.c: Likewise.
4663         * soft-fp/fixunsdfsi.c: Likewise.
4664         * soft-fp/fixunsdfti.c: Likewise.
4665         * soft-fp/fixunssfdi.c: Likewise.
4666         * soft-fp/fixunssfsi.c: Likewise.
4667         * soft-fp/fixunssfti.c: Likewise.
4668         * soft-fp/fixunstfdi.c: Likewise.
4669         * soft-fp/fixunstfsi.c: Likewise.
4670         * soft-fp/fixunstfti.c: Likewise.
4671         * soft-fp/floatdidf.c: Likewise.
4672         * soft-fp/floatdisf.c: Likewise.
4673         * soft-fp/floatditf.c: Likewise.
4674         * soft-fp/floatsidf.c: Likewise.
4675         * soft-fp/floatsisf.c: Likewise.
4676         * soft-fp/floatsitf.c: Likewise.
4677         * soft-fp/floattidf.c: Likewise.
4678         * soft-fp/floattisf.c: Likewise.
4679         * soft-fp/floattitf.c: Likewise.
4680         * soft-fp/floatundidf.c: Likewise.
4681         * soft-fp/floatundisf.c: Likewise.
4682         * soft-fp/floatunditf.c: Likewise.
4683         * soft-fp/floatunsidf.c: Likewise.
4684         * soft-fp/floatunsisf.c: Likewise.
4685         * soft-fp/floatunsitf.c: Likewise.
4686         * soft-fp/floatuntidf.c: Likewise.
4687         * soft-fp/floatuntisf.c: Likewise.
4688         * soft-fp/floatuntitf.c: Likewise.
4689         * soft-fp/gedf2.c: Likewise.
4690         * soft-fp/gesf2.c: Likewise.
4691         * soft-fp/getf2.c: Likewise.
4692         * soft-fp/ledf2.c: Likewise.
4693         * soft-fp/lesf2.c: Likewise.
4694         * soft-fp/letf2.c: Likewise.
4695         * soft-fp/muldf3.c: Likewise.
4696         * soft-fp/mulsf3.c: Likewise.
4697         * soft-fp/multf3.c: Likewise.
4698         * soft-fp/negdf2.c: Likewise.
4699         * soft-fp/negsf2.c: Likewise.
4700         * soft-fp/negtf2.c: Likewise.
4701         * soft-fp/op-1.h: Likewise.
4702         * soft-fp/op-2.h: Likewise.
4703         * soft-fp/op-4.h: Likewise.
4704         * soft-fp/op-8.h: Likewise.
4705         * soft-fp/op-common.h: Likewise.
4706         * soft-fp/quad.h: Likewise.
4707         * soft-fp/single.h: Likewise.
4708         * soft-fp/soft-fp.h: Likewise.
4709         * soft-fp/subdf3.c: Likewise.
4710         * soft-fp/subsf3.c: Likewise.
4711         * soft-fp/subtf3.c: Likewise.
4712         * soft-fp/truncdfsf2.c: Likewise.
4713         * soft-fp/trunctfdf2.c: Likewise.
4714         * soft-fp/trunctfsf2.c: Likewise.
4715         * soft-fp/trunctfxf2.c: Likewise.
4716         * soft-fp/unorddf2.c: Likewise.
4717         * soft-fp/unordsf2.c: Likewise.
4718         * soft-fp/unordtf2.c: Likewise.
4720 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
4722         PR libgcc/67624
4723         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4725 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4727         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4728         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4729         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4730         messages.
4731         (internal_mcount): Likewise.
4732         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4733         crt_compile, add CRTSTUFF_T_CFLAGS_S.
4735 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4737         * configure.ac (libgcc_cv_solaris_crts): New test.
4738         * configure: Regenerate.
4739         * config.in: Regenerate.
4740         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4741         * config/gmon-sol2.c: Rename to ...
4742         * config/sol2/gmon.c: ... this.
4743         Include auto-target.h.
4744         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4745         * config/t-sol2: Rename to ...
4746         * config/sol2/t-sol2: ... this.
4747         (gmon.o): Reflect renaming.
4748         (crtp.o, crtpg.o): New rules.
4749         * config.host (*-*-solaris2*): Reflect renaming.
4750         Use system CRTs if present.
4751         Remove default CRT case.
4753 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
4755         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4756         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4757         __kernel_cmpxchg2.
4758         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4759         (__sync_val_compare_and_swap_##WIDTH): Likewise.
4760         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4761         (__sync_lock_test_and_set_##WIDTH): Likewise.
4762         (__sync_lock_release_##WIDTH): Likewise.
4763         (__sync_fetch_and_##OP##_4): Change result to match type of
4764         __kernel_cmpxchg.
4765         (__sync_##OP##_and_fetch_4): Likewise.
4766         (__sync_val_compare_and_swap_4): Likewise.
4767         (__sync_bool_compare_and_swap_4): likewise.
4768         (__sync_lock_test_and_set_4): Likewise.
4769         (__sync_lock_release_4): Likewise.
4770         (FETCH_AND_OP_2): Add long long variants.
4771         (OP_AND_FETCH_2): Likewise.
4772         (COMPARE_AND_SWAP_2 ): Likewise.
4773         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4774         (SYNC_LOCK_RELEASE_2): Likewise.
4775         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4777 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
4779         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4780         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4781         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4782         (get_available_features): Habdle new features.
4784 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
4786         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4787         memory layout. Deal correctly with BSS region larger than 32K.
4788         Handle a watchdog reset like a power-on reset. Clean up unused
4789         code.
4791 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
4792             David Edelsohn  <dje.gcc@gmail.com>
4794         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4795         * config/rs6000/crtdbase.S: New file.
4796         * config/rs6000/t-aix-cxa: Build crtdbase.o.
4798 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
4800         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4801         Add support for call0 ABI.
4803 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
4805         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4807 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4809         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4810         (__GTHREAD_HAS_COND): Likewise.
4811         (__gthread_t): Likewise.
4812         (__gthread_cond_t): Likewise.
4813         (__gthread_time_t): Likewise.
4814         (__GTHREAD_MUTEX_INIT): Likewise.
4815         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4816         (__GTHREAD_COND_INIT): Likewise.
4817         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4818         (__GTHREAD_TIME_INIT): Likewise.
4819         (__gthread_create): Likewise.
4820         (__gthread_join): Likewise.
4821         (__gthread_detach): Likewise.
4822         (__gthread_equal): Likewise.
4823         (__gthread_self): Likewise.
4824         (__gthread_yield): Likewise.
4825         (__gthread_cond_broadcast): Likewise.
4826         (__gthread_cond_signal): Likewise.
4827         (__gthread_cond_wait): Likewise.
4828         (__gthread_cond_timedwait): Likewise.
4829         (__gthread_cond_wait_recursive): Likewise.
4830         (__gthread_cond_destroy): Likewise.
4831         (rtems_gxx_once): Delete.
4832         (rtems_gxx_key_create): Likewise.
4833         (rtems_gxx_key_delete): Likewise.
4834         (rtems_gxx_getspecific): Likewise.
4835         (rtems_gxx_setspecific): Likewise.
4836         (rtems_gxx_mutex_init): Likewise.
4837         (rtems_gxx_mutex_destroy): Likewise.
4838         (rtems_gxx_mutex_lock): Likewise.
4839         (rtems_gxx_mutex_trylock): Likewise.
4840         (rtems_gxx_mutex_unlock): Likewise.
4841         (rtems_gxx_recursive_mutex_init): Likewise.
4842         (rtems_gxx_recursive_mutex_lock): Likewise.
4843         (rtems_gxx_recursive_mutex_trylock): Likewise.
4844         (rtems_gxx_recursive_mutex_unlock): Likewise.
4845         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4846         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4847         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4848         (__gthread_once): Likewise.
4849         (__gthread_key_create): Likewise.
4850         (__gthread_key_delete): Likewise.
4851         (__gthread_getspecific): Likewise.
4852         (__gthread_setspecific): Likewise.
4853         (__gthread_key_t): Use <pthread.h> type.
4854         (__gthread_once_t): Likewise
4855         (__gthread_mutex_t): Use <sys/lock.h> type.
4856         (__gthread_recursive_mutex_t): Likewise
4857         (__gthread_mutex_lock): Use <sys/lock.h> function.
4858         (__gthread_mutex_trylock): Likewise.
4859         (__gthread_mutex_timedlock): Likewise.
4860         (__gthread_mutex_unlock): Likewise.
4861         (__gthread_mutex_destroy): Likewise.
4862         (__gthread_recursive_mutex_lock): Likewise.
4863         (__gthread_recursive_mutex_trylock): Likewise.
4864         (__gthread_recursive_mutex_timedlock): Likewise.
4865         (__gthread_recursive_mutex_unlock): Likewise.
4866         (__gthread_recursive_mutex_destroy): Likewise.
4868 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4870         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4871         context->sp instead of context->cfa.
4873 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4875         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4876         with unwind-dw2-fde-dip.
4878 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4880         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4881         CALL12 followed by series of ENTRY to spill windowed registers.
4882         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4883         instead of making linux spill syscall.
4885 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
4887         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4888         (get_intel_cpu): Likewise.
4890 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4892         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4893         (get_intel_cpu): Add Knights Landing support.
4895 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
4897         PR target/66954
4898         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4899         (get_available_features): Handle FEATURE_PCLMUL.
4901 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
4903         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4904         Broadwell.
4906 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
4908         PR target/66954
4909         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4910         (get_available_features): Handle FEATURE_AES.
4912 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
4914         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4915         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4917 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
4919         * offloadstuff.c: Constify host data.
4921 2015-07-17  Jan Beulich  <jbeulich@suse.com>
4923         * config/t-softfp: Split up "else ifneq".
4925 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
4926             Cesar Philippidis  <cesar@codesourcery.com>
4927             Chung-Lin Tang  <cltang@codesourcery.com>
4929         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4930         for __nios2_arch__ level.
4932 2015-07-13  John Marino  <gnugcc@marino.st>
4934         * config/i386/t-dragonfly: New.
4936 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
4938         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4939         better match light-weight syscall argument order.
4940         (__kernel_cmpxchg2): Likewise.
4941         Adjust callers.
4943 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4945         * config.host: Support i[34567]86-*-elfiamcu target.
4946         * config/t-softfp-sfdftf: New file.
4947         * config/i386/32/t-iamcu: Likewise.
4948         * configure: Regenerated.
4950 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
4952         libgcc/config/arm/
4953         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4955 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4957         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4959 2015-05-27  John Marino  <gnugcc@marino.st>
4961         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4962         md_unwind_header
4963         * config/i386/freebsd-unwind.h: New.
4965 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
4967         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4968         i386/t-crtfm to tmake_file.
4969         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4970         (set_fast_math): Use set_fast_math_sse for SSE targets.
4971         * config/i386/t-crtfm: Remove.
4973 2015-05-21  Alan Modra  <amodra@gmail.com>
4975         PR libgcc/66225
4976         * config/rs6000/morestack.S: Remove ".abiversion 1".
4978 2015-05-20  Alan Modra  <amodra@gmail.com>
4980         * config/rs6000/morestack.S: New.
4981         * config/rs6000/t-stack-rs6000: New.
4982         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4983         to tmake_file.
4984         * generic-morestack.c: Don't build for powerpc 32-bit.
4986 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
4988         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4989         Remove useless endif/ifneq ($(enable_shared),yes) pair.
4991 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
4993         * config.host: FT32 target added.
4994         * config/ft32/*: New files for FT32 target.
4996 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
4998         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4999         New macros.
5000         * config/arm/ieee754-df.S: Add CFI directives.
5001         * config/arm/ieee754-sf.S: Add CFI directives.
5003 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
5005         * configure.ac: Include config/sjlj.m4.
5006         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5007         * config.in: Regenerate.
5008         * configure: Likewise.
5009         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5011 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
5013         * libgcov-util.c: Add space between string literal and macro name.
5015 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
5016             Chris Jones  <chrisj@nvidia.com>
5017             Joshua Conner  <jconner@nvidia.com>
5019         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5020         (arm*-*-uclinux*): Likewise.
5021         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5022         * config/arm/crtfastmath.c: New file.
5024 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
5026         * Makefile.in (real_host_noncanonical): New variable.
5027         (libsubdir): Use it.
5028         * configure.ac (real_host_noncanonical): Compute.  Remove special
5029         case for intelmicemul.
5030         * configure: Regenerate.
5032 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5034         * config/frv/elf-lib.h: New file.
5035         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5036         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5037         to tm_file.
5039 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5041         * config/frv/frvbengin.c: Do not include defaults.h
5042         * config/frv/frvend.c: Ditto.
5044 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
5046         * config.host: Add h8300-*-linux
5047         * config/h8300/t-linux: New file.
5048         * config/h8300/lib1funs.s: Change symbol prefix.
5049         * config/h8300/sfp-machine.h: 64bit double support.
5051 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
5052             Szabolcs Nagy  <szabolcs.nagy@arm.com>
5054         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5055         Linux if target provides dl_iterate_phdr.
5057 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
5059         PR target/65612
5060         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5061         * config/i386/cpuinfo.c (__cpu_model): Initialize.
5062         (__cpu_indicator_init@GCC_4.8.0): New.
5063         (__cpu_model@GCC_4.8.0): Likewise.
5064         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5065         -DUSE_ELF_SYMVER.
5067 2015-04-16  Nick Clifton  <nickc@redhat.com>
5069         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5070         and __modhi3 functions.
5071         * config/rl78/divmodso.S: Add G14 and G13 versions of the
5072         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5074 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
5076         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5077         do-while loop as macro body to avoid warnings.
5079 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
5080             Iain Sandoe  <iain@codesourcery.com>
5082         PR target/65351
5083         * configure: Regenerate.
5085 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
5086             Iain Sandoe  <iain@codesourcery.com>
5088         PR target/65351
5089         * configure: Regenerate.
5091 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
5093         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5095 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
5097         Implement call0 ABI for xtensa
5098         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5099         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5100         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5101         use ret in call0 ABI.
5102         * config/xtensa/t-windowed: New file.
5103         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5104         * libgcc/configure: Regenerated.
5105         * libgcc/configure.ac: Check if xtensa target is configured for
5106         windowed ABI and thus needs to use custom unwind code.
5108 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
5110         PR libgcc/64885
5111         * gthr-single.h: Use __unused__ attribute instead of unused.
5112         * config/gthr-vxworks.h: Likewise.
5113         * config/i386/gthr-win32.h: Likewise.
5115 2015-02-27  Kai Tietz  <ktietz@redhat.com>
5117         PR target/65038
5118         * config.in: Regenerated.
5119         * configure: Likewise.
5120         * configure.ac (AC_HEADER_STDC): Added explicit.
5121         (AC_CHECK_HEADERS): Check for default headers  plus
5122         for ftw.h header.
5123         * libgcov-util.c (gcov_read_profile_dir): Disable use
5124         of ftw-function, if header is not found.
5125         (ftw_read_file): Likewise.
5127 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
5129         PR target/65181
5130         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5131         -Dinhibit_libc.
5133 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
5135         * config/arm/bpabi.S (test_div_by_zero): Make label names
5136         consistent between thumb2 and arm mode cases.  Separate the
5137         signed comparison on the high word of the numerator from the
5138         unsigned comparison on the low word.
5139         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5140         signed comparison.
5142 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5144         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5145         and <string.h>.
5146         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5148 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
5150         PR gcov-profile/61889
5151         * libgcov-driver-system.c: undefine clashing macro for mkdir.
5153 2015-02-02  Nick Clifton  <nickc@redhat.com>
5155         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5156         rounding up the fraction.
5158 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
5160         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5161         oldval and newval to const void *.  Fix typo.
5162         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5163         (FETCH_AND_OP_WORD): Likewise.
5164         (OP_AND_FETCH_WORD): Likewise.
5165         (COMPARE_AND_SWAP_2): Likewise.
5166         (__sync_val_compare_and_swap_4): Likewise.
5167         (__sync_lock_test_and_set_4): Likewise.
5168         (SYNC_LOCK_RELEASE_2): Likewise.
5169         Remove support for long long atomic operations.
5171 2015-01-27  Caroline Tice  <cmtice@google.com>
5173         Committing VTV Cywin/Ming patch for Patrick Wollgast
5174         * Makefile.in: Move rules to build vtv_*.o out of the check
5175         for CUSTOM_CRTSTUFF.
5176         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5177         i[34567]86-*-mingw*)
5178          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5179         enable_vtable_verify.
5181 2015-01-27  Nick Clifton  <nickc@redhat.com>
5183         * config/rl78/cmpsi2.S: Use function start and end macros.
5184         (__gcc_bcmp): New function.
5185         * config/rl78/lshrsi3.S: Use function start and end macros.
5186         * config/rl78/mulsi3.S: Add support for G10.
5187         (__mulqi3): New function for G10.
5188         * config/rl78/signbit.S: Use function start and end macros.
5189         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5190         fpmath-sf.S.
5191         (LIB2FUNCS_EXCLUDE): Define.
5192         (LIB2FUNCS_ST): Define.
5193         * config/rl78/trampoline.S: Use function start and end macros.
5194         * config/rl78/vregs.h (START_FUNC): New macro.
5195         (START_ANOTHER_FUNC): New macro.
5196         (END_FUNC): New macro.
5197         (END_ANOTHER_FUNC): New macro.
5198         * config/rl78/bit-count.S: New file.  Contains assembler
5199         implementations of the bit counting functions: ___clzhi2,
5200         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5201         __paritysi2, __popcounthi2 and __popcountsi2.
5202         * config/rl78/fpbit-sf.S: New file.  Contains assembler
5203         implementationas of the math functions: __negsf2, __cmpsf2,
5204         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5205         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
5206         * config/rl78/fpmath-sf.S: New file.  Contains assembler
5207         implementations of the math functions: __subsf3, __addsf3,
5208         __mulsf3 and __divsf3
5210 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5212         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5213         Add i386/elf-lib.h to tm_file.
5214         * config/i386/elf-lib.h: Fix comment.
5215         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5216         && __sun__ && __svr4__]: Remove workaround.
5218 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
5220         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5221         FEATURE_BMI2.
5222         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5224 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
5226         * config/i386/cpuinfo.c (processor_subtypes): Add
5227         INTEL_COREI7_BROADWELL.
5228         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5229         model numbers.
5231 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
5233         * config/i386/elf-lib.h: New file.
5234         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5235         Wrap definition in #ifdef __i386__.
5236         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5237         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5238         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5239         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5240         to tm_file.
5242 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
5244         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5245         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5247 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
5249         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5250         Update rt_sigframe format and address for current Nios II
5251         Linux conventions.
5253 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
5255         * config.host (arm*-*-freebsd*): Add new configuration for
5256         arm*-*-freebsd*.
5257         * config/arm/freebsd-atomic.c: New file.
5258         * config/arm/t-freebsd: Likewise.
5259         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5260         'PC-relative indirect' OS's.
5262 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
5264         * config.host: Add Visium support.
5265         * config/visium: New directory.
5267 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
5269         Update copyright years.
5271 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
5273         * config.host: Support mipsisa32r6 and mipsisa64r6.
5274         * config/mips/mips16.S: Do not build for R6.
5276 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
5278         * config/sh/crt.h: New.
5279         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5280         symbols.
5281         * config/sh/crt1.S: Likewise.
5283 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
5285         PR libgcc/63832
5286         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5287         func_ptr *dtor_list temporary variable to avoid "array subscript
5288         is above array bounds" warnings.
5290 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
5292         * Makefile.in (with_aix_soname): Define.
5293         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5294         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5295         * configure: Recreate.
5297 2014-12-05  Olivier Hainque  <hainque@adacore.com>
5299         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5300         now provided by defaults.h.
5302 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
5304         PR target/55351
5305         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5306         whether it's defined.
5308 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
5310         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5311         * config/i386/cpuinfo.c (get_available_features): Detect it.
5313 2014-11-27  Tony Wang  <tony.wang@arm.com>
5315         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5316         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5317         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5319 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
5321         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5323 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
5325         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5326         instead.
5328 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
5329             John David Anglin  <danglin@gcc.gnu.org>
5331         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5332         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
5333         (OP_AND_FETCH_2): Likewise.
5334         (COMPARE_AND_SWAP_2): Likewise.
5335         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5336         (SYNC_LOCK_RELEASE_2): Likewise.
5337         (SUBWORD_SYNC_OP): Remove.
5338         (SUBWORD_VAL_CAS): Likewise.
5339         (SUBWORD_BOOL_CAS): Likewise.
5340         (FETCH_AND_OP_WORD): Update.
5341         Consistently use signed types.
5343 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
5344             Thomas Schwinge  <thomas@codesourcery.com>
5345             Ilya Verbin  <ilya.verbin@intel.com>
5346             Andrey Turetskiy  <andrey.turetskiy@intel.com>
5348         * Makefile.in (crtoffloadbegin$(objext)): New rule.
5349         (crtoffloadend$(objext)): Likewise.
5350         * configure: Regenerate.
5351         * configure.ac (accel_dir_suffix): Compute new variable.
5352         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5353         if enable_offload_targets is not empty.
5354         * offloadstuff.c: New file.
5356 2014-11-13  Nick Clifton  <nickc@redhat.com>
5358         * config/rl78/divmodhi.S: Add support for the G10 architecture.
5359         Use START_FUNC and END_FUNC macros to enable linker garbage
5360         collection.
5361         * config/rl78/divmodqi.S: Likewise.
5362         * config/rl78/divmodsi.S: Likewise.
5363         * config/rl78/mulsi3.S: Likewise.
5364         * config/rl78/lib2div.c: Remove G10 functions.
5365         * config/rl78/lib2muls.c: Likewise.
5366         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5367         * config/rl78/vregs.h (START_FUNC): New macro.
5368         (END_FUNC): New macro.
5370 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
5372         * config/mips/mips16.S: Set .module when supported.  Update O32
5373         FP64 calling convention and use for FPXX when possible.  Add FPXX
5374         calling convention fallback case.
5376 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
5378         * config.host: Handle nvptx-*-*.
5379         * shared-object.mk (as-flags-$o): Define.
5380         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5381         -xassembler-with-cpp.
5382         * static-object.mk: Identical changes.
5383         * config/nvptx/t-nvptx: New file.
5384         * config/nvptx/crt0.s: New file.
5385         * config/nvptx/free.asm: New file.
5386         * config/nvptx/malloc.asm: New file.
5387         * config/nvptx/realloc.c: New file.
5389 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5391         * Makefile.in (libgcc.map.in): New target.
5392         (libgcc.map): Use libgcc.map.in.
5393         * config/t-softfp (softfp_compat): New variable to be set by
5394         users.
5395         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5396         variables.
5397         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5398         directory.
5399         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5400         that use compat symbols and disable all code unless [SHARED].
5401         * config/t-softfp-compat: New file.
5402         * find-symver.awk: New file.
5403         * configure.ac (--with-glibc-version): New configure option.
5404         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5405         * configure: Regenerate.
5406         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5407         soft-float and e500.
5409 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
5411         * config/t-hardfp (hardfp_exclusions): Document new variable for
5412         user to define.
5413         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5414         * config/t-softfp (softfp_extras): Document new variable for user
5415         to define.
5416         (softfp_func_list): Add functions from $(softfp_extras).
5417         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5418         * config.host (powerpc*-*-linux*): For e500v1, use
5419         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5420         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5421         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5423 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
5425         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5426         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5427         memory read accesses are ok.
5429 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
5431         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5432         * configure: Regenerate.
5433         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5434         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
5435         of soft-fp for 32-bit classic hard float.  Do not use
5436         t-softfp-excl for soft float.
5438 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
5440         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5441         configurations.
5442         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5443         Remove variables.
5445 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
5447         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5448         introduced with 2014-10-21 trunk r216525.
5450 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
5451             Vidya Praveen  <vidya.praveen@atmel.com>
5452             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
5453             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
5454             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
5456         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5457         order.
5459         Updated library functions for AVRTINY arch.
5460         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5461         Replaced occurrences of r0/r1 with tmp/zero reg macros.
5462         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5463         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5464         wsubi/wadi macors.
5465         (__mulsi3_helper): Update stack, preserve callee saved regs and
5466         argument from stack. Restore callee save registers.
5467         (__mulpsi3): Likewise.
5468         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5469         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5470         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5471         AVRTINY.
5472         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5473         (__do_copy_data): Added new definition for AVRTINY.
5474         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5475         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5476         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5477         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5478         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5479         macors.
5480         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5481         AVRTINY.
5483         Fix broken long multiplication on tiny arch.
5485 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5487         * soft-fp/double.h: Update from glibc.
5488         * soft-fp/eqdf2.c: Likewise.
5489         * soft-fp/eqsf2.c: Likewise.
5490         * soft-fp/eqtf2.c: Likewise.
5491         * soft-fp/extenddftf2.c: Likewise.
5492         * soft-fp/extended.h: Likewise.
5493         * soft-fp/extendsfdf2.c: Likewise.
5494         * soft-fp/extendsftf2.c: Likewise.
5495         * soft-fp/extendxftf2.c: Likewise.
5496         * soft-fp/gedf2.c: Likewise.
5497         * soft-fp/gesf2.c: Likewise.
5498         * soft-fp/getf2.c: Likewise.
5499         * soft-fp/ledf2.c: Likewise.
5500         * soft-fp/lesf2.c: Likewise.
5501         * soft-fp/letf2.c: Likewise.
5502         * soft-fp/op-1.h: Likewise.
5503         * soft-fp/op-2.h: Likewise.
5504         * soft-fp/op-4.h: Likewise.
5505         * soft-fp/op-8.h: Likewise.
5506         * soft-fp/op-common.h: Likewise.
5507         * soft-fp/quad.h: Likewise.
5508         * soft-fp/single.h: Likewise.
5509         * soft-fp/soft-fp.h: Likewise.
5510         * soft-fp/unorddf2.c: Likewise.
5511         * soft-fp/unordsf2.c: Likewise.
5512         * soft-fp/unordtf2.c: Likewise.
5513         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5514         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5515         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5516         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5517         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5518         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5519         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5520         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5521         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5522         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5524 2014-10-08  Rong Xu  <xur@google.com>
5526         * libgcov-util.c (read_gcda_file): Fix format.
5527         (find_match_gcov_info): Ditto.
5528         (calculate_2_entries): New.
5529         (compute_one_gcov): Ditto.
5530         (gcov_info_count_all_cold): Ditto.
5531         (gcov_info_count_all_zero): Ditto.
5532         (extract_file_basename): Ditto.
5533         (get_file_basename): Ditto.
5534         (set_flag): Ditto.
5535         (matched_gcov_info): Ditto.
5536         (calculate_overlap): Ditto.
5537         (gcov_profile_overlap): Ditto.
5538         * libgcov-driver.c (compute_summary): Make
5539         it avavilable for external calls.
5541 2014-10-06  Rong Xu  <xur@google.com>
5543         * Makefile.in: Ditto.
5544         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5545         (gcov_sort_icall_topn_counter): Ditto.
5546         (gcov_sort_topn_counter_arrays): Ditto.
5547         (dump_one_gcov): Sort indirect_call topn counters.
5548         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5549         function.
5550         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5551         utility function.
5552         (__gcov_indirect_call_topn_profiler): New profiler function.
5553         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5554         * libgcov.h: New decls.
5556 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
5558         * config.host: Remove support for score-*.
5560 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
5562         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5563         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5564         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5565         __LIBGCC_XF_MANT_DIG__.
5566         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5567         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5568         __LIBGCC_TF_MANT_DIG__.
5569         * libgcc2.c (NOTRUNC): Define in terms of
5570         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5571         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5573 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
5575         PR target/63312
5576         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5577         New macros.
5579 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
5581         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5582         override USE_PT_GNU_EH_FRAME.
5583         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5584         check USE_EH_FRAME_REGISTRY_ALWAYS against
5585         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5586         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5587         variable for substituted force_explicit_eh_registry.
5588         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5589         * configure.ac (explicit-exception-frame-registration):
5590         New AC_ARG_ENABLE.
5591         * configure: Regenerate.
5593 2014-09-19  Olivier Hainque  <hainque@adacore.com>
5595         * config.host (powerpc-wrs-vxworksmils): New configuration,
5596         same as vxworksae.
5598 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
5600         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5602 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
5604         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5605         bits not set bits as indicating trapping exceptions.
5607 2014-09-17  Nathan sidwell  <nathan@acm.org>
5609         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5610         (LIBGCOV_DRIVER): ... here.
5611         * libgcov-driver.c (gcov_master): New.
5612         (gcov_exit): Remove from master chain.
5613         (__gcov_init): Add to master chain if version compatible.  Don't
5614         clear the version.
5615         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5616         (gcov_reset_int): Clear master chain, if compatible.
5617         (gcov_dump_int): New internal interface.  Dump master chain, if
5618         compatible.
5619         (gcov_dump): Alias for gcov_dump_int.
5620         * libgcov.h (struct gcov_root): Add next and prev fields.
5621         (struct gcov_master): New struct.
5622         (__gcov_master): New.
5623         (gcov_dump_int): Declare.
5625 2014-09-17  Olivier Hainque  <hainque@adacore.com>
5627         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5628         and crtbegin.o + crtend.o to extra_parts.
5630 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
5632         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5633         __LIBGCC_HAS_SF_MODE__.
5634         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5635         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5636         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5637         * config/libbid/bid_gcc_intrinsics.h
5638         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5639         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5640         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5641         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5642         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5643         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5645 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
5647         PR target/63223
5648         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5649         and R24 as needed.  Make work for all devices and .text locations.
5650         (__do_global_ctors, __do_global_dtors): Use word addresses.
5651         (__tablejump__, __tablejump_elpm__): Remove functions.
5652         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5653         Add _tablejump2.
5654         (XICALL, XIJMP): New macros.
5656 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5657         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
5659         * config.host (aarch64*): Include crtfastmath.o and
5660         t-crtfm.
5661         * config/aarch64/crtfastmath.c: New file.
5663 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
5665         * config.host: Remove picochip support.
5666         * config/picochip/adddi3.S: Remove.
5667         * config/picochip/ashlsi3.S: Remove.
5668         * config/picochip/ashlsi3.c: Remove.
5669         * config/picochip/ashrsi3.S: Remove.
5670         * config/picochip/ashrsi3.c: Remove.
5671         * config/picochip/clzsi2.S: Remove.
5672         * config/picochip/cmpsi2.S: Remove.
5673         * config/picochip/divmod15.S: Remove.
5674         * config/picochip/divmodhi4.S: Remove.
5675         * config/picochip/divmodsi4.S: Remove.
5676         * config/picochip/lib1funcs.S: Remove.
5677         * config/picochip/longjmp.S: Remove.
5678         * config/picochip/lshrsi3.S: Remove.
5679         * config/picochip/lshrsi3.c: Remove.
5680         * config/picochip/parityhi2.S: Remove.
5681         * config/picochip/popcounthi2.S: Remove.
5682         * config/picochip/setjmp.S: Remove.
5683         * config/picochip/subdi3.S: Remove.
5684         * config/picochip/t-picochip: Remove.
5685         * config/picochip/ucmpsi2.S: Remove.
5686         * config/picochip/udivmodhi4.S: Remove.
5687         * config/picochip/udivmodsi4.S: Remove.
5689 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
5691         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5692         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5693         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5694         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5695         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
5696         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5697         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
5698         defined and LIBGCC2_HAS_DF_MODE is defined.
5699         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
5700         defined and LIBGCC2_HAS_XF_MODE is defined.
5701         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
5702         defined and LIBGCC2_HAS_TF_MODE is defined.
5704 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
5706         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5707         and ROUND_TOWARDS_ZERO conditionals.
5709 2014-09-07  Nathan sidwell  <nathan@acm.org>
5711         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5712         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
5714 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
5716         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5717         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5718         uses to __LIBGCC_STACK_POINTER_REGNUM__.
5719         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5720         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5721         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5722         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5723         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5724         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5725         (DWARF_FRAME_REGISTERS): Change all uses to
5726         __LIBGCC_DWARF_FRAME_REGISTERS__.
5727         (EH_RETURN_STACKADJ_RTX): Change all uses to
5728         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5729         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5730         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
5731         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5732         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5733         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5734         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5735         to __LIBGCC_EH_FRAME_SECTION_NAME__.
5736         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5737         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5738         __LIBGCC_STACK_POINTER_REGNUM__.
5739         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5740         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5741         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5742         to __LIBGCC_STACK_POINTER_REGNUM__.
5743         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5744         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5745         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5746         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5747         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5748         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5749         (STACK_POINTER_REGNUM): Change all uses to
5750         __LIBGCC_STACK_POINTER_REGNUM__.
5751         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5752         use to __LIBGCC_STACK_POINTER_REGNUM__.
5753         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5754         uses to __LIBGCC_STACK_POINTER_REGNUM__.
5755         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5756         to __LIBGCC_DWARF_FRAME_REGISTERS__.
5757         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5758         to __LIBGCC_DWARF_FRAME_REGISTERS__.
5759         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5760         to __LIBGCC_STACK_POINTER_REGNUM__.
5761         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5762         Remove conditional definition.
5763         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5764         __LIBGCC_TEXT_SECTION_ASM_OP__.
5765         (EH_FRAME_SECTION_NAME): Change all uses to
5766         __LIBGCC_EH_FRAME_SECTION_NAME__.
5767         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5768         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5769         (CTORS_SECTION_ASM_OP): Change all uses to
5770         __LIBGCC_CTORS_SECTION_ASM_OP__.
5771         (DTORS_SECTION_ASM_OP): Change all uses to
5772         __LIBGCC_DTORS_SECTION_ASM_OP__.
5773         (JCR_SECTION_NAME): Change all uses to
5774         __LIBGCC_JCR_SECTION_NAME__.
5775         (INIT_SECTION_ASM_OP): Change all uses to
5776         __LIBGCC_INIT_SECTION_ASM_OP__.
5777         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5778         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5779         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5780         __LIBGCC_STACK_GROWS_DOWNWARD__.
5781         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5782         __LIBGCC_INIT_SECTION_ASM_OP__.
5783         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5784         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5785         (EH_FRAME_SECTION_NAME): Change all uses to
5786         __LIBGCC_EH_FRAME_SECTION_NAME__.
5787         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5788         definitions.  Change all uses to
5789         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5790         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5791         __LIBGCC_STACK_GROWS_DOWNWARD__.
5792         (DWARF_FRAME_REGISTERS): Change all uses to
5793         __LIBGCC_DWARF_FRAME_REGISTERS__.
5794         (EH_RETURN_STACKADJ_RTX): Change all uses to
5795         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5796         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5797         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5798         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5799         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5800         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5802 2014-09-02  Nathan sidwell  <nathan@acm.org>
5804         * libgcov-interface.c (STRONG_ALIAS): New.
5805         (__gcov_flush): Call __gcov_reset_int.
5806         (__gcov_reset): Strong alias for ...
5807         (__gcov_reset_ing): ... this renamed hidden version.
5808         * libgcov.h (__gcov_reset_int): New declaration.
5810 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
5812         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5813         call from here...
5814         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5815         (__dso_handle): Define on Cygwin.
5816         * config/i386/t-cygming (crtbeginS.o): New rule.
5817         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5819         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5820         declaration syntax.
5822 2014-08-13  Steve Ellcey  <sellcey@mips.com>
5824         * crtstuff.c: Undef caddr_t.
5826 2014-08-12  Steve Ellcey  <sellcey@mips.com>
5828         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
5830 2014-08-07  Nathan Sidwell  <nathan@acm.org>
5832         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5833         (LIBGCOV_DRIVER): ... to here.
5834         * libgcov.h (gcov_do_dump): New #define.
5835         (struct gcov_root): New.
5836         (__gcov_root): New declaration.
5837         (__gcov_dump_one): Declare.
5838         * libgcov-driver.c (gcov_list, gcov_dump_complete,
5839         run_accounted): Delete.
5840         (gcov_compute_histogram): Add LIST argument, adjust.
5841         (compute_summary): Adjust gcov_compute_histogram call.
5842         (gcov_do_dump): Not hidden, static in libgcov.
5843         (gcov_clear): Move  to interface.c.
5844         (__gcov_dump_one): New, broken out of ...
5845         (gcov_exit): ... here.  Make static.
5846         (__gcov_root): New.
5847         (__gcov_init): Adjust.
5848         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5849         declarations.
5850         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5851         (gcov_clear): Moved from driver.c.   Add LIST argument.
5852         (__gcov_reset): Adjust for changed interfaces.
5853         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5855 2014-08-04  Rohit  <rohitarulraj@freescale.com>
5857         PR target/60102
5858         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5859         based on change in SPE high register numbers and 3 HTM registers.
5861 2014-08-01  Nathan Sidwell  <nathan@acm.org>
5863         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5864         LIBGCOV_INTERFACE): Reformat.
5865         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5866         IN_GCOV_TOOL.
5867         * libgcov-interface.c: Reformat some comments.
5868         (__gcov_flush_mx): Add declaration.  Tidy up definition.
5870 2014-07-31  Alan Modra  <amodra@gmail.com>
5871             Peter Bergner  <bergner@vnet.ibm.com>
5873         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5874         (pack_ldouble): New function.
5875         (__gcc_qadd): Use it.
5876         (__gcc_qmul): Likewise.
5877         (__gcc_qdiv): Likewise.
5878         (__gcc_qneg): Likewise.
5879         (__gcc_stoq): Likewise.
5880         (__gcc_dtoq): Likewise.
5882 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
5884         * config/s390/tpf-unwind.h: Include <stdbool.h>.
5885         (__tpf_eh_return): Add original return address as second parameter.
5886         Handle cases where unwinder routines were called directly, instead
5887         of from within the C++ library.
5889 2014-07-29  Nathan Sidwell  <nathan@acm.org>
5891         * libgcov.h: Move renaming of entry points to lib gcov specific
5892         portion.
5893         (gcov_do_dump): New rename.
5894         (gcov_rewrite): Remove inline, make HIDDEN.
5895         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5896         (gcov_exit_compute_summary): Rename to ...
5897         (compute_summary): ... here.  Add LIST argument.
5898         (gcov_exit_merge_gcda): Rename to ...
5899         (merge_one_data): ... here.
5900         (gcov_exit_write_gcda): Rename to ...
5901         (write_one_data): ... here.
5902         (gcov_exit_merge_summary): Rename to ...
5903         (merge_summary): Add RUN_COUNTED argument.
5904         (gcov_exit_dump_gcov): Rename to ...
5905         (dump_one_gcov): Add RUN_COUNTED argument.
5906         (gcov_do_dump): New function, broken out of ...
5907         (gcov_exit): ... here.  Call it.
5909 2014-07-27  Anthony Green  <green@moxielogic.com>
5911         * config.host: Add moxiebox configuration suppport.
5913 2014-07-27  Nathan Sidwell  <nathan@acm.org>
5915         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5916         (struct gcov_filename): ... here.  Include buffer and max length
5917         fields.
5918         (gcov_max_filename): Remove.
5919         (gi_filename): Remove.
5920         (gcov_exit_compute_summary): Compute max filename here.
5921         (gcov_exit_merge_gcda): Add filename parm, adjust.
5922         (gcov_exit_merge_summary): Likewise.
5923         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5924         (gcov_exit): Likewise.
5925         (__gcov_init): Don't calculate max length here.
5926         * libgcov_util.c (max_filename_len): Remove.
5927         (read_gcda_file): Don't calculate max length here.
5928         (gcov_read_profile_dir): Don't propagate here.
5929         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5930         struct gcov_filename changes.
5931         (gcov_exit_open_gcda_file): Likewise.
5933 2014-07-25  Nathan Sidwell  <nathan@acm.org>
5935         * libgcov-driver.c (set_gcov_dump_complete,
5936         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5937         functions polluting user's namespace.
5938         (gcov_exit): Set variable directly.
5939         (gcov_clear): Reset variable directly.
5940         * libgcov-interface.c (get_gcov_dymp_complete,
5941         reset_gov_dump_complete): Remove declarations.
5942         (__gcov_reset, __gcov_dump): Don't call them.
5944 2014-07-24  DJ Delorie  <dj@redhat.com>
5946         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5947         (__gcc_deregister_frame): Move logic to detect deregister function
5948         to ...
5949         (__gcc_register_frame): here, so it's consistent with the register
5950         logic.
5952 2014-07-23  Nathan Sidwell  <nathan@acm.org>
5954         * libgcov-driver.c (set_gcov_list): Remove.
5955         (gcov_list): Make non-static in GCOV_TOOL.
5956         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5958 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
5960         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5961         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5962         Don't use SYNC_LOCK_RELEASE for int type.
5964 2014-07-14  Richard Biener  <rguenther@suse.de>
5966         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5968 2014-07-11  Rong Xu  <xur@google.com>
5970         * libgcov-util.c (gcov_max_filename): Fix declartion.
5972 2014-07-10  Rong Xu  <xur@google.com>
5974         Add gcov-tool: an offline gcda profile processing tool
5975         Support.
5976         * libgcov-driver.c (gcov_max_filename): Make available
5977         to gcov-tool.
5978         * libgcov-merge.c (__gcov_merge_add): Replace
5979         gcov_read_counter() with a Macro.
5980         (__gcov_merge_ior): Ditto.
5981         (__gcov_merge_time_profile): Ditto.
5982         (__gcov_merge_single): Ditto.
5983         (__gcov_merge_delta): Ditto.
5984         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5985         in the utility functions.
5986         (set_fn_ctrs): Utility function for reading gcda files to in-memory
5987         gcov_list object link lists.
5988         (tag_function): Ditto.
5989         (tag_blocks): Ditto.
5990         (tag_arcs): Ditto.
5991         (tag_lines): Ditto.
5992         (tag_counters): Ditto.
5993         (tag_summary): Ditto.
5994         (read_gcda_finalize): Ditto.
5995         (read_gcda_file): Ditto.
5996         (ftw_read_file): Ditto.
5997         (read_profile_dir_init): Ditto.
5998         (gcov_read_profile_dir): Ditto.
5999         (gcov_read_counter_mem): Ditto.
6000         (gcov_get_merge_weight): Ditto.
6001         (merge_wrapper): A wrapper function that calls merging handler.
6002         (gcov_merge): Merge two gcov_info objects with weights.
6003         (find_match_gcov_info): Find the matched gcov_info in the list.
6004         (gcov_profile_merge): Merge two gcov_info object lists.
6005         (__gcov_add_counter_op): Process edge profile counter values.
6006         (__gcov_ior_counter_op): Process IOR profile counter values.
6007         (__gcov_delta_counter_op): Process delta profile counter values.
6008         (__gcov_single_counter_op): Process single  profile counter values.
6009         (fp_scale): Callback function for float-point scaling.
6010         (int_scale): Callback function for integer fraction scaling.
6011         (gcov_profile_scale): Scaling profile counters.
6012         (gcov_profile_normalize): Normalize profile counters.
6013         * libgcov.h: Add headers and functions for gcov-tool use.
6014         (gcov_get_counter): New.
6015         (gcov_get_counter_target): Ditto.
6016         (struct gcov_info): Make the functions field mutable in gcov-tool
6017         compilation.
6019 2014-06-23  Kai Tietz  <ktietz@redhat.com>
6021         PR libgcc/61585
6022         * unwind-seh.c (_Unwind_GetGR): Check for proper
6023         index range.
6024         (_Unwind_SetGR): Likewise.
6026 2014-05-22  Nick Clifton  <nickc@redhat.com>
6028         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6029         -mhwmult=none.
6031 2014-05-22  Teresa Johnson  <tejohnson@google.com>
6033         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6034         include.
6036 2014-05-20  John Marino  <gnugcc@marino.st>
6038         * config.host (*-*-dragonfly*): New target.
6039         * crtstuff.c: Make dl_iterate_support generic on *bsd.
6040         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6041         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6042         * config/i386/dragonfly-unwind.h: New.
6044 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
6046         PR libgcc/60166
6047         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6048         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6050 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6052         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6053         implementation.
6055 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
6057         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6059 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6061         PR libgcc/61097
6062         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6063         if --enable-shared.
6065 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6067         Work around for current cygwin32 build problems.
6068         * config/i386/cygming-crtbegin.c (__register_frame_info,
6069         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6070         functions only for 64-bit systems.
6072 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6074         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6075         (sigill_caught, sigill_hdlr): Remove.
6077 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6079         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6080         check.
6081         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6082         Solaris 9 single-threaded support.
6083         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6084         Solaris 9 single-threaded support.  Add call_user_handler code
6085         sequences.
6086         (sparc_is_sighandler): Likewise.
6088 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6090         * config.host: Append t-floattodi to tmake_file depending on
6091         host_address.
6093 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
6095         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6097 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
6099         PR libgcc/60472
6100         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
6101         variable to avoid "array subscript is above array bounds" warnings.
6102         Use __builtin_expect when checking *jcr_list for NULL.
6104 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6106         PR libgcc/59339
6107         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6108         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6109         vtv_*.o to extra_parts if enable_vtable_verify.
6111 2014-03-06  Nick Clifton  <nickc@redhat.com>
6113         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6114         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6116 2014-02-28  Joey Ye  <joey.ye@arm.com>
6118         PR libgcc/60166
6119         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6120         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6121         Set to zero.
6123 2014-02-24  Walter Lee  <walt@tilera.com>
6125         * config.host: Support "tilegx*" and "tilepro*" triplets.
6126         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6127         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6129 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
6130             Chung-Lin Tang  <cltang@codesourcery.com>
6132         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6133         * config/nios2/crti.S: Remove .file directive.
6134         * config/nios2/crtn.S: Likewise.
6136 2014-02-18  Kai Tietz  <ktietz@redhat.com>
6137         Jonathan Schleifer  <js@webkeks.org>
6139         PR objc/56870
6140         * unwind-seh.c (_GCC_specific_handler): Pass proper
6141         value to unwind-handler.
6143 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6145         * soft-fp/adddf3.c: Update from glibc.
6146         * soft-fp/addsf3.c: Likewise.
6147         * soft-fp/addtf3.c: Likewise.
6148         * soft-fp/divdf3.c: Likewise.
6149         * soft-fp/divsf3.c: Likewise.
6150         * soft-fp/divtf3.c: Likewise.
6151         * soft-fp/double.h: Likewise.
6152         * soft-fp/eqdf2.c: Likewise.
6153         * soft-fp/eqsf2.c: Likewise.
6154         * soft-fp/eqtf2.c: Likewise.
6155         * soft-fp/extenddftf2.c: Likewise.
6156         * soft-fp/extended.h: Likewise.
6157         * soft-fp/extendsfdf2.c: Likewise.
6158         * soft-fp/extendsftf2.c: Likewise.
6159         * soft-fp/extendxftf2.c: Likewise.
6160         * soft-fp/fixdfdi.c: Likewise.
6161         * soft-fp/fixdfsi.c: Likewise.
6162         * soft-fp/fixdfti.c: Likewise.
6163         * soft-fp/fixsfdi.c: Likewise.
6164         * soft-fp/fixsfsi.c: Likewise.
6165         * soft-fp/fixsfti.c: Likewise.
6166         * soft-fp/fixtfdi.c: Likewise.
6167         * soft-fp/fixtfsi.c: Likewise.
6168         * soft-fp/fixtfti.c: Likewise.
6169         * soft-fp/fixunsdfdi.c: Likewise.
6170         * soft-fp/fixunsdfsi.c: Likewise.
6171         * soft-fp/fixunsdfti.c: Likewise.
6172         * soft-fp/fixunssfdi.c: Likewise.
6173         * soft-fp/fixunssfsi.c: Likewise.
6174         * soft-fp/fixunssfti.c: Likewise.
6175         * soft-fp/fixunstfdi.c: Likewise.
6176         * soft-fp/fixunstfsi.c: Likewise.
6177         * soft-fp/fixunstfti.c: Likewise.
6178         * soft-fp/floatdidf.c: Likewise.
6179         * soft-fp/floatdisf.c: Likewise.
6180         * soft-fp/floatditf.c: Likewise.
6181         * soft-fp/floatsidf.c: Likewise.
6182         * soft-fp/floatsisf.c: Likewise.
6183         * soft-fp/floatsitf.c: Likewise.
6184         * soft-fp/floattidf.c: Likewise.
6185         * soft-fp/floattisf.c: Likewise.
6186         * soft-fp/floattitf.c: Likewise.
6187         * soft-fp/floatundidf.c: Likewise.
6188         * soft-fp/floatundisf.c: Likewise.
6189         * soft-fp/floatunditf.c: Likewise.
6190         * soft-fp/floatunsidf.c: Likewise.
6191         * soft-fp/floatunsisf.c: Likewise.
6192         * soft-fp/floatunsitf.c: Likewise.
6193         * soft-fp/floatuntidf.c: Likewise.
6194         * soft-fp/floatuntisf.c: Likewise.
6195         * soft-fp/floatuntitf.c: Likewise.
6196         * soft-fp/gedf2.c: Likewise.
6197         * soft-fp/gesf2.c: Likewise.
6198         * soft-fp/getf2.c: Likewise.
6199         * soft-fp/ledf2.c: Likewise.
6200         * soft-fp/lesf2.c: Likewise.
6201         * soft-fp/letf2.c: Likewise.
6202         * soft-fp/muldf3.c: Likewise.
6203         * soft-fp/mulsf3.c: Likewise.
6204         * soft-fp/multf3.c: Likewise.
6205         * soft-fp/negdf2.c: Likewise.
6206         * soft-fp/negsf2.c: Likewise.
6207         * soft-fp/negtf2.c: Likewise.
6208         * soft-fp/op-1.h: Likewise.
6209         * soft-fp/op-2.h: Likewise.
6210         * soft-fp/op-4.h: Likewise.
6211         * soft-fp/op-8.h: Likewise.
6212         * soft-fp/op-common.h: Likewise.
6213         * soft-fp/quad.h: Likewise.
6214         * soft-fp/single.h: Likewise.
6215         * soft-fp/soft-fp.h: Likewise.
6216         * soft-fp/subdf3.c: Likewise.
6217         * soft-fp/subsf3.c: Likewise.
6218         * soft-fp/subtf3.c: Likewise.
6219         * soft-fp/truncdfsf2.c: Likewise.
6220         * soft-fp/trunctfdf2.c: Likewise.
6221         * soft-fp/trunctfsf2.c: Likewise.
6222         * soft-fp/trunctfxf2.c: Likewise.
6223         * soft-fp/unorddf2.c: Likewise.
6224         * soft-fp/unordsf2.c: Likewise.
6225         * soft-fp/unordtf2.c: Likewise.
6226         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6227         macro.
6228         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6229         Likewise.
6230         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6231         Likewise.
6232         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6233         Likewise.
6234         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6235         Likewise.
6236         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6237         Likewise.
6238         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6239         Likewise.
6240         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6241         Likewise.
6242         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6243         Likewise.
6244         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6245         Likewise.
6246         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6247         Likewise.
6248         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6249         Likewise.
6250         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6251         Likewise.
6252         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6253         Likewise.
6254         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6255         Likewise.
6256         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6257         Likewise.
6259 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6261         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6262         cannot be represented.
6263         * config/s390/32/_fixsfdi.c: Likewise.
6264         * config/s390/32/_fixtfdi.c: Likewise.
6265         * config/s390/32/_fixunsdfdi.c: Likewise.
6266         * config/s390/32/_fixunssfdi.c: Likewise.
6267         * config/s390/32/_fixunstfdi.c: Likewise.
6269 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
6271         * configure.ac (libgcc_cv_mips_hard_float): New.
6272         * configure: Regenerate.
6273         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6274         t-softfp-sfdf for hard-float targets.
6275         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6276         (softfp_float_modes, softfp_int_modes, softfp_extensions)
6277         (softfp_truncations, softfp_exclude_libgcc2): New.
6278         * config/t-hardfp: New file.
6279         * config/t-hardfp-sfdf: Likewise.
6280         * config/hardfp.c: Likewise.
6282 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6284         * config.host: Include t-floattodi also for s390x.
6285         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6286         * config/s390/32/_fixsfdi.c: Likewise.
6287         * config/s390/32/_fixtfdi.c: Likewise.
6288         * config/s390/32/_fixunsdfdi.c: Likewise.
6289         * config/s390/32/_fixunssfdi.c: Likewise.
6290         * config/s390/32/_fixunstfdi.c: Likewise.
6292 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6294         PR target/59788
6295         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6296         (install-libgcc-unwind-map-forbuild): New target.
6297         (all): Depend on install-libgcc-unwind-map-forbuild.
6298         (install-libgcc-unwind-map): New target.
6299         (install): Depend on install-libgcc-unwind-map.
6301 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
6303         * config/nios2/crti.S (_init): Initialize GOT pointer from
6304         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6306 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
6308         * configure.ac: Check __mips64 when setting host_address.
6309         * configure: Regenerate.
6310         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6311         mips/t-mips64 and t-softfp.
6312         (mips*-*-linux*): Don't add mips/t-tpbit.
6313         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6314         (DPBIT, DPBIT_CFLAGS): Delete.
6315         * config/mips/sfp-machine.h: New file.
6316         * config/mips/t-mips64: Likewise.
6317         * config/mips/t-softfp-tf: Likewise.
6318         * config/mips/t-tpbit: Delete.
6320 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6322         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6323         as long long.
6325 2014-01-25  Walter Lee  <walt@tilera.com>
6327         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
6328         config.h or system.h.
6329         (bool) Define.
6331 2014-01-25  Walter Lee  <walt@tilera.com>
6333         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6334         (post_atomic_barrier): Ditto.
6335         (__fetch_and_do): New macro.
6336         (__atomic_fetch_and_do): Use __fetch_and_do.
6337         (__sync_fetch_and_do): New macro.
6338         (__sync_fetch_and_add_4): New function.
6339         (__sync_fetch_and_sub_4): New function.
6340         (__sync_fetch_and_or_4): New function.
6341         (__sync_fetch_and_and_4): New function.
6342         (__sync_fetch_and_xor_4): New function.
6343         (__sync_fetch_and_nand_4): New function.
6344         (__sync_fetch_and_add_8): New function.
6345         (__sync_fetch_and_sub_8): New function.
6346         (__sync_fetch_and_or_8): New function.
6347         (__sync_fetch_and_and_8): New function.
6348         (__sync_fetch_and_xor_8): New function.
6349         (__sync_fetch_and_nand_8): New function.
6350         (__do_and_fetch): New macro.
6351         (__atomic_do_and_fetch): Use __do_and_fetch.
6352         (__sync_do_and_fetch): New macro.
6353         (__sync_add_and_fetch_4): New function.
6354         (__sync_sub_and_fetch_4): New function.
6355         (__sync_or_and_fetch_4): New function.
6356         (__sync_and_and_fetch_4): New function.
6357         (__sync_xor_and_fetch_4): New function.
6358         (__sync_nand_and_fetch_4): New function.
6359         (__sync_add_and_fetch_8): New function.
6360         (__sync_sub_and_fetch_8): New function.
6361         (__sync_or_and_fetch_8): New function.
6362         (__sync_and_and_fetch_8): New function.
6363         (__sync_xor_and_fetch_8): New function.
6364         (__sync_nand_and_fetch_8): New function.
6365         (__sync_exchange_methods): New macro.
6366         (__sync_val_compare_and_swap_4): New function.
6367         (__sync_bool_compare_and_swap_4): New function.
6368         (__sync_lock_test_and_test_4): New function.
6369         (__sync_val_compare_and_swap_8): New function.
6370         (__sync_bool_compare_and_swap_8): New function.
6371         (__sync_lock_test_and_test_8): New function.
6372         (__subword_cmpxchg_body): New macro.
6373         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6374         (__atomic_compare_exchange_2): Ditto.
6375         (__sync_subword_cmpxchg): New macro.
6376         (__sync_val_compare_and_swap_1): New function.
6377         (__sync_bool_compare_and_swap_1): New function.
6378         (__sync_val_compare_and_swap_2): New function.
6379         (__sync_bool_compare_and_swap_2): New function.
6380         (__atomic_subword): Rename to ...
6381         (__subword): ... New name.
6382         (__atomic_subword_fetch): Use __subword.
6383         (__sync_subword_fetch): New macro.
6384         (__sync_fetch_and_add_1): New function.
6385         (__sync_fetch_and_sub_1): New function.
6386         (__sync_fetch_and_or_1): New function.
6387         (__sync_fetch_and_and_1): New function.
6388         (__sync_fetch_and_xor_1): New function.
6389         (__sync_fetch_and_nand_1): New function.
6390         (__sync_fetch_and_add_2): New function.
6391         (__sync_fetch_and_sub_2): New function.
6392         (__sync_fetch_and_or_2): New function.
6393         (__sync_fetch_and_and_2): New function.
6394         (__sync_fetch_and_xor_2): New function.
6395         (__sync_fetch_and_nand_2): New function.
6396         (__sync_add_and_fetch_1): New function.
6397         (__sync_sub_and_fetch_1): New function.
6398         (__sync_or_and_fetch_1): New function.
6399         (__sync_and_and_fetch_1): New function.
6400         (__sync_xor_and_fetch_1): New function.
6401         (__sync_nand_and_fetch_1): New function.
6402         (__sync_add_and_fetch_2): New function.
6403         (__sync_sub_and_fetch_2): New function.
6404         (__sync_or_and_fetch_2): New function.
6405         (__sync_and_and_fetch_2): New function.
6406         (__sync_xor_and_fetch_2): New function.
6407         (__sync_nand_and_fetch_2): New function.
6408         (__atomic_subword_lock): Use __subword.
6409         (__sync_subword_lock): New macro.
6410         (__sync_lock_test_and_set_1): New function.
6411         (__sync_lock_test_and_set_2): New function.
6413 2014-01-25  Walter Lee  <walt@tilera.com>
6415         * config/tilepro/atomic.c (BIT_OFFSET): Define.
6416         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6417         (__atomic_subword): Ditto.
6419 2014-01-25  Walter Lee  <walt@tilera.com>
6421         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6422         a prefix op argument.
6423         (__atomic_nand_fetch_4): Add prefix op.
6424         (__atomic_nand_fetch_8): Ditto.
6426 2014-01-21  Baruch Siach  <barch@tkos.co.il>
6428         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6430 2014-01-09  Rong Xu  <xur@google.com>
6432         * libgcov-driver.c (this_prg): make it local to save
6433         bss space.
6434         (gcov_exit_compute_summary): Ditto.
6435         (gcov_exit_merge_gcda): Ditto.
6436         (gcov_exit_merge_summary): Ditto.
6437         (gcov_exit_dump_gcov): Ditto.
6439 2014-01-08  Rong Xu  <xur@google.com>
6441         * libgcov-driver.c: Use libgcov.h.
6442         (buffer_fn_data): Use xmalloc instead of malloc.
6443         (gcov_exit_merge_gcda): Ditto.
6444         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6445         * libgcov.h: New common header files for libgcov-*.h.
6446         * libgcov-interface.c: Use libgcov.h
6447         * libgcov-merge.c: Ditto.
6448         * libgcov-profiler.c: Ditto.
6449         * Makefile.in: Add dependence to libgcov.h
6451 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
6453         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6454         case of small numerator and finite nonzero result.
6456 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
6458         Update copyright years
6460 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
6462         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6463         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6464         config/arc/dp-hack.h, config/arc/fp-hack.h,
6465         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6466         config/arc/ieee-754/arc600-dsp/divdf3.S,
6467         config/arc/ieee-754/arc600-dsp/divsf3.S,
6468         config/arc/ieee-754/arc600-dsp/muldf3.S,
6469         config/arc/ieee-754/arc600-dsp/mulsf3.S,
6470         config/arc/ieee-754/arc600-mul64/divdf3.S,
6471         config/arc/ieee-754/arc600-mul64/divsf3.S,
6472         config/arc/ieee-754/arc600-mul64/muldf3.S,
6473         config/arc/ieee-754/arc600-mul64/mulsf3.S,
6474         config/arc/ieee-754/arc600/divsf3.S,
6475         config/arc/ieee-754/arc600/mulsf3.S,
6476         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6477         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6478         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6479         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6480         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6481         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6482         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6483         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6484         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6485         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6486         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6487         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6488         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6489         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6490         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6491         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6492         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6493         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6494         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6495         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6496         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6497         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6498         vtv_start_preinit.c: Use the standard form for the copyright notice.
6500 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
6501             Chung-Lin Tang  <cltang@codesourcery.com>
6502             Based on patches from Altera Corporation
6504         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6505         * config/nios2/lib2-nios2.h: New file.
6506         * config/nios2/lib2-divmod-hi.c: New file.
6507         * config/nios2/linux-unwind.h: New file.
6508         * config/nios2/lib2-divmod.c: New file.
6509         * config/nios2/linux-atomic.c: New file.
6510         * config/nios2/t-nios2: New file.
6511         * config/nios2/crti.asm: New file.
6512         * config/nios2/t-linux: New file.
6513         * config/nios2/lib2-divtable.c: New file.
6514         * config/nios2/lib2-mul.c: New file.
6515         * config/nios2/tramp.c: New file.
6516         * config/nios2/crtn.asm: New file.
6518 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
6520         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6521         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6522         from cpuid.h to check vendor signatures.
6524 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
6526         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6527         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6528         (get_amd_cpu): Likewise.
6530 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
6532         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6533         Haswell.
6535 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6536             H.J. Lu  <hongjiu.lu@intel.com>
6538         PR target/59422
6539         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
6540         and AMD_JAGUAR.
6541         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6542         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6543         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
6544         FEATURE_XOP and FEATURE_FMA.
6545         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6546         AMDFAM15H_BDVER3.
6547         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6548         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6549         FEATURE_FMA4 and FEATURE_XOP.
6551 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
6553         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6554         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6555         (get_intel_cpu): Updated.
6557 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
6559         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6561 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
6563         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6564         instructions when __SSE_MATH__ is defined.
6566 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
6568         * config.host (microblaze-*-rtems*): New.
6570 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
6572         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6573         architectures that do not have hardware divide instruction.
6574         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6576 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
6578         * longlong.h: Delete (moved to include/).
6580 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6582         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6583         of normal number and qNaN to not raise an inexact exception.
6585 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
6587         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6589 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
6591         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6592         for correct opcodes on BE.
6594 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
6596         * soft-fp/op-4.h: Update from glibc.
6598 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
6600         * libgcc2.c (__udivmoddi4): Define new implementation when
6601         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6602         divide instructions.
6604 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
6606         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6608 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6610         * config/t-softfp (soft-fp-objects-base): New variable.
6611         (soft-fp-objects): Use it.
6613 2013-11-23  David Edelson  <dje.gcc@gmail.com>
6614             Andrew Dixie  <andrewd@gentrack.com>
6616         PR target/33704
6617         * config/rs6000/aixinitfini.c: New file.
6618         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6619         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6620         symbols.
6622 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
6624         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6626 2013-11-18  Jan Hubicka  <jh@suse.cz>
6628         * libgcov-driver.c (run_accounted): Make global level static.
6629         (gcov_exit_merge_summary): Silence warning; do not clear
6630         run_accounted here.
6631         (gcov_exit): Clear it here.
6633         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6634         run_accounted.
6636         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6637         (all_prg, crc32): Remove static vars.
6638         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6639         all_prg.
6640         (gcov_exit_merge_gcda): Add crc32 parameter.
6641         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6642         do not account run if it was already accounted.
6643         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6644         (gcov_exit): Initialize all_prg; update.
6646 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
6648         * configure: Regenerate.
6650 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6651             Alan Modra  <amodra@gmail.com>
6653         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6654         (frob_update_context): Use it.
6656 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6657             Alan Modra  <amodra@gmail.com>
6659         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6660         (trampoline_initial): Provide ELFv2 variant.
6661         (__trampoline_setup): Likewise.
6663         * config/rs6000/linux-unwind.h (frob_update_context): Do not
6664         check for AIX indirect function call sequence if _CALL_ELF == 2.
6666 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6667             Alan Modra  <amodra@gmail.com>
6669         * config/rs6000/linux-unwind.h (get_regs): Do not support
6670         old kernel versions if _CALL_ELF == 2.
6671         (frob_update_context): Do not support PLT stub variants only
6672         generated by old linkers if _CALL_ELF == 2.
6674 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6675             Alan Modra  <amodra@gmail.com>
6677         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6678         location of CR save area for 64-bit little-endian systems.
6680 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
6682         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6683         in tmake_file.
6684         * config/arm/t-vxworks: Delete.
6686 2013-11-10  Kai Tietz  <ktietz@redhat.com>
6688         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6689         Increment load-count on use of LIBGCC_SONAME DLL.
6690         (hmod_libgcc): New static variable to hold handle of
6691         LIBGCC_SONAME DLL.
6692         (__gcc_deregister_frame): Decrement load-count of
6693         LIBGCC_SONAME DLL.
6695 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
6697         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6698         availability.
6699         * configure: Regenerate
6701 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
6703         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6704         FP_EX_DENORM.  Store result to volatile location after SSE division
6705         to close interrupt window.  Remove unneeded fwait after x87
6706         division since interrupt window will be closed by emitted fstp.
6707         Rewrite FP_EX_INEXACT handling.
6709 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
6711         * soft-fp/README: Update.
6712         * soft-fp/adddf3.c: Update from glibc.
6713         * soft-fp/addsf3.c: Likewise.
6714         * soft-fp/addtf3.c: Likewise.
6715         * soft-fp/divdf3.c: Likewise.
6716         * soft-fp/divsf3.c: Likewise.
6717         * soft-fp/divtf3.c: Likewise.
6718         * soft-fp/double.h: Likewise.
6719         * soft-fp/eqdf2.c: Likewise.
6720         * soft-fp/eqsf2.c: Likewise.
6721         * soft-fp/eqtf2.c: Likewise.
6722         * soft-fp/extenddftf2.c: Likewise.
6723         * soft-fp/extended.h: Likewise.
6724         * soft-fp/extendsfdf2.c: Likewise.
6725         * soft-fp/extendsftf2.c: Likewise.
6726         * soft-fp/extendxftf2.c: Likewise.
6727         * soft-fp/fixdfdi.c: Likewise.
6728         * soft-fp/fixdfsi.c: Likewise.
6729         * soft-fp/fixdfti.c: Likewise.
6730         * soft-fp/fixsfdi.c: Likewise.
6731         * soft-fp/fixsfsi.c: Likewise.
6732         * soft-fp/fixsfti.c: Likewise.
6733         * soft-fp/fixtfdi.c: Likewise.
6734         * soft-fp/fixtfsi.c: Likewise.
6735         * soft-fp/fixtfti.c: Likewise.
6736         * soft-fp/fixunsdfdi.c: Likewise.
6737         * soft-fp/fixunsdfsi.c: Likewise.
6738         * soft-fp/fixunsdfti.c: Likewise.
6739         * soft-fp/fixunssfdi.c: Likewise.
6740         * soft-fp/fixunssfsi.c: Likewise.
6741         * soft-fp/fixunssfti.c: Likewise.
6742         * soft-fp/fixunstfdi.c: Likewise.
6743         * soft-fp/fixunstfsi.c: Likewise.
6744         * soft-fp/fixunstfti.c: Likewise.
6745         * soft-fp/floatdidf.c: Likewise.
6746         * soft-fp/floatdisf.c: Likewise.
6747         * soft-fp/floatditf.c: Likewise.
6748         * soft-fp/floatsidf.c: Likewise.
6749         * soft-fp/floatsisf.c: Likewise.
6750         * soft-fp/floatsitf.c: Likewise.
6751         * soft-fp/floattidf.c: Likewise.
6752         * soft-fp/floattisf.c: Likewise.
6753         * soft-fp/floattitf.c: Likewise.
6754         * soft-fp/floatundidf.c: Likewise.
6755         * soft-fp/floatundisf.c: Likewise.
6756         * soft-fp/floatunditf.c: Likewise.
6757         * soft-fp/floatunsidf.c: Likewise.
6758         * soft-fp/floatunsisf.c: Likewise.
6759         * soft-fp/floatunsitf.c: Likewise.
6760         * soft-fp/floatuntidf.c: Likewise.
6761         * soft-fp/floatuntisf.c: Likewise.
6762         * soft-fp/floatuntitf.c: Likewise.
6763         * soft-fp/gedf2.c: Likewise.
6764         * soft-fp/gesf2.c: Likewise.
6765         * soft-fp/getf2.c: Likewise.
6766         * soft-fp/ledf2.c: Likewise.
6767         * soft-fp/lesf2.c: Likewise.
6768         * soft-fp/letf2.c: Likewise.
6769         * soft-fp/muldf3.c: Likewise.
6770         * soft-fp/mulsf3.c: Likewise.
6771         * soft-fp/multf3.c: Likewise.
6772         * soft-fp/negdf2.c: Likewise.
6773         * soft-fp/negsf2.c: Likewise.
6774         * soft-fp/negtf2.c: Likewise.
6775         * soft-fp/op-1.h: Likewise.
6776         * soft-fp/op-2.h: Likewise.
6777         * soft-fp/op-4.h: Likewise.
6778         * soft-fp/op-8.h: Likewise.
6779         * soft-fp/op-common.h: Likewise.
6780         * soft-fp/quad.h: Likewise.
6781         * soft-fp/single.h: Likewise.
6782         * soft-fp/soft-fp.h: Likewise.
6783         * soft-fp/subdf3.c: Likewise.
6784         * soft-fp/subsf3.c: Likewise.
6785         * soft-fp/subtf3.c: Likewise.
6786         * soft-fp/truncdfsf2.c: Likewise.
6787         * soft-fp/trunctfdf2.c: Likewise.
6788         * soft-fp/trunctfsf2.c: Likewise.
6789         * soft-fp/trunctfxf2.c: Likewise.
6790         * soft-fp/unorddf2.c: Likewise.
6791         * soft-fp/unordsf2.c: Likewise.
6792         * soft-fp/unordtf2.c: Likewise.
6794 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
6796         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6797         (_FP_MUL_MEAT_D): Ditto.
6798         (_FP_DIV_MEAT_S): Ditto.
6799         (_FP_DIV_MEAT_D): Ditto.
6800         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6801         t-softfp-sfdf and t-softfp to tmake_file.
6803 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
6805         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6806         * config/i386/crtprec.c: Ditto.
6808 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
6809             Shiva Chen  <shiva0217@gmail.com>
6811         * config.host (nds32*-elf*): Add nds32 target.
6812         * config/nds32 : New directory and files.
6814 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
6816         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
6817         * config.host (cpu_type) <Setting default>: Add entry for
6818         crisv32-*-*.
6819         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6820         <crisv32-*-linux*>: Adjust.
6821         * longlong.h: Wrap the whole CRIS section in a single
6822         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
6823         and sub_ddmmss.
6824         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6825         defined.
6826         [__CRIS__] (__umulsidi3): Define.
6827         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6828         * config/cris/sfp-machine.h: New file.
6829         * config/cris/umulsidi3.S: New file.
6830         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6831         * config/cris/arit.c (SIGNMULT): New macro.
6832         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6833         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6834         saving 3 out of originally 33 cycles from the fastest
6835         path, 3 out of 54 from the medium path and one from the longest
6836         path.  Improve comments.
6838 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
6840         * sync.c: Remove static aliases and define each function directly
6841         under its real name.
6843 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
6845         * config.host (hppa*64*-*-linux*): Define extra_parts.
6846         (hppa*-*-linux*): Likewise.
6848 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
6850         * config/arc/crtgend.S: Add 2013 to Copyright years.
6851         * config/arc/gmon/atomic.h: Likewise.
6852         * config/arc/gmon/auxreg.h: Likewise.
6853         * config/arc/gmon/sys/gmon_out.h: Likewise.
6854         * config/arc/gmon/sys/gmon.h: Likewise.
6855         * config/arc/gmon/prof-freq.c: Likewise.
6856         * config/arc/gmon/mcount.c: Likewise.
6857         * config/arc/gmon/prof-freq-stub.S: Likewise.
6858         * config/arc/gmon/gmon.c: Likewise.
6859         * config/arc/gmon/machine-gmon.h: Likewise.
6860         * config/arc/gmon/profil.S: Likewise.
6861         * config/arc/gmon/dcache_linesz.S: Likewise.
6862         * config/arc/crtg.S: Likewise.
6863         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6864         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6865         * config/arc/ieee-754/adddf3.S: Likewise.
6866         * config/arc/ieee-754/truncdfsf2.S: Likewise.
6867         * config/arc/ieee-754/fixsfsi.S: Likewise.
6868         * config/arc/ieee-754/gtsf2.S: Likewise.
6869         * config/arc/ieee-754/floatsisf.S: Likewise.
6870         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6871         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6872         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6873         * config/arc/ieee-754/fixdfsi.S: Likewise.
6874         * config/arc/ieee-754/addsf3.S: Likewise.
6875         * config/arc/ieee-754/gesf2.S: Likewise.
6876         * config/arc/ieee-754/floatsidf.S: Likewise.
6877         * config/arc/ieee-754/extendsfdf2.S: Likewise.
6878         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6879         * config/arc/ieee-754/gtdf2.S: Likewise.
6880         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6881         * config/arc/ieee-754/uneqdf2.S: Likewise.
6882         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6883         * config/arc/ieee-754/uneqsf2.S: Likewise.
6884         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6885         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6886         * config/arc/ieee-754/eqdf2.S: Likewise.
6887         * config/arc/ieee-754/ordsf2.S: Likewise.
6888         * config/arc/ieee-754/divsf3.S: Likewise.
6889         * config/arc/ieee-754/divdf3.S: Likewise.
6890         * config/arc/ieee-754/floatunsidf.S: Likewise.
6891         * config/arc/ieee-754/orddf2.S: Likewise.
6892         * config/arc/ieee-754/eqsf2.S: Likewise.
6893         * config/arc/ieee-754/gedf2.S: Likewise.
6894         * config/arc/crtn.S: Likewise.
6895         * config/arc/crti.S: Likewise.
6896         * config/arc/t-arc700-uClibc: Likewise.
6897         * config/arc/asm.h: Likewise.
6898         * config/arc/libgcc-excl.ver: Likewise.
6899         * config/arc/t-arc-newlib: Likewise.
6900         * config/arc/divtab-arc700.c: Likewise.
6901         * config/arc/initfini.c: Likewise.
6902         * config/arc/fp-hack.h: Likewise.
6904 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
6905             Diego Novillo  <dnovillo@google.com>
6907         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6908         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6909         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6910         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6912 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
6913             Brendan Kehoe  <brendan@zen.org>
6914             Simon Cook  <simon.cook@embecosm.com>
6916         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6917         * config/arc: New directory.
6918         * longlong.h [__arc__] (umul_ppmm): Remove.
6919         [__arc__] (__umulsidi3): Define.
6920         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6921         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6923 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
6925         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6926         CreateSemaphoreA.
6927         * config/i386/gthr-win32.h: Likewise.
6929 2013-09-16  DJ Delorie  <dj@redhat.com>
6931         * config/rl78/vregs.h: Add G10 register definitions.
6932         * config/rl78/lib2mul.c: Enable for RL78/G10.
6933         * config/rl78/lib2div.c: Likewise.
6934         * config/rl78/lshrsi3.S: Use vregs.h.
6935         * config/rl78/cmpsi2.S: Likewise.
6936         * config/rl78/trampoline.S: Likewise.
6937         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
6939 2013-09-14  DJ Delorie  <dj@redhat.com>
6940             Nick Clifton  <nickc@redhat.com>
6942         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6943         * config/rl78/vregs.h: New.
6944         * config/rl78/signbit.S: New file.  Implements signbit function.
6945         * config/rl78/divmodsi.S: New.
6946         * config/rl78/divmodhi.S: New.
6947         * config/rl78/divmodqi.S: New.
6948         * config/rl78/t-rl78: Build them here...
6949         * config/rl78/lib2div.c: ...but not here.
6951 2013-09-12  DJ Delorie  <dj@redhat.com>
6953         * config.host (msp*-*-elf): New.
6954         * config/msp430/: New port.
6956 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
6958         PR gcov-profile/58127
6959         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6960         __thread var for emulated TLS.
6961         (__gcov_indirect_call_counters): Likewise.
6963 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
6964             Catherine Moore  <clm@codesourcery.com>
6965             Richard Sandiford  <rdsandiford@googlemail.com>
6967         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6968         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6969         (CALL_STUB_NO_RET): Likewise.
6970         (CALL_STUB_RET): Likewise.
6971         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6972         __mips16_ret call/return stub symbols.
6973         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6974         to tmake_file.
6976 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
6978         * config.host <mips*-*-linux*>: Remove a stray comment.
6980 2013-08-10  Jan Hubicka  <jh@suse.cz>
6982         Work around binutils PR14342
6983         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6984         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6985         (L_gcov_indirect_call_profiler_v2): New.
6987 2013-08-06  Jan Hubicka  <jh@suse.cz>
6989         * libgcov.c (__gcov_indirect_call_callee,
6990         __gcov_indirect_call_counters): New global vars.
6991         (__gcov_indirect_call_profiler): replace by ...
6992         (__gcov_indirect_call_profiler_v2) ... this one.
6994 2013-08-06  Caroline Tice  <cmtice@google.com>
6996         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6997         vtv_start_preinit.o and vtv_end_preinit.o.
6998         * configure.ac: Add code to check/set enable_vtable_verify.
6999         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
7000         true.
7001         * vtv_start_preinit.c: New file.
7002         * vtv_end_preinit.c: New file.
7003         * vtv_start.c: New file.
7004         * vtv_end.c: New file.
7005         * configure: Regenerated.
7007 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
7009         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7010         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7011         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7012         GPL-3.0-with-GCC-exception.
7014 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
7016         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7017         ISA and up.
7019 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7021         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7022         mapping for FPRs when creating the fallback framestate.
7024 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
7026         PR target/57516
7027         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7028         (__round_s2_const, __round_u2_const)
7029         (__round_s4_const, __round_u4_const, __round_x8):
7030         Saturate result if addition result cannot be represented.
7032 2013-07-15  Matthias Klose  <doko@ubuntu.com>
7034         * libgcc2.c: Don't include <limits.h>.
7036 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
7038         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7040 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
7042         PR target/29776
7043         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7045 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
7047         PR middle-end/36041
7048         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7049         Define.
7050         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7051         instead of table lookups.
7052         (__popcountDI2): Likewise.
7054 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
7056         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7057         correctly.
7059 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7061         PR other/53317
7062         * soft-fp/adddf3.c: Update from glibc.
7063         * soft-fp/addsf3.c: Likewise.
7064         * soft-fp/addtf3.c: Likewise.
7065         * soft-fp/divdf3.c: Likewise.
7066         * soft-fp/divsf3.c: Likewise.
7067         * soft-fp/divtf3.c: Likewise.
7068         * soft-fp/double.h: Likewise.
7069         * soft-fp/eqdf2.c: Likewise.
7070         * soft-fp/eqsf2.c: Likewise.
7071         * soft-fp/eqtf2.c: Likewise.
7072         * soft-fp/extenddftf2.c: Likewise.
7073         * soft-fp/extended.h: Likewise.
7074         * soft-fp/extendsfdf2.c: Likewise.
7075         * soft-fp/extendsftf2.c: Likewise.
7076         * soft-fp/fixdfdi.c: Likewise.
7077         * soft-fp/fixdfsi.c: Likewise.
7078         * soft-fp/fixsfdi.c: Likewise.
7079         * soft-fp/fixsfsi.c: Likewise.
7080         * soft-fp/fixtfdi.c: Likewise.
7081         * soft-fp/fixtfsi.c: Likewise.
7082         * soft-fp/fixunsdfdi.c: Likewise.
7083         * soft-fp/fixunsdfsi.c: Likewise.
7084         * soft-fp/fixunssfdi.c: Likewise.
7085         * soft-fp/fixunssfsi.c: Likewise.
7086         * soft-fp/fixunstfdi.c: Likewise.
7087         * soft-fp/fixunstfsi.c: Likewise.
7088         * soft-fp/floatdidf.c: Likewise.
7089         * soft-fp/floatdisf.c: Likewise.
7090         * soft-fp/floatditf.c: Likewise.
7091         * soft-fp/floatsidf.c: Likewise.
7092         * soft-fp/floatsisf.c: Likewise.
7093         * soft-fp/floatsitf.c: Likewise.
7094         * soft-fp/floatundidf.c: Likewise.
7095         * soft-fp/floatundisf.c: Likewise.
7096         * soft-fp/floatunditf.c: Likewise.
7097         * soft-fp/floatunsidf.c: Likewise.
7098         * soft-fp/floatunsisf.c: Likewise.
7099         * soft-fp/floatunsitf.c: Likewise.
7100         * soft-fp/gedf2.c: Likewise.
7101         * soft-fp/gesf2.c: Likewise.
7102         * soft-fp/getf2.c: Likewise.
7103         * soft-fp/ledf2.c: Likewise.
7104         * soft-fp/lesf2.c: Likewise.
7105         * soft-fp/letf2.c: Likewise.
7106         * soft-fp/muldf3.c: Likewise.
7107         * soft-fp/mulsf3.c: Likewise.
7108         * soft-fp/multf3.c: Likewise.
7109         * soft-fp/negdf2.c: Likewise.
7110         * soft-fp/negsf2.c: Likewise.
7111         * soft-fp/negtf2.c: Likewise.
7112         * soft-fp/op-1.h: Likewise.
7113         * soft-fp/op-2.h: Likewise.
7114         * soft-fp/op-4.h: Likewise.
7115         * soft-fp/op-8.h: Likewise.
7116         * soft-fp/op-common.h: Likewise.
7117         * soft-fp/quad.h: Likewise.
7118         * soft-fp/single.h: Likewise.
7119         * soft-fp/soft-fp.h: Likewise.
7120         * soft-fp/subdf3.c: Likewise.
7121         * soft-fp/subsf3.c: Likewise.
7122         * soft-fp/subtf3.c: Likewise.
7123         * soft-fp/truncdfsf2.c: Likewise.
7124         * soft-fp/trunctfdf2.c: Likewise.
7125         * soft-fp/trunctfsf2.c: Likewise.
7126         * soft-fp/unorddf2.c: Likewise.
7127         * soft-fp/unordsf2.c: Likewise.
7128         * soft-fp/unordtf2.c: Likewise.
7129         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7130         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7131         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7132         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7133         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7134         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7135         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7136         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7137         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7138         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7139         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7140         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7142 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
7144         * config/mips/lib2funcs.c: New file.
7145         * config/mips/t-mips (LIB2ADD_ST): Add it.
7147 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
7149         PR target/6526
7150         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7151         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
7153 2013-06-08  Walter Lee  <walt@tilera.com>
7155         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7156         Replace int64_t with long long.  Add __extension__ where
7157         appropriate.
7158         * config/tilepro/atomic.c: Include config.h.
7160 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
7162         * config.host (arm-wrs-vxworks): Configure with other soft float.
7164 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
7166         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7167         (mips64r5900el-*-elf*): New configurations.
7169 2013-06-04  Alan Modra  <amodra@gmail.com>
7171         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7173 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
7175         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7177 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
7179         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7180         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7181         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7183 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
7185         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7186         (powerpc-wrs-vxworks): Likewise.
7188 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
7190         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7191         signal frames as well.
7192         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7193         STACK_BIAS to the CFA offset.
7195 2013-05-17  Richard Henderson  <rth@redhat.com>
7197         PR target/49146
7198         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7199         (execute_cfa_program): Use it when storing to fs->regs.
7201 2013-05-08  Kai Tietz  <ktietz@redhat.com>
7203         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7204         (__deregister_frame_info): Likewise.
7206 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
7208         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7209         NaN's payload.
7211         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7213 2013-04-25  Alan Modra  <amodra@gmail.com>
7215         * config.host: Match little-endian powerpc-linux.
7217 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
7219         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7220         as 'unsigned long long' instead of 'unsigned long'.
7221         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7222         'signed long'.
7224 2013-04-10  Julian Brown  <julian@codesourcery.com>
7226         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7227         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7228         unsigned char/unsigned short.
7229         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7231 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7233         PR other/55274
7234         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7236 2013-04-04  Meador Inge  <meadori@codesourcery.com>
7238         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7239         computing the location of the link register.
7240         (aeabi_uldivmod): Ditto.
7242 2013-03-27  Kai Tietz  <ktietz@redhat.com>
7244         * config.host: Add support for cygwin x64 target.
7245         * configure: Regenerated.
7247 2013-03-26  Walter Lee  <walt@tilera.com>
7249         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7250         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7252 2013-03-25  Kai Tietz  <ktietz@redhat.com>
7254         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7256 2013-03-20  Robert Mason  <rbmj@verizon.net>
7258         * config/vxlib-tls.c (__gthread_get_tsd_data,)
7259         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7260         (__gthread_leave_tsd_dtor_context): Add prototypes.
7261         (tls_delete_hook): Update.
7263 2013-03-20  Catherine Moore  <clm@codesourcery.com>
7264             Joseph Myers  <joseph@codesourcery.com>
7265             Chao-ying Fu  <fu@mips.com>
7267         * config/mips/mips16.S:  Don't build for microMIPS.
7268         * config/mips/linux-unwind.h: Handle microMIPS frame.
7269         * config/mips/crtn.S (fini, init): New labels.
7271 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
7273         PR tree-optimization/53265
7274         * unwind-dw2.c (execute_cfa_program): Avoid
7275         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7276         on targets with DWARF_FRAME_REGISTERS < 32.
7278 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
7280         PR target/49880
7281         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7282         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7284 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
7286         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7287         sandybridge processors.
7289 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
7291         PR target/56529
7292         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7293         inclusion list.
7295 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7297         * config/microblaze/crti.S: Setup stack protection at entry
7299 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
7301         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7302         (__rotldi3): Shift bytewise if applicable.
7304 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
7306         * config/aarch64/sync-cache.c
7307         (__aarch64_sync_cache_range): Silence warnings.
7309 2013-02-25  Catherine Moore  <clm@codesourcery.com>
7311         Revert:
7312         2013-02-24  Catherine Moore  <clm@codesourcery.com>
7313             Joseph Myers  <joseph@codesourcery.com>
7314             Chao-ying Fu  <fu@mips.com>
7316         * config/mips/mips16.S:  Don't build for microMIPS.
7317         * config/mips/linux-unwind.h: Handle microMIPS frame.
7318         * config/mips/crtn.S (fini, init): New labels.
7320 2013-02-24  Catherine Moore  <clm@codesourcery.com>
7321             Joseph Myers  <joseph@codesourcery.com>
7322             Chao-ying Fu  <fu@mips.com>
7324         * config/mips/mips16.S:  Don't build for microMIPS.
7325         * config/mips/linux-unwind.h: Handle microMIPS frame.
7326         * config/mips/crtn.S (fini, init): New labels.
7328 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7329         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7330         as dividend.
7332 2013-02-16  Alan Modra  <amodra@gmail.com>
7334         PR target/55431
7335         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7336         (ppc_fallback_frame_state): Always set up save locations for fp
7337         and altivec.  Don't bother with non-callee-saved regs, r0-r13
7338         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7340 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
7342         PR target/54222
7343         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7344         _ssmulHA, _ssmulSA.
7345         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7346         _ssmulha3, _usmulusa3, _ssmulsa3.
7347         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7348         (__muldi3): XCALL __muldi3_6 instead of rcall.
7349         (__umulsidi3, __mulsidi3): New functions.
7350         (do_prologue_saves, do_epilogue_restores): New .macros.
7351         (__divdi3_moddi3): Use them.
7352         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7353         (__usmulusa3, __ssmulsa3): New functions.
7355 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
7356             Jack Howarth  <howarth@bromo.med.uc.edu>
7357             Patrick Marlier  <patrick.marlier@gmail.com>
7359         PR libitm/55693
7360         * config/darwin-crt-tm.c: Remove dummy functions hack.
7362 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
7364         PR target/54222
7365         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7366         * config/avr/lib2-object.mk: New iterator to build objects from it.
7367         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7368         lib2funcs.c.
7369         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7370         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7371         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7372         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7373         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7374         * config/avr/lib1funcs-fixed.S: Implement them.
7376 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
7378         Update copyright years.
7380 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
7382         PR target/54601
7383         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7384         Add crtcxa to extra_parts.
7385         * config/rs6000/exit.h: New file.
7386         * config/rs6000/cxa_atexit.c: New file.
7387         * config/rs6000/cxa_finalize.c: New file.
7388         * config/rs6000/crtcxa.c: New file.
7389         * config/rs6000/t-aix-cxa: New file.
7390         * config/rs6000/libgcc-aix-cxa.ver: New file.
7392 2013-01-31  Nick Clifton  <nickc@redhat.com>
7394         * config/v850/lib1funcs.S: Add support for e3v5 architecture
7395         variant.
7397 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
7399         PR target/54222
7400         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7401         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
7402         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7403         _divQQ,  _divHQ,  _divHA,  _divSA,
7404         _divUQQ, _divUHQ, _divUHA, _divUSA.
7406 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
7408         * config.host(microblaze*-linux*): tmake_file: Remove
7409         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7410         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7411         to exclude functions from being built with libgcc.c and use
7412         the microblaze assembly.
7414 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7416         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7417         extra_parts.
7419 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
7421         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7422         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7423         __UINTPTR_TYPE__; also cast 'base' to the same type before the
7424         alignment operation.
7426 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
7428         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7429         loop start address for cache clearing.
7431 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7433         * config/avr/lib1funcs.S: Remove trailing blanks.
7434         * config/avr/lib1funcs-fixed.S: Ditto.
7436 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7438         * config/avr/avr-lib.h: Add GPL copyright notice.
7440 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7442         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7443         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7444         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7445         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7447 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
7449         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7450         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7452 2013-01-04  Nick Clifton  <nickc@redhat.com>
7454         * config/v850/lib1funcs.S: Only provide CALLT support functions if
7455         the CALLT instruction is supported.
7457 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
7459         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7460         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7462 2012-12-13  John Tytgat  <John@bass-software.com>
7464         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7465         is 25.
7467 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
7469         PR libgcc/55451
7470         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7471         undefined signed overflows.
7473 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
7475         PR target/55344
7476         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7478 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
7480         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7481         (FP_TRAPPING_EXCEPTIONS): Define.
7482         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7483         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7485 2012-12-04  Richard Henderson  <rth@redhat.com>
7487         PR bootstrap/55571
7488         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7490 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7492         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7493         (FP_EX_SHIFT): Define.
7494         (FP_TRAPPING_EXCEPTIONS): Define.
7496 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7498         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7499         (FP_ROUNDMODE): Use FP_RND_MASK.
7500         * config/aarch64/sfp-exceptions.c: New.
7501         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7502         Use __sfp_handle_exceptions.
7504 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
7506         * config.host: (arm*-*-freebsd*): Remove.
7507         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7508         (arm*-*-elf*): Remove.
7509         (arm*-*-wince-pe*): Remove.
7510         * arm/unwind-arm.c (struct fpa_reg): Delete.
7511         (struct fpa_regs): Delete.
7512         (phase1_vrs): Remove fpa element.
7513         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7514         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7515         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7516         * ieee754-sf.S (floatundisf): Remove FPA support.
7517         (floatdisf): Likewise.
7518         * ieee75f-df.S (floatundidf): Likewise.
7519         (floatdidf): Likewise.
7521 2012-11-29  Kai Tietz  <ktietz@redhat.com>
7523         PR target/55445
7524         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7525         * unwind-generic.h: Likewise.
7526         * unwind-seh.c: Likewise.
7528 2012-11-28  Richard Henderson  <rth@redhat.com>
7530         PR libgcc/48076
7531         * emutls.c (__emutls_get_address): Avoid race condition between
7532         obj->loc.offset read and emutls_key initialization.
7534 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
7536         Adjust decimal point of signed accum mode to GCC default.
7538         PR target/54222
7539         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7540         _divqq_helper.
7541         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7542         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7543         (__mulha3, __mulsa3)
7544         (__divqq3, __divha3, __divsa3): Adjust to new position of
7545         decimal point of signed accum types.
7547         (__mulusa3_round): New function.
7548         (__mulusa3): Use it.
7549         (__divqq_helper): New function.
7550         (__udivuqq3): Use it.
7552 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
7554         PR bootstrap/55370
7555         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7557 2012-11-18  Teresa Johnson  <tejohnson@google.com>
7559         PR bootstrap/55051
7560         * libgcov.c (gcov_exit): Remove merged program summary
7561         comparison unless !GCOV_LOCKED.
7563 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7565         * soft-fp: Updated from glibc upstream.
7567 2012-11-06  Ian Lance Taylor  <iant@google.com>
7569         * generic-morestack.c (__generic_morestack): Align the returned
7570         stack pointer to a 32 byte boundary.
7571         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7572         increment the return address until we have decided that we don't
7573         have a varargs function.
7574         (__morestack) [32-bit]: Align stack correctly when calling C
7575         functions.
7576         (__morestack) [64-bit]: Likewise.
7578 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
7580         * configure: Regenerate.
7582 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
7584         PR target/55175
7585         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7586         * config/i386/sfp-machine.h: Guard exception handling
7587         code with _SOFT_FLOAT.
7588         * config/i386/32/sfp-machine.h: Guard rounding handling
7589         code with _SOFT_FLOAT.
7590         * config/i386/64/sfp-machine.h: Ditto.
7592 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
7594         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7595         as extra_parts.
7597 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
7599         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7600         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
7601         when appropriate.  Correct structure element types.
7602         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7603         -minline-all-stringops from compile flags.
7605 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
7607         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7609 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
7611         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7613 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7615         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7616         tmake_file.
7618 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
7619             Jim MacArthur  <jim.macarthur@arm.com>
7620             Marcus Shawcroft  <marcus.shawcroft@arm.com>
7621             Nigel Stephens  <nigel.stephens@arm.com>
7622             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
7623             Richard Earnshaw  <rearnsha@arm.com>
7624             Sofiane Naci  <sofiane.naci@arm.com>
7625             Stephen Thomas  <stephen.thomas@arm.com>
7626             Tejas Belagod  <tejas.belagod@arm.com>
7627             Yufeng Zhang  <yufeng.zhang@arm.com>
7629         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7630         * config/aarch64/crti.S: New file.
7631         * config/aarch64/crtn.S: New file.
7632         * config/aarch64/linux-unwind.h: New file.
7633         * config/aarch64/sfp-machine.h: New file.
7634         * config/aarch64/sync-cache.c: New file.
7635         * config/aarch64/t-aarch64: New file.
7636         * config/aarch64/t-softfp: New file.
7638 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
7640         * config/mmix/crti.S: Mark program and data addresses using PRELD.
7641         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
7642         no-longer-needed LDBU insns.
7644 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7646         * config.host
7647         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7648         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7650 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
7652         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7654 2012-10-15  Matthias Klose  <doko@ubuntu.com>
7656         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7658 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
7660         * configure: Regenerate.
7661         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7663 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
7665         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7666         instructions for 64bit targets only.
7668 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
7670         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7671         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7672         * config/i386/32/sfp-machine.h: ... here.
7673         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7674         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7675         New defines.
7677 2012-10-07  Matthias Klose  <doko@ubuntu.com>
7679         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7680         as unused.
7681         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7683 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
7685         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7686         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7687         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7688         (ElfW): Likewise.
7690 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
7692         PR other/53889
7693         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7694         Fix parameter names.
7696 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
7698         PR target/33135
7699         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7700         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7701         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7703 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
7705         PR target/50457
7706         * config/sh/linux-atomic.S: Delete.
7707         * config/sh/linux-atomic.c: New.
7708         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7709         linux-atomic.c.  Add cflags to disable warnings.
7711 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
7713         PR other/53889
7714         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7715         function.
7716         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7717         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7718         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7719         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7720         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7721         Likewise.
7722         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7723         Likewise.
7724         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7725         Likewise.
7726         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7727         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7729 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
7731         * config.host (hppa-*-openbsd*): New target.
7732         * config/pa/t-openbsd: New file.
7734 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
7736         PR target/54222
7737         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7738         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7739         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7740         (__divsa3): Use __negsi2 to negate r_quoL.
7741         * config/avr/lib1funcs.S (FALIAS): New macro.
7742         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7743         (__negsi2): ...this new function.
7744         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7745         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7746         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7747         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7748         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7749         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7751 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
7753         PR target/54089
7754         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7755         (lshrsi3): Reimplement as lshrsi3_r0.
7757 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
7759         PR target/46191
7760         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7761         of libgcc.a.
7763 2012-09-07  Teresa Johnson  <tejohnson@google.com>
7765         PR gcov-profile/54487
7766         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7767         differences.
7769 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
7771         PR target/54461
7772         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7773         not configured --with-avrlibc=no.
7774         * config/avr/t-avrlibc: New file.
7775         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7776         (DPBIT_FUNCS): Ditto.
7777         (TPBIT_FUNCS): Ditto.
7779 2012-09-04  Teresa Johnson  <tejohnson@google.com>
7781         * libgcov.c (struct gcov_summary_buffer): New structure.
7782         (gcov_histogram_insert): New function.
7783         (gcov_compute_histogram): Ditto.
7784         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7785         histograms during summary merging.
7787 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
7789         * config.host (x86_64-*-openbsd*): New target.
7791 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
7793         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7794         attribute.
7796 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7798         PR target/54222
7799         * config/avr/t-avr (conv_X): Rename to func_X.
7801 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7803         PR target/54222
7804         * config/avr/lib1funcs-fixed.S: New file.
7805         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
7806         after they are used.
7807         (neg2, neg4): New macros.
7808         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7809         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7810         (__umulhisi3): Speed up MUL variant if there is enough flash.
7811         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7812         avr-modes.def.
7813         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7814         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7815         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7816         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7817         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7818         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7819         (LIB2FUNCS_EXCLUDE): Add supported functions.
7821 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
7823         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7824         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7825         libgcc-s-objects.
7826         * fixed-obj.mk: Only expand dependency if $o is not in
7827         LIB2FUNCS_EXCLUDE.
7829 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
7831         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7833 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
7835         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7836         depend on --enable-shared.
7837         ($(lib1asmfuncs-o)): Use %.vis files independent of
7838         --enable-shared.
7839         * static-object.mk ($(base)$(objext), $(base).vis)
7840         ($(base)_s$(objext)): Use same rules for visibility handling as in
7841         shared-object.mk.
7843 2012-08-21  Ian Lance Taylor  <iant@google.com>
7845         * config/i386/morestack.S (__morestack_non_split): Increase amount
7846         of space allocated for non-split code stack.
7848 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
7850         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7851         even if inhibit_libc.
7853 2012-08-17  Julian Brown  <julian@codesourcery.com>
7855         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7856         -fexceptions -fnon-call-exceptions if not defined.
7857         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7858         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7860 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
7862         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7863         type.
7865 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
7867         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7868         rs6000/t-slibgcc-aix.
7870 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
7872         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7874 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
7876         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7878 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
7880         PR driver/54171
7881         * Makefile.in (version): Replace top_srcdir with srcdir.
7883 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
7885         * Makefile.in (version): set to BASE-VER file from gcc directory.
7887 2012-08-01  Nick Clifton  <nickc@redhat.com>
7889         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7890         Implements __clrsb for an HImode argument.
7892 2012-07-31  Nick Clifton  <nickc@redhat.com>
7894         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7895         Implements __clrsb for an HImode argument.
7896         * config/stormy16/clrsbhi2.c: New file:
7897         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7899 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
7901         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7903 2012-07-19  Tristan Gingold  <gingold@adacore.com>
7904             Richard Henderson  <rth@redhat.com>
7906         * unwind-seh.c: New file.
7907         * unwind-generic.h: Include windows.h for SEH.
7908         (_Unwind_Exception): Use 6 private fields for SEH.
7909         (_GCC_specific_handler): Declare.
7910         * unwind-c.c (__gcc_personality_seh0): New function.
7911         Adjust for SEH.
7912         * config/i386/libgcc-cygming.ver: New file.
7913         * config/i386/t-seh-eh: New file.
7914         * config.host (x86_64-*-mingw*): Default to seh.
7916 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
7918         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7920 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
7922         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7923         __builtin_expect when checking for exceptions.
7924         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7926 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
7928         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7929         function declaration.
7930         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7931         (FP_RND_MASK): New.
7932         * config/ia64/sfp-exceptions.c: New.
7933         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7935 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
7937         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7938         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7939         * config/i386/64/sfp-machine: ... (delete here) ...
7940         * config/i386/sfp-machine.h: ... to here.
7941         (FP_EX_MASK): Remove.
7942         (FP_RND_MASK): New.
7943         (FP_INIT_ROUNDMODE): Declare asm as volatile.
7945 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
7947         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7948         * config/i386/libgcc-sol2.ver: Ditto.
7949         * config/i386/libgcc-glibc.ver: Ditto.
7951 2012-06-11  Roland McGrath  <mcgrathr@google.com>
7953         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7954         If __GLIBC__ is defined, refer to __pthread_key_create instead of
7955         pthread_cancel.
7957 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
7959         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7960         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7961         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7962         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7963         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7964         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7965         * config/i386/64/sfp-machine: ... (delete here) ...
7966         * config/i386/sfp-machine.h: ... to here.
7967         (FP_EX_MASK): New.
7968         (__sfp_handle_exceptions): New function declaration.
7969         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7970         * config/i386/sfp-exceptions.c: New.
7971         * config/i386/t-softfp: New.
7972         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7973         i386/t-softfp to tmake_file.
7975 2012-06-03  David S. Miller  <davem@davemloft.net>
7977         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7978         change.
7980 2012-05-31  David S. Miller  <davem@davemloft.net>
7982         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7983         multiply and divide instructions on 32-bit when V9.
7984         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7986 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
7988         * config/arm/ieee754-df.S: Fix typos.
7989         * config/arm/ieee754-sf.S: Fix typos.
7990         * config/c6x/libunwind.S: Fix typos.
7991         * config/epiphany/udivsi3-float.c: Fix typos.
7992         * config/microblaze/muldi3_hard.S: Fix typos.
7993         * config/picochip/adddi3.S: Fix typos.
7994         * config/picochip/ashlsi3.S: Fix typos.
7995         * config/picochip/ashrsi3.S: Fix typos.
7996         * config/picochip/clzsi2.S: Fix typos.
7997         * config/picochip/cmpsi2.S: Fix typos.
7998         * config/picochip/divmod15.S: Fix typos.
7999         * config/picochip/divmodhi4.S: Fix typos.
8000         * config/picochip/divmodsi4.S: Fix typos.
8001         * config/picochip/longjmp.S: Fix typos.
8002         * config/picochip/lshrsi3.S: Fix typos.
8003         * config/picochip/parityhi2.S: Fix typos.
8004         * config/picochip/popcounthi2.S: Fix typos.
8005         * config/picochip/setjmp.S: Fix typos.
8006         * config/picochip/subdi3.S: Fix typos.
8007         * config/picochip/ucmpsi2.S: Fix typos.
8008         * config/picochip/udivmodhi4.S: Fix typos.
8009         * config/picochip/udivmodsi4.S: Fix typos.
8010         * config/spu/divv2df3.c: Fix typos.
8011         * config/spu/mfc_multi_tag_release.c: Fix typos.
8012         * config/spu/mfc_tag_release.c: Fix typos.
8013         * configure.ac: Fix typos.
8014         * configure: Regenerate.
8016 2012-05-25  Ian Lance Taylor  <iant@google.com>
8018         * config/i386/morestack.S (__morestack_non_split): Check whether
8019         caller is varargs and needs %bp to hold the stack frame on return.
8021 2012-05-25  Olivier Hainque  <hainque@adacore.com>
8023         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8024         sequence in the non pic case on VxWorks.
8026 2012-05-24  Olivier Hainque  <hainque@adacore.com>
8028         * Makefile.in: Move dependency on install-unwind_h from
8029         "install-leaf" to "install".
8031 2012-05-24  Olivier Hainque  <hainque@adacore.com>
8033         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8034         Use a separate command for stamp removals.
8036 2012-05-21  Andrew Pinski  <apinski@cavium.com>
8038         PR bootstrap/53183
8039         * configure.ac: Define the default includes to being none.
8040         * configure: Regenerate.
8042 2012-05-16  Olivier Hainque  <hainque@adacore.com>
8044         * Makefile.in (install-unwind_h): Rename into ...
8045         (install-unwind_h-forbuild): New target.
8046         (all): Use it instead of the former install-unwind_h.
8047         (install-unwind_h): Reinstate, copy to user install destination
8048         for include files, not to the internal gcc object directory one.
8049         (install-leaf): Depend on it.
8051 2012-05-15  Olivier Hainque  <hainque@adacore.com>
8053         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8054         register numbers. LR_REGNO replaces R_LR.
8055         (ucontext_for): New, helper for ...
8056         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8057         and 5.3 of ...
8058         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8060 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8062         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8063         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8064         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8065         i386/t-cpuinfo ...
8066         (i[34567]86-*-*, x86_64-*-*): ... here.
8068         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8069         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8071         * config/i386/i386-cpuinfo.c: Rename to ...
8072         * config/i386/cpuinfo.c: ... this.
8073         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8075         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8076         (libgcc_cv_init_priority): New test.
8077         * configure: Regenerate.
8078         * config.in: New file.
8079         * Makefile.in (clean): Rename config.h to auto-target.h.
8080         (config.h): Likewise.
8081         (stamp-h): Likewise.
8083         * config/i386/cpuinfo.c (auto-target.h): Include.
8084         (CONSTRUCTOR_PRIORITY): Define.
8085         (__cpu_indicator_init): Use it.
8087 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
8089         * longlong.h: Use a URL instead of an FSF postal address.
8090         Replace spaces with tab.
8092 2012-05-08  Teresa Johnson  <tejohnson@google.com>
8094         * libgcov.c (gcov_clear, __gcov_reset): New functions.
8095         (__gcov_dump): Ditto.
8096         (gcov_dump_complete): New global variable.
8097         (gcov_exit): Export hidden to enable use in L_gcov_dump.
8098         (__gcov_flush): Outline functionality now in gcov_clear.
8099         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8101 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
8103         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8104         (mips*-*-linux*): Include mips/t-tpbit when long double is
8105         16 bytes long.
8107 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
8109         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8110         (get_available_features): New argument. Check for AVX2.
8111         (__cpu_indicator_init): Modify call to get_available_features.
8113 2012-04-25  Alan Modra  <amodra@gmail.com>
8115         * config/rs6000/crtsavevr.S: New file.
8116         * config/rs6000/crtrestvr.S: New file.
8117         * config/rs6000/t-savresfgpr: Build the above.
8118         * config/rs6000/t-netbsd: Likewise.
8120 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
8122         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8124 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
8126         * libgcc/config/i386/i386-cpuinfo.c: New file.
8127         * libgcc/config/i386/t-cpuinfo: New file.
8128         * libgcc/config.host: Include t-cpuinfo.
8129         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8131 2012-04-24  Chao-ying Fu  <fu@mips.com>
8133         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8135 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
8137         struct siginfo vs. siginfo_t
8139         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8140         siginfo_t instead of struct siginfo.
8141         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8142         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8143         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8144         (ia64_handle_unwabi): Likewise.
8145         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8146         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8147         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8148         (sh_fallback_frame_state): Likewise.
8149         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8150         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8152 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
8154         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8155         system call number.
8157 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
8159         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8160         if it hasn't been previously saved.
8162 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
8164         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8165         only for glibc.
8167 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
8169         PR target/52737
8170         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8171         instead of __AVR_HAVE_8BIT_SP__.
8173 2012-03-26  Tristan Gingold  <gingold@adacore.com>
8175         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8176         (unw_table_entry): Use unw_word instead of unsigned long.
8177         (_Unwind_FindTableEntry): Likewise.
8178         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8179         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8180         (_Unwind_FindTableEntry): Likewise.
8181         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8182         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8183         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8184         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8185         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8186         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8187         (uw_init_context_1, uw_install_context): Likewise.
8188         (unw_word): Move to unwind-ia64.h
8190 2012-03-26  Tristan Gingold  <gingold@adacore.com>
8192         * config/vms/vms-ucrt0.c: Update copyright years.
8193         Add a sanity check.
8194         (___gcc_main_flags): Declare.
8195         (__main): Check flags to remap argv and exit code.
8196         * config.host (*-*-*vms*): Adjust extra_parts.
8197         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8198         (crt0.o): Add.
8200 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
8202         * arm/lib1funcs.asm (ctzsi2): New function.
8203         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8204         * arm/t-linux (LIB1ASMFUNCS): Likewise.
8205         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8206         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8207         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8208         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8210 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
8212         * config.host: Add bits to support powerpc64-*-freebsd*.
8213         * config/rs6000/freebsd-unwind.h: New file.
8214         * config/rs6000/t-freebsd64: New file.
8216 2012-03-20  Richard Guenther  <rguenther@suse.de>
8218         PR gcov-profile/52627
8219         * libgcov.c (init_mx): Fix mutex name.
8221 2012-03-16  Tristan Gingold  <gingold@adacore.com>
8223         * config/ia64/vms-unwind.h: Remove ulong (and replace
8224         it by unw_reg where used).  Define unw_reg with __int64.
8226 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8228         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8229         Solaris 8 handling.
8230         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8231         Solaris 8 handling.
8232         (sparc_is_sighandler): Likewise.
8234 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
8236         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8237         <= saved reg size.
8239 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8241         * config/arm/crtn.S: Fix typo.
8243 2012-03-13  Richard Guenther  <rguenther@suse.de>
8245         * libgcov.c: Remove stdio.h include and NULL un-define.
8247 2012-03-13  Richard Guenther  <rguenther@suse.de>
8249         PR target/52569
8250         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8252 2012-03-13  Richard Guenther  <rguenther@suse.de>
8254         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8256 2012-03-13  Richard Guenther  <rguenther@suse.de>
8258         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8259         and __gthread_mutex_init_function definitions.
8261 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8263         * config.host (mips*-*-openbsd*): Remove.
8265 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8267         * config.host: Remove alpha*-dec-osf5.1* handling.
8268         * config/alpha/gthr-posix.c: Remove.
8269         * config/alpha/libgcc-osf5.ver: Remove.
8270         * config/alpha/osf5-unwind.h: Remove.
8271         * config/alpha/t-osf-pthread: Remove.
8272         * config/alpha/t-slibgcc-osf: Remove.
8273         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8274         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8275         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8276         * mkmap-flat.awk: Remove osf_export handling.
8278 2012-03-12  Richard Guenther  <rguenther@suse.de>
8280         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8281         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8282         (__gthread_mutex_init_function): New function.
8283         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8285         PR gcov/49484
8286         * libgcov.c: Include gthr.h.
8287         (__gcov_flush_mx): New global variable.
8288         (init_mx, init_mx_once): New functions.
8289         (__gcov_flush): Protect self with a mutex.
8290         (__gcov_fork): Re-initialize mutex after forking.
8291         * unwind-dw2-fde.c: Change condition under which to use
8292         __GTHREAD_MUTEX_INIT_FUNCTION.
8294 2012-03-12  Tristan Gingold  <gingold@adacore.com>
8296         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8297         * config/ia64/t-vms: Likewise.
8299 2012-03-11  Michael Hope  <michael.hope@linaro.org>
8301         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8302         for Thumb-2.
8304 2012-03-07  Walter Lee  <walt@tilera.com>
8306         * config/tilepro/atomic.c: Rename "atomic_" prefix to
8307         "arch_atomic_".
8308         (atomic_xor): Rename and move definition to
8309         config/tilepro/atomic.h.
8310         (atomic_nand): Ditto.
8311         * config/tilepro/atomic.h: Rename "atomic_" prefix to
8312         "arch_atomic_".
8313         (arch_atomic_xor): Move from config/tilepro/atomic.c.
8314         (arch_atomic_nand): Ditto.
8316 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8318         PR target/52507
8319         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8321 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8323         PR target/52505
8324         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8325         from RAM.
8327 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8329         PR target/52461
8330         PR target/52508
8331         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8332         if RAMPZ affects reading from RAM.
8333         (__tablejump_elpm__): Ditto.
8334         (.xload): Ditto.
8335         (__movmemx_hi): Ditto.
8336         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8337         (__do_global_dtors): Ditto.
8338         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8339         (__movmemx_hi): Ditto.
8341 2012-03-05  Richard Henderson  <rth@redhat.com>
8343         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8344         [ARM] (count_trailing_zeros): Use the builtin.
8346 2012-03-01  Kai Tietz  <ktietz@redhat.com>
8348         * soft-fp: Imported from glibc upstream.
8350 2012-02-28  Kai Tietz  <ktietz@redhat.com>
8352         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8353         for mingw-targets as attribute gcc_struct.
8355 2012-02-28  Ian Lance Taylor  <iant@google.com>
8357         * generic-morestack.c (__splitstack_releasecontext): Correct call
8358         to __morestack_release_segments.
8360 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8362         PR target/52390
8363         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8364         for __linux__ when removing signals from __morestack_fullmask.
8366 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
8368         PR target/52261
8369         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8371 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8373         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8374         instead of HAVE_INITFINI_ARRAY.
8375         * config/ia64/crtend.S: Likewise.
8377 2012-02-20  Kai Tietz  <ktietz@redhat.com>
8379         PR libstdc++/52300
8380         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8382         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8383         to w32-unwind.h header.
8385 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8387         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8388         (mips*-*-linux*): Remove t-slibgcc-libgcc.
8389         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8390         * config/mips/mips16.S (__mips16_rdhwr): Delete.
8392 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8394         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8396 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8398         PR libitm/52220
8399         * config/darwin-crt-tm.c: Correct typo.
8401 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8402             Patrick Marlier  <patrick.marlier@gmail.com>
8404         PR libitm/52220
8405         * config/darwin-crt-tm.c: Generate dummy functions.
8407 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8408             Patrick Marlier  <patrick.marlier@gmail.com>
8410         PR libitm/52042
8411         * config/darwin-crt-tm.c (getTMCloneTable): New function.
8412         (__doTMRegistrations): Call it.
8413         (__doTMdeRegistrations): Likewise.
8415 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
8416             Anatoly Sokolov  <aesok@post.ru>
8417             Eric Weddington  <eric.weddington@atmel.com>
8419         PR target/52261
8420         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8421         (__epilogue_restores__): Ditto.
8423 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
8425         PR target/51921
8426         PR target/52205
8427         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8428         Solaris 11 and slightly reformat.
8429         (sparc_is_sighandler): Likewise.
8431 2012-02-14  Walter Lee  <walt@tilera.com>
8433         * config.host: Handle tilegx and tilepro.
8434         * config/tilegx/sfp-machine.h: New file.
8435         * config/tilegx/sfp-machine32.h: New file.
8436         * config/tilegx/sfp-machine64.h: New file.
8437         * config/tilegx/t-crtstuff: New file.
8438         * config/tilegx/t-softfp: New file.
8439         * config/tilegx/t-tilegx: New file.
8440         * config/tilepro/atomic.c: New file.
8441         * config/tilepro/atomic.h: New file.
8442         * config/tilepro/linux-unwind.h: New file.
8443         * config/tilepro/sfp-machine.h: New file.
8444         * config/tilepro/softdivide.c: New file.
8445         * config/tilepro/softmpy.S: New file.
8446         * config/tilepro/t-crtstuff: New file.
8447         * config/tilepro/t-tilepro: New file.
8449 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
8451         PR libstdc++/51296
8452         PR libstdc++/51906
8453         * gthr-posix.h: Allow static initializer macros to be disabled.
8454         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8456 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8458         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8459         Add t-slibgcc-libgcc to tmake_file.
8460         * config/mips/libgcc-mips16.ver: Revert previous patch.
8461         * config/mips/mips16.S (__mips16_rdhwr): Hide.
8463 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
8464             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
8466         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8467         * config/cr16/crti.S: New file.
8468         * config/cr16/crtlibid.S: New file.
8469         * config/cr16/crtn.S: New file.
8470         * config/cr16/lib1funcs.S: New file.
8471         * config/cr16/t-cr16: New file.
8472         * config/cr16/t-crtlibid: New file.
8473         * config/cr16/unwind-dw2.h: New file.
8474         * config/cr16/unwind-cr16.c: New file.
8475         * config/cr16/divmodhi3.c: New file.
8477 2012-01-25  Alan Modra  <amodra@gmail.com>
8479         * config/rs6000/t-linux64: Delete.  Move..
8480         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8481         * config/rs6000/t-linux: ..and libgcc flags to here.
8483 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
8485         * config.host (i[34567]86-*-interix3*):
8486         Change triplet to i[34567]86-*-interix[3-9]*.
8487         * configure: Regenerate.
8489 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
8490             Richard Sandiford  <rdsandiford@googlemail.com>
8492         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8493         * config/mips/mips16.S (__mips16_rdhwr): New function.
8494         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8496 2012-01-11  Nathan Sidwell  <nathan@acm.org>
8498         * libgcov.c (__gcov_init): Ignore objects with no functions.
8500 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
8502         PR target/49868
8503         Extend __pgmx semantics to linearize memory.
8504         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8505         * config/avr/lib1funcs.S (__xload_1): New function.
8506         (__movmemx_qi, __movmemx_hi): New functions.
8507         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8508         semantics.
8510 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
8512         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8513         purported sigacthandler address isn't null before dereferencing it.
8514         (sparc_is_sighandler): Likewise.
8516 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
8518         PR ada/41929
8519         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8520         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
8521         (sparc_is_sighandler): Likewise.
8522         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8524 2012-01-06  Tristan Gingold  <gingold@adacore.com>
8526         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8527         compatibility thunks...
8528         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8529         (crtbeginS.o, crtendS.o): ... and these to ...
8530         * config/ia64/t-ia64-elf: ... this new file.
8531         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8532         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8534 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8536         * configure: Regenerate.
8537         * config/s390/t-crtstuff: Remove -fPIC.
8539 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
8541         PR bootstrap/51006
8542         * enable-execute-stack-mprotect.c (getpagesize): Do not define
8543         for NetBSD.
8545 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
8547         PR target/51345
8548         * config/avr/lib1funcs.S: Remove FIXME comments.
8549         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8551 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
8553         Implement light-weight DImode support.
8554         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8555         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8556         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8557         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8559 2011-12-30  Nathan Sidwell  <nathan@acm.org>
8561         * libgcov.c (gcov_crc32): Remove global var.
8562         (free_fn_data): New function.
8563         (buffer_fn_data): Pass in filename, more robust error recovery.
8564         (crc32_unsigned): New function.
8565         (gcov_exit): More robust detection of new program. More robust
8566         error recovery.
8567         (__gcov_init): Do not update program's crc here.
8569 2011-12-21  Tristan Gingold  <gingold@adacore.com>
8571         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8573 2011-12-21  Ian Lance Taylor  <iant@google.com>
8575         * config/i386/morestack.S: Simplify CFI opcodes throughout.
8577 2011-12-20  Ian Lance Taylor  <iant@google.com>
8579         * config/i386/morestack.S (__morestack_non_split): If there is
8580         enough stack space already, don't split.  Ask for more stack space
8581         than we required.
8583 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
8585         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8586         `sys/sdt.h'.
8587         (_Unwind_DebugHook): New function.
8588         (uw_restore_core_regs): New define.
8589         (unwind_phase2): Use uw_restore_core_regs instead of
8590         restore_core_regs.
8591         (unwind_phase2_forced): Likewise.
8592         (__gnu_Unwind_Resume): Likewise.
8594 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
8596         * config/alpha/linux-unwind.h: Update copyright years.
8597         (MD_FROB_UPDATE_CONTEXT): New define.
8598         (alpha_frob_update_context): New function.
8600 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
8602         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8603         tmake_file rather replacing it.
8605 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
8607         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8608         function is not used for PPC64.
8609         (save_world): Amend comments.  Update the VRsave mask to reflect the
8610         saved regs.
8611         (rest_world): Update comments, do not  clobber r10, do not use r8.
8612         (eh_rest_world_r10): Amend comments, do not use r8.
8613         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8614         no longer used, move restore of CR and target address to the end of
8615         the routine.
8617 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
8619         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8620         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8622 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
8624         PR target/49313
8625         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8626         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8628 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
8630         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8632 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
8634         PR target/49313
8635         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8636         * config/avr/lib1funcs.S (__muldi3): New function.
8638 2011-12-06  Andrew Pinski  <apinski@cavium.com>
8640         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8641         size of func_ptr.
8642         (__frame_dummy_init_array_entry): Likewise.
8644 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
8646         Forward-port from gcc-4_6-branch r181936 2011-12-02.
8648         PR target/51345
8649         PR target/51002
8650         * config/avr/lib1funcs.S (__prologue_saves__,
8651         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8652         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
8654 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
8656         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8658 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8660         PR other/51272
8661         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8662         (_ITM_deregisterTMCloneTable): Likewise.
8663         (__register_frame_info): Fix unused warning.
8664         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8665         pthread_default_stacksize_np): Likewise.
8666         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8668 2011-11-29  DJ Delorie  <dj@redhat.com>
8670         * config.host (rl78-*-elf): New case.
8671         * config/rl78: New directory for the Renesas RL78.
8673 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
8675         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
8676         formatting.
8678 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8680         PR other/51022
8681         * config/rs6000/t-savresfgpr: New file.
8682         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8683         $(srcdir)/config/rs6000/eabi.S.
8684         * config/rs6000/t-ppccomm-ldbl: Remove.
8685         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8686         tmake_file.
8687         (powerpc-*-eabispe*): Likewise.
8688         (powerpc-*-eabi*): Likewise.
8689         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8690         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8691         to tmake_file, remove rs6000/t-ppccomm-ldbl.
8692         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8693         tmake_file.
8694         (powerpc-*-eabisim*): Likewise.
8695         (powerpc-*-elf*): Likewise.
8696         (powerpc-*-eabialtivec*): Likewise.
8697         (powerpc-xilinx-eabi*): Likewise.
8698         (powerpc-*-rtems*): Likewise.
8699         (powerpcle-*-elf*): Likewise.
8700         (powerpcle-*-eabisim*): Likewise.
8701         (powerpcle-*-eabi*): Likewise.
8703 2011-11-27  Ian Lance Taylor  <iant@google.com>
8705         * generic-morestack.c (__splitstack_find): Check for NULL old
8706         stack value.
8707         (__splitstack_resetcontext): New function.
8708         (__splitstack_releasecontext): New function.
8709         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8711 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
8713         * config/darwin-crt-tm.c: Correct comments, use correct licence.
8715 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
8717         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8719 2011-11-26  Richard Henderson  <rth@redhat.com>
8721         * config/m68k/linux-atomic.c: New file.
8722         * config/m68k/t-linux: New file.
8723         * config.host (m68k-uclinux, m68k-linux): Use it.
8725 2011-11-26  Richard Henderson  <rth@redhat.com>
8727         * crtstuff.c (__TMC_LIST__): Mark used not unused.
8728         (__TMC_END__): Only declare if hidden is available; in the definition,
8729         if hidden is unavailable add a null record.
8730         (deregister_tm_clones, register_tm_clones): New.
8731         (__do_global_dtors_aux, frame_dummy): Use them.
8732         (__do_global_dtors, __do_global_ctors_1): Likewise.
8734 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
8736         * config/darwin-crt-tm.c: New file.
8737         * config.host (darwin): Build crttms.o crttme.o to provide
8738         startup and shutdown for tm clones.
8739         * config/t-darwin (crttms.o): New build rule.
8740         (crttme.o): Likewise.
8742 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
8744         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8745         et al.
8747 2011-11-21  Richard Henderson  <rth@redhat.com>
8749         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8750         (__TMC_LIST__, __TMC_END__): New.
8751         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8752         (__do_global_dtors): Likewise.
8753         (frame_dummy): Call _ITM_registerTMCloneTable.
8754         (__do_global_ctors_1): Likewise.
8756 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8758         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8759         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8760         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8761         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8762         * config/i386/t-darwin64: Remove.
8763         * config/sh/t-netbsd (LIB2ADD): Remove.
8765 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
8767         PR target/49313
8768         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8769         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8770         * config/avr/lib1funcs.S (wmov): New assembler macro.
8771         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8772         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8773         (__udivmod64): New function.
8774         (__negdi2): New function.
8776 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
8778         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8779         *-*-freebsd*aout*): Remove.
8781 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
8783         * static-object.mk (c_flags-$o): Save c_flags.
8784         ($(base)$(objext)): Use it.
8786 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
8788         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8790 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
8792         PR target/49868
8793         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8794         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8795         New functions.
8797 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8799         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8800         functions.
8801         (aeabi_uidivmod): Likewise.
8802         (umodsi3): Likewise.
8803         (divsi3): Likewise.
8804         (aeabi_idivmod): Likewise.
8805         (modsi3): Likewise.
8807 2011-11-16  Tristan Gingold  <gingold@adacore.com>
8809         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8811 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
8813         PR target/49868
8814         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
8815         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8817 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8819         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8820         tmake_file list.
8821         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8822         * config/pa/t-stublib64: Delete.
8824 2011-11-12  Richard Henderson  <rth@redhat.com>
8826         * config/rs6000/linux-unwind.h (frob_update_context): Properly
8827         cast the pointer argument to _Unwind_SetGRPtr.
8829 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8831         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8833 2011-11-09  Ian Lance Taylor  <iant@google.com>
8835         * generic-morestack.c: Include <string.h>.
8836         (uintptr_type): Define.
8837         (struct initial_sp): Add dont_block_signals field.  Reduce size of
8838         extra array by 1.
8839         (allocate_segment): Set prev field to NULL.  Don't set
8840         __morestack_current_segment or __morestack_segments.
8841         (__generic_morestack): Update current->prev and *pp after calling
8842         allocate_segment.
8843         (__morestack_block_signals): Don't do anything if
8844         dont_block_signals is set.
8845         (__morestack_unblock_signals): Likewise.
8846         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
8847         uintptr_type.
8848         (__splitstack_block_signals): New function.
8849         (enum __splitstack_content_offsets): Define.
8850         (__splitstack_getcontext, __splitstack_setcontext): New functions.
8851         (__splitstack_makecontext): New function.
8852         (__splitstack_block_signals_context): New function.
8853         (__splitstack_find_context): New function.
8854         * config/i386/morestack.S (__morestack_get_guard): New function.
8855         (__morestack_set_guard, __morestack_make_guard): New functions.
8856         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8858 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8860         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8861         (i[34567]86-*-mingw*): ... here.
8862         (x86_64-*-mingw*): ... here.
8864 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8866         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8868 2011-11-07  Nathan Sidwell  <nathan@acm.org>
8870         * libgcov.c (struct gcov_fn_buffer): New struct.
8871         (buffer_fn_data): New helper.
8872         (gcov_exit): Rework for new gcov data structures.
8874 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
8876         PR target/49313
8877         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8879 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8881         * config.host (tmake_file): Correct comment.
8882         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8883         t-libgcc-pic.
8884         (bfin*-uclinux*): Likewise.
8885         (bfin*-linux-uclibc*): Likewise.
8886         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8888         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8889         assigning.
8890         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8891         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8892         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8893         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8894         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8895         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8896         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8897         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8898         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8899         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8900         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8901         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8902         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8904         * config/bfin/t-elf: Remove.
8905         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8907 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8909         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8910         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8911         (lm32-*-elf*, lm32-*-rtems*): Split into ...
8912         (lm32-*-elf*): ... this.
8913         (lm32-*-rtems*): ... and this.
8914         Add to tmake_file.
8915         (m32r-*-rtems*): Add to tmake_file.
8916         (moxie-*-rtems*): Likewise.
8917         (sparc-*-rtems*): Likewise.
8918         Remove t-rtems from tmake_file.
8919         (sparc64-*-rtems*): Likewise.
8920         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8921         instead.
8923 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8925         PR bootstrap/50982
8926         * config/gthr-posix.h: Move ...
8927         * gthr-posix.h: ... here.
8928         * config/gthr-lynx.h: Reflect this.
8929         * config/gthr-vxworks.h: Likewise.
8930         * config/rs6000/gthr-aix.h: Likewise.
8931         * configure.ac (target_thread_file): Likewise.
8932         * configure: Regenerate.
8934 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8936         * config.host (arm*-*-rtemseabi*): New target.
8938 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8940         PR other/50991
8941         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8942         extra-parts.
8944 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
8946         * config.host (epiphany-*-elf*): New configuration.
8947         * config/epiphany: New Directory.
8949 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
8951         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8952         * config/avr/t-rtems: New.
8953         Filter out _exit from LIB1ASMFUNCS.
8955 2011-11-04  David S. Miller  <davem@davemloft.net>
8957         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8958         * configure: Rebuild.
8960 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8962         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8963         variable.
8965 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
8967         PR target/50931
8968         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8969         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8971 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
8973         PR target/50989
8974         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8976 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8978         * config/c6x/t-elf (LIB2ADDEH): Set.
8979         * config/c6x/t-c6x-elf: Remove.
8981 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8983         * config/i386/sol2-ci.S: Rename to ...
8984         * config/i386/crti.S: ... this.
8985         * config/i386/sol2-cn.S: Rename to ...
8986         * config/i386/crtn.S: ... this.
8987         * config/sparc/sol2-ci.S: Rename to ...
8988         * config/sparc/crti.S: ... this.
8989         * config/sparc/sol2-cn.S: Rename to ...
8990         * config/sparc/crtn.S: ... this.
8991         * config/t-sol2 (CUSTOM_CRTIN): Remove.
8992         (crti.o, crtn.o): Remove.
8994 2011-11-04  Tristan Gingold  <gingold@adacore.com>
8996         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8998 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
9000         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9002 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
9004         * config.host (crisv32-*-none, cris-*-none): Remove.
9005         (crisv32-*-elf): Append to tmake_file, don't just set it.
9006         (cris-*-elf): Add missing t-fdpbit to tmake_file.
9008 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9010         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9011         (ecrtn$(objext)): Likewise.
9012         (ncrti$(objext)): Likewise.
9013         (ncrtn$(objext)): Likewise.
9015 2011-11-03  Andreas Schwab  <schwab@redhat.com>
9017         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9019 2011-11-02  David S. Miller  <davem@davemloft.net>
9021         * configure.ac: Set host_address on sparc too.
9022         * configure: Regenerate.
9023         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9024         based upon host_address.
9025         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9027 2011-11-02  Jason Merrill  <jason@redhat.com>
9029         * config/rs6000/t-ppccomm: Add missing \.
9031 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9033         * gthr-single.h, gthr.h: New files.
9034         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9035         config/gthr-vxworks.h, config/i386/gthr-win32.h,
9036         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9037         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9038         * config/i386/gthr-win32.c: Include "gthr-win32.h".
9039         * configure.ac (thread_header): New variable.
9040         Set it depending on target_thread_file.
9041         (gthr-default.h): Link from $thread_header.
9042         * configure: Regenerate.
9043         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9045 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9047         * configure.ac (tm_file_): New variable.
9048         Determine from tm_file.
9049         (tm_file, tm_defines): Substitute.
9050         * configure: Regenerate.
9051         * mkheader.sh: New file.
9052         * Makefile.in (clean): Remove libgcc_tm.h.
9053         ($(objects)): Depend on libgcc_tm.h.
9054         (libgcc_tm_defines, libgcc_tm_file): New variables.
9055         (libgcc_tm.h, libgcc_tm.stamp): New targets.
9056         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9057         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9058         ($(extra-parts)): Depend on libgcc_tm.h.
9059         * config.host (tm_defines, tm_file): New variable.
9060         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9061         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9062         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9063         (avr-*-rtems*): Likewise.
9064         (avr-*-*): Likewise.
9065         (frv-*-elf): Likewise.
9066         (frv-*-*linux*): Likewise.
9067         (h8300-*-rtems*): Likewise.
9068         (h8300-*-elf*): Likewise.
9069         (i[34567]86-*-darwin*): Likewise.
9070         (x86_64-*-darwin*): Likewise.
9071         (rx-*-elf): Likewise.
9072         (tic6x-*-uclinux): Likewise.
9073         (tic6x-*-elf): Likewise.
9074         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9075         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9076         * config/i386/cygming-crtbegin.c: Likewise.
9077         * config/i386/cygming-crtend.c: Likewise.
9078         * config/ia64/fde-vms.c: Likewise.
9079         * config/ia64/unwind-ia64.c: Likewise.
9080         * config/libbid/bid_gcc_intrinsics.h: Likewise.
9081         * config/rs6000/darwin-fallback.c: Likewise.
9082         * config/stormy16/lib2funcs.c: Likewise.
9083         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9084         * crtstuff.c: Likewise.
9085         * dfp-bit.h: Likewise.
9086         * emutls.c: Likewise.
9087         * fixed-bit.c: Likewise.
9088         * fp-bit.c: Likewise.
9089         * generic-morestack-thread.c: Likewise.
9090         * generic-morestack.c: Likewise.
9091         * libgcc2.c: Likewise.
9092         * libgcov.c: Likewise.
9093         * unwind-dw2-fde-dip.c: Likewise.
9094         * unwind-dw2-fde.c: Likewise.
9095         * unwind-dw2.c: Likewise.
9096         * unwind-sjlj.c: Likewise.
9098 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9100         * configure.ac: Include ../config/picflag.m4.
9101         (GCC_PICFLAG): Call it.
9102         Substitute.
9103         * configure: Regenerate.
9104         * Makefile.in (gcc_srcdir): Remove.
9105         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9106         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9107         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9108         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9109         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9110         Use $<.
9111         Remove comment.
9112         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9113         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9114         to refer to libgcc2.c.
9115         Use $<.
9116         * config/darwin-64.c: New file.
9117         * config/darwin-crt3.c: Remove comment.
9118         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9119         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9120         config/udivmodsi4.c: New files.
9121         * config/memcmp.c, config/memcpy.c, config/memmove.c,
9122         config/memset.c: New files.
9123         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9124         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9125         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9126         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9127         * config/t-openbsd-thread: New file.
9128         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9129         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9130         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9131         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9132         qrnnd.S.
9133         Adapt filename.
9134         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9135         to refer to gthr-posix.c.
9136         * config/alpha/t-vms (LIB2ADD): Set.
9137         * config/alpha/vms-gcc_shell_handler.c: New file.
9138         * config/arm/bpabi.c, config/arm/fp16.c,
9139         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9140         config/arm/unaligned-funcs.c: New files.
9141         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9142         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9143         * config/arm/t-linux: Likewise.
9144         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9145         * config/arm/t-netbsd: New file.
9146         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9147         * config/arm/t-symbian (LIB2ADD_ST): Set.
9148         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9149         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9150         * config/bfin/t-elf: New file.
9151         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9152         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9153         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9154         config/c6x/ltf.c: New files.
9155         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9156         (HOST_LIBGCC2_CFLAGS): Set.
9157         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9158         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9159         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9160         New files.
9161         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9162         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9163         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9164         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9165         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9166         files.
9167         * config/frv/t-frv (LIB2ADD): Set.
9168         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9169         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9170         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9171         config/h8300/popcounthi2.c: New files.
9172         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9173         * config/i386/gthr-win32.c: New file.
9174         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9175         * config/i386/t-cygwin: Likewise.
9176         * config/i386/t-darwin, config/i386/t-darwin64,
9177         config/i386/t-gthr-win32, config/i386/t-interix: New files.
9178         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9179         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9180         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9181         * config/ia64/quadlib.c: New file.
9182         * config/ia64/t-hpux (LIB2ADD): Set.
9183         * config/ia64/t-ia64: Add comment.
9184         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9185         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9186         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9187         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9188         * config/m32c/t-m32c (LIB2ADD): Set.
9189         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9190         * config/m32r/t-m32r: Likewise.
9191         * config/m68k/fpgnulib.c: New file.
9192         * config/m68k/t-floatlib (LIB2ADD): Set.
9193         (xfgnulib.c): New target.
9194         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9195         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9196         * config/mep/t-mep (LIB2ADD): Set.
9197         * config/microblaze/divsi3.asm: Rename to divsi3.S.
9198         * config/microblaze/moddi3.asm: Rename to moddi3.S.
9199         * config/microblaze/modsi3.asm: Rename to modsi3.S.
9200         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9201         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9202         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9203         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9204         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9205         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9206         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9207         New files.
9208         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9209         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9210         * config/pa/fptr.c, config/pa/lib2funcs.S,
9211         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9212         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9213         (LIB2ADD, LIB2ADD_ST): Set.
9214         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9215         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9216         Set.
9217         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9218         * config/pdp11/t-pdp11: New file.
9219         * config/picochip/libgccExtras/adddi3.S,
9220         config/picochip/libgccExtras/ashlsi3.S,
9221         config/picochip/libgccExtras/ashrsi3.S,
9222         config/picochip/libgccExtras/clzsi2.S,
9223         config/picochip/libgccExtras/cmpsi2.S,
9224         config/picochip/libgccExtras/divmod15.S,
9225         config/picochip/libgccExtras/divmodhi4.S,
9226         config/picochip/libgccExtras/divmodsi4.S,
9227         config/picochip/libgccExtras/lshrsi3.S,
9228         config/picochip/libgccExtras/parityhi2.S,
9229         config/picochip/libgccExtras/popcounthi2.S,
9230         config/picochip/libgccExtras/subdi3.S,
9231         config/picochip/libgccExtras/ucmpsi2.S,
9232         config/picochip/libgccExtras/udivmodhi4.S,
9233         config/picochip/libgccExtras/udivmodsi4.S: New files.
9234         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9235         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9236         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9237         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9238         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9239         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9240         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
9241         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9242         files.
9243         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9244         (HOST_LIBGCC2_CFLAGS): Set.
9245         * config/rs6000/t-darwin64: New file.
9246         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9247         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9248         * config/rs6000/t-ppccomm (LIB2ADD): Add
9249         $(srcdir)/config/rs6000/tramp.S.
9250         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9251         Add  $(srcdir)/config/rs6000/eabi.S.
9252         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9253         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9254         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9255         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9256         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9257         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9258         * config/rs6000/tramp.S: New file.
9259         * config/s390/t-tpf: Remove.
9260         * config/sh/linux-atomic.S: New file.
9261         * config/sh/t-linux (LIB2ADD): Set.
9262         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9263         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9264         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9265         to unwind-dw2.c.
9266         (HOST_LIBGCC2_CFLAGS): Set.
9267         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9268         * config/spu/divmodti4.c, config/spu/divv2df3.c,
9269         config/spu/float_disf.c, config/spu/float_unsdidf.c,
9270         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9271         config/spu/mfc_multi_tag_release.c,
9272         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9273         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9274         config/spu/multi3.c: New files.
9275         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9276         (HOST_LIBGCC2_CFLAGS): Set.
9277         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9278         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9279         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9280         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9281         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9282         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9283         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9284         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9285         config/stormy16/umodsi3.c: New files.
9286         * config/xtensa/lib2funcs.S: New file.
9287         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9288         * config/xtensa/t-xtensa (LIB2ADD): Set.
9289         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9290         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9291         Add t-freebsd-thread to tmake_file for posix threads.
9292         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9293         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9294         (*-*-lynxos*): Likewise.
9295         (*-*-netbsd*): Likewise.
9296         (*-*-openbsd*): Likewise.
9297         Add t-openbsd-thread to tmake_file for posix threads.
9298         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9299         (*-*-vxworks*): Set tmake_file.
9300         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9301         (alpha*-*-freebsd*): Likewise.
9302         (alpha*-*-netbsd*): Likewise.
9303         (alpha*-*-openbsd*): Likewise.
9304         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9305         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9306         (alpha*-dec-*vms*): Likewise.
9307         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9308         (bfin*-elf*): Add bfin/t-elf to tmake_file.
9309         (bfin*-uclinux*): Likewise.
9310         (bfin*-linux-uclibc*): Likewise.
9311         (crisv32-*-elf): Add cris/t-cris to tmake_file.
9312         (crisv32-*-none): Likewise.
9313         (cris-*-elf): Likewise.
9314         (cris-*-none): Likewise.
9315         (cris-*-linux*, crisv32-*-linux*): Likewise.
9316         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9317         tmake_file.
9318         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9319         tmake_file.
9320         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9321         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9322         (x86_64-*-elf*): Likewise.
9323         (i[34567]86-*-nto-qnx*): Likewise.
9324         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9325         win32 threads.
9326         (x86_64-*-mingw*): Likewise.
9327         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9328         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9329         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9330         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9331         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9332         tmake_file.
9333         (mipsisa64sr71k-*-elf*): Likewise.
9334         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9335         (mips-*-elf*, mipsel-*-elf*): Likewise.
9336         (mips64-*-elf*, mips64el-*-elf*): Likewise.
9337         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9338         (mips*-*-rtems*): Likewise.
9339         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9340         to tmake_file.
9341         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9342         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9343         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9344         (spu-*-elf*): Likewise.
9345         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9347 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9349         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9350         $(srcdir) to refer to $(LIB1ASMSRC).
9351         Use $<.
9352         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9353         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9354         config/arm/lib1funcs.S: New files.
9355         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9356         * config/arm/t-arm: New file.
9357         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9358         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9359         config/arm/t-strongarm-elf: New files.
9360         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9361         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9362         * config/avr/lib1funcs.S: New file.
9363         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9364         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9365         * config/c6x/lib1funcs.S: New file.
9366         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9367         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9368         * config/frv/lib1funcs.S: New file.
9369         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9370         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9371         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9372         * config/ia64/__divxf3.asm: Rename to ...
9373         * config/ia64/__divxf3.S: ... this.
9374         Adapt lib1funcs.asm filename.
9375         * config/ia64/_fixtfdi.asm: Rename to ...
9376         * config/ia64/_fixtfdi.S: ... this.
9377         Adapt lib1funcs.asm filename.
9378         * config/ia64/_fixunstfdi.asm: Rename to ...
9379         * config/ia64/_fixunstfdi.S: ... this.
9380         Adapt lib1funcs.asm filename.
9381         * config/ia64/_floatditf.asm: Rename to ...
9382         * config/ia64/_floatditf.S: ... this.
9383         Adapt lib1funcs.asm filename.
9384         * config/ia64/lib1funcs.S: New file.
9385         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9386         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9387         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9388         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9389         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9390         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9391         * config/mep/lib1funcs.S: New file.
9392         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9393         * config/mips/mips16.S: New file.
9394         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9395         * config/pa/milli64.S: New file.
9396         * config/pa/t-linux, config/pa/t-linux64: New files.
9397         * config/picochip/lib1funcs.S: New file.
9398         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9399         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9400         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9401         * config/sh/t-netbsd: New file.
9402         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9403         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9404         * config/sh/t-sh64: New file.
9405         * config/sparc/lb1spc.S: New file.
9406         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9407         filename.
9408         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9409         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9410         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9411         config/xtensa/lib1funcs.S: New files.
9412         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9413         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9414         tmake_file.
9415         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9416         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9417         (arm*-*-linux*): Likewise.
9418         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9419         arm*-*-linux-*eabi, add arm/t-linux otherwise.
9420         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9421         (arm*-*-ecos-elf): Likewise.
9422         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9423         (arm*-*-rtems*): Likewise.
9424         (arm*-*-elf): Likewise.
9425         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9426         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9427         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9428         (bfin*-uclinux*): Likewise.
9429         (bfin*-linux-uclibc*): Likewise.
9430         (bfin*-rtems*): Likewise.
9431         (bfin*-*): Likewise.
9432         (fido-*-elf): Merge into m68k-*-elf*.
9433         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9434         (frv-*-*linux*): Add frv/t-frv to tmake_file.
9435         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9436         (h8300-*-elf*): Likewise.
9437         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9438         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9439         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9440         (i[34567]86-*-mingw*): Likewise.
9441         (x86_64-*-mingw*): Likewise.
9442         (i[34567]86-*-interix3*): Likewise.
9443         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9444         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9445         (m68k-*-elf*): Also handle fido-*-elf.
9446         Add m68k/t-floatlib to tmake_file.
9447         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9448         (m68k-*-linux*): Likewise.
9449         (m68k-*-rtems*): Likewise.
9450         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9451         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9452         sh64*-*-*.
9453         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9454         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9455         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9456         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9457         sh/t-netbsd to tmake_file.
9458         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9459         (sh-*-rtems*): Add sh/t-sh to tmake_file.
9460         (sh-wrs-vxworks): Likewise.
9461         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9462         *-leon[3-9]*.
9463         (v850*-*-*): Add v850/t-v850 to tmake_file.
9464         (vax-*-linux*): Add vax/t-linux to tmake_file.
9465         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9467 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9469         * crtstuff.c: New file.
9470         * Makefile.in (CRTSTUFF_CFLAGS): Define.
9471         (CRTSTUFF_T_CFLAGS): Define.
9472         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9473         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9474         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9475         crtstuff.c.
9476         Use $<.
9477         (crtbeginT.o): Use $(objext).
9478         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9479         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9480         (gcc-extra-parts): Remove.
9481         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9482         Set extra_parts.
9483         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9484         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9485         Add t-crtstuff-pic to tmake_file.
9486         (*-*-lynxos*): New case.
9487         Set tmake_file, extra_parts.
9488         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9489         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9490         *-*-netbsdelf[2-9]*.
9491         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9492         (*-*-rtems*): Set extra_parts.
9493         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9494         (*-*-uclinux*): New case.
9495         Set extra_parts.
9496         (*-*-vms*): New case.
9497         Set tmake_file, extra_parts.
9498         (*-*-elf): Set extra_parts.
9499         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9500         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9501         vms/t-vms64.
9502         Set extra_parts.
9503         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9504         Set extra_parts.
9505         (arm*-*-freebsd*): Add t-crtin to tmake_file.
9506         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9507         (arm-wrs-vxworks): Append to tmake_file.
9508         Set extra_parts.
9509         (arm*-*-uclinux*): Set extra_parts.
9510         (arm*-*-ecos-elf): Likewise.
9511         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9512         arm*-*-eabi*.
9513         (arm*-*-rtems*): Set extra_parts.
9514         (arm*-*-elf): Likewise.
9515         (avr-*-rtems*): Clear extra_parts.
9516         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9517         Set extra_parts.
9518         (bfin*-uclinux*): Likewise.
9519         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9520         (bfin*-rtems*): Append to tmake_file.
9521         Set extra_parts.
9522         (bfin*-*): Likewise.
9523         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9524         (crisv32-*-elf): ... this.
9525         (crisv32-*-none): ... this.
9526         (cris-*-elf, cris-*-none): New cases.
9527         Add cris/t-elfmulti to tmake_file.
9528         (fr30-*-elf): Append to tmake_file.
9529         Set extra_parts.
9530         (frv-*-elf): Append to tmake_file, add frv/t-frv.
9531         Set extra_parts.
9532         (h8300-*-rtems*): Append to tmake_file.
9533         Set extra_parts.
9534         (h8300-*-elf*): Likewise.
9535         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9536         Set extra_parts.
9537         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9538         Set extra_parts.
9539         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9540         (x86_64-*-elf*): Likewise.
9541         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9542         (x86_64-*-freebsd*): Likewise.
9543         (x86_64-*-netbsd*): Likewise.
9544         (i[34567]86-*-linux*): Likewise.
9545         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9546         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9547         (x86_64-*-linux*): Likewise.
9548         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9549         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9550         tmake_file.
9551         Set extra_parts.
9552         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9553         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9554         Append to extra_parts, remove crtbegin.o, crtend.o.
9555         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9556         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9557         crtend.o, crtbeginS.o, crtendS.o.
9558         (ia64*-*-linux*): Comment extra_parts.
9559         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9560         Set extra_parts.
9561         (iq2000*-*-elf*): Clear extra_parts.
9562         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9563         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9564         (m32r-*-elf*, m32r-*-rtems*): Split off ...
9565         (m32r-*-rtems*): ... this.
9566         Add m32r/t-m32r to tmake_file.
9567         (m68k-*-elf*): Add t-crtin to tmake_file.
9568         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9569         (mcore-*-elf): Likewise.
9570         (microblaze*-*-*): Set extra_parts.
9571         (mips*-sde-elf*): New case.
9572         Set tmake_file, extra_parts.
9573         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9574         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9575         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9576         tmake_file.
9577         Set extra_parts.
9578         (mipsisa64sr71k-*-elf*): Likewise.
9579         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9580         (mips-*-elf*, mipsel-*-elf*): Likewise.
9581         (mips64-*-elf*, mips64el-*-elf*): Likewise.
9582         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9583         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
9584         (mips*-*-rtems*): Likewise.
9585         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9586         (moxie-*-*): Split into ...
9587         (moxie-*-elf, moxie-*-uclinux*): ... this.
9588         Add to extra_parts, remove crtbegin.o, crtend.o.
9589         (moxie-*-rtems*): New case.
9590         Set tmake_file.
9591         Clear extra_parts.
9592         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9593         Set extra_parts.
9594         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9595         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9596         tmake_file.
9597         Set extra_parts.
9598         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9599         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9600         Set extra_parts.
9601         (powerpc-*-eabisim*): Likewise.
9602         (powerpc-*-elf*): Likewise.
9603         (powerpc-*-eabialtivec*): Likewise.
9604         (powerpc-xilinx-eabi*): Likewise.
9605         (powerpc-*-eabi*): Likewise.
9606         (powerpc-*-rtems*): Likewise.
9607         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9608         tmake_file.
9609         Set extra_parts.
9610         (powerpc-*-lynxos*): Add to tmake_file.
9611         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9612         rs6000/t-crtstuff, t-crtstuff-pic.
9613         Set extra_parts.
9614         (powerpcle-*-eabisim*): Likewise.
9615         (powerpcle-*-eabi*): Likewise.
9616         (rx-*-elf): Remove extra_parts.
9617         (s390x-ibm-tpf*): Set extra_parts.
9618         (score-*-elf): Set extra_parts.
9619         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9620         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9621         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9622         (sh64l*-*-netbsd*): Split into ...
9623         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9624         Add t-crtstuff-pic to tmake_file.
9625         Set extra_parts.
9626         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9627         Set extra_parts.
9628         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9629         (sparc-*-elf*): Remove t-crtin from tmake_file.
9630         Add to extra_parts, remove crtbegin.o, crtend.o.
9631         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9632         (sparc64-*-linux*): Likewise.
9633         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9634         Add to extra_parts, remove crtbegin.o, crtend.o.
9635         (sparc64-*-elf*): Remove t-crtin from tmake_file.
9636         Add to extra_parts, remove crtbegin.o, crtend.o.
9637         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9638         Add to extra_parts, remove crtbegin.o, crtend.o.
9639         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9640         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9641         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9642         Set extra_parts.
9643         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9644         Set extra_parts.
9645         (tic6x-*-*): Change to ...
9646         (tic6x-*-elf): ... this.
9647         Set extra_parts.
9648         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9649         Set extra_parts.
9650         (am33_2.0-*-linux*): Add comment.
9651         (mep*-*-*): Add mep/t-mep to tmake_file.
9652         Set extra_parts.
9653         * config/alpha/t-vms: New file.
9654         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9655         * config/arm/crti.S, config/arm/crtn.S: New files.
9656         * config/bfin/crti.S, config/bfin/crtn.S: New files.
9657         * config/bfin/crtlibid.S: New file.
9658         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9659         * config/c6x/crti.S, config/c6x/crtn.S: New files.
9660         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9661         (crti.o, crtin.o): New rules.
9662         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9663         * config/c6x/t-uclinux: New file.
9664         * config/cris/t-elfmulti: New file.
9665         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9666         * config/fr30/crti.S, config/fr30/crtn.S: New files.
9667         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9668         * config/frv/t-frv: New file.
9669         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9670         * config/h8300/crti.S, config/h8300/crtn.S: New files.
9671         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9672         New files.
9673         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9674         refer to cygming-crtbegin.c, cygming-crtend.c.
9675         Use $<.
9676         * config/i386/t-nto: New file.
9677         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9678         * config/ia64/crti.S, config/ia64/crtn.S: New files.
9679         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9680         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9681         Use .S extension.
9682         Use $<.
9683         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9684         (crtinitS.o): New rule.
9685         * config/ia64/vms-crtinit.S: New file.
9686         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9687         * config/m32r/initfini.c: New file.
9688         * config/m32r/t-linux, config/m32r/t-m32r: New files.
9689         * config/m68k/crti.S, config/m68k/crtn.S: New files.
9690         * config/mcore/crti.S, config/mcore/crtn.S: New files.
9691         * config/mep/t-mep: New file.
9692         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9693         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9694         * config/mips/crti.S, config/mips/crtn.S: New files.
9695         * config/mips/t-crtstuff: New file.
9696         * config/mmix/crti.S, config/mmix/crtn.S: New files.
9697         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9698         (CUSTOM_CRTIN): Set.
9699         ($(T)crti.o, $(T)crtn.o): Remove $(T),
9700         dependencies.
9701         Use $(srcdir) to refer to crti.S, crtn.S.
9702         Use .S extension, $<.
9703         * config/moxie/crti.asm: Rename to ...
9704         * config/moxie/crti.S: ... this.
9705         * config/moxie/crtn.asm: Rename to ...
9706         * config/moxie/crtn.S: ... this.
9707         * config/moxie/t-moxie: Remove.
9708         * config/pa/stublib.c: New file.
9709         * config/pa/t-stublib, config/pa/t-stublib64: New files.
9710         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9711         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9712         * config/rs6000/t-crtstuff: New file.
9713         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9714         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9715         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9716         Make output file explicit.
9717         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9718         Make output file explicit.
9719         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9720         Make output file explicit.
9721         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9722         Make output file explicit.
9723         * config/score/crti.S, config/score/crtn.S: New files.
9724         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9725         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9726         files.
9727         * config/sh/t-sh, config/sh/t-superh: New files.
9728         * config/sparc/t-linux64: New file.
9729         * config/spu/cache.S, config/spu/cachemgr.c: New files.
9730         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9731         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9732         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9733         * config/t-crtin: Remove.
9734         * config/t-crtstuff-pic: New file.
9735         * config/t-sol2 (CUSTOM_CRTIN): Set.
9736         (crti.o, crtn.o): New rules.
9737         * config/vms/t-vms: New file.
9738         * config/vms/vms-ucrt0.c: New file.
9739         * config/xtensa/t-elf: New file.
9741 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9743         * Makefile.in (SHLIB_NM_FLAGS): Set.
9744         * mkmap-flat.awk, mkmap-symver.awk: New files.
9745         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9746         exceptions.
9747         * configure: Regenerate.
9748         * config/libgcc-glibc.ver: New file.
9749         * config/libgcc-libsystem.ver: New file.
9750         * config/t-libunwind (SHLIB_LC): Set.
9751         * config/t-linux: New file.
9752         * config/t-slibgcc (INSTALL_SHLIB): New.
9753         (SHLIB_INSTALL): Use it.
9754         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9755         to mkmap-symver.awk.
9756         (SHLIB_MAPFILES): Don't append, adapt pathname.
9757         (SHLIB_VERPFX): Set.
9758         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9759         to mkmap-symver.awk.
9760         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9761         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9762         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9763         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9764         to mkmap-flat.awk.
9765         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9766         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9767         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9768         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9769         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9770         * config/i386/libgcc-darwin.10.4.ver,
9771         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9772         New files.
9773         * config/i386/t-darwin: Remove.
9774         * config/i386/t-darwin64: Likewise.
9775         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9776         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9777         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9778         * config/i386/t-linux: New file.
9779         * config/i386/t-mingw32: New file.
9780         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9781         * config/ia64/t-glibc: Rename to ...
9782         * config/ia64/t-linux: ... this.
9783         (SHLIB_MAPFILES): Set.
9784         * config/ia64/t-glibc-libunwind: Rename to ...
9785         * config/ia64/t-linux-libunwind: ... this.
9786         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9787         * config/ia64/t-slibgcc-hpux: New file.
9788         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9789         * config/m68k/t-slibgcc-elf-ver: New file.
9790         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9791         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9792         to mkmap-flat.awk.
9793         * config/pa/t-slibgcc-hpux: New file.
9794         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9795         files.
9796         * config/rs6000/libgcc-darwin.10.4.ver,
9797         config/rs6000/libgcc-darwin.10.5.ver: New files.
9798         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9799         config/rs6000/libgcc-glibc.ver.
9800         * config/rs6000/libgcc-ppc64.ver: Rename to
9801         config/rs6000/libgcc-ibm-ldouble.ver.
9802         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9803         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9804         * config/rs6000/t-ldbl128: Rename to ...
9805         * config/rs6000/t-linux: ... this.
9806         (SHLIB_MAPFILES): Adapt filename.
9807         * config/rs6000/t-slibgcc-aix: New file.
9808         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9809         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9810         libgcc-excl.ver, libgcc-glibc.ver.
9811         (SHLIB_LINK, SHLIB_INSTALL): Remove.
9812         * config/sparc/libgcc-glibc.ver: New file.
9813         * config/sparc/t-linux: New file.
9814         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9815         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9816         t-slibgcc-elf-ver to tmake_file.
9817         Add t-slibgcc-nolc-override to tmake_file for posix threads on
9818         *-*-freebsd[34].
9819         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9820         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9821         t-slibgcc-elf-ver, t-linux to tmake_file.
9822         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9823         tmake_file.
9824         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9825         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9826         (alpha*-dec-*vms*): Likewise.
9827         (arm*-*-freebsd*): Append to tmake_file.
9828         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9829         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9830         arm*-*-linux-*eabi.
9831         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9832         tmake_file for arm*-*-symbianelf*.
9833         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9834         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9835         cris/t-linux.
9836         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9837         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9838         pa/t-slibgcc-dwarf-ver to tmake_file.
9839         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9840         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9841         (hppa*64*-*-hpux11*): Likewise.
9842         (hppa[12]*-*-hpux11*): Likewise.
9843         (x86_64-*-darwin*): Don't override tmake_file, but only keep
9844         i386/t-crtpc, i386/t-crtfm.
9845         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9846         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9847         to tmake_file.
9848         Add i386/t-cygwin to tmake_file.
9849         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9850         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9851         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9852         to tmake_file.
9853         Add i386/t-mingw32 to tmake_file.
9854         (x86_64-*-mingw*): Likewise.
9855         (ia64*-*-freebsd*): Append to tmake_file.
9856         (ia64*-*-linux*): Append to tmake_file.
9857         Replace ia64/t-glibc by ia64/t-linux.
9858         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9859         system libunwind.
9860         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9861         t-slibgcc-hpux to tmake_file.
9862         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9863         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9864         (m32rle-*-linux*): Likewise.
9865         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9866         sjlj exceptions.
9867         (microblaze*-linux*): New case.
9868         Append to tmake_file, add t-slibgcc-nolc-override.
9869         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9870         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9871         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9872         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9873         rs6000/t-slibgcc-aix to tmake_file.
9874         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9875         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9876         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9877         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9878         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9879         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9880         sh*-*-linux*.
9881         (sparc-*-linux*): Append to tmake_file for *-leon*.
9882         Add sparc/t-linux to tmake_file for non-Leon targets.
9883         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9884         (tic6x-*-uclinux): New case.
9885         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9886         (tic6x-*-*): Add c6x/t-elf to tmake_file.
9887         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9888         (am33_2.0-*-linux*): Append to tmake_file.
9889         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9890         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9891         x86_64-*-kfreebsd*-gnu.
9892         Add i386/t-linux to tmake_file.
9894 2011-10-28  Ian Lance Taylor  <iant@google.com>
9896         * config/i386/morestack.S: Correct CFI information to do proper
9897         returns throughout function.  In 32-bit mode, save %ebx so that it
9898         is restored on unwind.
9900 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
9902         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9903         case where B3 isn't the return register.
9905         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9906         logic for doubleword pops.
9908 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
9910         * config/rs6000/t-freebsd: Add wildcard.
9912 2011-10-21  Paul Brook  <paul@codesourcery.com>
9914         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9916 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
9917             Eric Botcazou  <ebotcazou@adacore.com>
9919         PR target/50737
9920         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9921         fs->signal_frame to 1.
9923 2011-10-07  Ian Lance Taylor  <iant@google.com>
9925         * generic-morestack-thread.c: #include <errno.h>.
9927 2011-10-07  Ian Lance Taylor  <iant@google.com>
9929         PR target/46093
9930         * generic-morestack.c (__generic_morestack): Make sure the segment
9931         is large enough for both the stack frame and the copied
9932         parameters.
9934 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9936         PR bootstrap/49804
9937         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9938         extra_parts.
9940 2011-09-28  Nick Clifton  <nickc@redhat.com>
9942         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9943         64-bit doubles are not enabled.
9944         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9945         and floatunsisf functions.
9947 2011-09-13  Paul Brook  <paul@codesourcery.com>
9949         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
9950         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9951         * unwind-arm-common.inc: New file.
9952         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9953         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9954         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9955         * config/c6x/libunwind.S: New file.
9956         * config/c6x/pr-support.c: New file.
9957         * config/c6x/unwind-c6x.c: New file.
9958         * config/c6x/unwind-c6x.h: New file.
9959         * config/c6x/t-c6x-elf: New file.
9961 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
9963         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9964         (ASM_DIVZERO): Ditto.
9965         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9967 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
9969         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9971 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
9973         PR target/50090
9974         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9975         instead of an assembly one.
9977 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
9979         PR bootstrap/50047
9980         * Makefile.in (install-unwind_h): Create
9981         $(gcc_objdir)/include/unwind.h atomically.
9983 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9985         * Makefile.in (install-unwind_h): Remove destination file first.
9987 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9989         * sync.c: New file.
9990         * config/mips/t-mips16: New file.
9991         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9992         (mips*-*-linux*): Likewise.
9993         (mips*-sde-elf*): Likewise.
9994         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9995         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9996         Add mips/t-mips16 to tmake_file.
9997         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9998         (mips-*-elf*): Likewise.
9999         (mips64-*-elf*): Likewise.
10000         (mips64orion-*-elf*): Likewise.
10001         (mips*-*-rtems*): Likewise.
10002         (mipstx39-*-elf*): Likewise.
10003         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10004         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10005         LIBGCC_SYNC_CFLAGS.
10006         Use $(srcdir) to refer to sync.c.
10007         Use $<.
10008         ($(libgcc-sync-funcs-o)): Likewise.
10009         ($(libgcc-sync-size-funcs-s-o)): Likewise.
10010         ($(libgcc-sync-funcs-s-o)): Likewise.
10012 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10014         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10015         t-libunwind.
10017 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
10019         PR other/48007
10020         * config/i386/value-unwind.h: New.
10022 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
10024         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10025         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10026         Add to tmake_file rather than overriding it.
10028 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10030         * config/t-softfp: Remove.
10031         * soft-fp: Moved from ../gcc/config.
10032         * soft-fp/README: Remove t-softfp reference.
10033         * soft-fp/t-softfp: Move to config/t-softfp.
10034         (softfp_machine_header): Remove.
10035         (softfp_file_list): Remove config subdir.
10036         (soft-fp-objects): New variable.
10037         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10038         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10039         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10040         * config/t-softfp-excl: New file.
10041         * config/t-softfp-sfdf: New file.
10042         * config/t-softfp-tf: New file.
10043         * config/no-sfp-machine.h: New file.
10044         * config/arm/sfp-machine.h: New file.
10045         * config/arm/t-softfp: New file.
10046         * config/c6x/sfp-machine.h: New file.
10047         * config/i386/32/t-fprules-softfp: Rename to ...
10048         * config/i386/32/t-softfp: ... this.
10049         (tifunctions, LIB2ADD): Remove.
10050         (softfp_int_modes): Override.
10051         * config/i386/64/t-softfp-compat (tf-functions): Remove config
10052         subdir.
10053         * config/i386/64/eqtf2.c: Likewise.
10054         * config/i386/64/getf2.c: Likewise.
10055         * config/i386/64/letf2.c: Likewise.
10056         * config/ia64/sft-machine.h: New file.
10057         * config/ia64/t-fprules-softfp: Rename to ...
10058         * config/ia64/t-softfp: ... this.
10059         * config/lm32/sfp-machine.h: New file.
10060         * config/moxie/t-moxie-softfp: Remove.
10061         * config/rs6000/ibm-ldouble-format: New file.
10062         * config/rs6000/ibm-ldouble.c: New file.
10063         * config/rs6000/libgcc-ppc-glibc.ver: New file
10064         * config/rs6000/libgcc-ppc64.ver: New file
10065         * config/rs6000/sfp-machine.h: New file.
10066         * config/rs6000/t-freebsd: New file.
10067         * config/rs6000/t-ibm-ldouble: New file.
10068         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10069         libgcc-ppc-glibc.ver.
10070         * config/rs6000/t-linux64: New file.
10071         * config/rs6000/t-ppccomm (LIB2ADD): Add
10072         $(srcdir)/config/rs6000/ibm-ldouble.c.
10073         * config/rs6000/t-ppccomm-ldbl: New file.
10074         * config/score/sfp-machine.h: New file.
10075         * config.host (sfp_machine_header): Explain.
10076         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10077         t-softfp to tmake_file.
10078         (arm*-*-uclinux*): Likewise.
10079         (arm*-*-ecos-elf): Likewise.
10080         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10081         (arm*-*-rtems*): Likewise.
10082         (arm*-*-elf): Likewise.
10083         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10084         in tmake_file.
10085         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10086         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10087         (lm32-*-uclinux*): Likewise.
10088         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10089         t-softfp-excl, t-softfp.
10090         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10091         (powerpc64-*-darwin*): Likewise.
10092         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10093         to tmake_file.
10094         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10095         tmake_file.
10096         (powerpc-*-eabisim*): Likewise.
10097         (powerpc-*-elf*): Likewise.
10098         (powerpc-*-eabialtivec*): Likewise.
10099         (powerpc-xilinx-eabi*): Likewise.
10100         (powerpc-*-rtems*): Likewise.
10101         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10102         t-softfp-excl, t-softfp to tmake_file.
10103         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10104         rs6000/t-ppccomm-ldbl to tmake_file.
10105         (powerpcle-*-elf*): Likewise.
10106         (powerpcle-*-eabisim*): Likewise.
10107         (powerpcle-*-eabi*): Likewise.
10108         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10109         rs6000/t-ibm-ldouble to tmake_file.
10110         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10111         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10112         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10113         (tic6x-*-*): Likewise.
10114         (i[34567]86-*-darwin*, x86_64-*-darwin*,
10115         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10116         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10117         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10118         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10119         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10120         t-softfp to tmake_file.
10121         * configure.ac (sfp_machine_header): Provide default if unset.
10122         Substitute.
10123         Link sfp-machine.h to config/$sfp_machine_header.
10124         * configure: Regenerate.
10126 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10128         * Makefile.in (double_type_size, long_double_type_size): Set.
10129         Remove $(fpbit-in-libgcc) support.
10130         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10131         (fpbit-src): New variable.
10132         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10133         Compile with -DFLOAT $(FPBIT_CFLAGS).
10134         Use $<.
10135         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10136         Compile with $(FPBIT_CFLAGS).
10137         Use $<.
10138         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10139         Compile with -DFLOAT $(TPBIT_CFLAGS).
10140         Use $<.
10141         * configure.ac (double_type_size, long_double_type_size):
10142         Determine and substitute.
10143         * configure: Regenerate.
10144         * fp-bit.c, fp-bit.h: New files.
10145         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10146         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10147         * config/mips/t-mips: New file.
10148         * config/mips/t-sdemtk: New file.
10149         * config/rs6000/ppc64-fp.c: New file.
10150         * config/rs6000/t-darwin (LIB2ADD): Add
10151         $(srcdir)/config/rs6000/ppc64-fp.c.
10152         * config/rs6000/t-ppc64-fp: New file.
10153         * config/rx/rx-lib.h: New file.
10154         * config/rx/t-rx (FPBIT): Set to true.
10155         ($(gcc_objdir)/fp-bit.c): Remove.
10156         (DPBIT): Set to true only with -m64bit-doubles.
10157         ($(gcc_objdir)/dp-bit.c): Remove.
10158         * config/sparc/t-softfp: Remove.
10159         * config/spu/t-elf: New file.
10160         * config/t-fdpbit, config/t-fpbit: New files.
10161         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10162         (mips*-*-*): Likewise.
10163         (arm-wrs-vxworks): Likewise.
10164         (arm*-*-freebsd*): Likewise.
10165         (avr-*-rtems*): Add t-fpbit to tmake_file.
10166         (avr-*-*): Likewise.
10167         (bfin*-elf*): Add t-fdpbit to tmake_file.
10168         (bfin*-uclinux*): Likewise.
10169         (bfin*-linux-uclibc*): Likewise.
10170         (bfin*-rtems*): New case.
10171         Add t-fdpbit to tmake_file.
10172         (bfin*-*): Add t-fdpbit to tmake_file.
10173         (crisv32-*-elf): Likewise.
10174         (cris-*-linux*): Likewise.
10175         (fr30-*-elf): Likewise.
10176         (frv-*-elf, frv-*-*linux*): Likewise.
10177         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10178         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10179         (m32r-*-elf*): Likewise.
10180         (m32rle-*-elf*): Likewise.
10181         (m32r-*-linux*): Likewise.
10182         (m32rle-*-linux*): Likewise.
10183         (mcore-*-elf): Add t-fdpbit to tmake_file.
10184         (microblaze*-*-*): Likewise.
10185         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10186         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10187         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10188         Fix typo.
10189         Add mips/t-tpbit to tmake-file.
10190         (mips*-*-linux*): Fix typo.
10191         (mips*-sde-elf*): New case
10192         Add mips/t-sdemtk unless using newlib.
10193         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10194         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10195         (mn10300-*-*): Likewise.
10196         (pdp11-*-*): Likewise.
10197         (picochip-*-*): Add t-fpbit to tmake_file.
10198         (powerpc-*-eabisimaltivec*): Likewise.
10199         (powerpc-*-eabisim*): Likewise.
10200         (powerpc-*-elf*): Likewise.
10201         (powerpc-*-eabialtivec*): Likewise.
10202         (powerpc-xilinx-eabi*): New case.
10203         Add t-fdpbit to tmake_file.
10204         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
10205         (powerpc-*-rtems*): Likewise.
10206         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10207         tmake_file.
10208         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10209         tmake_file.
10210         (powerpc-*-lynxos*): Likewise.
10211         (powerpcle-*-elf*): Likewise.
10212         (powerpcle-*-eabisim*): Likewise.
10213         (powerpcle-*-eabi*): Likewise.
10214         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10215         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10216         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10217         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10218         (rx-*-elf): Add t-fdpbit to tmake_file.
10219         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10220         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10221         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10222         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10223         sh*-*-netbsd*.
10224         (sh-*-rtems*): Add t-fdpbit to tmake_file.
10225         (sh-wrs-vxworks): Likewise.
10226         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10227         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10228         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10229         (sparc64-*-rtems*): ... new case.
10230         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10231         (spu-*-elf*): Likewise.
10232         Add spu/t-elf to tmake_file.
10233         (v850*-*-*): Add t-fdpbit to tmake_file.
10234         (xstormy16-*-elf): Likewise.
10235         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10236         (mep*-*-*): Likewise.
10238 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10240         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10241         variables.
10242         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10243         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10244         (install-unwind_h): New target.
10245         (all): Depend on it.
10246         * config.host (unwind_header): New variable.
10247         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10248         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10249         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10250         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10251         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10252         Set unwind_header.
10253         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10254         Set unwind_header.
10255         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10256         arm*-*-eabi*.
10257         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10258         Set unwind_header.
10259         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10260         (ia64*-*-freebsd*): Likewise.
10261         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10262         tmake_file.
10263         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10264         $with_system_libunwind.
10265         (ia64*-*-hpux*): Set tmake_file.
10266         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10267         (picochip-*-*): Set tmake_file.
10268         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10269         md_unwind_header.
10270         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10271         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10272         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10273         (xtensa*-*-elf*): Set tmake_file.
10274         (xtensa*-*-linux*): Likewise.
10275         * configure.ac: Include ../config/unwind_ipinfo.m4.
10276         Call GCC_CHECK_UNWIND_GETIPINFO.
10277         Link unwind.h to $unwind_header.
10278         * configure: Regenerate.
10279         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10280         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10281         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10282         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10283         * config/unwind-dw2-fde-darwin.c: New file.
10284         * config/arm/libunwind.S, config/arm/pr-support.c,
10285         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10286         config/arm/unwind-arm.h,: New files.
10287         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10288         config/ia64/t-eh-ia64, config/ia64/t-glibc,
10289         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10290         config/ia64/t-vms, config/ia64/unwind-ia64.c,
10291         config/ia64/unwind-ia64.h: New files.
10292         * config/picochip/t-picochip: New file.
10293         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10294         files.
10295         * config/rs6000/t-darwin (LIB2ADDEH): Set.
10296         * config/s390/t-tpf (LIB2ADDEH): Remove.
10297         * config/t-darwin (LIB2ADDEH): Set.
10298         * config/t-eh-dw2-dip: New file.
10299         * config/t-libunwind, config/t-libunwind-elf: New files.
10300         * config/t-sol2 (LIB2ADDEH): Remove.
10301         * config/xtensa/t-xtensa: New file.
10303 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
10305         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10306         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10307         long long to check rt_sigreturn syscall.
10309 2011-08-02  Alan Modra  <amodra@gmail.com>
10311         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10312         Restore for indirect call bcrtl from correct stack slot, and only
10313         if cfa+40 isn't valid.
10315 2011-08-01  Julian Brown  <julian@codesourcery.com>
10317         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10318         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10319         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10321 2011-08-01  Julian Brown  <julian@codesourcery.com>
10323         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10324         (libgcc-std.ver.in): Use above.
10325         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10326         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
10327         throughout file.
10328         * config/t-fixedpoint-gnu-prefix: New file.
10329         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10330         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10331         instead of __PFX__.
10333 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10335         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10336         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10337         for x86-64.  Properly check __x86_64__ and __LP64__.
10339 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10341         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10342         version.
10343         (_FP_WS_TYPE): Likewise.
10344         (_FP_I_TYPE): Likewise.
10346 2011-07-28  Alan Modra  <amodra@gmail.com>
10348         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10349         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10350         in a plt call stub.  Do restore r2 if stopped on bctrl.
10352 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10354         * config.host (i[3456x]86-*-netware*): Remove.
10355         * config/i386/netware-crt0.c, config/i386/t-nwld,
10356         config/i386/t-slibgcc-nwld: Remove.
10358 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
10360         * config.host: Handle tic6x-*-*.
10361         * config/c6x/c6x-abi.h: New file.
10363 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10365         * config/i386/crtprec.c: New file.
10366         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10367         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10368         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10369         (x86_64-*-darwin*): Likewise.
10370         (i[34567]86-*-solaris2*: Likewise.
10372 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10374         * config/alpha/crtfastmath.c: New file.
10375         * config/i386/crtfastmath.c: New file.
10376         * config/ia64/crtfastmath.c: New file.
10377         * config/mips/crtfastmath.c: New file.
10378         * config/sparc/crtfastmath.c: New file.
10380         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10381         crtfastmath.c.
10382         Add -frandom-seed=gcc-crtfastmath.
10383         * config/alpha/t-crtfm: Remove.
10384         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10385         * config/ia64/t-ia64 (crtfastmath.o): Remove.
10387         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10388         (alpha*-dec-osf5.1*): Likewise.
10389         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10390         Add crtfastmath.o to extra_parts.
10391         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10392         Add crtfastmath.o to extra_parts.
10393         (x86_64-*-darwin*): Likewise.
10394         (x86_64-*-mingw*): Likewise.
10395         (ia64*-*-elf*): Add t-crtfm to tmake_file.
10396         (ia64*-*-freebsd*): Likewise.
10397         (ia64*-*-linux*): Likewise.
10398         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10399         Add crtfastmath.o to extra_parts.
10401 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10403         * config/darwin-crt3.o: New file.
10404         * config/rs6000/darwin-crt2.c: New file.
10405         * config/t-darwin: New file.
10406         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10407         (crt2.o): New rule.
10408         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10409         (powerpc-*-darwin*): Add crt2.o to extra_parts.
10410         (powerpc64-*-darwin*): Likewise.
10412 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10414         * config/i386/netware-crt0.c: New file.
10415         * config/i386/t-nwld: Rename to ...
10416         * config/i386/t-slibgcc-nwld: ... this.
10417         * config/i386/t-nwld: New file.
10418         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10419         tmake_file.
10420         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10421         extra_parts.
10423 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10425         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10426         i386/t-crtstuff.
10427         * configure: Regenerate.
10429 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10431         * dfp-bit.c, dfp-bit.h: New files.
10432         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10433         variables.
10434         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10435         ($(d64pbit-o)): Likewise.
10436         ($(d128pbit-o)): Likewise.
10437         * config/t-dfprules: New file.
10438         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10439         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10440         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10441         (x86_64-*-linux*): Likewise.
10442         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10443         (i[34567]86-*-cygwin*): Likewise.
10444         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
10445         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10447 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10449         * Makfile.in (LIBGCOV): New variable.
10450         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10451         * libgcov.c: New file.
10453 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10455         * fixed-bit.c, fixed-bit.h: New files.
10456         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10457         refer to fixed-bit.c.
10459 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
10461         * config.host (*local*): Remove.
10463 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10465         PR target/39150
10466         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10467         like i?86-*-solaris2.1[0-9]*.
10468         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10469         * configure.ac (i?86-*-solaris2*): Likewise.
10470         * configure: Regenerate.
10472 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
10474         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10475         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10476         md_unwind_header by splitting out of...
10477         (i[34567]86-*-linux*): ... this.
10478         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10479         Remove md_unwind_header by splitting out of...
10480         (x86_64-*-linux*): ... this.
10482 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
10484         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10486 2011-06-28  Nick Clifton  <nickc@redhat.com>
10488         * config.host: Recognize all V850 variants.
10490 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
10492         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10494 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10496         * shared-object.mk (c_flags-$o): Save c_flags.
10497         ($(base)$(objext)): Use it.
10498         ($(base)_s$(objext)): Likewise.
10500 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
10502         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10503         * libgcc-std.ver.in (GCC_4.7.0): New section.
10505 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
10507         PR target/49313
10508         PR target/29524
10509         * config/avr/t-avr: Fix line endings.
10510         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
10511         _parityXX2.
10513 2011-06-14  Olivier Hainque  <hainque@adacore.com>
10514             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10516         * config/mips/irix6-unwind.h: New file.
10517         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10519 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
10521         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10522         (sparc64_fallback_frame_state): Use it.
10523         (sparc64_frob_update_context): Further adjust context.
10524         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10525         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10526         * config/sparc/sol2-cn.S: Likewise.
10528 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10530         * enable-execute-stack-empty.c: New file.
10531         * enable-execute-stack-mprotect.c: New file.
10532         * config/i386/enable-execute-stack-mingw32.c: New file.
10533         * config.host (enable_execute_stack): New variable.
10534         Select appropriate variants.
10535         * configure.ac: Link enable-execute-stack.c to
10536         $enable_execute_stack.
10537         * configure: Regenerate.
10538         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10539         (lib2funcs): Remove _enable_execute_stack.
10541 2011-06-09  David S. Miller  <davem@davemloft.net>
10542             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10544         * config.host (sparc-*-linux*): Correct md_unwind_header
10545         filename.
10546         (s390x-ibm-tpf*): Fix typo.
10548 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10550         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10551         Add crtfastmath.o to extra_parts.
10552         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10553         mips/t-crtfm.
10554         * config/mips/t-crtfm: Remove.
10556 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10558         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10560 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10562         * config.host (sh*-*-linux*): Fix typo.
10564 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10566         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10567         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10568         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10569         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10570         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10571         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10572         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10573         Wrap in !__MINGW64__.
10574         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10575         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10576         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10577         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10578         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10579         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10580         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10581         Wrap in !__LP64__.
10582         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10583         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10584         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10585         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10586         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10587         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10588         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10589         * config/no-unwind.h: New file.
10590         * config.host (md_unwind_header): Document.
10591         Define.
10592         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10593         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10594         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10595         hppa[12]*-*-hpux11*): Set md_unwind_header.
10596         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10597         Set md_unwind_header.
10598         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10599         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10600         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10601         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10602         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10603         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10604         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10605         md_unwind_header.
10606         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10607         * configure: Regenerate.
10609 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10611         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10612         Set tmake_file, extra_parts.
10613         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10614         Remove O32 support.
10615         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10616         Remove O32 support.
10617         * config/mips/t-irix6: New file.
10618         * config/mips/t-slibgcc-irix: New file.
10620 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10622         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10623         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10625 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10627         * configure.ac (target_thread_file): Determine thread model.
10628         * configure: Regenerate.
10629         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10630         * config/alpha/t-alpha: New file.
10631         * config/alpha/t-crtfm: Use $<.
10632         * config/alpha/t-ieee: New file.
10633         * config/alpha/t-osf-pthread: New file.
10634         * config/alpha/t-slibgcc-osf: New file.
10635         * config/alpha/libgcc-osf5.ver: New file.
10637 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10639         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10640         tmake_file.
10641         Add crtfastmath.o to extra_parts.
10643 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10645         * config/gmon-sol2.c: Reindent.
10646         Cleanup comments.
10647         Remove, correct casts.
10648         Use STDERR_FILENO, NULL.
10649         (BASEADDRESS): Remove.
10650         (minbrk): Remove.
10651         (errno, sbrk): Remove declarations.
10652         (monstartup) [hp300]: Remove.
10653         (mcount): Remove.
10655 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10657         * Makefile.in (cpu_type): Define.
10658         * config.host (i[34567]86-*-rtems*): Handle it.
10659         (i[34567]86-*-solaris2*): Move body ...
10660         (*-*-solaris2*): ... here.
10661         New case, generalize.
10662         (sparc-*-elf*): Handle it.
10663         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10664         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10665         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10666         Fold into ...
10667         (sparc*-*-solaris2*): ... this.
10668         New case.
10669         (sparc64-*-elf*): Handle it.
10670         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10671         Merge ../gcc/config/i386/gmon-sol2.c.
10672         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10673         Use C comments.
10674         Merge ../gcc/config/i386/sol2-gc1.asm.
10675         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10676         Use C comments.
10677         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10678         Use C comments.
10679         * config/i386/t-crtfm (crtfastmath.o): Use $<.
10680         * config/i386/t-crtstuff: New file.
10681         * config/i386/t-softfp: New file.
10682         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10683         $(T)crti.o, $(T)crtn.o): Remove.
10684         (gcrt1.o): New rule.
10685         (TARGET_LIBGCC2_CFLAGS): Remove.
10686         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10687         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10688         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10689         * config/sparc/t-sol2: New file.
10690         * config/sparc/t-crtfm: Move to ...
10691         * config/t-crtfm: ... this.
10692         Use $(cpu_type), $<.
10693         * config/t-crtin: New file.
10694         * config/sparc/t-softfp: New file.
10695         * config/sparc/t-softmul: New file.
10696         * config/t-rtems: New file.
10697         * config/t-slibgcc: New file.
10698         * config/t-slibgcc-elf-ver: New file.
10699         * config/t-slibgcc-gld: New file.
10700         * config/t-slibgcc-sld: New file.
10701         * config/t-sol2: New file.
10702         * configure.ac: Include ../config/lib-ld.m4.
10703         Call AC_LIB_PROG_LD_GNU.
10704         Substitute cpu_type.
10705         * configure: Regenerate.
10707 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
10709         PR bootstrap/49173
10710         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10711         libgcc-std.ver in the build directory.
10712         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10713         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10715 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
10717         * libgcc-std.ver.in: New file.
10718         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10719         variables.
10720         (libgcc-std.ver): New rule.
10721         * config/t-gnu-prefix: New file.
10723 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10725         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10727 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
10729         * config/i386/darwin-lib.h: New file.
10731 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
10733         * config/arm/symbian-lib.h: New.
10735 2011-05-04  Chris Demetriou  <cgd@google.com>
10737         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10738         (__x86.get_pc_thunk.bx): ...this.
10739         (__morestack): Adjust for rename, remove undef of __i686.
10741 2011-05-03  Chris Demetriou  <cgd@google.com>
10743         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10745 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
10747         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10748         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10749         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10750         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10751         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10752         Remove cases.
10754 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
10756         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10757         Adjust copyright year.
10759 2011-03-07  Ian Lance Taylor  <iant@google.com>
10761         * generic-morestack.c (__splitstack_find): Adjust returned stack
10762         pointer to include all registers pushed by __morestack.
10764 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
10766         PR target/40125
10767         * configure.ac: Call ACX_NONCANONICAL_TARGET.
10768         (toolexecdir): Calculate and AC_SUBST.
10769         (toolexeclibdir): Likewise.
10770         * Makefile.in (target_noncanonical): Import.
10771         (toolexecdir): Likewise.
10772         (toolexeclibdir): Likewise.
10773         * configure: Regenerate.
10775 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
10777         PR target/46040
10778         * config/arm/bpabi.h: Rename to...
10779         * config/arm/bpabi-lib.h: ...this.
10781 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10783         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10784         appropriate.
10785         * configure: Regenerate.
10787 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
10789         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10790         __FLOAT_WORD_ORDER__.
10791         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10792         Delete.
10794 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10796         PR other/46202
10797         * Makefile.in (install-strip): New phony target.
10799 2010-11-07  Ian Lance Taylor  <iant@google.com>
10801         PR target/46089
10802         * config/i386/morestack.S (__morestack_large_model): New
10803         function.
10805 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
10807         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10808         Delete.
10809         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10811 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
10813         * config/arm/bpabi.h: New file.
10814         * config/frv/frv-abi.h: New file.
10816 2010-10-01  Ian Lance Taylor  <iant@google.com>
10818         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10819         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10821 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10823         PR target/45858
10824         * config.host: Add the missing `$'.
10826 2010-09-30  Michael Eager  <eager@eagercon.com>
10828         * config.host: Add microblaze*-*-*.
10829         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10830         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10831         udivsi3.asm,umodsi3.asm}:  New.
10833 2010-09-28  Ian Lance Taylor  <iant@google.com>
10835         * configure.ac: Adjust CFI test to test assembler directly rather
10836         than checking gcc preprocessor macro.
10837         * configure: Rebuild.
10839 2010-09-27  Ian Lance Taylor  <iant@google.com>
10841         * configure.ac: Test whether assembler supports CFI directives.
10842         * config.host: Only add t-stack and i386/t-stack-i386 to
10843         tmake_file if libgcc_cv_cfi is "yes".
10844         * configure: Rebuild.
10846 2010-09-27  Ian Lance Taylor  <iant@google.com>
10848         * generic-morestack.h: New file.
10849         * generic-morestack.c: New file.
10850         * generic-morestack-thread.c: New file.
10851         * config/i386/morestack.S: New file.
10852         * config/t-stack: New file.
10853         * config/i386/t-stack-i386: New file.
10854         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10855         i386/t-stack-i386 to tmake_file.
10857 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
10859         * Makefile.in (libgcc-extra-parts):  Check for static archives and
10860         invoke ranlib after installing them.
10861         (gcc-extra-parts): Likewise.
10862         (install-leaf): Likewise.
10864 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
10866         * configure: Regenerated.
10868 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
10870         * configure: Regenerated.
10872 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
10873             Andrew Pinski  <pinskia@gmail.com>
10875         PR target/40959
10876         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
10878 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10880         PR target/45524
10881         * configure: Regenerated.
10883 2010-09-06  Andreas Schwab  <schwab@redhat.com>
10885         * configure: Regenerate.
10887 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
10889         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10890         64bit targets.
10891         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10892         for 64bit targets.
10894 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
10895             Iain Sandoe  <iains@gcc.gnu.org>
10897         PR target/45476
10898         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10899         LIB2FUNCS_EXCLUDE functions.
10901 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10903         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10904         Include dfp.m4.
10905         * configure: Regenerate.
10907 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
10909         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10910         i386/t-freebsd to tmake_file.
10911         * config/i386/t-freebsd: New file.
10912         * config/i386/libgcc-bsd.ver: New file.
10914 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
10916         * config.host (powerpc*-eabispe*): Set tmake_file.
10917         (powerpc*-eabi*): Likewise.
10918         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10919         crtbeginS, crtendS, crtbeginT.
10921 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
10923         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10924         to tmake_file.  Add crtfastmath.o to extra_parts.
10925         * config/mips/t-crtfm: New.
10927 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
10929         * config.host (sparc64-*-rtems*): New target.
10931 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10933         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10934         assembler syntax.
10936 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
10938         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10940 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10942         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10943         alpha-dec-osf5.0* support.
10945 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
10947         * config.host: Add lm32-*-rtems*.
10949 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10950             Uros Bizjak  <ubizjak@gmail.com>
10952         PR target/39048
10953         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10954         like other remaining 32-bit x86 OSes.
10955         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10956         assembler syntax.
10957         * config/i386/libgcc-sol2.ver: New file.
10958         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10960 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
10962         PR c/43553
10963         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10964         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10965         is used and substitute set_use_emutls.
10966         * configure: Regenerated.
10968 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
10970         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10972 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10974         PR target/38085
10975         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10976         MULTILIB_CFLAGS.
10977         ($(T)gcrt1.o): Likewise.
10978         ($(T)crt1.o): Likewise.
10979         ($(T)crti.o): Likewise.
10980         ($(T)crtn.o): Likewise.
10982 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10984         PR other/42980
10985         * Makefile.in (install): Use $(MAKE) string in rule, for
10986         parallel make.
10988 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
10990         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10991         * config/mmix/t-mmix: New file.
10992         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10994 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
10996         PR java/41991
10997         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10998         SHLIB_MAPFILES.
11000 2010-01-04  Anthony Green  <green@moxielogic.com>
11002         * config/moxie/crti.asm, config/moxie/crtn.asm,
11003         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11004         config/moxie/t-moxie: New files.
11005         * config.host: Add t-moxie-softfp reference.
11007 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
11009         PR other/39888
11010         * config/t-slibgcc-darwin: Fix embedded rpaths for
11011         --enable-version-specific-runtime-libs, build extension stub
11012         libs exposing features available from current libgcc_s.
11014 2009-11-11  Jon Beniston  <jon@beniston.com>
11016         * config.host: Add lm32 targets.
11017         * config/lm32: New directory.
11018         * config/lm32/libgcc_lm32.h: New file.
11019         * config/lm32/_mulsi3.c: New file.
11020         * config/lm32/_udivmodsi4.c: New file.
11021         * config/lm32/_divsi3.c: New file.
11022         * config/lm32/_modsi3.c: New file.
11023         * config/lm32/_udivsi3.c: New file.
11024         * config/lm32/_umodsi3.c: New file.
11025         * config/lm32/_lshrsi3.S: New file.
11026         * config/lm32/_ashrsi3.S: New file.
11027         * config/lm32/_ashlsi3.S: New file.
11028         * config/lm32/crti.S: New file.
11029         * config/lm32/crtn.S: New file.
11030         * config/lm32/t-lm32: New file.
11031         * config/lm32/t-elf: New file.
11032         * config/lm32/t-uclinux: New file.
11034 2009-10-26  Nick Clifton  <nickc@redhat.com>
11036         * config.host: Add support for RX target.
11037         * config/rx: New directory.
11038         * config/rx/rx-abi-functions.c: New file. Supplementary
11039         functions for libgcc to support the RX ABI.
11040         * config/rx/rx-abi.h: New file.  Supplementary header file for
11041         libgcc RX ABI functions.
11042         * config/rx/t-rx: New file: Makefile fragment for building
11043         libgcc for the RX.
11045 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
11047         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11048         constraint of y0 to "g".
11050 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11052         * config.host: Include the s390 makefile fragments.
11053         * config/s390/32/_fixdfdi.c: New file.
11054         * config/s390/32/_fixsfdi.c: New file.
11055         * config/s390/32/_fixtfdi.c: New file.
11056         * config/s390/32/_fixunsdfdi.c: New file.
11057         * config/s390/32/_fixunssfdi.c: New file.
11058         * config/s390/32/_fixunstfdi.c: New file.
11059         * config/s390/32/t-floattodi: New file.
11060         * config/s390/libgcc-glibc.ver: New file.
11061         * config/s390/t-crtstuff: New file.
11062         * config/s390/t-linux: New file.
11063         * config/s390/t-tpf: New file.
11065 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11067         * configure.ac (AC_PREREQ): Bump to 2.64.
11069 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
11071         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11073 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11075         * configure: Regenerate.
11077 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
11079         * config.host (ia64-hp-*vms*): New target.
11080         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11081         with ia64-hp-*vms*.
11083 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11085         * configure.ac: Add snippet for maintainer-mode.
11086         * configure: Regenerate.
11087         * Makefile.in (AUTOCONF, configure_deps): New variables.
11088         ($(srcdir)/configure)): New rule, active only with maintainer
11089         mode turned on.
11091 2009-06-23  DJ Delorie  <dj@redhat.com>
11093         Add MeP port.
11094         * config.host: Add mep support.
11096 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
11098         * config.host: Add i386/${host_address}/t-fprules-softfp and
11099         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11101         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11102         for mingw targets.
11103         * config/i386/64/_multc3.c: Likewise.
11104         * config/i386/64/_powitf2.c: Likewise.
11105         * config/i386/64/eqtf2.c: Likewise.
11106         * config/i386/64/getf2.c: Likewise.
11107         * config/i386/64/letf2.c: Likewise.
11108         * config/i386/64/letf2.c: Likewise.
11109         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11110         unsigned long long for x64 mingw targets.
11111         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11112         (_FP_I_TYPE): Define as long long for x64 mingw target.
11114 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
11116         * config.host (vax-*-linux*): New.
11118 2009-05-31  Anthony Green  <green@moxielogic.com>
11120         * config.host: Add moxie support.
11121         * config/moxie/t-moxie: New file.
11123 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
11125         * config.host: Add i386/${host_address}/t-fprules-softfp and
11126         t-softfp to tmake_file for i[34567]86-*-cygwin*.
11128 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
11130         * config.host: Add i386/${host_address}/t-fprules-softfp to
11131         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11133 2009-04-09  Nick Clifton  <nickc@redhat.com>
11135         * config/ia64/tf-signs.c: Change copyright header to refer to
11136         version 3 of the GNU General Public License with version 3.1
11137         of the GCC Runtime Library Exception and to point readers at
11138         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11139         web page.
11140         * config/i386/32/tf-signs.c: Likewise.
11141         * config/libbid/_addsub_dd.c: Likewise.
11142         * config/libbid/_addsub_sd.c: Likewise.
11143         * config/libbid/_addsub_td.c: Likewise.
11144         * config/libbid/_dd_to_df.c: Likewise.
11145         * config/libbid/_dd_to_di.c: Likewise.
11146         * config/libbid/_dd_to_sd.c: Likewise.
11147         * config/libbid/_dd_to_sf.c: Likewise.
11148         * config/libbid/_dd_to_si.c: Likewise.
11149         * config/libbid/_dd_to_td.c: Likewise.
11150         * config/libbid/_dd_to_tf.c: Likewise.
11151         * config/libbid/_dd_to_udi.c: Likewise.
11152         * config/libbid/_dd_to_usi.c: Likewise.
11153         * config/libbid/_dd_to_xf.c: Likewise.
11154         * config/libbid/_df_to_dd.c: Likewise.
11155         * config/libbid/_df_to_sd.c: Likewise.
11156         * config/libbid/_df_to_td.c: Likewise.
11157         * config/libbid/_di_to_dd.c: Likewise.
11158         * config/libbid/_di_to_sd.c: Likewise.
11159         * config/libbid/_di_to_td.c: Likewise.
11160         * config/libbid/_div_dd.c: Likewise.
11161         * config/libbid/_div_sd.c: Likewise.
11162         * config/libbid/_div_td.c: Likewise.
11163         * config/libbid/_eq_dd.c: Likewise.
11164         * config/libbid/_eq_sd.c: Likewise.
11165         * config/libbid/_eq_td.c: Likewise.
11166         * config/libbid/_ge_dd.c: Likewise.
11167         * config/libbid/_ge_sd.c: Likewise.
11168         * config/libbid/_ge_td.c: Likewise.
11169         * config/libbid/_gt_dd.c: Likewise.
11170         * config/libbid/_gt_sd.c: Likewise.
11171         * config/libbid/_gt_td.c: Likewise.
11172         * config/libbid/_isinfd128.c: Likewise.
11173         * config/libbid/_isinfd32.c: Likewise.
11174         * config/libbid/_isinfd64.c: Likewise.
11175         * config/libbid/_le_dd.c: Likewise.
11176         * config/libbid/_le_sd.c: Likewise.
11177         * config/libbid/_le_td.c: Likewise.
11178         * config/libbid/_lt_dd.c: Likewise.
11179         * config/libbid/_lt_sd.c: Likewise.
11180         * config/libbid/_lt_td.c: Likewise.
11181         * config/libbid/_mul_dd.c: Likewise.
11182         * config/libbid/_mul_sd.c: Likewise.
11183         * config/libbid/_mul_td.c: Likewise.
11184         * config/libbid/_ne_dd.c: Likewise.
11185         * config/libbid/_ne_sd.c: Likewise.
11186         * config/libbid/_ne_td.c: Likewise.
11187         * config/libbid/_sd_to_dd.c: Likewise.
11188         * config/libbid/_sd_to_df.c: Likewise.
11189         * config/libbid/_sd_to_di.c: Likewise.
11190         * config/libbid/_sd_to_sf.c: Likewise.
11191         * config/libbid/_sd_to_si.c: Likewise.
11192         * config/libbid/_sd_to_td.c: Likewise.
11193         * config/libbid/_sd_to_tf.c: Likewise.
11194         * config/libbid/_sd_to_udi.c: Likewise.
11195         * config/libbid/_sd_to_usi.c: Likewise.
11196         * config/libbid/_sd_to_xf.c: Likewise.
11197         * config/libbid/_sf_to_dd.c: Likewise.
11198         * config/libbid/_sf_to_sd.c: Likewise.
11199         * config/libbid/_sf_to_td.c: Likewise.
11200         * config/libbid/_si_to_dd.c: Likewise.
11201         * config/libbid/_si_to_sd.c: Likewise.
11202         * config/libbid/_si_to_td.c: Likewise.
11203         * config/libbid/_td_to_dd.c: Likewise.
11204         * config/libbid/_td_to_df.c: Likewise.
11205         * config/libbid/_td_to_di.c: Likewise.
11206         * config/libbid/_td_to_sd.c: Likewise.
11207         * config/libbid/_td_to_sf.c: Likewise.
11208         * config/libbid/_td_to_si.c: Likewise.
11209         * config/libbid/_td_to_tf.c: Likewise.
11210         * config/libbid/_td_to_udi.c: Likewise.
11211         * config/libbid/_td_to_usi.c: Likewise.
11212         * config/libbid/_td_to_xf.c: Likewise.
11213         * config/libbid/_tf_to_dd.c: Likewise.
11214         * config/libbid/_tf_to_sd.c: Likewise.
11215         * config/libbid/_tf_to_td.c: Likewise.
11216         * config/libbid/_udi_to_dd.c: Likewise.
11217         * config/libbid/_udi_to_sd.c: Likewise.
11218         * config/libbid/_udi_to_td.c: Likewise.
11219         * config/libbid/_unord_dd.c: Likewise.
11220         * config/libbid/_unord_sd.c: Likewise.
11221         * config/libbid/_unord_td.c: Likewise.
11222         * config/libbid/_usi_to_dd.c: Likewise.
11223         * config/libbid/_usi_to_sd.c: Likewise.
11224         * config/libbid/_usi_to_td.c: Likewise.
11225         * config/libbid/_xf_to_dd.c: Likewise.
11226         * config/libbid/_xf_to_sd.c: Likewise.
11227         * config/libbid/_xf_to_td.c: Likewise.
11228         * config/libbid/bid128.c: Likewise.
11229         * config/libbid/bid128_2_str.h: Likewise.
11230         * config/libbid/bid128_2_str_macros.h: Likewise.
11231         * config/libbid/bid128_2_str_tables.c: Likewise.
11232         * config/libbid/bid128_add.c: Likewise.
11233         * config/libbid/bid128_compare.c: Likewise.
11234         * config/libbid/bid128_div.c: Likewise.
11235         * config/libbid/bid128_fma.c: Likewise.
11236         * config/libbid/bid128_logb.c: Likewise.
11237         * config/libbid/bid128_minmax.c: Likewise.
11238         * config/libbid/bid128_mul.c: Likewise.
11239         * config/libbid/bid128_next.c: Likewise.
11240         * config/libbid/bid128_noncomp.c: Likewise.
11241         * config/libbid/bid128_quantize.c: Likewise.
11242         * config/libbid/bid128_rem.c: Likewise.
11243         * config/libbid/bid128_round_integral.c: Likewise.
11244         * config/libbid/bid128_scalb.c: Likewise.
11245         * config/libbid/bid128_sqrt.c: Likewise.
11246         * config/libbid/bid128_string.c: Likewise.
11247         * config/libbid/bid128_to_int16.c: Likewise.
11248         * config/libbid/bid128_to_int32.c: Likewise.
11249         * config/libbid/bid128_to_int64.c: Likewise.
11250         * config/libbid/bid128_to_int8.c: Likewise.
11251         * config/libbid/bid128_to_uint16.c: Likewise.
11252         * config/libbid/bid128_to_uint32.c: Likewise.
11253         * config/libbid/bid128_to_uint64.c: Likewise.
11254         * config/libbid/bid128_to_uint8.c: Likewise.
11255         * config/libbid/bid32_to_bid128.c: Likewise.
11256         * config/libbid/bid32_to_bid64.c: Likewise.
11257         * config/libbid/bid64_add.c: Likewise.
11258         * config/libbid/bid64_compare.c: Likewise.
11259         * config/libbid/bid64_div.c: Likewise.
11260         * config/libbid/bid64_fma.c: Likewise.
11261         * config/libbid/bid64_logb.c: Likewise.
11262         * config/libbid/bid64_minmax.c: Likewise.
11263         * config/libbid/bid64_mul.c: Likewise.
11264         * config/libbid/bid64_next.c: Likewise.
11265         * config/libbid/bid64_noncomp.c: Likewise.
11266         * config/libbid/bid64_quantize.c: Likewise.
11267         * config/libbid/bid64_rem.c: Likewise.
11268         * config/libbid/bid64_round_integral.c: Likewise.
11269         * config/libbid/bid64_scalb.c: Likewise.
11270         * config/libbid/bid64_sqrt.c: Likewise.
11271         * config/libbid/bid64_string.c: Likewise.
11272         * config/libbid/bid64_to_bid128.c: Likewise.
11273         * config/libbid/bid64_to_int16.c: Likewise.
11274         * config/libbid/bid64_to_int32.c: Likewise.
11275         * config/libbid/bid64_to_int64.c: Likewise.
11276         * config/libbid/bid64_to_int8.c: Likewise.
11277         * config/libbid/bid64_to_uint16.c: Likewise.
11278         * config/libbid/bid64_to_uint32.c: Likewise.
11279         * config/libbid/bid64_to_uint64.c: Likewise.
11280         * config/libbid/bid64_to_uint8.c: Likewise.
11281         * config/libbid/bid_b2d.h: Likewise.
11282         * config/libbid/bid_binarydecimal.c: Likewise.
11283         * config/libbid/bid_conf.h: Likewise.
11284         * config/libbid/bid_convert_data.c: Likewise.
11285         * config/libbid/bid_decimal_data.c: Likewise.
11286         * config/libbid/bid_decimal_globals.c: Likewise.
11287         * config/libbid/bid_div_macros.h: Likewise.
11288         * config/libbid/bid_dpd.c: Likewise.
11289         * config/libbid/bid_flag_operations.c: Likewise.
11290         * config/libbid/bid_from_int.c: Likewise.
11291         * config/libbid/bid_functions.h: Likewise.
11292         * config/libbid/bid_gcc_intrinsics.h: Likewise.
11293         * config/libbid/bid_inline_add.h: Likewise.
11294         * config/libbid/bid_internal.h: Likewise.
11295         * config/libbid/bid_round.c: Likewise.
11296         * config/libbid/bid_sqrt_macros.h: Likewise.
11298 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
11300         * Makefile.in: Change copyright header to refer to version
11301         3 of the GNU General Public License and to point readers at the
11302         COPYING3 file and the FSF's license web page.
11303         * config.host: Likewise.
11305 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
11307         * config.host: Reorder and merge to match config.gcc change.
11309 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
11311         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11313 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
11315         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11316         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11317         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11318         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11320 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
11322         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11323         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11325 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
11327         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11328         ia64/t-softfp-compat to tmake_file.
11330         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11332         * config/ia64/__divxf3.asm: New.
11333         * config/ia64/_fixtfdi.asm: Likewise.
11334         * config/ia64/_fixunstfdi.asm: Likewise.
11335         * config/ia64/_floatditf.asm: Likewise.
11336         * config/ia64/t-fprules-softfp: Likewise.
11337         * config/ia64/t-softfp-compat: Likewise.
11338         * config/ia64/tf-signs.c: Likewise.
11340 2009-01-18  Ben Elliston  <bje@au.ibm.com>
11342         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11344 2009-01-16  Ben Elliston  <bje@au.ibm.com>
11346         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11347         to tmake_file.
11349 2009-01-13  Ben Elliston  <bje@au.ibm.com>
11351         * config/t-softfp: New file.
11352         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11353         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11355 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
11357         * config.host: Add m32r*-*-rtems*.
11359 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
11361         * config.host: Add m32c*-*-rtems*.
11363 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11365         PR bootstrap/33100
11366         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11367         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11368         * configure: Regenerate.
11369         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11370         tmake_file here from gcc/config.gcc.
11371         Move extra_parts here from gcc/config.gcc.
11372         * config/i386/t-sol2: Move here from gcc/config/i386.
11373         Use gcc_srcdir instead of srcdir.
11375 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
11377         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11378         case.
11380 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
11382         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11384 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
11386         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11388 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
11390         Add picoChip port.
11391         * config.host: Add picochip-*-*.
11393 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
11395         * config.host: Match more processor names for Xtensa.
11397 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
11399         * config/i386/64/t-softfp-compat: Update comments.
11401 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11403         * config/i386/64/_divtc3-compat.c: Moved to ...
11404         * config/i386/64/_divtc3.c: Here.
11406         * config/i386/64/_multc3-compat.c: Moved to ...
11407         * config/i386/64/_multc3.c: Here.
11409         * config/i386/64/_powitf2-compat.c: Moved to ...
11410         * config/i386/64/_powitf2.c: Here.
11412         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11413         .c suffix instead of -compat.c.
11415 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
11417         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11418         (_FP_MUL_MEAT_D): Ditto.
11419         (_FP_DIV_MEAT_S): Ditto.
11420         (_FP_DIV_MEAT_D): Ditto.
11422 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
11424         * Makefile.in: Add support for __sync_* libgcc functions.
11426 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
11428         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11430 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11432         PR boostrap/36702
11433         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11434         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
11436         * config/i386/64/t-fprules-softfp: Moved to ...
11437         * config/i386/64/t-softfp-compat: This.  New.
11439 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
11441         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11442         Initialize f with 0.0.
11444 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11446         PR target/36669
11447         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11449         * config/i386/64/_divtc3-compat.c: New.
11450         * config/i386/64/_multc3-compat.c: Likewise.
11451         * config/i386/64/_powitf2-compat.c: Likewise.
11452         * config/i386/64/eqtf2.c: Likewise.
11453         * config/i386/64/getf2.c: Likewise.
11454         * config/i386/64/letf2.c: Likewise.
11455         * config/i386/64/t-fprules-softfp: Likewise.
11457 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11459         * config.host: Add i386/${host_address}/t-fprules-softfp to
11460         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11461         i[34567]86-*-linux*, x86_64-*-linux*.
11463         * configure.ac: Set host_address to 64 or 32 for x86.
11464         * configure: Regenerated.
11466         * Makefile.in (config.status): Also depend on
11467         $(srcdir)/config.host.
11469         * config/i386/32/t-fprules-softfp: New.
11470         * config/i386/32/tf-signs.c: Likewise.
11472         * config/i386/64/sfp-machine.h: New. Moved from gcc.
11474 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11475             Uros Bizjak  <ubizjak@gmail.com>
11477         * config/i386/32/sfp-machine.h: New.
11479 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
11481         * config/rs6000/t-ppccomm: Remove rules that conflict with
11482         auto-generated rules.
11484 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11486         * configure.ac: sinclude override.m4.
11487         * configure: Regenerate.
11489 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
11491         * configure: Regenerate.
11493 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
11495         * Makefile.in (DECNUMINC): Remove
11496         -I$(MULTIBUILDTOP)../../libdecnumber.
11497         * gstdint.h: New.
11499 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
11501         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11502         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11503         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11504         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11505         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11506         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11507         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11508         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11509         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11510         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11511         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11512         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11513         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11514         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11516 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
11518         * config.host (sh2[lbe]*-*-linux*): Allow target.
11520 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
11522         * config/rs6000/t-ppccomm: Add build rules for new files.
11523         (LIB2ADD_ST): New variable.
11525 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
11527         PR target/34210
11528         PR target/35508
11529         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11530         * config/t-avr: New file. Build 16bit libgcc functions.
11532 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
11534         PR target/35401
11535         * config/t-slibgcc-darwin: Make install-leaf dependent on
11536         install-darwin-libgcc-stubs instead of install.
11538 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
11540         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11541         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11542         sh-*-rtemscoff*): Remove cases.
11544 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
11546         * Makefile.in (all): Use install-leaf rather than install.
11547         (install): Split most of the rule into...
11548         (install-leaf): ...this new one.
11550 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
11551             Paolo Bonzini  <bonzini@gnu.org>
11553         PR target/30572
11554         * Makefile.in: Use @shlib_slibdir@ substitution to get
11555         correct install name on darwin.
11556         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11558 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
11560         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11561         cris-*-elf and cris-*-none.
11562         (crisv32-*-linux*): Similar, as cris-*-linux*.
11564 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
11566         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11568 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
11570         PR regression/33926
11571         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11572         * configure: Regenerated.
11574 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
11576         * Makefile.in (dfp-filenames): Replace decimal_globals,
11577         decimal_data, binarydecimal and convert_data with
11578         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11579         and bid_convert_data, respectively.
11581 2007-09-17  Chao-ying Fu  <fu@mips.com>
11582             Nigel Stephens  <nigel@mips.com>
11584         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11585         * Makefile.in (fixed_point): Define.
11586         Check if fixed_point is yes to build support functions.
11587         * configure.ac: Check for fixed_point support.
11588         * configure: Regenerated.
11589         * gen-fixed.sh: New file to generate lists of fixed-point labels,
11590         funcs, modes, from, to.
11592 2007-09-11  Janis Johnson  <janis187@us.ibm.com
11594         * Makefile.in (dfp-filenames): Add bid128_noncomp.
11596 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
11598         * Makefile.in (dfp-filenames): Remove decUtility, add
11599         decDouble, decPacked, decQuad, decSingle.
11601 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
11603         * config.host : Add x86_64-elf target.
11605 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
11607         * configure.ac (set_have_cc_tls): Add a missing =.
11608         * configure: Regenerated.
11610 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
11612         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11613         and x86_64-*-linux*.
11615         * config/t-tls: New file.
11617         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11619         * configure.ac: Include ../config/enable.m4 and
11620         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
11621         supports TLS and substitute set_have_cc_tls.
11622         * configure: Regenerated.
11624 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
11626         * Makefile.in: Use libbid for DFP when BID is enabled.
11628 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
11630         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11631         extra_parts. Add config/i386/t-cygming to tmake_file.
11632         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11634 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
11635             Danny Smith  <dannysmith@users.sourceforge.net>
11637         PR target/29498
11638         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11639         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
11640         * config/i386/t-crtfm: Compile crtfastmath.o with
11641         -minline-all-stringops.
11643 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
11645         * config.host (sparc-wrs-vxworks): New target.
11647 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
11649         * config.host: Recognize fido.
11651 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
11653         * configure: Check host, not target, for decimal float support.
11655 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
11657         * config/i386/t-crtpc: New file.
11658         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11659         (x86_64-*-linux*): Ditto.
11661 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
11663         * config.host (x86_64-*-mingw*): New target.
11665 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
11666             H.J. Lu  <hongjiu.lu@intel.com>
11668         * Makefile.in (enable_decimal_float): New.
11669         (DECNUMINC): Add
11670         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11671         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11672         (decbits-filenames): This.
11673         (decbits-objects): New.
11674         (libgcc-objects): Add $(decbits-objects).
11676         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11677         Substitute enable_decimal_float.
11678         * configure: Regenerated.
11680 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
11682         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11684 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
11686         * Makefile.in (install-info): New dummy target.
11688 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
11690         * config.host (bfin*-linux-uclibc*): Set extra_parts.
11692 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
11694         * Makefile.in: Add install-html and install-pdf dummy
11695         targets.
11697 2007-02-05  Roger Sayle  <roger@eyesopen.com>
11698             Daniel Jacobowitz  <dan@codesourcery.com>
11700         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11701         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11702         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11704 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
11706         * Makefile.in (dec-filenames): Add decExcept.
11708 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
11710         PR bootstrap/30469
11711         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11712         -fprofile-use.
11714 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
11716         * configure.ac: Add --enable-version-specific-runtime-libs.
11717         Correct $slibdir default.
11718         * configure: Regenerated.
11720 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
11722         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11724 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
11726         PR target/30519
11727         * config.host (alpha*-*-linux*): Set extra_parts.
11729 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
11731         * config/sh/t-linux: New.
11732         * config.host (sh*-*-linux*): Set tmake_file.
11734 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
11736         * Makefile.in (install): Handle multilibs.
11738 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
11740         * Makefile.in: Added .PHONY entry for documentation targets.
11742 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
11744         * Makefile.in: Add empty info, html, dvi, pdf targets.
11746 2007-01-04  Mike Stump  <mrs@apple.com>
11748         * Makefile.in (MAKEINFO): Remove.
11749         (PERL): Likewise.
11751 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
11753         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11754         * configure: Regenerate.
11755         * Makefile.in (host_subdir): Substitute it.
11756         (gcc_objdir): Use it.
11758 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11760         * config.host (ia64*-*-linux*): Set tmake_file.
11762 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11764         * Makefile.in (version): Define.
11766 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11767             Paolo Bonzini  <bonzini@gnu.org>
11769         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11770         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11771         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11772         config/sparc/t-crtfm, config/t-slibgcc-darwin,
11773         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11774         shared-object.mk, siditi-object.mk, static-object.mk: New files.
11775         * configure: Generated.
11777 Copyright (C) 2007-2021 Free Software Foundation, Inc.
11779 Copying and distribution of this file, with or without modification,
11780 are permitted in any medium without royalty provided the copyright
11781 notice and this notice are preserved.