Daily bump.
[official-gcc.git] / libgcc / ChangeLog
blob37774451f68cff13388552b15a9bb7d91c3f4d2f
1 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
3         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
4         tmake_file.
5         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
6         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
7         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
8         * config/pa/t-linux64 (LIB1ASMSRC): New define.
9         (LIB1ASMFUNCS): Revise.
10         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
12 2021-10-22  Stafford Horne  <shorne@gmail.com>
14         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15         Change to 0.
17 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
19         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
20         outside of get_regs() in order to use it in another function, this
21         is done twice: for __powerpc64__ and for !__powerpc64__.
22         (struct trace_arg): New struct.
23         (struct layout): New struct.
24         (ppc_backchain_fallback): New function.
25         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
26         state and call MD_BACKCHAIN_FALLBACK.
28 2021-10-13  Martin Liska  <mliska@suse.cz>
30         PR gcov-profile/90364
31         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
32         checksums.
33         (write_one_data): Write also checksum.
34         * libgcov-util.c (read_gcda_file): Read also checksum field.
35         * libgcov.h (struct gcov_info): Add new field.
37 2021-10-08  Ian Lance Taylor  <iant@golang.org>
39         * config/i386/morestack.S: Use .init_array for constructor if
40         available.
41         * config/rs6000/morestack.S: Likewise.
42         * config/s390/morestack.S: Likewise.
44 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
46         PR target/101104
47         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
48         Use more correct values for native IBM 128-bit.
50 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
52         * config/i386/libgcc-darwin.ver: Add Symbols for
53         __cpu_model, __cpu_indicator_init.
55 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
57         * config/i386/sfp-machine.h: Guard Mach-O-specific code
58         using __APPLE__.
60 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
62         * config/t-slibgcc-darwin: Delete unused code.
64 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
66         * config/i386/t-darwin: Add in a vers file for X86-specific
67         symbols.
68         * config/t-darwin: Add the generic symbol maps here...
69         * config/t-slibgcc-darwin: ... removing from here.
70         * config/i386/libgcc-darwin.ver: New file.
72 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
74         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
75         and __mulhc3.
77 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
79         * config.host: Use convenience library for Darwin10
80         unwinder shim.
81         * config/t-darwin: Build Darwin10 unwinder shim as a
82         convenience library.
84 2021-09-13  Andrew Pinski  <apinski@marvell.com>
86         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
87         * config/m32r/libgcc-glibc.ver: Removed.
88         * config/m32r/t-linux: Removed.
90 2021-09-08  liuhongt  <hongtao.liu@intel.com>
92         * config/i386/t-softfp: Compile __{mul,div}hc3 into
93         libgcc_s.so.1.
95 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
96             Iain Sandoe  <iain@sandoe.co.uk>
98         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
99         and export *hf* and *hc* functions at GCC_12.0.0.
101 2021-09-06  liuhongt  <hongtao.liu@intel.com>
103         * Makefile.in: Adjust to support specific CFLAGS for each
104         libgcc source file.
105         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
106         related libgcc source files.
107         * config/i386/t-softfp: Ditto.
108         * config/i386/_divhc3.c: New file.
109         * config/i386/_mulhc3.c: New file.
111 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
113         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
114         alias_DFtype, alias_TFtype): New.
115         (ALIAS_SELECTOR): New.
116         (strong_alias): Use __typeof and a _Generic selector to
117         provide the type to the synthesized function.
119 2021-09-02  liuhongt  <hongtao.liu@intel.com>
121         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
122         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
123         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
124         * config/i386/t-softfp: Add hf soft-fp.
125         * config.host: Add i386/64/t-softfp.
126         * config/i386/64/t-softfp: New file.
128 2021-09-02  liuhongt  <hongtao.liu@intel.com>
130         * soft-fp/eqhf2.c: New file.
131         * soft-fp/extendhfdf2.c: New file.
132         * soft-fp/extendhfsf2.c: New file.
133         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
134         * soft-fp/truncdfhf2.c: New file
135         * soft-fp/truncsfhf2.c: New file
137 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
139         * unwind-arm-common.inc (abort): Remove.
141 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
143         * config/aarch64/value-unwind.h: Add missing runtime exception
144         paragraph.
145         * config/frv/frv-abi.h: Likewise.
146         * config/i386/value-unwind.h: Likewise.
147         * config/pa/pa64-hpux-lib.h: Likewise.
149 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
151         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
152         __gcc_qadd.
153         (__gcc_qadd): Call ldouble_qadd_internal.
154         (__gcc_qsub): Call ldouble_qadd_internal with second long double
155         argument negated.
157 2021-08-26  Jonathan Yong  <10walls@gmail.com>
159         * config/i386/cygming-crtend.c: Fix register_frame_ctor
160         and register_frame_dtor warnings.
162 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
164         PR target/102035
165         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
166         Add vlldm erratum work-around.
168 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
170         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
172 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
174         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
175         (gcov_type_unsigned): Likewise.
177 2021-08-14  Stafford Horne  <shorne@gmail.com>
179         PR target/99783
180         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
181         * config/or1k/t-crtstuff: New file.
183 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
185         * libgcov-driver.c (#include <stdint.h>): Remove.
186         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
188 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
190         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
191         * gcov.h (gcov_info): Declare.
192         (__gcov_info_to_gdca): Likewise.
193         * libgcov.h (gcov_write_counter): Remove.
194         (gcov_write_tag_length): Likewise.
195         * libgcov-driver.c (#include <stdint.h>): New.
196         (#include <string.h>): Remove.
197         (NEED_L_GCOV): Conditionally define.
198         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
199         (are_all_counters_zero): New.
200         (gcov_dump_handler): Likewise.
201         (gcov_allocate_handler): Likewise.
202         (dump_unsigned): Likewise.
203         (dump_counter): Likewise.
204         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
205         Use dump_unsigned() and dump_counter().
206         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
207         dump_unsigned(), dump_counter(), and are_all_counters_zero().
208         (__gcov_info_to_gcda): New.
210 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
212         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
213         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
214         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
215         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
217 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
219         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
221 2021-07-15  Alan Modra  <amodra@gmail.com>
223         * config/rs6000/morestack.S (R2_SAVE): Define.
224         (__morestack): Save and restore r2.  Set up r2 for called
225         functions.
227 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
229         * soft-fp/extendhfxf2.c: New file.
230         * soft-fp/truncxfhf2.c: Likewise.
232 2021-06-29  Julian Brown  <julian@codesourcery.com>
234         * config/gcn/lib2-bswapti2.c: New file.
235         * config/gcn/lib2-divmod-di.c: New file.
236         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
237         typedefs.
238         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
239         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
240         lib2-bswapti2.c.
242 2021-06-29  Julian Brown  <julian@codesourcery.com>
244         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
245         return types to USItype.
246         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
248 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
250         * configure: Regenerate.
251         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
252         typos among the name, CFLAGS and the test.
253         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
254         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
255         Remove.
256         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
257         macro FLOAT128_HW_INSNS_ISA3_1.
258         (FP128_3_1_CFLAGS_HW): Fix option typo.
259         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
260         FLOAT128_HW_INSNS_ISA3_1.
261         (__floattikf_resolve): Likewise.
262         (__floatuntikf_resolve): Likewise.
263         (__fixkfti_resolve): Likewise.
264         (__fixunskfti_resolve): Likewise.
265         (__floattikf): Likewise.
266         (__floatuntikf): Likewise.
267         (__fixkfti): Likewise.
268         (__fixunskfti): Likewise.
270 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
272         PR target/99939
273         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
274         macro.
275         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
276         on passing -mcmse option.
278 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
280         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
281         _ARCH_PPC64 .
283 2021-06-09  Carl Love  <cel@us.ibm.com>
285         * config.host: Add if test and set for
286         libgcc_cv_powerpc_3_1_float128_hw.
287         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
288         Change calls of __fixkfti to __fixkfti_sw.
289         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
290         Change calls of __fixunskfti to __fixunskfti_sw.
291         * config/rs6000/float128-p10.c (__floattikf_hw,
292         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
293         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
294         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
295         __fixunskfti_resolve): Add resolve functions.
296         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
297         * config/rs6000/float128-sed (floattitf, __floatuntitf,
298         __fixtfti, __fixunstfti): Add editor commands to change names.
299         * config/rs6000/float128-sed-hw (__floattitf,
300         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
301         change names.
302         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
303         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
304         * config/rs6000/quad-float128.h (__floattikf_sw,
305         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
306         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
307         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
308         * config/rs6000/t-float128 (floattikf, floatuntikf,
309         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
310         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
311         file names to fp128_ppc_funcs.
312         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
313         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
314         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
315         * config/rs6000/t-float128-p10-hw: New file.
316         * configure: Update script for isa 3.1 128-bit float support.
317         * configure.ac: Add check for 128-bit float hardware support.
318         * config/rs6000/fixkfti-sw.c: New file.
319         * config/rs6000/fixunskfti-sw.c: New file.
320         * config/rs6000/floattikf-sw.c: New file.
321         * config/rs6000/floatuntikf-sw.c: New file.
323 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
325         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
327 2021-05-13  Martin Liska  <mliska@suse.cz>
329         * libgcov-driver.c: Fix GNU coding style.
331 2021-05-10  Martin Liska  <mliska@suse.cz>
333         * libgcov-driver.c (gcov_version): Use different name that does
334         not clash with newly introduced macro.
336 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
338         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
339         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
340         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
342 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
344         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
345         Define.
346         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
347         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
348         Define.
349         (__divkc3): Improve complex divide.
351 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
353         PR target/98952
354         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
355         trampoline size comparison in 32-bit by reversing test and
356         combining load immediate with compare.
357         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
358         in 32-bit by reversing test and combining load immediate with
359         compare.
361 2021-04-05  Florian Weimer  <fweimer@redhat.com>
362             Michael Meissner   <meissner@linux.ibm.com>
364         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
365         point functions for $(decimal_float) only.
367 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
369         PR target/97653
370         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
371         $(objext) instead of $(object).  Use _floatunditf instead of
372         _floatunsditf.  Add tf <-> ti conversion objects.
373         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
375 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
377         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
378         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
379         (fp128_decstr_objs): Delete.
380         * dfp-bit.h: Call __sprintfieee128 to do conversions from
381         _Float128 to a Decimal type.  Call __strtoieee128 to do
382         conversions from a Decimal type to _Float128.
383         * config/rs6000/_sprintfkf.c: Delete file.
384         * config/rs6000/_sprintfkf.h: Delete file.
385         * config/rs6000/_strtokf.c: Delete file.
386         * config/rs6000/_strtokf.h: Delete file.
388 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
390         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
391         to __BYTE_ORDER__.
393 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
395         PR gcov-profile/99406
396         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
397         defined, define these macros if not defined already.
399 2021-03-04  Martin Liska  <mliska@suse.cz>
401         PR gcov-profile/99105
402         * libgcov-driver.c (write_top_counters): Rename to ...
403         (write_topn_counters): ... this.
404         (write_one_data): Pre-allocate buffer for number of items
405         in the corresponding linked lists.
406         * libgcov.h (malloc_mmap): New function.
407         (allocate_gcov_kvp): Use it.
409 2021-03-04  Martin Liska  <mliska@suse.cz>
411         PR gcov-profile/99385
412         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
414 2021-03-03  Martin Liska  <mliska@suse.cz>
416         PR gcov-profile/97461
417         * config.in: Regenerate.
418         * configure: Likewise.
419         * configure.ac: Check sys/mman.h header file
420         * libgcov-driver.c (struct gcov_kvp): Remove static
421         pre-allocated pool and use a dynamic one.
422         * libgcov.h (MMAP_CHUNK_SIZE): New.
423         (gcov_counter_add): Use mmap to allocate pool for struct
424         gcov_kvp.
426 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
428         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
429         the function.
430         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
432 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
434         PR libgcc/99236
435         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
436         negation of m in unsigned type.
438 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
439             Hau Hsu  <hsuhau617@gmail.com>
441         PR target/99157
442         * config/arm/t-arm: Fix cmse support detection.
444 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
446         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
448 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
450         * config/rs6000/_dd_to_kf.c: New file.
451         * config/rs6000/_kf_to_dd.c: New file.
452         * config/rs6000/_kf_to_sd.c: New file.
453         * config/rs6000/_kf_to_td.c: New file.
454         * config/rs6000/_sd_to_kf.c: New file.
455         * config/rs6000/_sprintfkf.c: New file.
456         * config/rs6000/_sprintfkf.h: New file.
457         * config/rs6000/_strtokf.h: New file.
458         * config/rs6000/_strtokf.c: New file.
459         * config/rs6000/_td_to_kf.c: New file.
460         * config/rs6000/quad-float128.h: Add new declarations.
461         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
462         (fp128_decstr_funcs): New macro.
463         (ibm128_dec_funcs): New macro.
464         (fp128_ppc_funcs): Add the new conversions.
465         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
466         compiled with -mabi=ieeelongdouble.
467         (fp128_decstr_objs): Force __float128 <-> string conversions to be
468         compiled with -mabi=ibmlongdouble.
469         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
470         compiled with -mabi=ieeelongdouble.
471         (FP128_CFLAGS_DECIMAL): New macro.
472         (IBM128_CFLAGS_DECIMAL): New macro.
473         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
474         (BFP_TO_DFP): Add PowerPC _Float128 support.
475         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
476         IEEE 128-bit floating point.
477         (DFP_TO_BFP): Add PowerPC _Float128 support.
478         (BFP_TO_DFP): Add PowerPC _Float128 support.
479         (BFP_SPRINTF): New macro.
481 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
483         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
484         * config/i386/savms64f.h: Likewise.
485         * config/i386/resms64.h: Likewise.
486         * config/i386/resms64f.h: Likewise.
487         * config/i386/resms64x.h: Likewise.
488         * config/i386/resms64fx.h: Likewise.
490 2021-01-26  Martin Liska  <mliska@suse.cz>
492         PR gcov-profile/98739
493         * libgcov.h (gcov_topn_add_value): Do not train when
494         we have a merged profile with a negative number of total
495         value.
497 2021-01-25  Martin Liska  <mliska@suse.cz>
499         PR gcov-profile/98739
500         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
501         ends with a dropped counter.
502         * libgcov.h (gcov_topn_add_value): Add return value.
504 2021-01-13  Stafford Horne  <shorne@gmail.com>
506         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
507         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
508         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
509         FP_EX_ALL): New constant macros.
510         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
511         FP_HANDLE_EXCEPTIONS): New macros.
512         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
514 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
516         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
517         posix siginfo case to struct handler_args. Detect between legacy
518         and siginfo from the second parameter, which is a small sigcode in
519         the legacy case, and a pointer in the siginfo case.
521 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
523         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
524         functions.
525         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
526         _bswapdi2.
528 2020-12-08  Ian Lance Taylor  <iant@golang.org>
530         * generic-morestack-thread.c (free_segments): Block signals during
531         thread exit.
533 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
535         PR libgcc/97543
536         PR libgcc/97643
537         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
538         (IBM128_SHARED_OBJS): New make variable.
539         (IBM128_OBJS): New make variable.  Set all objects to use the
540         explicit IBM format, and disable gnu attributes.
541         (IBM128_CFLAGS): New make variable.
542         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
543         modules.
545 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
547         * config/t-vxworks (LIB2ADD): Drop.
548         * config/t-vxworks7 (LIB2ADD): Likewise.
549         * config/vxcache.c: Remove.
551 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
553         * libgcc2.c (bswapsi2): Make constants unsigned.
555 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
557         * libgcc2.c (absvSI2): Simplify/improve implementation by using
558         builtin_add_overflow.
559         (absvsi2, absvDI2): Likewise.
561 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
563         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
564         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
566 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
568         * config/msp430/lib2hw_mul.S (mult64_hw): New.
569         (if MUL_32): Use mult64_hw for __muldi3.
570         (if MUL_F5): Use mult64_hw for __muldi3.
571         * config/msp430/lib2mul.c (__muldi3): New.
572         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
574 2020-11-17  Alan Modra  <amodra@gmail.com>
576         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
577         (LIB2_SIDITI_CONV_FUNCS): Define.
578         * config/rs6000/ppc64-fp.c: Delete file.
580 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
582         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
583         hwmult library functions.
585 2020-11-10  Jeff Law  <law@redhat.com>
587         * libgcc2.c: Fix whitespace issues in most recent change.
589 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
591         * libgcc2.c (__addvSI3): Use overflow builtins.
592         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
593         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
594         (__negvsi2, __negvDI2): Likewise.
595         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
596         generated code.
597         * libgcc2.h (__ucmpdi2): Adjust prototype.
599 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
600             Olivier Hainque   <hainque@adacore.com>
602         * config.host (aarch64-vxworks7*, tmake_file): Add
603         ${cpu_type}/t-lse and t-slibgcc-libgcc.
605 2020-11-03  Martin Storsjö  <martin@martin.st>
607         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
608         before calling the callback.
610 2020-10-30  Olivier Hainque  <hainque@adacore.com>
611             Douglas Rupp  <rupp@adacore.com>
612             Pat Bernardi  <bernardi@adacore.com>
614         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
615         to apply to VxWorks 7 as well.
617 2020-10-29  Olivier Hainque  <hainque@adacore.com>
619         * config/gthr-vxworks-tls.c: Fix preprocessor logic
620         controlling the definition of VX_ENTER_TLS_DTOR and
621         VX_LEAVE_TLS_DTOR based on a version major check.
623 2020-10-29  Olivier Hainque  <hainque@adacore.com>
625         * config/gthr-vxworks-thread.c: Fix name of macro used
626         to condition the inclusion of an actual implementation.
628 2020-10-27  Martin Liska  <mliska@suse.cz>
630         PR gcov-profile/97461
631         * libgcov.h (gcov_counter_add): Use first static counters
632         as it should help to have malloc wrappers set up.
634 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
636         * config/gthr-vxworks-thread.c: #include gthr.h before
637         testing the guard defined there.
638         * config/gthr-vxworks-cond.c: Likewise.
640 2020-10-21  Douglas Rupp  <rupp@adacore.com>
641             Olivier Hainque  <hainque@adacore.com>
643         * config.host (powerpc*-wrs-vxworks7*): New case.
644         * configure.ac: Handle powerpc*-*-vxworks7* as
645         powerpc*-*-linux* for ppc-fp_type.
646         * configure: Regenerate.
648 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
650         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
651         section on VxWorks >= 6.
652         * config/gthr-vxworks-thread.c: Condition the entire
653         implementation on __GTHREAD_CXX0X.
655 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
657         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
658         section on VxWorks >= 6.
659         * config/gthr-vxworks-cond.c: Condition the entire
660         implementation on __GTHREAD_HAS_COND.
662 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
664         * config/gthr-vxworks.c: #include <taskLib.h>.
666 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
668         * config/gthr-vxworks.h: Rewrite remaining occurrence
669         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
671 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
672              Olivier Hainque   <hainque@adacore.com>
674         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
675         except on VxWorks 6.
677 2020-10-16  Olivier Hainque  <hainque@adacore.com>
679         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
681 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
683         * config/gthr-vxworks-thread.c: Include stdlib.h.
684         (tls_delete_hook): Prototype it.
685         (__gthread_cond_signal): Return early if no waiters.  Consume
686         signal in case the semaphore got full.  Use semInfoGet instead
687         of kernel-mode-only semInfo.
688         (__gthread_cond_timedwait): Use semExchange.  Always take the
689         mutex again before returning.
690         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
692 2020-10-14  Olivier Hainque  <hainque@adacore.com>
694         * config/t-vxworks (LIBGCC2_INCLUDES): Append
695         $(MULTISUBDIR) to the -I path for fixed headers, as we
696         arrange to have different sets of such headers for different
697         multilibs when they are activated.
698         * config/t-vxworks7: Likewise.
700 2020-10-14  Olivier Hainque  <hainque@adacore.com>
702         * config/t-vxworks: Add include-fixed to include search
703         paths for libgcc on VxWorks.
704         * config/t-vxworks7: Likewise.
706 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
708         PR target/97148
709         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
710         instead of <cetintrin.h>.
712 2020-10-01  Alan Modra  <amodra@gmail.com>
714         * config/rs6000/morestack.S,
715         * config/rs6000/tramp.S: Support __PCREL__ code.
717 2020-10-01  Alan Modra  <amodra@gmail.com>
719         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
721 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
723         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
724         variable.
726 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
728         * config/aarch64/libgcc-softfp.ver: New file.
729         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
731 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
733         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
735 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
737         PR gcov-profile/96913
738         * libgcov-driver.c (write_one_data): Avoid function pointer
739         comparison in TOP streaming decision.
741 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
742             Christophe Lyon  <christophe.lyon@linaro.org>
744         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
745         qualifier.
746         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
747         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
748         missing prototypes.
750 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
752         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
753         unused variable warning.
755 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
757         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
759 2020-09-09  Tom de Vries  <tdevries@suse.de>
761         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
762         Wbuiltin-declaration-mismatch.
764 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
766         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
767         * config/msp430/srai.S (__gnu_mspabi_srap): New.
768         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
770 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
772         * config/nvptx/atomic.c: New.
773         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
775 2020-08-03  Ian Lance Taylor  <iant@golang.org>
777         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
779 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
781         PR target/96402
782         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
783         of x(tmp0), x(tmp1) in STXP arguments.
785 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
787         * config/riscv/save-restore.S [__riscv_xlen == 64]
788         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
789         (__riscv_save_2): Replace negative immediates used for the final
790         stack pointer adjustment with positive ones, right-shifted by 4.
792 2020-07-31  Martin Liska  <mliska@suse.cz>
794         * libgcov-driver.c: Add __gcov_kvp_pool
795         and __gcov_kvp_pool_index variables.
796         * libgcov.h (allocate_gcov_kvp): New.
797         (gcov_topn_add_value): Use it.
799 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
801         * config/aarch64/lse.S: Add PAC property note.
803 2020-07-23  Martin Liska  <mliska@suse.cz>
805         PR gcov-profile/96035
806         * libgcov-driver-system.c: Create gcov folders with 0777
807         so that it respects a system umask.
809 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
811         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
813 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
815         PR target/94891
816         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
817         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
818         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
819         (MD_DEMANGLE_RETURN_ADDR): This.
820         (aarch64_post_extract_frame_addr): Rename to ...
821         (aarch64_demangle_return_addr): This.
822         (aarch64_post_frob_eh_handler_addr): Remove.
823         * unwind-dw2.c (uw_update_context): Demangle return address.
824         (uw_frob_return_addr): Remove.
826 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
828         PR target/96001
829         * config/aarch64/lse.S: Add BTI marking and related definitions,
830         and add BTI c to function entries.
832 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
834         * config/aarch64/lse.S: Add stack note.
836 2020-07-02  Martin Liska  <mliska@suse.cz>
838         PR gcov-profile/95348
839         * libgcov-driver.c (merge_one_data): Merge only profiles
840         that are not of non-zero type.
841         (write_one_data): Write counters only if there's one non-zero
842         value.
843         * libgcov-util.c (tag_function): Change signature from unsigned
844         to int.
845         (tag_blocks): Likewise.
846         (tag_arcs): Likewise.
847         (tag_counters): Likewise.
848         (tag_summary): Likewise.
849         (tag_lines): Read only if COUNTERS is non-zero.
850         (read_gcda_file): Handle negative length for COUNTERS type.
852 2020-06-25  Martin Liska  <mliska@suse.cz>
854         * libgcov-driver.c (merge_summary): Remove function as its name
855         is misleading and doing something different.
856         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
857         in gcov-tool.
858         * libgcov-util.c (curr_object_summary): Remove.
859         (read_gcda_file): Remove unused curr_object_summary.
860         (gcov_merge): Merge summaries.
861         * libgcov.h: Add summary argument for gcov_info struct.
863 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
865         PR target/95259
866         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
867         "common/config/i386/i386-cpuinfo.h" and
868         "common/config/i386/cpuinfo.h".
869         (__cpu_features2): Changed to array.
870         (get_amd_cpu): Removed.
871         (get_intel_cpu): Likewise.
872         (get_available_features): Likewise.
873         (__cpu_indicator_init): Call cpu_indicator_init.
874         * config/i386/cpuinfo.h: Removed.
876 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
878         * Makefile.in: Remove uses of empty.mk. Use -include.
879         * config/avr/t-avr: Use -include.
880         * empty.mk: Delete.
882 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
884         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
885         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
886         and 64 bit with -maix64.
887         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
888         Build and install AIX-style FAT libraries.
890 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
892         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
893         'i386/gnu-unwind.h'
894         * config/i386/gnu-unwind.h: New file.
896 2020-06-17  Martin Liska  <mliska@suse.cz>
898         * libgcov-util.c (read_gcda_finalize): Remove const operator.
899         (merge_wrapper): Add both counts and use them properly.
900         (topn_to_memory_representation): New function.
901         (gcov_merge): Covert on disk representation to in memory
902         representation.
903         * libgcov.h: Remove const operator.
905 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
907         * configure: Regenerate.
908         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
909         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
911 2020-06-09  Martin Liska  <mliska@suse.cz>
913         PR gcov-profile/95494
914         * libgcov-driver.c (write_top_counters): Cast first to
915         intptr_t as sizeof(*) != sizeof(gcov_type).
916         * libgcov.h (gcov_counter_set_if_null): Remove.
917         (gcov_topn_add_value): Cast first to intptr_t and update
918         linked list directly.
920 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
922         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
923         with uw_install_context_1.
925 2020-06-04  Andreas Schwab  <schwab@suse.de>
927         PR target/59230
928         PR libfortran/59227
929         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
930         soft-fp/divtf3.c.
931         (LIB2ADD): Add config/ia64/divtf3.c.
932         * config/ia64/divtf3.c: New file.
934 2020-06-03  Martin Liska  <mliska@suse.cz>
936         PR gcov-profile/95480
937         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
938         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
939         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
940         (gcov_counter_set_if_null): Likewise.
942 2020-06-02  Jim Wilson  <jimw@sifive.com>
944         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
945         to bgtz.
947 2020-06-02  Martin Liska  <mliska@suse.cz>
949         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
950         of xmalloc.
952 2020-06-02  Martin Liska  <mliska@suse.cz>
954         * libgcov-driver.c (prune_topn_counter): Remove.
955         (prune_counters): Likewise.
956         (merge_one_data): Special case TOP N counters
957         as they have variable length.
958         (write_top_counters): New.
959         (write_one_data): Special case TOP N.
960         (dump_one_gcov): Do not prune TOP N counters.
961         * libgcov-merge.c (merge_topn_values_set): Remove.
962         (__gcov_merge_topn): Use gcov_topn_add_value.
963         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
964         Likewise here.
965         * libgcov.h (gcov_counter_add): New.
966         (gcov_counter_set_if_null): Likewise.
967         (gcov_topn_add_value): New.
969 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
971         * config/i386/sfp-exceptions.c (struct fenv):
972         Add __attribute__ ((gcc_struct)).
974 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
976         PR bootstrap/95413
977         * configure: Regenerated.
979 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
981         PR gcov-profile/95332
982         * libgcov-util.c (read_gcda_file): Call gcov_magic.
983         * libgcov.h (gcov_magic): Disable GCC poison.
985 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
987         PR target/95212
988         * config/i386/cpuinfo.h (processor_features): Move
989         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
991 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
993         PR target/91695
994         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
995         check.
997 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
999         PR target/95212
1000         PR target/95220
1001         * config/i386/cpuinfo.c (get_available_features): Fix
1002         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
1003         * config/i386/cpuinfo.h (processor_features): Add
1004         FEATURE_AVX512VP2INTERSECT.
1006 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1008         PR bootstrap/95147
1009         * configure: Regenerated.
1011 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1013         * configure: Regenerated.
1015 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
1017         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1018         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1020 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1022         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1023         (__math_force_eval_div): New define.
1024         (__sfp_handle_exceptions): Use __math_force_eval_div to use
1025         generic division to generate INVALID, DIVZERO and INEXACT
1026         exceptions.
1028 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1030         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1031         instead of getauxval.
1032         (AT_HWCAP): Define.
1033         (HWCAP_ATOMICS): Define.
1034         Guard detection on __gnu_linux__.
1036 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
1038         * config.host: Delete changes meant for a private branch.
1039         * config/rs6000/t-float128: Likewise.
1040         * configure.ac: Likewise.
1041         * configure: Likewise.
1043 2020-05-05  Martin Liska  <mliska@suse.cz>
1045         PR gcov-profile/93623
1046         * Makefile.in: Remove __gcov_flush.
1047         * gcov.h (__gcov_flush): Remove.
1048         * libgcov-interface.c (__gcov_flush): Remove.
1049         (init_mx): Use renamed mutex.
1050         (__gcov_lock): Likewise.
1051         (__gcov_unlock): Likewise.
1052         (__gcov_fork): Likewise.
1053         (__gcov_flush): Remove.
1055 2020-05-05  Martin Liska  <mliska@suse.cz>
1057         PR gcov-profile/93623
1058         * libgcov-interface.c (__gcov_fork): Do not flush
1059         and reset only in child process.
1060         (__gcov_execl): Dump counters only and reset them
1061         only if exec* fails.
1062         (__gcov_execlp): Likewise.
1063         (__gcov_execle): Likewise.
1064         (__gcov_execv): Likewise.
1065         (__gcov_execvp): Likewise.
1066         (__gcov_execve): Likewise.
1068 2020-05-05  Martin Liska  <mliska@suse.cz>
1070         PR gcov-profile/93623
1071         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1072         * libgcov-interface.c (ALIAS_void_fn): Remove.
1073         (__gcov_lock): New.
1074         (__gcov_unlock): New.
1075         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1076         (__gcov_reset): Likewise.
1077         (__gcov_dump): Likewise.
1078         * libgcov.h (__gcov_lock): New declaration.
1079         (__gcov_unlock): Likewise.
1081 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1083         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1084         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1085         generic division to generate INVALID and DIVZERO exceptions.
1087 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1089         * config/rs6000/crtresfpr.S: Use .machine ppc.
1090         * config/rs6000/crtresxfpr.S: Likewise.
1091         * config/rs6000/crtsavfpr.S: Likewise.
1093 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1095         PR target/94514
1096         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1097         Update context->flags accroding to the frame state.
1099 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1101         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1102         Remove unneeded assignments to volatile memory.
1104 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
1106         PR target/93053
1107         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1108         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1109         is not defined, use just .arch armv8-a.
1110         (B, M, N, OPN): Define.
1111         (COMMENT): New .macro.
1112         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1113         defined.  Otherwise, move the operands right after the glue? and
1114         comment out operands where the macros are used.
1115         * configure: Regenerated.
1116         * config.in: Regenerated.
1118 2020-04-07  Ian Lance Taylor  <iant@golang.org>
1120         PR libgcc/94513
1121         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1122         syscall instead.
1124 2020-04-04  Ian Lance Taylor  <iant@golang.org>
1126         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1128 2020-04-03  Ian Lance Taylor  <iant@golang.org>
1130         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1131         than mmap/munmap, to avoid hooks.
1133 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
1135         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1136         (TPFRA_OFFSET): Macros removed.
1137         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1138         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1139         (PG3_SKIPPING_OFFSET): New macros.
1140         (__isPATrange): Use cinfc_fast for the check.
1141         (__isSkipResetAddr): New function.
1142         (s390_fallback_frame_state): Check for skip trace addresses. Use
1143         either ICST_CRET or ICST_SRET to calculate return address
1144         location.
1145         (__tpf_eh_return): Handle skip trace addresses.
1147 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
1149         PR target/94220
1150         * config/arm/lib1funcs.asm (COND): Use a single definition for
1151         unified syntax.
1152         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1153         (aeabi_idivmod): Likewise.
1154         (divsi3_skip_div0_test): Likewise.
1156 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
1158         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1160 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
1162         * config.host: Include the new makefile fragment.
1163         * config/s390/t-tpf: New file.
1165 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
1167         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1168         syntax.
1169         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1170         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1171         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1172         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1173         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1174         syntax.
1175         (divsi3, modsi3): Likewise.
1176         (clzdi2, ctzsi2): Likewise.
1177         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1178         unified syntax.
1179         (UNWIND_WRAPPER): Likewise.
1181 2020-03-02  Martin Liska  <mliska@suse.cz>
1183         * libgcov-interface.c: Remove duplicate
1184         declaration of __gcov_flush_mx.
1186 2020-02-18  Martin Liska  <mliska@suse.cz>
1188         PR ipa/92924
1189         * libgcov-merge.c (merge_topn_values_set): Record
1190         when a TOP N counter becomes invalid.  When merging
1191         remove a smallest value if the space is needed.
1193 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
1195         PR libstdc++/79193
1196         PR libstdc++/88999
1198         * configure: Regenerated.
1200 2020-02-10  Jeff Law  <law@redhat.com>
1202         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1203         sections.
1204         * config/frv/frvend.c: Similarly.
1206 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
1208         PR libgcc/85334
1209         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1210         New.
1212 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
1214         PR target/93615
1215         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1216         _Unwind_gnu_Find_got.
1217         * unwind-pe.h: Likewise.
1219 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
1221         PR target/93615
1222         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1223         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
1224         trailing :s in asm.  Formatting fixes.
1225         (_Unwind_decode_typeinfo_ptr): Adjust caller.
1227 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
1229         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1231         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1232         * config/nios2-elf-lib.h: New.
1233         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1234         code for finding GOT base for nios2.
1236 2020-01-27  Martin Liska  <mliska@suse.cz>
1238         PR gcov-profile/93403
1239         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1240         Call __gcov_indirect_call_profiler_body.
1241         (__gcov_indirect_call_profiler_body): New.
1242         (__gcov_indirect_call_profiler_v4_atomic): New.
1243         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1244         New declaration.
1246 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
1248         * config/arc/crti.S: Add RF16 object attribute.
1249         * config/arc/crtn.S: Likewise.
1250         * config/arc/crttls.S: Likewise.
1251         * config/arc/lib1funcs.S: Likewise.
1252         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1253         * config/arc/lib2funcs.c: New file.
1254         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1256 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
1258         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1259         * configure.ac: Handle `--with-toolexeclibdir='.
1260         * configure: Regenerate.
1262 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
1264         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1266 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
1268         * config/mips/gnustack.h: New file.
1269         * config/mips/crti.S: Include gnustack.h.
1270         * config/mips/crtn.S: Likewise.
1271         * config/mips/mips16.S: Likewise.
1272         * config/mips/vr4120-div.S: Likewise.
1274 2020-01-23  Martin Liska  <mliska@suse.cz>
1276         * libgcov-driver.c (prune_topn_counter): Remove
1277         check for -1 as we only prune run-time counters
1278         that do not generate an invalid state.
1280 2020-01-22  Martin Liska  <mliska@suse.cz>
1282         PR tree-optimization/92924
1283         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1284         try to find an existing value, then find an empty slot
1285         if not found.
1287 2020-01-22  Martin Liska  <mliska@suse.cz>
1289         PR tree-optimization/92924
1290         * libgcov-driver.c (prune_topn_counter): New.
1291         (prune_counters): Likewise.
1292         (dump_one_gcov): Prune a run-time counter.
1293         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1294         For a known value, add GCOV_TOPN_VALUES to value.
1295         Otherwise, decrement all counters by one.
1297 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
1299         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1301 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
1303         PR libgcc/92988
1304         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1305         DEFAULT_USE_CXA_ATEXIT is true.
1307 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
1308             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1310         * config/arm/t-arm: Check return value of gcc rather than lack of
1311         output.
1313 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
1315         * config/avr/lib1funcs.S (skip): Simplify.
1317 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
1319         * config/gcn/atomic.c: Remove include of stdint.h.
1320         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1321         __UINTPTR_TYPE__.
1323 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
1325         * config/gcn/atomic.c: New.
1326         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1328 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
1330         Implement 64-bit double functions.
1332         PR target/92055
1333         * config.host (tmake_file) [target=avr]: Add t-libf7,
1334         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1335         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1336         depending on sizeof (double) or sizeof (long double).
1337         * config/avr/libf7: New folder.
1339 2020-01-05  Olivier Hainque  <hainque@adacore.com>
1341         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1342         by IN_LIBGCC2.
1344 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
1346         Update copyright years.
1348 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1350         * config/gthr-vxworks.h: Use _vxworks-versions.h.
1351         * config/gthr-vxworks-tls.c: Likewise.
1353 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1355         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1356         standard zero-initializer syntax.
1358 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1360         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1361         reference to the internal VX_GET_TLS_DATA interface.
1363 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1365         * config/vxcrtstuff.c: Fix incorrect spelling of
1366         USE_INITFINI_ARRAY in guard.
1368 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1370         * config.host: s/msp430*-*-elf/msp430-*-elf*.
1371         Override default "extra_parts" variable.
1372         * configure: Regenerate.
1373         * configure.ac: Disable TM clone registry by default for
1374         msp430-elfbare.
1376 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1378         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1379         "extra_parts".
1380         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1382 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1384         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1385         true.
1387 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1389         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1390         defined instead of its value.
1392 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1394         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1395         if it will have contents.
1397 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
1399         PR target/92055
1400         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1402 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1404         PR libgcc/91737
1405         * config.host: Add t-gthr-noweak on *-*-musl*.
1406         * config/t-gthr-noweak: New file.
1408 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
1410         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1411         volatile void *.  Remove trap check.
1412         (__kernel_cmpxchg2): Likewise.
1413         (FETCH_AND_OP_2): Adjust operand types.
1414         (OP_AND_FETCH_2): Likewise.
1415         (FETCH_AND_OP_WORD): Likewise.
1416         (OP_AND_FETCH_WORD): Likewise.
1417         (COMPARE_AND_SWAP_2): Likewise.
1418         (__sync_val_compare_and_swap_4): Likewise.
1419         (__sync_bool_compare_and_swap_4): Likewise.
1420         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1421         (__sync_lock_test_and_set_4): Likewise.
1422         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
1423         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
1424         for release.
1425         (__sync_lock_release_8): Remove.
1427 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1429         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1430         of __sigset_t.
1432 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
1433             Doug Rupp <rupp@adacore.com>
1434             Olivier Hainque  <hainque@adacore.com>
1436         * config.host: Collapse the arm-vxworks entries into
1437         a single arm-wrs-vxworks7* one.
1438         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
1439         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1440         kernel modules, to be overriden by libstdc++ when we link with
1441         it.  Rely on externally provided __exidx_start/end.
1443 2019-11-14  Doug Rupp  <rupp@adacore.com>
1444             Olivier Hainque  <hainque@adacore.com>
1446         * config.host: Handle aarch64*-wrs-vxworks7*.
1448 2019-11-12  Olivier Hainque  <hainque@adacore.com>
1450         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1451         sources except the cxx0x support to LIB2ADDEH.  We don't support
1452         cxx0x on AE/653.
1453         * config/t-vxworksae: New file.
1454         * config.host: Handle *-*-vxworksae: Add the two aforementioned
1455         Makefile fragment files at their expected position in the tmake_file
1456         list, in accordance with what is done for other VxWorks variants.
1458 2019-11-12  Corentin Gay  <gay@adacore.com>
1459             Jerome Lambourg  <lambourg@adacore.com>
1460             Olivier Hainque  <hainque@adacore.com>
1462         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1463         sources to LIB2ADDEH.
1464         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1465         * config/t-vxworks7: Likewise.
1467         * config.host: Append a block at the end of the file to add the
1468         t-gthr files to the tmake_file list for VxWorks after everything
1469         else.
1471         * config/vxlib.c: Rename as gthr-vxworks.c.
1472         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1474         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
1475         API and a basic error checking API, both internal.  Simplify the
1476         __gthread_once_t type definition and initializers.  Add sections
1477         for condition variables support and for the C++0x thread support,
1478         conditioned against Vx653 for the latter.
1480         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1481         implementation, leveraging the TAS internal API.
1482         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1483         API, leveraging the general availability of TLS services in VxWorks7
1484         post SR6xxx.
1485         (__gthread_setspecific, __gthread_setspecific): Use it.
1486         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1487         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
1488         support based on VxWorks primitives.
1489         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
1490         based on VxWorks primitives.
1492 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
1493             Olivier Hainque  <hainque@adacore.com>
1495         * config/vxcrtstuff.c: New file.
1496         * config/t-vxcrtstuff: New Makefile fragment.
1497         * config.host: Append t-vxcrtstuff to the tmake_file list
1498         on all VxWorks ports using dwarf for table based EH.
1500 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
1502         Support 64-bit double and 64-bit long double configurations.
1504         PR target/92055
1505         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1506         long double is a 32-bit type.
1507         * config/avr/t-avrlibc: Copy double64 and long-double64
1508         multilib(s) from the vanilla one.
1509         * config/avr/t-copy-libgcc: New Makefile snip.
1511 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1513         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1514         the target output object format is not ELF.
1515         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1517 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
1519         PR libgcc/78804
1520         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1521         * fp-bit.c (pack_d, unpack_d): Remove special cases for
1522         FLOAT_BIT_ORDER_MISMATCH.
1523         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1525 2019-11-01  Jim Wilson  <jimw@sifive.com>
1527         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1529 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1531         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1532         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
1533         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1534         Define symbols for 32-bit and f5series hardware multiply
1535         register addresses.
1536         Replace hard-coded register addresses with symbols.
1537         Fix "_mspabi*" typo.
1538         Fix whitespace.
1539         * config/msp430/lib2mul.c: Add comment.
1541 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
1543         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1544         unsigned int.  Adjust callers.
1545         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1546         unsigned int *.  Load relocation offset before function pointer.
1547         Add barrier to ensure ordering.
1549 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
1551         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1552         Load PIC register after branch target.  Fix white space.
1553         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1554         implementations.  Load PIC register after branch target.  Don't
1555         clobber function pointer when it points to function descriptor.
1556         Use nullification instead of branch in LINUX implementation.
1558 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
1560         * config/pa/fptr.c: Disable -Warray-bounds warning.
1562 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
1564         * config.in, configure: Re-rebuild with stock autoconf 2.69,
1565         not the ubuntu modified 2.69.
1567         PR target/91833
1568         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
1569         initialization if !HAVE_SYS_AUXV_H.
1570         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1571         * config.in, configure: Rebuild.
1573         PR target/91834
1574         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1575         overlap the inputs.
1577 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
1579         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1580         CTR_EL0.IDC and CTR_EL0.DIC.
1582 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
1584         Revert:
1585         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1586                 Mickaël Guêné <mickael.guene@st.com>
1588         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1589         architecture.
1591 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
1593         * config/aarch64/lse-init.c: New file.
1594         * config/aarch64/lse.S: New file.
1595         * config/aarch64/t-lse: New file.
1596         * config.host: Add t-lse to all aarch64 tuples.
1598 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1599         Mickaël Guêné <mickael.guene@st.com>
1601         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1602         architecture.
1604 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1605         Mickaël Guêné <mickael.guene@st.com>
1607         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1608         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1609         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1610         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1611         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1612         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1613         (__gnu_personality_sigframe_fdpic): New.
1614         (get_eit_entry): Add FDPIC signal frame support.
1616 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1617         Mickaël Guêné <mickael.guene@st.com>
1619         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1620         (__kernel_dmb): Likewise.
1621         (__fdpic_cmpxchg): New function.
1622         (__fdpic_dmb): New function.
1623         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1624         (gnu_Unwind_Find_got): New function.
1625         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1626         * unwind-arm-common.inc (UCB_PR_GOT): New.
1627         (funcdesc_t): New struct.
1628         (get_eit_entry): Add FDPIC support.
1629         (unwind_phase2): Likewise.
1630         (unwind_phase2_forced): Likewise.
1631         (__gnu_Unwind_RaiseException): Likewise.
1632         (__gnu_Unwind_Resume): Likewise.
1633         (__gnu_Unwind_Backtrace): Likewise.
1634         * unwind-pe.h (read_encoded_value_with_base): Likewise.
1636 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1637         Mickaël Guêné <mickael.guene@st.com>
1639         * libgcc/crtstuff.c: Add support for FDPIC.
1641 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1643         * config.host: Handle *-*-uclinuxfdpiceabi.
1645 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
1647         * config.host: Set cpu_type for bpf-*-* targets.
1648         * config/bpf/t-bpf: Likewise.
1649         * config/bpf/crtn.S: Likewise.
1650         * config/bpf/crti.S: New file.
1652 2019-09-06  Jim Wilson  <jimw@sifive.com>
1654         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1655         (riscv*-*-freebsd*): Likewise.
1657 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
1659         * config.host: Remove references to spu.
1660         * config/spu/: Remove directory.
1662 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1664         PR target/91306
1665         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1666         element type, instead of "sizeof" the element type.
1667         (__DTOR_LIST__): Likewise.
1668         (__TMC_LIST__): Likewise.
1669         (__do_global_dtors_aux_fini_array_entry): Likewise.
1670         (__frame_dummy_init_array_entry): Likewise.
1671         (__CTOR_END__): Likewise.
1672         (__DTOR_END__): Likweise.
1673         (__FRAME_END__): Likewise.
1674         (__TMC_END__): Likewise.
1676 2019-08-20  Lili Cui  <lilicui@intel.com>
1678         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1679         INTEL_COREI7_COOPERLAKE.
1681 2019-07-31  Matt Thomas  <matt@3am-software.com>
1682             Nick Hudson <nick@nthcliff.demon.co.uk>
1683             Matthew Green <mrg@eterna.com.au>
1684             Maya Rashish <coypu@sdf.org>
1686         * config.host (hppa*-*-netbsd*): New case.
1687         * config/pa/t-netbsd: New file.
1689 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
1691         * config/arm/cmse.c (cmse_check_address_range): Add
1692         warn_unused_result attribute.
1694 2019-07-22  Martin Liska  <mliska@suse.cz>
1696         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1697         * config/pa/t-stublib: Likewise.
1699 2019-07-22  Stafford Horne  <shorne@gmail.com>
1701         PR target/90362
1702         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1703         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1704         instructions are not available on every processor.  Change a
1705         l.bnf to l.bf to fix logic issue.
1707 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
1709         * config.host: Remove reference to t-darwin8.
1711 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
1713         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1714         list.
1715         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
1716         mmacosx-version-min for crts to run across all system versions.
1717         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1718         * config/t-darwin: Revise mmacosx-version-min for crts to run across
1719         system versions >= 10.4.
1721 2019-07-03  Martin Liska  <mliska@suse.cz>
1723         * Makefile.in: Use topn_values instead of one_value names.
1724         * libgcov-merge.c (__gcov_merge_single): Move to ...
1725         (__gcov_merge_topn): ... this.
1726         (merge_single_value_set): Move to ...
1727         (merge_topn_values_set): ... this.
1728         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1729         ...
1730         (__gcov_topn_values_profiler_body): ... this.
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.
1735         (__gcov_indirect_call_profiler_v4): Remove.
1736         * libgcov-util.c (__gcov_single_counter_op): Move to ...
1737         (__gcov_topn_counter_op): ... this.
1738         * libgcov.h (L_gcov_merge_single): Remove.
1739         (L_gcov_merge_topn): New.
1740         (__gcov_merge_single): Remove.
1741         (__gcov_merge_topn): New.
1742         (__gcov_one_value_profiler_v2): Move to ..
1743         (__gcov_topn_values_profiler): ... this.
1744         (__gcov_one_value_profiler_v2_atomic): Move to ...
1745         (__gcov_topn_values_profiler_atomic): ... this.
1747 2019-07-03  Martin Liska  <mliska@suse.cz>
1749         * libgcov-merge.c (merge_single_value_set): Support N values.
1750         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1752 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
1754         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1755         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1756         * configure.ac: Add --disable-tm-clone-registry option.
1757         * configure: Regenerate.
1759 2019-06-27  Martin Liska  <mliska@suse.cz>
1761         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1762         dead assignments.
1763         * libgcov-util.c: Likewise.
1765 2019-06-27  Martin Liska  <mliska@suse.cz>
1767         * libgcov-util.c (gcov_profile_merge): Release allocated
1768         memory.
1769         (calculate_overlap): Likewise.
1771 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
1773         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1774         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1775         Build objects for the out of line save/restore register functions
1776         so that they can be used for any supported Darwin version.
1777         * config/t-darwin: Default the build Darwin version to Darwin8
1778         (MacOS 10.4).
1780 2019-06-25  Martin Liska  <mliska@suse.cz>
1782         * libgcov-driver-system.c (replace_filename_variables): Do not
1783         call strlen with NULL argument.
1785 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
1787         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1788         * config/gcn/unwind-gcn.c: New file.
1790 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
1791             Andrew Stubbs  <ams@codesourcery.com>
1793         * configure: Regenerate.
1794         * config/gcn/gthr-gcn.h: New.
1796 2019-06-18  Tom de Vries  <tdevries@suse.de>
1798         * config/nvptx/crt0.c (__main): Declare.
1800 2019-06-17  Matthew Green  <mrg@eterna.com.au>
1801             Maya Rashish  <coypu@sdf.org>
1803         * config.host (aarch64*-*-netbsd*): New case.
1805 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1807         * config/msp430/slli.S (__mspabi_sllll): New library function for
1808         performing a logical left shift of a 64-bit value.
1809         * config/msp430/srai.S (__mspabi_srall): New library function for
1810         performing a arithmetic right shift of a 64-bit value.
1811         * config/msp430/srll.S (__mspabi_srlll): New library function for
1812         performing a logical right shift of a 64-bit value.
1814 2019-06-14  Matt Thomas  <matt@3am-software.com>
1815             Matthew Green  <mrg@eterna.com.au>
1816             Nick Hudson  <skrll@netbsd.org>
1817             Maya Rashish  <coypu@sdf.org>
1819         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1820         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1821         functions to build.
1822         * config/arm/t-netbsd-eabi: New file.
1824 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
1826         * config.host: Add PRU target.
1827         * config/pru/asri.c: New file.
1828         * config/pru/eqd.c: New file.
1829         * config/pru/eqf.c: New file.
1830         * config/pru/ged.c: New file.
1831         * config/pru/gef.c: New file.
1832         * config/pru/gtd.c: New file.
1833         * config/pru/gtf.c: New file.
1834         * config/pru/led.c: New file.
1835         * config/pru/lef.c: New file.
1836         * config/pru/lib2bitcountHI.c: New file.
1837         * config/pru/lib2divHI.c: New file.
1838         * config/pru/lib2divQI.c: New file.
1839         * config/pru/lib2divSI.c: New file.
1840         * config/pru/libgcc-eabi.ver: New file.
1841         * config/pru/ltd.c: New file.
1842         * config/pru/ltf.c: New file.
1843         * config/pru/mpyll.S: New file.
1844         * config/pru/pru-abi.h: New file.
1845         * config/pru/pru-asm.h: New file.
1846         * config/pru/pru-divmod.h: New file.
1847         * config/pru/sfp-machine.h: New file.
1848         * config/pru/t-pru: New file.
1850 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
1852         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1854 2019-06-10  Martin Liska  <mliska@suse.cz>
1856         PR bootstrap/90808
1857         * libgcov.h: Add ATTRIBUTE_UNUSED.
1859 2019-06-10  Martin Liska  <mliska@suse.cz>
1861         * Makefile.in: Add __gcov_one_value_profiler_v2,
1862         __gcov_one_value_profiler_v2_atomic and
1863         __gcov_indirect_call_profiler_v4.
1864         * libgcov-merge.c (__gcov_merge_single): Change
1865         function signature.
1866         (merge_single_value_set): New.
1867         * libgcov-profiler.c (__gcov_one_value_profiler_body):
1868         Update functionality.
1869         (__gcov_one_value_profiler): Remove.
1870         (__gcov_one_value_profiler_v2): ... this.
1871         (__gcov_one_value_profiler_atomic): Rename to ...
1872         (__gcov_one_value_profiler_v2_atomic): this.
1873         (__gcov_indirect_call_profiler_v3): Rename to ...
1874         (__gcov_indirect_call_profiler_v4): ... this.
1875         * libgcov.h (__gcov_one_value_profiler): Remove.
1876         (__gcov_one_value_profiler_atomic): Remove.
1877         (__gcov_one_value_profiler_v2_atomic): New.
1878         (__gcov_indirect_call_profiler_v3): Remove.
1879         (__gcov_one_value_profiler_v2): New.
1880         (__gcov_indirect_call_profiler_v4): New.
1881         (gcov_get_counter_ignore_scaling): New function.
1883 2019-06-07  Martin Liska  <mliska@suse.cz>
1885         * Makefile.in: Remove usage of
1886         _gcov_merge_icall_topn.
1887         * libgcov-driver.c (gcov_sort_n_vals): Remove.
1888         (gcov_sort_icall_topn_counter): Likewise.
1889         (gcov_sort_topn_counter_arrays): Likewise.
1890         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1891         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1892         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1893         Likewise.
1894         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1895         (struct indirect_call_tuple): Remove.
1896         (__gcov_indirect_call_topn_profiler): Remove.
1897         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1898         * libgcov.h (gcov_sort_n_vals): Remove.
1899         (L_gcov_merge_icall_topn): Likewise.
1900         (__gcov_merge_icall_topn): Likewise.
1901         (__gcov_indirect_call_topn_profiler): Likewise.
1903 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
1905         * config/rs6000/t-darwin: Ensure that the unwinder is built with
1906         altivec enabled.
1908 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1910         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1911         section.
1912         (__mspabi_slli): Likewise.
1913         (__mspabi_slll_n): Likewise.
1914         (__mspabi_slll): Likewise.
1915         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1916         (__mspabi_srai): Likewise.
1917         (__mspabi_sral_n): Likewise.
1918         (__mspabi_sral): Likewise.
1919         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1920         (__mspabi_srli): Likewise.
1921         (__mspabi_srll_n): Likewise.
1922         (__mspabi_srll): Likewise.
1924 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
1926         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1927         Add appropriate tm_file clause as well.
1928         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1930 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
1932         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1933         rather than .data/.bss so it can be accessed via gp-relative
1934         addressing.
1936 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
1938         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1939         (CR2_REGNO): Rename to R_CR2.
1940         (XER_REGNO): Rename to R_XER.
1941         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1942         (VRSAVE_REGNO): Rename to R_VRSAVE.
1943         (VSCR_REGNO): R_VSCR.
1945 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
1947         * config.host (rx-*-linux*): Add new case.
1948         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1950 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
1952         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1953         function.
1954         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1955         aarch64_post_frob_eh_handler_addr): Add check for b-key.
1956         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1957         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1958         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1959         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1960         string.
1961         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1962         string.
1963         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1965 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1967         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1968         Remove Solaris 9 and 10 support.
1969         (sparc_is_sighandler): Likewise.
1971 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
1973         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1975 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1977         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1978         4_FP_W_TYPEs are used for IEEE quad precision.
1979         * soft-fp/extendhftf2.c: Likewise.
1980         * soft-fp/extendsftf2.c: Likewise.
1981         * soft-fp/extendxftf2.c: Likewise.
1982         * soft-fp/trunctfdf2.c: Likewise.
1983         * soft-fp/trunctfhf2.c: Likewise.
1984         * soft-fp/trunctfsf2.c: Likewise.
1985         * soft-fp/trunctfxf2.c: Likewise.
1986         * config/rs6000/ibm-ldouble.c: Likewise.
1988 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1990         * config.host: Simplify various *-*-solaris2.1[0-9]* to
1991         *-*-solaris2*.
1992         * configure.ac: Likewise.
1993         * configure: Regenerate.
1995         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1996         Solaris 10 and Solaris 11 < snv_125 handling.
1998 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
2000         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2002 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
2004         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2005         * config/i386/cpuinfo.h (enum processor_features): Add
2006         FEATURE_AVX512BF16.
2008 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2009             Bernd Edlinger  <bernd.edlinger@hotmail.de>
2010             Jakub Jelinek  <jakub@redhat.com>
2012         PR target/89093
2013         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2014         * config/arm/unwind-arm.c: Likewise.
2015         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2016         attribute for ARM.
2018 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
2020         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2021         (RT_SIGRETURN): Update.
2022         (nds32_fallback_frame_state): Update.
2024 2019-02-21  Martin Sebor  <msebor@redhat.com>
2026         * libgcc2.h (__clear_cache): Correct signature.
2027         * libgcc2.c (__clear_cache): Same.
2029 2019-02-20  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2031         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2032         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2034 2019-02-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2036         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2037         regno instead of index to DWARF_ZERO_REG.
2039 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
2041         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2042         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2044 2019-01-31  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2046         * config/alpha/t-linux: Add -mfp-rounding-mode=d
2047         to HOST_LIBGCC2_CFLAGS.
2049 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
2051         PR libgcc/88931
2052         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
2054 2019-01-18  Martin Liska  <mliska@suse.cz>
2056         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2057         to ...
2058         (__gcov_indirect_call_profiler_v3): ... this.
2059         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2060         (__gcov_indirect_call_profiler_v3): Likewise.
2061         * Makefile.in: Bump function name.
2063 2019-01-18  Martin Liska  <mliska@suse.cz>
2065         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2066         (gcov_version): Use in gcov_error.
2067         (merge_one_data): Likewise.
2068         (dump_one_gcov): Likewise.
2070 2019-01-18  Martin Liska  <mliska@suse.cz>
2072         * libgcov-driver.c (gcov_version_string): New function.
2073         (gcov_version): Convert version integer into string.
2075 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
2076             Kwok Cheung Yeung  <kcy@codesourcery.com>
2077             Julian Brown  <julian@codesourcery.com>
2078             Tom de Vries  <tom@codesourcery.com>
2080         * config.host: Recognize amdgcn*-*-amdhsa.
2081         * config/gcn/crt0.c: New file.
2082         * config/gcn/lib2-divmod-hi.c: New file.
2083         * config/gcn/lib2-divmod.c: New file.
2084         * config/gcn/lib2-gcn.h: New file.
2085         * config/gcn/sfp-machine.h: New file.
2086         * config/gcn/t-amdgcn: New file.
2088 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
2090         PR other/16615
2092         * config/c6x/libunwind.S: Mechanically replace "can not" with
2093         "cannot".
2094         * config/tilepro/atomic.h: Likewise.
2095         * config/vxlib-tls.c: Likewise.
2096         * generic-morestack-thread.c: Likewise.
2097         * generic-morestack.c: Likewise.
2098         * mkmap-symver.awk: Likewise.
2100 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
2102         Update copyright years.
2104 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
2106         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2107         to ignore -Waddress-of-packed-member.
2109 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
2111         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2112         parameter and corresponding code.
2113         (ARM_FUNC_START): Likewise in both definitions.
2114         Also update footer comment about condition that need to match with
2115         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2116         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2117         defined.  Weakly define it in this case.
2118         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2119         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2120         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2121         comment to keep condition in sync with the one in
2122         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2124 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
2126         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2127         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2129 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2131         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2132         and .cfi_endproc directives for VxWorks targets.
2134 2018-12-05  Paul Koning  <ni1d@arrl.net>
2136         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2138 2018-11-27  Alan Modra  <amodra@gmail.com>
2140         * config/rs6000/morestack.S (__stack_split_initialize),
2141         (__morestack_get_guard, __morestack_set_guard),
2142         (__morestack_make_guard): Provide CFI covering these functions.
2143         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2145 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2147         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2148         (sc_pt_regs_lr): Update for kernel.
2149         (sc_pt_regs_tls): Update for kernel.
2151 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2153         * config/csky/linux-unwind.h: Fix coding style.
2155 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2157         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2158         (csky_fallback_frame_state): Modify the check of the
2159         instructions to adapt to changes in the kernel
2161 2018-11-09  Stafford Horne  <shorne@gmail.com>
2162             Richard Henderson  <rth@twiddle.net>
2164         * config.host: Add OpenRISC support.
2165         * config/or1k/*: New.
2167 2018-11-08  Kito Cheng  <kito@andestech.com>
2169         * soft-fp/adddf3.c: Update from glibc.
2170         * soft-fp/addsf3.c: Likewise.
2171         * soft-fp/addtf3.c: Likewise.
2172         * soft-fp/divdf3.c: Likewise.
2173         * soft-fp/divsf3.c: Likewise.
2174         * soft-fp/divtf3.c: Likewise.
2175         * soft-fp/double.h: Likewise.
2176         * soft-fp/eqdf2.c: Likewise.
2177         * soft-fp/eqsf2.c: Likewise.
2178         * soft-fp/eqtf2.c: Likewise.
2179         * soft-fp/extenddftf2.c: Likewise.
2180         * soft-fp/extended.h: Likewise.
2181         * soft-fp/extendhftf2.c: Likewise.
2182         * soft-fp/extendsfdf2.c: Likewise.
2183         * soft-fp/extendsftf2.c: Likewise.
2184         * soft-fp/extendxftf2.c: Likewise.
2185         * soft-fp/fixdfdi.c: Likewise.
2186         * soft-fp/fixdfsi.c: Likewise.
2187         * soft-fp/fixdfti.c: Likewise.
2188         * soft-fp/fixhfti.c: Likewise.
2189         * soft-fp/fixsfdi.c: Likewise.
2190         * soft-fp/fixsfsi.c: Likewise.
2191         * soft-fp/fixsfti.c: Likewise.
2192         * soft-fp/fixtfdi.c: Likewise.
2193         * soft-fp/fixtfsi.c: Likewise.
2194         * soft-fp/fixtfti.c: Likewise.
2195         * soft-fp/fixunsdfdi.c: Likewise.
2196         * soft-fp/fixunsdfsi.c: Likewise.
2197         * soft-fp/fixunsdfti.c: Likewise.
2198         * soft-fp/fixunshfti.c: Likewise.
2199         * soft-fp/fixunssfdi.c: Likewise.
2200         * soft-fp/fixunssfsi.c: Likewise.
2201         * soft-fp/fixunssfti.c: Likewise.
2202         * soft-fp/fixunstfdi.c: Likewise.
2203         * soft-fp/fixunstfsi.c: Likewise.
2204         * soft-fp/fixunstfti.c: Likewise.
2205         * soft-fp/floatdidf.c: Likewise.
2206         * soft-fp/floatdisf.c: Likewise.
2207         * soft-fp/floatditf.c: Likewise.
2208         * soft-fp/floatsidf.c: Likewise.
2209         * soft-fp/floatsisf.c: Likewise.
2210         * soft-fp/floatsitf.c: Likewise.
2211         * soft-fp/floattidf.c: Likewise.
2212         * soft-fp/floattihf.c: Likewise.
2213         * soft-fp/floattisf.c: Likewise.
2214         * soft-fp/floattitf.c: Likewise.
2215         * soft-fp/floatundidf.c: Likewise.
2216         * soft-fp/floatundisf.c: Likewise.
2217         * soft-fp/floatunditf.c: Likewise.
2218         * soft-fp/floatunsidf.c: Likewise.
2219         * soft-fp/floatunsisf.c: Likewise.
2220         * soft-fp/floatunsitf.c: Likewise.
2221         * soft-fp/floatuntidf.c: Likewise.
2222         * soft-fp/floatuntihf.c: Likewise.
2223         * soft-fp/floatuntisf.c: Likewise.
2224         * soft-fp/floatuntitf.c: Likewise.
2225         * soft-fp/gedf2.c: Likewise.
2226         * soft-fp/gesf2.c: Likewise.
2227         * soft-fp/getf2.c: Likewise.
2228         * soft-fp/half.h: Likewise.
2229         * soft-fp/ledf2.c: Likewise.
2230         * soft-fp/lesf2.c: Likewise.
2231         * soft-fp/letf2.c: Likewise.
2232         * soft-fp/muldf3.c: Likewise.
2233         * soft-fp/mulsf3.c: Likewise.
2234         * soft-fp/multf3.c: Likewise.
2235         * soft-fp/negdf2.c: Likewise.
2236         * soft-fp/negsf2.c: Likewise.
2237         * soft-fp/negtf2.c: Likewise.
2238         * soft-fp/op-1.h: Likewise.
2239         * soft-fp/op-2.h: Likewise.
2240         * soft-fp/op-4.h: Likewise.
2241         * soft-fp/op-8.h: Likewise.
2242         * soft-fp/op-common.h: Likewise.
2243         * soft-fp/quad.h: Likewise.
2244         * soft-fp/single.h: Likewise.
2245         * soft-fp/soft-fp.h: Likewise.
2246         * soft-fp/subdf3.c: Likewise.
2247         * soft-fp/subsf3.c: Likewise.
2248         * soft-fp/subtf3.c: Likewise.
2249         * soft-fp/truncdfsf2.c: Likewise.
2250         * soft-fp/trunctfdf2.c: Likewise.
2251         * soft-fp/trunctfhf2.c: Likewise.
2252         * soft-fp/trunctfsf2.c: Likewise.
2253         * soft-fp/trunctfxf2.c: Likewise.
2254         * soft-fp/unorddf2.c: Likewise.
2255         * soft-fp/unordsf2.c: Likewise.
2256         * soft-fp/unordtf2.c: Likewise.
2258 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
2260         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2261         * config/i386/cpuinfo.h (processor_types): Add znver2.
2263 2018-11-01  Paul Koning  <ni1d@arrl.net>
2265         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2266         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2268 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
2270         PR bootstrap/82856
2271         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
2272         * configure: Regenerate.
2274 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
2276         * config/arc/lib1funcs.S (_muldi3): New function.
2277         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2279 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2281         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2283 2018-10-25  Martin Liska  <mliska@suse.cz>
2285         PR other/87735
2286         * libgcov-profiler.c: Revert.
2288 2018-10-24  Martin Liska  <mliska@suse.cz>
2290         * libgcov-profiler.c: Start from 1 in order to distinguish
2291         functions which were seen and these that were not.
2293 2018-10-18  Paul Koning  <ni1d@arrl.net>
2295         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2296         standard.
2297         * divmod.c: Update references to __udivmodsi4.
2298         * udivmod.c: Ditto.
2299         * udivhi3.c: New file.
2300         * udivmodhi4.c: New file.
2301         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2303 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2305         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2307 2018-10-12  Olivier Hainque  <hainque@adacore.com>
2309         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2310         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2312 2018-10-08  Paul Koning  <ni1d@arrl.net>
2314         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2316 2018-10-04  Martin Liska  <mliska@suse.cz>
2318         PR gcov-profile/84107
2319         * libgcov-profiler.c (__gcov_indirect_call):
2320         Change type to indirect_call_tuple.
2321         (struct indirect_call_tuple): New struct.
2322         (__gcov_indirect_call_topn_profiler): Change type.
2323         (__gcov_indirect_call_profiler_v2): Use the new
2324         variables.
2325         * libgcov.h (struct indirect_call_tuple): New struct
2326         definition.
2328 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
2330         * libgcc2.c (isnan): Use __builtin_isnan.
2331         (isfinite): Use __builtin_isfinite.
2332         (isinf): Use __builtin_isinf.
2334 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
2336         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2338 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
2340         * config/vxcache.c: New file.  Provide __clear_cache, based on
2341         the cacheTextUpdate VxWorks service.
2342         * config/t-vxworks (LIB2ADD): Add vxcache.c.
2343         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2344         * config/t-vxwoks7: Likewise.
2346 2018-09-21  Martin Liska  <mliska@suse.cz>
2348         * libgcov-driver.c (crc32_unsigned): Remove.
2349         (gcov_histogram_insert): Likewise.
2350         (gcov_compute_histogram): Likewise.
2351         (compute_summary): Simplify rapidly.
2352         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2353         (merge_summary): Rapidly simplify.
2354         (dump_one_gcov): Ignore gcov_summary.
2355         (gcov_do_dump): Do not handle program summary, it's not
2356         used.
2357         * libgcov-util.c (tag_summary): Remove.
2358         (read_gcda_finalize): Fix coding style.
2359         (read_gcda_file): Initialize curr_object_summary.
2360         (compute_summary): Remove.
2361         (calculate_overlap): Remove settings of run_max.
2363 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
2365         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2366         ucontext_t type instead.
2367         (nds32_fallback_frame_state): Remove struct _sigframe statement.
2369 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
2371         * config/nds32/t-nds32-glibc: New file.
2373 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2375         * configure.ac (solaris_ld_v2_maps): New test.
2376         * configure: Regenerate.
2377         * Makefile.in (solaris_ld_v2_maps): New variable.
2378         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2379         if supported.
2381 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
2383         PR target/86951
2384         * config/arm/lib1funcs.asm (speculation_barrier): New function.
2385         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2386         to build.
2388 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
2390         * config/unwind-dw2-fde-darwin.c
2391         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2392         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
2393         * config/t-darwin: Build Darwin10 unwinder shim crt.
2394         * libgcc/config.host: Add the Darwin10 unwinder shim.
2396 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2398         * config.host: Add crtbegin.o and crtend.o for
2399         powerpc-wrs-vxworks target.
2401 2018-08-17  Jojo  <jijie_rong@c-sky.com>
2402             Huibin Wang  <huibin_wang@c-sky.com>
2403             Sandra Loosemore  <sandra@codesourcery.com>
2404             Chung-Lin Tang  <cltang@codesourcery.com>
2406         C-SKY port: libgcc
2408         * config.host: Add C-SKY support.
2409         * config/csky/*: New.
2411 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
2413         * config/nds32/t-nds32-isr: Rearrange object dependency.
2414         * config/nds32/initfini.c: Add dwarf2 unwinding support.
2415         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2416         and registers usage.
2417         * config/nds32/isr-library/excp_isr.S: Ditto.
2418         * config/nds32/isr-library/intr_isr.S: Ditto.
2419         * config/nds32/isr-library/reset.S: Ditto.
2420         * config/nds32/isr-library/restore_all.inc: Ditto.
2421         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2422         * config/nds32/isr-library/restore_partial.inc: Ditto.
2423         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2424         * config/nds32/isr-library/save_all.inc: Ditto.
2425         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2426         * config/nds32/isr-library/save_partial.inc: Ditto.
2427         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2428         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2430 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
2432         * config/pa/linux-atomic.c: Update comment.
2433         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2434         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2435         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2436         __ATOMIC_RELAXED for atomic loads.
2437         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
2438         unordered store to release lock.
2439         (__sync_lock_release_8): Likewise.
2440         (SYNC_LOCK_RELEASE_2): Remove define.
2442 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
2444         PR libgcc/86512
2445         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2446         exponent goes negative. Update my email address.
2447         * config/arm/ieee754-sf.S: Likewise.
2449 2018-08-01  Martin Liska  <mliska@suse.cz>
2451         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2452         check that  __gcov_indirect_call_callee is non-null.
2454 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
2456         * config/arm/ieee754-df.S: Fix comment for code working on
2457         architectures >= 4.
2458         * config/arm/ieee754-sf.S: Likewise.
2460 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2462         PR libgcc/85334
2463         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2464         Removed.
2466 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
2468         * configure: Regenerated.
2470 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2472         * Makefile.in (install_leaf): Use enable_gcov instead of
2473         enable_libgcov.
2475 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2477         * configure.ac: Add --disable-gcov option.
2478         * configure: Regenerate.
2479         * Makefile.in: Honour @enable_gcov@.
2481 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
2483         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2484         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2485         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2486         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2487         __ARM_ARCH__.
2488         * config/arm/ieee754-sf.S: Likewise.
2489         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2491 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
2493         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2494         longer supported.
2495         * config/arm/ieee754-sf.S: Likewise.
2497 2018-06-20  Than McIntosh  <thanm@google.com>
2499         PR libgcc/86213
2500         * generic-morestack.c (allocate_segment): Move calls to getenv and
2501         getpagesize to __morestack_load_mmap.
2502         (__morestack_load_mmap) Initialize static_pagesize and
2503         use_guard_page here so as to avoid clobbering SSE regs during a
2504         __morestack call.
2506 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
2508         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2509         support modules with -mno-gnu-attribute.
2510         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2512 2018-06-07  Olivier Hainque  <hainque@adacore.com>
2514         * config/t-vxworks (LIBGCC_INCLUDES): Add
2515         -I$(MULTIBUILDTOP)../../gcc/include.
2516         * config/t-vxworks7: Likewise. Reformat a bit to match
2517         the t-vxworks layout.
2519 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
2521         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2523 2018-06-07  Martin Liska  <mliska@suse.cz>
2525         * libgcov-driver.c: Rename cs_all to all and assign it from
2526         all_prg.
2528 2018-06-07  Martin Liska  <mliska@suse.cz>
2530         PR bootstrap/86057
2531         * libgcov-driver-system.c (replace_filename_variables): Use
2532         memcpy instead of mempcpy.
2533         (allocate_filename_struct): Do not allocate filename, allocate
2534         prefix and set it.
2535         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2536         here and properly copy content into it.
2537         * libgcov-driver.c (struct gcov_filename): Remove max_length
2538         field, change prefix from size_t into char *.
2539         (compute_summary): Do not calculate longest filename.
2540         (gcov_do_dump): Release memory of gf.filename after each file.
2541         * libgcov-util.c (compute_summary): Use new signature of
2542         compute_summary.
2543         (calculate_overlap): Likewise.
2545 2018-06-05  Martin Liska  <mliska@suse.cz>
2547         PR gcov-profile/47618
2548         * libgcov-driver-system.c (replace_filename_variables): New
2549         function.
2550         (gcov_exit_open_gcda_file): Use it.
2552 2018-06-05  Martin Liska  <mliska@suse.cz>
2554         * libgcov-driver.c (gcov_compute_histogram): Remove usage
2555         of gcov_ctr_summary.
2556         (compute_summary): Do it just for a single summary.
2557         (merge_one_data): Likewise.
2558         (merge_summary): Simplify as we read just single summary.
2559         (dump_one_gcov): Pass proper argument.
2560         * libgcov-util.c (compute_one_gcov): Simplify as we have just
2561         single summary.
2562         (gcov_info_count_all_cold): Likewise.
2563         (calculate_overlap): Likewise.
2565 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
2566             Monk Chiang  <sh.chiang04@gmail.com>
2568         * config.host (nds32*-linux*): New.
2569         * config/nds32/linux-atomic.c: New file.
2570         * config/nds32/linux-unwind.h: New file.
2572 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
2574         PR target/85591
2575         * config/i386/cpuinfo.c (get_amd_cpu): Return
2576         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2578 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
2580         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2582 2018-05-29  Martin Liska  <mliska@suse.cz>
2584         PR gcov-profile/85759
2585         * libgcov-driver-system.c (gcov_error): Introduce usage of
2586         GCOV_EXIT_AT_ERROR env. variable.
2587         * libgcov-driver.c (merge_one_data): Print error that we
2588         overwrite a gcov file with a different timestamp.
2590 2018-05-23  Kalamatee  <kalamatee@gmail.com>
2592         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2593         path to Lf$finfty.
2595 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
2596             Monk Chiang  <sh.chiang04@gmail.com>
2597             Jim Wilson <jimw@sifive.com>
2599         * config/riscv/save-restore.S: Add support for rv32e.
2601 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2603         * config/arm/libunwind.S: Update comment relating to armv5.
2605 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
2607         * config/arm/cmse.c (cmse_check_address_range): Replace
2608         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2610 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
2612         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2613         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2615 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
2617         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2618         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2620 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
2622         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2624 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
2625             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2627         PR libgcc/84292
2628         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2629         op_and_fetch to return the right result.
2631 2018-04-27  Alan Modra  <amodra@gmail.com>
2633         PR libgcc/85532
2634         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2635         -fno-asynchronous-unwind-tables.
2637 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
2639         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2640         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2642 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
2644         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2645         when including "config/i386/shadow-stack-unwind.h".
2647 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
2649         * configure: Regenerated.
2651 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
2653         PR target/85456
2654         * config/rs6000/_powikf2.c: New file.  Add support for the
2655         __builtin_powil function when long double is IEEE 128-bit floating
2656         point.
2657         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2658         __powikf2 support.
2659         (__powikf2): Likewise.
2660         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2661         (__powikf2_hw): Likewise.
2662         (__powikf2): Likewise.
2663         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2664         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2665         (_powikf2-hw.c): Likewise.
2667 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
2669         PR libgcc/85334
2670         * unwind-generic.h (_Unwind_Frames_Increment): New.
2671         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2672         Likewise.
2673         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2674         count with _Unwind_Frames_Increment.
2675         (_Unwind_ForcedUnwind_Phase2): Likewise.
2677 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
2679         PR libgcc/85379
2680         * config/i386/morestack.S (__stack_split_initialize): Add
2681         _CET_ENDBR.
2683 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
2685         * configure: Regenerated.
2687 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
2689         PR jit/85384
2690         * configure: Regenerate.
2692 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
2694         PR target/84945
2695         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2696         -Wdangling-else warnings.  Mask shift counts to avoid
2697         -Wshift-count-negative and -Wshift-count-overflow false positives.
2699 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
2701         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2703 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
2705         PR target/85100
2706         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2707         (XSTATE_FP): Likewise.
2708         (XSTATE_SSE): Likewise.
2709         (XSTATE_YMM): Likewise.
2710         (XSTATE_OPMASK): Likewise.
2711         (XSTATE_ZMM): Likewise.
2712         (XSTATE_HI_ZMM): Likewise.
2713         (XCR_AVX_ENABLED_MASK): Likewise.
2714         (XCR_AVX512F_ENABLED_MASK): Likewise.
2715         (get_available_features): Enable AVX and AVX512 features only
2716         if their states are supported by OSXSAVE.
2718 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2720         PR target/85025
2721         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2722         Fix a typo, tmp => 255.
2724 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
2726         PR target/84945
2727         * config/i386/cpuinfo.h (__cpu_features2): Declare.
2728         * config/i386/cpuinfo.c (__cpu_features2): New variable for
2729         ifndef SHARED only.
2730         (set_feature): Define.
2731         (get_available_features): Use set_feature macro.  Set __cpu_features2
2732         to the second word of features ifndef SHARED.
2734 2018-03-15  Julia Koval  <julia.koval@intel.com>
2736         * config/i386/cpuinfo.c (get_available_features): Add
2737         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2738         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2739         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2740         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2741         FEATURE_AVX512BITALG.
2743 2018-03-14  Julia Koval  <julia.koval@intel.com>
2745         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2746         icelake client and icelake server.
2748 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
2750         * config/pa/fptr.c (_dl_read_access_allowed): New.
2751         (__canonicalize_funcptr_for_compare): Use it.
2753 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
2755         PR debug/83917
2756         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2757         $asm_hidden_op if visibility ("hidden") attribute works.
2758         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2759         * config/i386/i386-asm.h: Don't include auto-host.h.
2760         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2761         PACKAGE_URL): Don't undefine.
2762         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2763         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2764         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2765         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2766         definition instead of hardcoded .hidden.
2767         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2768         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2769         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2770         (USE_GAS_CFI_DIRECTIVES): Don't define.
2771         * configure: Regenerated.
2772         * config.in: Likewise.
2774 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
2776         PR debug/83917
2777         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2778         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2779         inclusion of auto-target.h and auto-host.h.
2780         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2781         __GCC_HAVE_DWARF2_CFI_ASM.
2782         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2783         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2784         cfi_pop): Define.
2785         * config/i386/cygwin.S: Don't include auto-host.h here, just
2786         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2787         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2788         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2789         * config/i386/resms64fx.h: Add cfi_* directives.
2790         * config/i386/resms64x.h: Likewise.
2792 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
2794         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2795         .literal_position directive.
2796         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2798 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2800         PR target/84148
2801         * configure: Regenerate.
2803 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2805         PR target/84239
2806         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2807         Include cetintrin.h not x86intrin.h.
2809 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2811         PR target/84239
2812         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2813         Use new _get_ssp and _inc_ssp intrinsics.
2815 2018-02-02  Julia Koval  <julia.koval@intel.com>
2817         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2819 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
2821         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2822         option.
2823         (__divsi3): Use RF16 safe registers.
2824         (__modsi3): Likewise.
2826 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
2828         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2829         (__divsf3): Make NaN return value quiet.
2830         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2831         (__divdf3): Make NaN return value quiet.
2833 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2835         * config/rl78/anddi3.S: New assembly file.
2836         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2838 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2840         * config/rl78/umindi3.S: New assembly file.
2841         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2843 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2845         * config/rl78/smindi3.S: New assembly file.
2846         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2848 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2850         * config/rl78/smaxdi3.S: New assembly file.
2851         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2853 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2855         * config/rl78/umaxdi3.S: New assembly file.
2856         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2858 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
2860         PR lto/83452
2861         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2862         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2864 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
2866         * config/aarch64/value-unwind.h (aarch64_vg): New function.
2867         (DWARF_LAZY_REGISTER_VALUE): Define.
2868         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2869         to provide a fallback register value.
2871 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
2873         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2874         __ibm128, instead of trying to use long double.
2875         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2876         accomidate -mabi=ieeelongdouble multilibs.
2877         (CVT_IBM128_TO_FLOAT128): Likewise.
2878         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2879         the appropriate IBM extended double type.
2880         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2881         (__gcc_qsub): Likewise.
2882         (__gcc_qmul): Likewise.
2883         (__gcc_qdiv): Likewise.
2884         (pack_ldouble): Likewise.
2885         (__gcc_qneg): Likewise.
2886         (__gcc_qeq): Likewise.
2887         (__gcc_qne): Likewise.
2888         (__gcc_qge): Likewise.
2889         (__gcc_qle): Likewise.
2890         (__gcc_stoq): Likewise.
2891         (__gcc_dtoq): Likewise.
2892         (__gcc_itoq): Likewise.
2893         (__gcc_utoq): Likewise.
2894         (__gcc_qunord): Likewise.
2895         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2896         quad-float128.h for the definitions.
2897         (COPYSIGN): Use the f128 version instead of the q version.
2898         (INFINITY): Likewise.
2899         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2900         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2901         quad-float128.h for the definitions.
2902         (COPYSIGN): Use the f128 version instead of the q version.
2903         (INFINITY): Likewise.
2904         (FABS): Likewise.
2905         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2906         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2907         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2909 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2911         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2912         configuration.
2914 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
2916         Update copyright years.
2918 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
2920         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2921         * config/riscv/multi3.c: New file.
2922         * config/riscv/multi3.S: Remove.
2924 2017-12-08  Jim Wilson  <jimw@sifive.com>
2926         * config/riscv/div.S: Use FUNC_* macros.
2927         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2928         * config/riscv/save-restore.S: Likewise.
2929         * config/riscv/riscv-asm.h: New.
2931 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
2933         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2934         * config/rs6000/_divkc3.c (__divkc3): Likewise.
2936         PR libgcc/83112
2937         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2938         correct type for all ifunc resolvers to silence -Wattribute-alias
2939         warnings.  Eliminate the forward declaration of the resolver
2940         functions which is no longer needed.
2941         (__subkf3_resolve): Likewise.
2942         (__mulkf3_resolve): Likewise.
2943         (__divkf3_resolve): Likewise.
2944         (__negkf2_resolve): Likewise.
2945         (__eqkf2_resolve): Likewise.
2946         (__nekf2_resolve): Likewise.
2947         (__gekf2_resolve): Likewise.
2948         (__gtkf2_resolve): Likewise.
2949         (__lekf2_resolve): Likewise.
2950         (__ltkf2_resolve): Likewise.
2951         (__unordkf2_resolve): Likewise.
2952         (__extendsfkf2_resolve): Likewise.
2953         (__extenddfkf2_resolve): Likewise.
2954         (__trunckfsf2_resolve): Likewise.
2955         (__trunckfdf2_resolve): Likewise.
2956         (__fixkfsi_resolve): Likewise.
2957         (__fixkfdi_resolve): Likewise.
2958         (__fixunskfsi_resolve): Likewise.
2959         (__fixunskfdi_resolve): Likewise.
2960         (__floatsikf_resolve): Likewise.
2961         (__floatdikf_resolve): Likewise.
2962         (__floatunsikf_resolve): Likewise.
2963         (__floatundikf_resolve): Likewise.
2964         (__extendkftf2_resolve): Likewise.
2965         (__trunctfkf2_resolve): Likewise.
2967         PR libgcc/83103
2968         * config/rs6000/quad-float128.h (TF): Don't define if long double
2969         is IEEE 128-bit floating point.
2970         (TCtype): Define as either TCmode or KCmode, depending on whether
2971         long double is IEEE 128-bit floating point.
2972         (__mulkc3_sw): Add declarations for software/hardware versions of
2973         complex multiply/divide.
2974         (__divkc3_sw): Likewise.
2975         (__mulkc3_hw): Likewise.
2976         (__divkc3_hw): Likewise.
2977         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2978         handlers to switch between using software emulation and hardware
2979         float128 instructions, build the complex multiply/divide functions
2980         for both software and hardware support.
2981         * config/rs6000/_divkc3.c (_divkc3): Likewise.
2982         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2983         (__divkc3_resolve): Likewise.
2984         (__mulkc3): Likewise.
2985         (__divkc3): Likewise.
2986         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2987         (fp128_hw_src): Likewise.
2988         (fp128_hw_static_obj): Likewise.
2989         (fp128_hw_shared_obj): Likewise.
2990         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2991         _mulkc3.c and _divkc3.c, changing the function name.
2992         (_divkc3-hw.c): Likewise.
2993         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2994         and _divkc3-hw.c.
2996 2017-11-26  Julia Koval  <julia.koval@intel.com>
2998         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2999         * config/i386/cpuinfo.h (processor_subtypes): Add
3000         INTEL_COREI7_CANNONLAKE.
3002 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3004         PR bootstrap/83015
3005         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3006         parameter.
3007         * config/xtensa/unwind-dw2-xtensa.c: Likewise
3008         * config/ia64/unwind-ia64.c: Add frames parameter.
3009         * unwind-sjlj.c: Likewise.
3011 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3013         * config/i386/linux-unwind.h: Include
3014         config/i386/shadow-stack-unwind.h.
3015         * config/i386/shadow-stack-unwind.h: New file.
3016         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3017         pass it to _Unwind_Frames_Extra.
3018         * unwind-generic.h (_Unwind_Frames_Extra): New.
3019         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3020         parameter. Add local variable frames to count number of frames.
3021         (_Unwind_ForcedUnwind_Phase2): Likewise.
3022         (_Unwind_RaiseException): Add local variable frames to count
3023         number of frames, pass it to _Unwind_RaiseException_Phase2 and
3024         uw_install_context.
3025         (_Unwind_ForcedUnwind): Likewise.
3026         (_Unwind_Resume): Likewise.
3027         (_Unwind_Resume_or_Rethrow): Likewise.
3029 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3031         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3032         (CET_FLAGS): New.
3033         * config/i386/morestack.S: Include <cet.h>.
3034         (__morestack_large_model): Add _CET_ENDBR at function entrance.
3035         * config/i386/resms64.h: Include <cet.h>.
3036         * config/i386/resms64f.h: Likewise.
3037         * config/i386/resms64fx.h: Likewise.
3038         * config/i386/resms64x.h: Likewise.
3039         * config/i386/savms64.h: Likewise.
3040         * config/i386/savms64f.h: Likewise.
3041         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3042         (CRTSTUFF_T_CFLAGS): Likewise.
3043         * configure.ac: Include ../config/cet.m4.
3044         Set and substitute CET_FLAGS.
3045         * configure: Regenerated.
3047 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3049         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3050         renaming.
3051         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3052         * configure.ac (libgcc_cv_solaris_crts): Likewise.
3053         * configure: Regenerate.
3055 2017-11-07  Tom de Vries  <tom@codesourcery.com>
3057         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3058         after "do {} while (0)".
3060 2017-11-07  Tom de Vries  <tom@codesourcery.com>
3062         PR other/82784
3063         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3064         semicolon after "do {} while (0)".
3065         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3066         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3067         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3068         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3070 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
3072         PR libgcc/82635
3073         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3074         sysctl to determine whether we're in a trampoline.
3075         Keep the pattern matching method for systems without
3076         KERN_PROC_SIGTRAMP sysctl.
3078 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
3079             Vineet Gupta <vgupta@synopsys.com>
3081         * config.host (arc*-*-linux*): Set md_unwind_header variable.
3082         * config/arc/linux-unwind-reg.def: New file.
3083         * config/arc/linux-unwind-reg.h: Likewise.
3085 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
3087         * config/rl78/subdi3.S: New assembly file.
3088         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3090 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
3092         * config/rl78/adddi3.S: New assembly file.
3093         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3095 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
3097         PR target/82274
3098         * libgcc2.c (__mulvDI3): If both operands have
3099         the same highpart of -1 and the topmost bit of lowpart is 0,
3100         multiplication overflows even if both lowparts are 0.
3102 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
3104         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3106 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
3108         * config/microblaze/crti.S, config/microblaze/crtn.S,
3109         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3110         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3111         config/microblaze/mulsi3.S,
3112         config/microblaze/stack_overflow_exit.S,
3113         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3114         config/pa/milli64.S: Add .note.GNU-stack section.
3116 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
3118         * configure.ac: Add Check for HAVE_AS_AVX.
3119         * config.in: Regenerate.
3120         * configure: Likewise.
3121         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3122         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3123         Correct out-of-date comments.
3125 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
3127         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3128         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3130 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
3132         * config/i386/i386-asm.h (PASTE2): New macro.
3133         (ASMNAME): Modify to use PASTE2.
3134         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3135         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3136         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3137         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3138         * config/i386/resms64f.S: Likewise.
3139         * config/i386/resms64fx.S: Likewise.
3140         * config/i386/resms64x.S: Likewise.
3141         * config/i386/savms64.S: Likewise.
3142         * config/i386/savms64f.S: Likewise.
3143         * config/i386/avx_resms64.S: New file that only defines a macro and
3144         includes it's corresponding header file.
3145         * config/i386/avx_resms64f.S: Likewise.
3146         * config/i386/avx_resms64fx.S: Likewise.
3147         * config/i386/avx_resms64x.S: Likewise.
3148         * config/i386/avx_savms64.S: Likewise.
3149         * config/i386/avx_savms64f.S: Likewise.
3150         * config/i386/sse_resms64.S: Likewise.
3151         * config/i386/sse_resms64f.S: Likewise.
3152         * config/i386/sse_resms64fx.S: Likewise.
3153         * config/i386/sse_resms64x.S: Likewise.
3154         * config/i386/sse_savms64.S: Likewise.
3155         * config/i386/sse_savms64f.S: Likewise.
3156         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3158 2017-09-01  Olivier Hainque  <hainque@adacore.com>
3159         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3161 2017-08-31  Olivier Hainque  <hainque@adacore.com>
3163         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3164         match as powerpc-wrs-vxworks*.
3166 2017-08-07  Jonathan Yong  <10walls@gmail.com>
3168         * config.host (*-cygwin): Include file from mingw
3169         config/i386/enable-execute-stack-mingw32.c
3171 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
3172             Doug Rupp  <rupp@adacore.com>
3173             Olivier Hainque  <hainque@adacore.com>
3175         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3176         as well as arm-wrs-vxworks.
3177         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
3178         LIB2ADDEH.
3179         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3180         __exidx_start and __exidx_end for downloadable modules.
3182 2017-08-01  Olivier Hainque  <hainque@adacore.com>
3184         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3185         * config/t-vxworks7: Likewise.
3187 2017-08-01  Olivier Hainque  <hainque@adacore.com>
3189         * config/t-vxworks: Instead of redefining LIB2ADD,
3190         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3192 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3194         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3196 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
3198         PR testsuite/80759
3199         * config.host: include i386/t-msabi for darwin and solaris.
3200         * config/i386/i386-asm.h
3201         (ELFFN): Rename to FN_TYPE.
3202         (FN_SIZE): New macro.
3203         (FN_HIDDEN): Likewise.
3204         (ASMNAME): Likewise.
3205         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3206         .globl.
3207         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3208         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3209         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3210         .macro.
3211         * config/i386/resms64f.S: Likewise.
3212         * config/i386/resms64fx.S: Likewise.
3213         * config/i386/resms64x.S: Likewise.
3214         * config/i386/savms64.S: Likewise.
3215         * config/i386/savms64f.S: Likewise.
3217 2017-07-19  John Marino  <gnugcc@marino.st>
3219         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3221 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
3223         PR target/81193
3224         * configure.ac (PowerPC float128 hardware support): Test whether
3225         we can use __builtin_cpu_supports before enabling the ifunc
3226         handler.
3227         * configure: Regenerate.
3229 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
3231         * config.host: Remove uclibc from arc target spec.
3233 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
3235         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3237 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
3239         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3240         (have_ieee_hw_p): Delete function.
3241         (SW_OR_HW) Use __builtin_cpu_supports().
3243 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3245         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3247 2017-07-03  Olivier Hainque  <hainque@adacore.com>
3249         * config/t-vxworks7: New file, really.
3251 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
3253         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3254         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3255         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3256         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3257         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3258         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3259         config/pa/linux-unwind.h (pa32_fallback_frame_state),
3260         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3261         config/sh/linux-unwind.h (sh_fallback_frame_state),
3262         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3263         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3264         ucontext_t instead of struct ucontext.
3266 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
3268         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3269         (x86_64-wrs-vxworks7): Likewise.
3271 2017-06-27  Olivier Hainque  <hainque@adacore.com>
3273         * config/t-vxworks7: New file.
3274         * config.host (*-*-vxworks7): Use it.
3276 2017-06-22  Matt Turner  <mattst88@gmail.com>
3278         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3279         skylake case.
3281 2017-06-21  Richard Biener  <rguenther@suse.de>
3283         PR gcov-profile/81080
3284         * configure.ac: Add AC_SYS_LARGEFILE.
3285         * libgcov.h: Include auto-target.h before tsystem.h to pick
3286         up _FILE_OFFSET_BITS which might differ for multilibs.
3287         * config.in: Regenerate.
3288         * configure: Likewise.
3290 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
3292         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3294 2017-06-09  Martin Liska  <mliska@suse.cz>
3296         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3297         Reset __gcov_indirect_call_callee to NULL.
3299 2017-06-08  Olivier Hainque  <hainque@adacore.com>
3301         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3302         the set of -I options, support for direct inclusions of net/uio.h
3303         by VxWorks header files via ioLib.h.
3305 2017-06-07  Tony Reix  <tony.reix@atos.net>
3306             Matthieu Sarter  <matthieu.sarter.external@atos.net>
3307             David Edelsohn  <dje.gcc@gmail.com>
3309         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3310         unconditionally.
3311         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
3312         AIX 7.2 support.
3314 2017-06-02  Olivier Hainque  <hainque@adacore.com>
3316         * config/vxlib.c (__gthread_once): Add missing value to
3317         return statement.
3319 2017-05-30  Olivier Hainque  <hainque@adacore.com>
3321         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3322         dollar sign before $(MULTIDIR).
3324 2017-05-26  Richard Henderson  <rth@redhat.com>
3326         PR libgcc/80037
3327         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3329 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
3331         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3332         _Unwind_SetIP available as functions for arm*-*-freebsd*.
3333         * config/arm/unwind-arm.c: Implement the above.
3335 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3337         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3338         section for a non-executable stack.
3340 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
3342         PR target/80600
3343         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3345 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
3347         * config.host: Add i386/t-msabi to i386/t-linux file list.
3348         * config/i386/i386-asm.h: New file.
3349         * config/i386/resms64.S: New file.
3350         * config/i386/resms64f.S: New file.
3351         * config/i386/resms64fx.S: New file.
3352         * config/i386/resms64x.S: New file.
3353         * config/i386/savms64.S: New file.
3354         * config/i386/savms64f.S: New file.
3355         * config/i386/t-msabi: New file.
3357 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
3359         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3360         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3362 2017-05-05  Joshua Conner  <joshconner@google.com>
3364         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3365         pc-relative indirect handling for fuchsia.
3366         * config/t-slibgcc-fuchsia: New file.
3367         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3368         x86_64-*-fuchsia*): Add definitions.
3370 2017-04-19  Martin Liska  <mliska@suse.cz>
3372         PR gcov-profile/80435
3373         * Makefile.in: Install gcov.h.
3374         * gcov.h: New file.
3375         * libgcov.h: Use the header and make __gcov_flush publicly
3376         visible.
3378 2017-04-18  Martin Liska  <mliska@suse.cz>
3380         PR gcov-profile/78783
3381         * libgcov-driver.c (gcov_get_filename): New function.
3383 2017-04-07  Jeff Law  <law@redhat.com>
3385         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3386         target makefile fragment.
3387         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3389 2017-04-07  Alan Modra  <amodra@gmail.com>
3391         PR target/45053
3392         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3394 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
3396         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3398 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
3400         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3402 2017-03-10  John Marino  <gnugcc@marino.st>
3404         * config/aarch64/freebsd-unwind.h: New file.
3405         * config.host: Add aarch64-*-freebsd unwinder.
3407 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3409         * config/rs6000/crtrestvr.s: Use .machine altivec.
3410         * config/rs6000/crtsavevr.s: Ditto.
3412 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3414         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3415         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
3416         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3417         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
3418         * configure: Regenerate.
3419         * config.in: Regenerate.
3421 2017-03-02  Jonathan Yong <10walls@gmail.com>
3423         * config/i386/gthr-win32.h: Define NOGDI before
3424         windows.h include to prevent w32api CC_NONE macro
3425         clash with libgfortran.
3427 2017-03-02  Jonathan Yong <10walls@gmail.com>
3429         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3431 2017-02-16  Andrew Pinski  <apinski@cavium.com>
3433         * config/aarch64/value-unwind.h: New file.
3434         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3435         to tm_file.
3437 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
3439         * config.host: Add RISC-V tuples.
3440         * config/riscv/atomic.c: New file.
3441         * config/riscv/crti.S: Likewise.
3442         * config/riscv/crtn.S: Likewise.
3443         * config/riscv/div.S: Likewise.
3444         * config/riscv/linux-unwind.h: Likewise.
3445         * config/riscv/muldi3.S: Likewise.
3446         * config/riscv/multi3.S: Likewise.
3447         * config/riscv/save-restore.S: Likewise.
3448         * config/riscv/sfp-machine.h: Likewise.
3449         * config/riscv/t-elf: Likewise.
3450         * config/riscv/t-elf32: Likewise.
3451         * config/riscv/t-elf64: Likewise.
3452         * config/riscv/t-softfp32: Likewise.
3453         * config/riscv/t-softfp64: Likewise.
3455 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
3457         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3458         /* FALLTHRU */ comments.
3460 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
3462         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3464 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
3466         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3467         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
3468         DW_CFA_GNU_window_save for AArch64 and LP64.
3470 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
3472         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3474 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
3476         * config/aarch64/aarch64-unwind.h: New file.
3477         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3478         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3479         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3480         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3481         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3482         (aarch64_post_extract_frame_addr): New function.
3483         (aarch64_post_frob_eh_handler_addr): New function.
3484         (aarch64_frob_update_context): New function.
3485         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3486         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3487         aarch64*-*-freebsd*):
3488         Initialize md_unwind_header to include aarch64-unwind.h.
3489         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3490         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3491         __aarch64__.
3492         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3493         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3494         (uw_frob_return_addr): New function.
3495         (uw_install_context): Use uw_frob_return_addr.
3497 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
3499         PR other/79046
3500         * configure.ac: Add GCC_BASE_VER.
3501         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3502         version from BASE-VER file.
3503         * configure: Regenerated.
3505 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
3507         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3508         libmul_f5.a): Filter archived prerequisites.
3510 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
3512         * config/i386/cpuinfo.h (processor_features): Add
3513         FEATURE_AVX512VPOPCNTDQ.
3514         * config/i386/cpuinfo.c (get_available_features): Habdle new
3515         feature.
3517 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3519         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3520         payload if [__mips_nan2008].
3522 2017-01-04  Alan Modra  <amodra@gmail.com>
3524         * Makefile.in (configure_deps): Update.
3525         * configure: Regenerate.
3527 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
3529         Update copyright years.
3531 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
3533         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3534         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3535         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3537 2016-12-17  Matthias Klose  <doko@ubuntu.com>
3539         * config/arc/gmon: Remove empty directory.
3541 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
3543         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3544         crtgend.
3545         (arc*-*-elf*): Likewise.
3546         * config/arc/t-arc: Remove old gmon lib targets.
3547         * config/arc/crtg.S: Remove.
3548         * config/arc/crtgend.S: Likewise.
3549         * config/arc/gmon/atomic.h: Likewise.
3550         * config/arc/gmon/auxreg.h: Likewise.
3551         * config/arc/gmon/dcache_linesz.S: Likewise.
3552         * config/arc/gmon/gmon.c: Likewise.
3553         * config/arc/gmon/machine-gmon.h: Likewise.
3554         * config/arc/gmon/mcount.c: Likewise.
3555         * config/arc/gmon/prof-freq-stub.S: Likewise.
3556         * config/arc/gmon/prof-freq.c: Likewise.
3557         * config/arc/gmon/profil.S: Likewise.
3558         * config/arc/gmon/sys/gmon.h: Likewise.
3559         * config/arc/gmon/sys/gmon_out.h: Likewise.
3560         * config/arc/t-arc-newlib: Likewise.
3561         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3563 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
3565         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3567 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
3569         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3570         R16 instead of push + pop.
3571         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3573 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
3575         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3576         tmake_file.
3578 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
3580         * config.host (arc*-*-linux-uclibc*): Use default extra
3581         objects. Include linux-android header.
3582         * config/arc/crti.S (_init): Declare symbol as function.
3583         (_fini): Likewise.
3585 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
3587         PR fortran/78379
3588         * config/i386/cpuinfo.c:  Move denums for processor vendors,
3589         processor type, processor subtypes and declaration of
3590         struct __processor_model into
3591         * config/i386/cpuinfo.h:  New header file.
3593 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
3594             Thomas Preud'homme  <thomas.preudhomme@arm.com>
3596         * config/arm/cmse_nonsecure_call.S: New.
3597         * config/arm/t-arm: Compile cmse_nonsecure_call.S
3599 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
3600             Thomas Preud'homme  <thomas.preudhomme@arm.com>
3602         * config/arm/t-arm (HAVE_CMSE): New.
3603         * config/arm/cmse.c: New.
3605 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3607         PR gcc/74748
3608         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3609         use generic linker version information on Blackfin.
3611         PR gcc/74748
3612         * libgcc/mkmap-symver.awk: add support for skip_underscore
3614 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
3615             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3617         PR target/67710
3618         *  config/t-darwin: Default builds to 10.5 codegen.
3620 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
3622         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3623         (_FP_NANSIGN_H): Likewise.
3624         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3625         (softfp_truncations): Add tfhf.
3626         (softfp_extras): Add required conversion functions.
3628 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3629             Matthew Wahab  <matthew.wahab@arm.com>
3631         * config/arm/fp16.c (binary64): New.
3632         (__gnu_d2h_internal): New.
3633         (__gnu_d2h_ieee): New.
3634         (__gnu_d2h_alternative): New.
3636 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3637             Matthew Wahab  <matthew.wahab@arm.com>
3639         * config/arm/fp16.c (struct format): New.
3640         (binary32): New.
3641         (__gnu_float2h_internal): New.  Body moved from
3642         __gnu_f2h_internal and generalize.
3643         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3644         Call it with binary32.
3646 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3648         * soft-fp/extendhftf2.c: Update from glibc.
3649         * soft-fp/fixhfti.c: Likewise.
3650         * soft-fp/fixunshfti.c: Likewise.
3651         * soft-fp/floattihf.c: Likewise.
3652         * soft-fp/floatuntihf.c: Likewise.
3653         * soft-fp/half.h: Likewise.
3654         * soft-fp/trunctfhf2.c: Likewise.
3656 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
3658         PR libgcc/77813
3659         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3660         __TMC_END__ behind a passthrough asm.
3662 2016-11-18  Walter Lee  <walt@tilera.com>
3664         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3666 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
3668         * config/i386/cpuinfo.c (processor_features): Add
3669         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3671 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
3673         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3674         (__ARC_NORM__): Use instead ARC_OPTFPE.
3675         * config/arc/fp-hack.h: Likewise.
3676         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3677         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3679 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
3681         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3682         * config/nvptx/mgomp.c: New file.
3683         * config/nvptx/t-nvptx: Add mgomp.c
3685 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
3687         PR libgcc/68468
3688         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3690 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
3692         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3693         of checking for cpus.
3694         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3695         (__modsi3, __clzsi2): Likewise.
3697 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3699         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3700         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3701         * config/i386/t-cpuinfo-static: New.
3703 2016-11-03  Martin Liska  <mliska@suse.cz>
3705         * libgcov-profiler.c (__gcov_time_profiler): Remove.
3706         (__gcov_time_profiler_atomic): Likewise.
3708 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3710         PR libgcc/78067
3711         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3712         count_leading_zeros.
3714 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
3716         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3717         * libgcc2.c (__divmoddi4): New function.
3718         * libgcc2.h (__divmoddi4): Declare.
3719         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3720         and __PFX_divmodti4.
3722 2016-10-24  Florian Weimer  <fweimer@redhat.com>
3724         PR libgcc/78064
3725         * unwind-c.c: Include auto-target.h.
3727 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
3729         * config/pa/pa64-hpux-lib.h: New file.
3730         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3731         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3732         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3733         hppa*64*-*-hpux11*.
3735 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
3737         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3738         definition.
3739         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3740         definition.
3741         * config/xtensa/t-windowed (LIB2ADDEH): Use
3742         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3743         or xtensa/t-linux.
3745 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
3747         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3748         __ieee754_sqrt): New functions.
3749         (__divdf3): Add implementation with new FPU instructions under
3750         #if XCHAL_HAVE_DFP_DIV.
3751         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3752         __ieee754_sqrtf): New functions.
3753         (__divsf3): Add implementation with new FPU instructions under
3754         #if XCHAL_HAVE_FP_DIV.
3755         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3756         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3758 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3760         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3761         equivalent.
3762         * config/tilepro/atomic.c: Likewise and stop casting model to
3763         enum memmodel.
3765 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
3767         PR target/77586
3768         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3769         soft-fp.
3771 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
3773         * config.host: Add support for aarch64-*-freebsd*.
3775 2016-10-05  Andreas Schwab  <schwab@suse.de>
3777         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3778         (.section .init_array): Don't call __do_jv_register_classes.
3779         (.section .init): Likewise.
3781 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
3783         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3784         (__JCR_LIST__): Remove.
3785         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3786         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3787         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3788         * config/ia64/crtend.S (__JCR_END__): Remove.
3789         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3790         conditionals.
3791         (__JCR_LIST__, __JCR_END__): Remove.
3792         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3793         (__do_global_ctors_1): Likewise.
3795 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
3797         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3798         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3800 2016-09-27  Martin Liska  <mliska@suse.cz>
3802         PR gcov-profile/7970
3803         PR gcov-profile/16855
3804         PR gcov-profile/44779
3805         * libgcov-driver.c (__gcov_init): Do not register a atexit
3806         handler.
3807         (__gcov_exit): Rename from gcov_exit.
3808         * libgcov.h (__gcov_exit): Declare.
3810 2016-09-27  Martin Liska  <mliska@suse.cz>
3812         PR bootstrap/77749
3813         * Makefile.in: Remove _gcov_merge_delta.
3814         * libgcov-merge.c (void __gcov_merge_delta): Remove.
3815         * libgcov-util.c (__gcov_delta_counter_op): Remove.
3816         * libgcov.h: Remove declaration of __gcov_merge_delta.
3818 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
3820         * configure.ac: Do not create links, only substitute the filenames.
3821         * configure: Regenerate.
3822         * Makefile.in: Assign the substitution results to variables.
3823         (LIBGCC_LINKS): Define.
3824         (enable-execute-stack.c): New rule.
3825         (unwind.h): Likewise.
3826         (md-unwind-support.h): Likewise.
3827         (sfp-machine.h): Likewise.
3828         (gthr-default.h): Likewise.
3829         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3830         unwind.h as prerequisite of install-unwind_h-forbuild.
3832 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
3834         PR libgcc/71744
3835         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3836         is not the primary registry and atomics are available.
3837         (any_objects_registered): New variable.
3838         (__register_frame_info_bases, __register_frame_info_table_bases):
3839         Atomically store 1 to any_objects_registered after registering first
3840         unwind info.
3841         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3843 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
3845         PR target/63250
3846         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3847         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3848         (HFtype): Likewise.
3849         (HCtype): Likewise.
3850         (__divhc3): Likewise.
3851         (__mulhc3): Likewise.
3852         * libgcc2.c: Support _mulhc3 and _divhc3.
3854 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3856         PR libgcc/77519
3857         * libgcc2.c (NOTRUNC): Invert settings.
3859 2016-09-06  Martin Liska  <mliska@suse.cz>
3861         PR gcov-profile/77378
3862         PR gcov-profile/77466
3863         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3864         conditionaly enable/disable *_atomic functions.
3866 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
3868         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3869         where not already enabled.
3871 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3873         * config/mips/linux-unwind.h: Use sys/syscall.h.
3875 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3877         PR libgcc/77265
3878         * soft-fp/adddf3.c: Update from glibc.
3879         * soft-fp/addsf3.c: Likewise.
3880         * soft-fp/addtf3.c: Likewise.
3881         * soft-fp/divdf3.c: Likewise.
3882         * soft-fp/divsf3.c: Likewise.
3883         * soft-fp/divtf3.c: Likewise.
3884         * soft-fp/double.h: Likewise.
3885         * soft-fp/eqdf2.c: Likewise.
3886         * soft-fp/eqsf2.c: Likewise.
3887         * soft-fp/eqtf2.c: Likewise.
3888         * soft-fp/extenddftf2.c: Likewise.
3889         * soft-fp/extended.h: Likewise.
3890         * soft-fp/extendsfdf2.c: Likewise.
3891         * soft-fp/extendsftf2.c: Likewise.
3892         * soft-fp/extendxftf2.c: Likewise.
3893         * soft-fp/fixdfdi.c: Likewise.
3894         * soft-fp/fixdfsi.c: Likewise.
3895         * soft-fp/fixdfti.c: Likewise.
3896         * soft-fp/fixsfdi.c: Likewise.
3897         * soft-fp/fixsfsi.c: Likewise.
3898         * soft-fp/fixsfti.c: Likewise.
3899         * soft-fp/fixtfdi.c: Likewise.
3900         * soft-fp/fixtfsi.c: Likewise.
3901         * soft-fp/fixtfti.c: Likewise.
3902         * soft-fp/fixunsdfdi.c: Likewise.
3903         * soft-fp/fixunsdfsi.c: Likewise.
3904         * soft-fp/fixunsdfti.c: Likewise.
3905         * soft-fp/fixunssfdi.c: Likewise.
3906         * soft-fp/fixunssfsi.c: Likewise.
3907         * soft-fp/fixunssfti.c: Likewise.
3908         * soft-fp/fixunstfdi.c: Likewise.
3909         * soft-fp/fixunstfsi.c: Likewise.
3910         * soft-fp/fixunstfti.c: Likewise.
3911         * soft-fp/floatdidf.c: Likewise.
3912         * soft-fp/floatdisf.c: Likewise.
3913         * soft-fp/floatditf.c: Likewise.
3914         * soft-fp/floatsidf.c: Likewise.
3915         * soft-fp/floatsisf.c: Likewise.
3916         * soft-fp/floatsitf.c: Likewise.
3917         * soft-fp/floattidf.c: Likewise.
3918         * soft-fp/floattisf.c: Likewise.
3919         * soft-fp/floattitf.c: Likewise.
3920         * soft-fp/floatundidf.c: Likewise.
3921         * soft-fp/floatundisf.c: Likewise.
3922         * soft-fp/floatunditf.c: Likewise.
3923         * soft-fp/floatunsidf.c: Likewise.
3924         * soft-fp/floatunsisf.c: Likewise.
3925         * soft-fp/floatunsitf.c: Likewise.
3926         * soft-fp/floatuntidf.c: Likewise.
3927         * soft-fp/floatuntisf.c: Likewise.
3928         * soft-fp/floatuntitf.c: Likewise.
3929         * soft-fp/gedf2.c: Likewise.
3930         * soft-fp/gesf2.c: Likewise.
3931         * soft-fp/getf2.c: Likewise.
3932         * soft-fp/ledf2.c: Likewise.
3933         * soft-fp/lesf2.c: Likewise.
3934         * soft-fp/letf2.c: Likewise.
3935         * soft-fp/muldf3.c: Likewise.
3936         * soft-fp/mulsf3.c: Likewise.
3937         * soft-fp/multf3.c: Likewise.
3938         * soft-fp/negdf2.c: Likewise.
3939         * soft-fp/negsf2.c: Likewise.
3940         * soft-fp/negtf2.c: Likewise.
3941         * soft-fp/op-1.h: Likewise.
3942         * soft-fp/op-2.h: Likewise.
3943         * soft-fp/op-4.h: Likewise.
3944         * soft-fp/op-8.h: Likewise.
3945         * soft-fp/op-common.h: Likewise.
3946         * soft-fp/quad.h: Likewise.
3947         * soft-fp/single.h: Likewise.
3948         * soft-fp/soft-fp.h: Likewise.
3949         * soft-fp/subdf3.c: Likewise.
3950         * soft-fp/subsf3.c: Likewise.
3951         * soft-fp/subtf3.c: Likewise.
3952         * soft-fp/truncdfsf2.c: Likewise.
3953         * soft-fp/trunctfdf2.c: Likewise.
3954         * soft-fp/trunctfsf2.c: Likewise.
3955         * soft-fp/trunctfxf2.c: Likewise.
3956         * soft-fp/unorddf2.c: Likewise.
3957         * soft-fp/unordsf2.c: Likewise.
3958         * soft-fp/unordtf2.c: Likewise.
3960 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
3962         PR gcov-profile/67097
3963         * libgcov-util.c (gcov_profile_merge): Skip missing files.
3965 2016-08-10  Martin Liska  <mliska@suse.cz>
3967         PR gcov-profile/58306
3968         * Makefile.in: New functions (modules) are added.
3969         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3970         function.
3971         (__gcov_pow2_profiler_atomic): New function.
3972         (__gcov_one_value_profiler_body): New argument is instroduced.
3973         (__gcov_one_value_profiler): Call with the new argument.
3974         (__gcov_one_value_profiler_atomic): Likewise.
3975         (__gcov_indirect_call_profiler_v2): Likewise.
3976         (__gcov_time_profiler_atomic): New function.
3977         (__gcov_average_profiler_atomic): Likewise.
3978         (__gcov_ior_profiler_atomic): Likewise.
3979         * libgcov.h: Declare the aforementioned functions.
3981 2016-08-09  Martin Liska  <mliska@suse.cz>
3983         * libgcov-util.c: Fix typo and GNU coding style.
3985 2016-08-09  Martin Liska  <mliska@suse.cz>
3987         * Makefile.in: Remove __gcov_indirect_call_profiler.
3988         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3989         function.
3990         * libgcov.h: And the declaration of the function.
3992 2016-08-09  Martin Liska  <mliska@suse.cz>
3994         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3995         power of two.
3997 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3999         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4000         * config/rs6000/_mulkc3.c: Likewise.
4002 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
4004         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4005         zero_reg as previous call to __umulhisi3 already cleared it.
4007 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
4009         PR target/59833
4010         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4012 2016-07-19  Nick Clifton  <nickc@redhat.com>
4014         * config.host (m32r): Add m32r/t-m32r to tmake_file.
4015         Add crtinit.o and crtfini.o to extra_parts.
4017 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4019         * config/rs6000/_divkc3.c: New.
4020         * config/rs6000/_mulkc3.c: New.
4021         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4022         and _divkc3.
4023         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4024         fp128_ppc_funcs.
4026 2016-07-11  Hale Wang  <hale.wang@arm.com>
4027             Andre Vieira  <andre.simoesdiasvieira@arm.com>
4029         * config/arm/lib1funcs.S: Add new wrapper.
4031 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4033         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4035 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4037         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4038         and ARMv5t* rather than for a fixed list of architectures.
4040 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4042         * config/arm/bpabi-v6m.S: Clarify what architectures is the
4043         implementation suitable for.
4044         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4045         for all Thumb-1 only targets.
4046         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4047         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4048         __ARM_ARCH_6M__.
4049         (EQUIV): Likewise.
4050         (ARM_FUNC_ALIAS): Likewise.
4051         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4052         version.
4053         (modsi3): Likewise.
4054         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4055         (clzdi2): Likewise.
4056         (ctzsi2): Likewise.
4057         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4058         __ARM_ARCH_6M__ in guard for checking whether it is defined.
4059         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4060         __ARM_ARCH_6M__ and add comment to indicate the connection between
4061         this condition and the one in gcc/config/arm/elf.h.
4062         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4063         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4064         * config/arm/t-softfp: Likewise.
4066 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4068         * libgcc2.c (SYMBOL__MAIN): Remove checks for
4069         CTOR_LISTS_DEFINED_EXTERNALLY.
4071 2016-06-28  Walter Lee  <walt@tilera.com>
4073         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4074         asm/unistd.h.
4075         (SPR_CMPEXCH_VALUE): Define for tilegx.
4076         (__NR_FAST_cmpxchg): Define for tilepro.
4077         (__NR_FAST_atomic_update): Define for tilepro.
4078         (__NR_FAST_cmpxchg64): Define for tilepro.
4080 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
4082         * config.host: Add suport for arm*-*-phoenix* targets.
4084 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4086         * config.host: Remove support for mep-*.
4087         * config/mep/lib1funcs.S: Remove.
4088         * config/mep/lib2funcs.c: Remove.
4089         * config/mep/t-mep: Remove.
4090         * config/mep/tramp.c: Remove.
4092 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4094         * config.host: Remove support for avr-rtems.
4095         * config/avr/t-rtems: Remove.
4097 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4099         * config.host: Remove m32r-rtems support.
4101 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4103         * config.host: Remove h8300-rtems support.
4105 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4107         * config.host: Remove support for knetbsd.
4109 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4111         * config.host: Remove support for openbsd 2 and 3.
4113 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4115         * config.host: Remove interix support.
4116         * config/i386/t-interix: Remove.
4118 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
4120         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4121         least-significant bit in function pointer for fixup.
4123 2016-06-05  Aaron Conole  <aconole@redhat.com>
4124             Nathan Sidwell  <nathan@acm.org>
4126         PR libgcc/71400
4127         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4128         (get_gcov_error_file): Check __gcov_error_file before trying to
4129         initialize it.
4130         (gcov_error): Always use get_gcov_error_file.
4132 2016-06-02  Aaron Conole  <aconole@redhat.com>
4134         * libgcov-driver-system.c (__gcov_error_file): New.
4135         (get_gcov_error_file): New.
4136         (gcov_error): Use and set __gcov_error_file.
4137         (gcov_error_exit): New.
4138         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4140 2016-05-26  Nathan Sidwell  <nathan@acm.org>
4142         * config/nvptx/free.asm: Delete.
4143         * config/nvptx/malloc.asm: Delete.
4144         * config/nvptx/realloc.c: Delete.
4145         * t-nvptx: Update.
4147 2016-05-25  Nathan Sidwell  <nathan@acm.org>
4149         * config/nvptx/crt0.s: Delete.
4150         * config/nvptx/crt0.c: New.
4151         * t-nvptx: Update.
4153 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
4155         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4156         dw2/seh configuration.
4157         [x86_64-*-mingw*]: Likewise.
4159 2016-05-10  Joel Sherrill <joel@rtems.org>
4161         PR libgcc/70720
4162         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4163         targets so the same extra_parts are built.  Also have tmake_file add
4164         on to its value rather than override.
4166 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
4168         * config.host: Remove SH5 support.
4169         * configure: Likewise.
4171 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
4173         * config/sh/crt1.S: Remove SH5 support.
4174         * config/sh/crti.S: Likewise.
4175         * config/sh/crtn.S: Likewise.
4176         * config/sh/lib1funcs-4-300.S: Likewise.
4177         * config/sh/lib1funcs-Os-4-200.S: Likewise.
4178         * config/sh/lib1funcs.S: Likewise.
4179         * config/sh/linux-unwind.h: Likewise.
4180         * config/sh/t-sh64: Delete.
4182 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
4184         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4186 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
4187             Joern Rennecke  <joern.rennecke@embecosm.com>
4189         * config/arc/crttls.S: New file.
4190         * config/arc/t-arc: New rule.
4191         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4193 2016-04-25  Nick Clifton  <nickc@redhat.com>
4195         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4196         (__mspabi_cmpd): Likewise.
4197         * config/msp430/floathidf.c (__floathidf): Likewise.
4198         * config/msp430/floathisf.c (__floathisf): Likewise
4199         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4200         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4201         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4202         second parameter.
4203         (__ashrsi3): Likewise.
4205 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
4207         * config/m68k/linux-atomic.c: Do not include unistd.h
4209 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
4211         * config/arm/ieee754-df.S: Fix typos in comments.
4213 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
4215         PR target/70381
4216         * configure.ac (powerpc*-*-linux*): Rework tests to build
4217         __float128 emulation routines to not depend on using #pragma GCC
4218         target to enable -mfloat128.
4219         * configure: Regnerate.
4221 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
4223         PR target/67172
4224         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4225         __MINGW32__ is defined.
4227 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
4229         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4231 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
4233         PR libgcc/70363
4234         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4235         built with an assembler that does not support ISA 3.0
4236         instructions, rename __extendkftf2_sw to __extendkftf2.
4238 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4240         PR target/38239
4241         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4242         call-clobbered registers.
4243         (internal_mcount): Remove __i386__ handling.
4245 2016-02-26  Joel Sherrill <joel@rtems.org>
4247         * config.host: Add x86_64-*-rtems*.
4249 2016-02-26  Joel Sherrill <joel@rtems.org>
4251         * libgcc/config.host: Add aarch64-*-rtems*.
4253 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4254             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4256         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4257         union of u64 and double.
4258         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4259         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4260         value.
4261         (FP_ROUNDMODE): Update the usage of _fpscr.
4263 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
4265         PR driver/68463
4266         * Makefile.in (crtoffloadtable$(objext)): New rule.
4267         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4268         enable_offload_targets is not empty.
4269         * configure: Regenerate.
4270         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4271         crtoffloadtable.
4273 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
4275         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4276         .literal_position before the function.
4277         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4278         Likewise.
4280 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
4282         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4283         * config/s390/morestack.S: New file.
4284         * config/s390/t-stack-s390: New file.
4285         * generic-morestack.c (__splitstack_find): Add s390-specific code.
4287 2016-02-12  Walter Lee  <walt@tilera.com>
4289         * config.host (tilegx*-*-linux*): remove ti from
4290         softfp_int_modes for 32-bit configs.
4292 2016-02-10  Ian Lance Taylor  <iant@google.com>
4294         PR go/68562
4295         * config/i386/morestack.S (__stack_split_initialize): Align
4296         stack.
4298 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
4300         PR bootstrap/69611
4301         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4302         __FLOAT128__ to compile only for __float128 capable targets.
4304 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
4306         PR target/69444
4307         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4308         instead of ___NO_FPRS__.
4310 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
4311             Steven Munroe  <munroesj@linux.vnet.ibm.com>
4312             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4314         * config/rs6000/float128-sed: New files to convert TF names to KF
4315         names for PowerPC IEEE 128-bit floating point support.
4316         * config/rs6000/float128-sed-hw: Likewise.
4318         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4319         floating point hardware support.
4321         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4322         128-bit floating point software emulation or use ISA 3.0 hardware
4323         support if it is available.
4325         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4326         floating point.
4328         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4329         floating point to IBM extended double.
4331         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4332         double to IEEE 128-bit floating point.
4334         * config/rs6000/t-float128: New Makefile fragments to enable
4335         building __float128 emulation support.
4336         * config/rs6000/t-float128-hw: Likewise.
4338         * config/rs6000/sfp-exceptions.c: New file to provide exception
4339         support for IEEE 128-bit floating point.
4341         * config/rs6000/floattikf.c: New files for converting between IEEE
4342         128-bit floating point and signed/unsigned 128-bit integers.
4343         * config/rs6000/fixunskfti.c: Likewise.
4344         * config/rs6000/fixkfti.c: Likewise.
4345         * config/rs6000/floatuntikf.c: Likewise.
4347         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4348         when building on 64-bit systems, or when VSX is enabled.
4349         (_FP_W_TYPE): Likewise.
4350         (_FP_WS_TYPE): Likewise.
4351         (_FP_I_TYPE): Likewise.
4352         (TItype): Define on 64-bit systems.
4353         (UTItype): Likewise.
4354         (TI_BITS): Likewise.
4355         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4356         (_FP_MUL_MEAT_Q): Likewise.
4357         (_FP_DIV_MEAT_D): Likewise.
4358         (_FP_DIV_MEAT_Q): Likewise.
4359         (_FP_NANFRAC_D): Likewise.
4360         (_FP_NANFRAC_Q): Likewise.
4361         (ISA_BIT): Add exception support if we are being compiled on a
4362         machine with hardware floating point support to build the IEEE
4363         128-bit emulation functions.
4364         (FP_EX_INVALID): Likewise.
4365         (FP_EX_OVERFLOW): Likewise.
4366         (FP_EX_UNDERFLOW): Likewise.
4367         (FP_EX_DIVZERO): Likewise.
4368         (FP_EX_INEXACT): Likewise.
4369         (FP_EX_ALL): Likewise.
4370         (__sfp_handle_exceptions): Likewise.
4371         (FP_HANDLE_EXCEPTIONS): Likewise.
4372         (FP_RND_NEAREST): Likewise.
4373         (FP_RND_ZERO): Likewise.
4374         (FP_RND_PINF): Likewise.
4375         (FP_RND_MINF): Likewise.
4376         (FP_RND_MASK): Likewise.
4377         (_FP_DECL_EX): Likewise.
4378         (FP_INIT_ROUNDMODE): Likewise.
4379         (FP_ROUNDMODE): Likewise.
4381         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4382         VSX code, enable IEEE 128-bit floating point.  If the compiler can
4383         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4384         floating point hardware instructions and it supports declaring
4385         functions with the ifunc attribute, enable ifunc functions to
4386         switch between software and hardware support.
4387         * configure.ac (powerpc*-*-linux*): Likewise.
4388         * configure: Regenerate.
4390 2016-01-15  Nick Clifton  <nickc@redhat.com>
4392         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4393         dependency as the source file to be compiled.
4394         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4395         (lib2hw_mul_f5.o): Likewise.
4397 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4399         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4400         * libgcc/config/rs6000/fixkfti.c: Likewise.
4401         * libgcc/config/rs6000/fixunskfti.c: Likewise.
4402         * libgcc/config/rs6000/float128-hw.c: Likewise.
4403         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4404         * libgcc/config/rs6000/float128-sed: Likewise.
4405         * libgcc/config/rs6000/floattikf.c: Likewise.
4406         * libgcc/config/rs6000/floatuntikf.c: Likewise.
4407         * libgcc/config/rs6000/quad-float128.h: Likewise.
4408         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4409         * libgcc/config/rs6000/sfp-machine.h: Likewise.
4410         * libgcc/config/rs6000/t-float128: Likewise.
4411         * libgcc/config/rs6000/t-float128-hw: Likewise.
4412         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4413         * libgcc/config.host: Likewise.
4414         * libgcc/configure: Likewise.
4415         * libgcc/configure.ac: Likewise.
4417 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4418             Steven Munroe  <munroesj@linux.vnet.ibm.com>
4419             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4421         * config/rs6000/sfp-exceptions.c: New file to provide exception
4422         support for IEEE 128-bit floating point.
4424         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4425         floating point hardware support.
4427         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4428         point conversions.
4429         * config/rs6000/fixunskfti.c: Likewise.
4430         * config/rs6000/fixkfti.c: Likewise.
4431         * config/rs6000/floatuntikf.c: Likewise.
4432         * config/rs6000/extendkftf2-sw.c: Likewise.
4433         * config/rs6000/trunctfkf2-sw.c: Likewise.
4435         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4436         128-bit floating point software emulation or use ISA 3.0 hardware
4437         support if it is available.
4439         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4440         floating point.
4442         * config/rs6000/t-float128: New Makefile fragments to enable
4443         building __float128 emulation support.
4444         * config/rs6000/t-float128-hw: Likewise.
4446         * config/rs6000/float128-sed: New file to convert TF names to KF
4447         names for PowerPC IEEE 128-bit floating point support.
4449         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4450         when building on 64-bit systems, or when VSX is enabled.
4451         (_FP_W_TYPE): Likewise.
4452         (_FP_WS_TYPE): Likewise.
4453         (_FP_I_TYPE): Likewise.
4454         (TItype): Define on 64-bit systems.
4455         (UTItype): Likewise.
4456         (TI_BITS): Likewise.
4457         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4458         (_FP_MUL_MEAT_Q): Likewise.
4459         (_FP_DIV_MEAT_D): Likewise.
4460         (_FP_DIV_MEAT_Q): Likewise.
4461         (_FP_NANFRAC_D): Likewise.
4462         (_FP_NANFRAC_Q): Likewise.
4463         (ISA_BIT): Add exception support if we are being compiled on a
4464         machine with hardware floating point support to build the IEEE
4465         128-bit emulation functions.
4466         (FP_EX_INVALID): Likewise.
4467         (FP_EX_OVERFLOW): Likewise.
4468         (FP_EX_UNDERFLOW): Likewise.
4469         (FP_EX_DIVZERO): Likewise.
4470         (FP_EX_INEXACT): Likewise.
4471         (FP_EX_ALL): Likewise.
4472         (__sfp_handle_exceptions): Likewise.
4473         (FP_HANDLE_EXCEPTIONS): Likewise.
4474         (FP_RND_NEAREST): Likewise.
4475         (FP_RND_ZERO): Likewise.
4476         (FP_RND_PINF): Likewise.
4477         (FP_RND_MINF): Likewise.
4478         (FP_RND_MASK): Likewise.
4479         (_FP_DECL_EX): Likewise.
4480         (FP_INIT_ROUNDMODE): Likewise.
4481         (FP_ROUNDMODE): Likewise.
4483         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4484         compiler can do __float128.
4485         * configure: Regenerate.
4487         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4488         VSX code, enable IEEE 128-bit floating point.
4490 2016-01-05  Olivier Hainque  <hainque@adacore.com>
4492         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4493         specificities.
4495 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
4497         Update copyright years.
4499 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
4501         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4502         soft-fp targets.
4504 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4506         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4507         instead of abort to avoid dependency on stdlib.h.
4509 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
4511         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4512         to initialize call to __dl_fixup once.
4514 2015-12-04  Nick Clifton  <nickc@redhat.com>
4516         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4517         Allow for the second argument being negative.
4518         * config.host (extra_parts): Define for MSP430.  Create separate
4519         libraries for each of the hardware multiply formats.
4520         * config/msp430/lib2hw_mul.S: Build only the multiply routines
4521         that are needed.
4522         * config/msp430/lib2mul.c: Likewise.
4523         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4524         Add rules to build hardware multiply libraries.
4525         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4526         __mspabi_divul function.
4527         (__mspabi_divllu): New stub function.
4529 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
4531         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4532         fixup values if saved GOT address doesn't match runtime address.
4533         (fixup_branch_offset): Reorder list.
4535 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4537         * Makefile.in (VTV_CFLAGS): New variable.
4538         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4539         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4540         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4541         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4542         to extra_parts if $enable_vtable_verify = yes.
4544 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4546         PR target/68059
4547         * config/arm/linux-atomic-64bit.c (__write): Rename to...
4548         (write): ...this and fix the return type.
4550 2015-11-19  DJ Delorie  <dj@redhat.com>
4552         * config/msp430/lib2hw_mul.S: Fix alignment.
4554 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
4556         * config/nvptx/reduction.c: New.
4557         * config/nvptx/t-nvptx (LIB2ADD): Add it.
4559 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
4561         * config/rs6000/on_exit.c: New file.
4562         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4563         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4565 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
4567         * config/arc/dp-hack.h: Add support for ARCHS.
4568         * config/arc/ieee-754/divdf3.S: Likewise.
4569         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4570         * config/arc/ieee-754/muldf3.S: Likewise.
4571         * config/arc/ieee-754/mulsf3.S: Likewise
4572         * config/arc/lib1funcs.S: Likewise
4573         * config/arc/gmon/dcache_linesz.S: Don't read the build register
4574         for ARCv2 cores.
4575         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4576         for ARCv2 cores.
4577         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4578         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4579         cores.
4581 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4583         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4584         value.
4585         * config/ia64/crtend.S: Likewise.
4587 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4589         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4590         __CHAR_BIT__ instead of BITS_PER_UNIT.
4591         * fixed-bit.h: Likewise.
4592         * fp-bit.h: Likewise.
4593         * libgcc2.c (__popcountSI2): Likewise.
4594         (__popcountDI2): Likewise.
4595         * libgcc2.h: Likewise.
4596         * libgcov.h: Likewise.
4598 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
4600         * config/rs6000/atexit.c: New file.
4601         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4602         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4603         * config/rs6000/cxa_finalize.c
4604         (catomic_compare_and_exchange_bool_acq): Negate return value.
4606 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
4608         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4609         (processor_subtypes): Add znver1.
4610         (get_amd_cpu): Detect znver1.
4612 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
4614         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4615         Include crtfastmath.o.
4617 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
4619         PR libgcc/66883
4620         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4622 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
4624         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4625         * config/rl78/divmodsi.S: Update return register to r8.
4626         * config/rl78/divmodhi.S: Update return register to r8,r9.
4627         Branch to main_loop_done_himode to pop registers before return.
4629 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
4631         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4632         (__cpu_indicator_init): Fix model selection for AMD CPUs.
4634 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
4636         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4638 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
4640         * config.host (xtensa*-*-uclinux*): New configuration.
4642 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
4644         * config/i386/cpuinfo.c (processor_features): Add
4645         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4647 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4649         * soft-fp/adddf3.c: Update from glibc.
4650         * soft-fp/addsf3.c: Likewise.
4651         * soft-fp/addtf3.c: Likewise.
4652         * soft-fp/divdf3.c: Likewise.
4653         * soft-fp/divsf3.c: Likewise.
4654         * soft-fp/divtf3.c: Likewise.
4655         * soft-fp/double.h: Likewise.
4656         * soft-fp/eqdf2.c: Likewise.
4657         * soft-fp/eqsf2.c: Likewise.
4658         * soft-fp/eqtf2.c: Likewise.
4659         * soft-fp/extenddftf2.c: Likewise.
4660         * soft-fp/extended.h: Likewise.
4661         * soft-fp/extendsfdf2.c: Likewise.
4662         * soft-fp/extendsftf2.c: Likewise.
4663         * soft-fp/extendxftf2.c: Likewise.
4664         * soft-fp/fixdfdi.c: Likewise.
4665         * soft-fp/fixdfsi.c: Likewise.
4666         * soft-fp/fixdfti.c: Likewise.
4667         * soft-fp/fixsfdi.c: Likewise.
4668         * soft-fp/fixsfsi.c: Likewise.
4669         * soft-fp/fixsfti.c: Likewise.
4670         * soft-fp/fixtfdi.c: Likewise.
4671         * soft-fp/fixtfsi.c: Likewise.
4672         * soft-fp/fixtfti.c: Likewise.
4673         * soft-fp/fixunsdfdi.c: Likewise.
4674         * soft-fp/fixunsdfsi.c: Likewise.
4675         * soft-fp/fixunsdfti.c: Likewise.
4676         * soft-fp/fixunssfdi.c: Likewise.
4677         * soft-fp/fixunssfsi.c: Likewise.
4678         * soft-fp/fixunssfti.c: Likewise.
4679         * soft-fp/fixunstfdi.c: Likewise.
4680         * soft-fp/fixunstfsi.c: Likewise.
4681         * soft-fp/fixunstfti.c: Likewise.
4682         * soft-fp/floatdidf.c: Likewise.
4683         * soft-fp/floatdisf.c: Likewise.
4684         * soft-fp/floatditf.c: Likewise.
4685         * soft-fp/floatsidf.c: Likewise.
4686         * soft-fp/floatsisf.c: Likewise.
4687         * soft-fp/floatsitf.c: Likewise.
4688         * soft-fp/floattidf.c: Likewise.
4689         * soft-fp/floattisf.c: Likewise.
4690         * soft-fp/floattitf.c: Likewise.
4691         * soft-fp/floatundidf.c: Likewise.
4692         * soft-fp/floatundisf.c: Likewise.
4693         * soft-fp/floatunditf.c: Likewise.
4694         * soft-fp/floatunsidf.c: Likewise.
4695         * soft-fp/floatunsisf.c: Likewise.
4696         * soft-fp/floatunsitf.c: Likewise.
4697         * soft-fp/floatuntidf.c: Likewise.
4698         * soft-fp/floatuntisf.c: Likewise.
4699         * soft-fp/floatuntitf.c: Likewise.
4700         * soft-fp/gedf2.c: Likewise.
4701         * soft-fp/gesf2.c: Likewise.
4702         * soft-fp/getf2.c: Likewise.
4703         * soft-fp/ledf2.c: Likewise.
4704         * soft-fp/lesf2.c: Likewise.
4705         * soft-fp/letf2.c: Likewise.
4706         * soft-fp/muldf3.c: Likewise.
4707         * soft-fp/mulsf3.c: Likewise.
4708         * soft-fp/multf3.c: Likewise.
4709         * soft-fp/negdf2.c: Likewise.
4710         * soft-fp/negsf2.c: Likewise.
4711         * soft-fp/negtf2.c: Likewise.
4712         * soft-fp/op-1.h: Likewise.
4713         * soft-fp/op-2.h: Likewise.
4714         * soft-fp/op-4.h: Likewise.
4715         * soft-fp/op-8.h: Likewise.
4716         * soft-fp/op-common.h: Likewise.
4717         * soft-fp/quad.h: Likewise.
4718         * soft-fp/single.h: Likewise.
4719         * soft-fp/soft-fp.h: Likewise.
4720         * soft-fp/subdf3.c: Likewise.
4721         * soft-fp/subsf3.c: Likewise.
4722         * soft-fp/subtf3.c: Likewise.
4723         * soft-fp/truncdfsf2.c: Likewise.
4724         * soft-fp/trunctfdf2.c: Likewise.
4725         * soft-fp/trunctfsf2.c: Likewise.
4726         * soft-fp/trunctfxf2.c: Likewise.
4727         * soft-fp/unorddf2.c: Likewise.
4728         * soft-fp/unordsf2.c: Likewise.
4729         * soft-fp/unordtf2.c: Likewise.
4731 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
4733         PR libgcc/67624
4734         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4736 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4738         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4739         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4740         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4741         messages.
4742         (internal_mcount): Likewise.
4743         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4744         crt_compile, add CRTSTUFF_T_CFLAGS_S.
4746 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4748         * configure.ac (libgcc_cv_solaris_crts): New test.
4749         * configure: Regenerate.
4750         * config.in: Regenerate.
4751         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4752         * config/gmon-sol2.c: Rename to ...
4753         * config/sol2/gmon.c: ... this.
4754         Include auto-target.h.
4755         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4756         * config/t-sol2: Rename to ...
4757         * config/sol2/t-sol2: ... this.
4758         (gmon.o): Reflect renaming.
4759         (crtp.o, crtpg.o): New rules.
4760         * config.host (*-*-solaris2*): Reflect renaming.
4761         Use system CRTs if present.
4762         Remove default CRT case.
4764 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
4766         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4767         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4768         __kernel_cmpxchg2.
4769         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4770         (__sync_val_compare_and_swap_##WIDTH): Likewise.
4771         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4772         (__sync_lock_test_and_set_##WIDTH): Likewise.
4773         (__sync_lock_release_##WIDTH): Likewise.
4774         (__sync_fetch_and_##OP##_4): Change result to match type of
4775         __kernel_cmpxchg.
4776         (__sync_##OP##_and_fetch_4): Likewise.
4777         (__sync_val_compare_and_swap_4): Likewise.
4778         (__sync_bool_compare_and_swap_4): likewise.
4779         (__sync_lock_test_and_set_4): Likewise.
4780         (__sync_lock_release_4): Likewise.
4781         (FETCH_AND_OP_2): Add long long variants.
4782         (OP_AND_FETCH_2): Likewise.
4783         (COMPARE_AND_SWAP_2 ): Likewise.
4784         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4785         (SYNC_LOCK_RELEASE_2): Likewise.
4786         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4788 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
4790         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4791         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4792         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4793         (get_available_features): Habdle new features.
4795 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
4797         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4798         memory layout. Deal correctly with BSS region larger than 32K.
4799         Handle a watchdog reset like a power-on reset. Clean up unused
4800         code.
4802 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
4803             David Edelsohn  <dje.gcc@gmail.com>
4805         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4806         * config/rs6000/crtdbase.S: New file.
4807         * config/rs6000/t-aix-cxa: Build crtdbase.o.
4809 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
4811         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4812         Add support for call0 ABI.
4814 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
4816         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4818 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4820         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4821         (__GTHREAD_HAS_COND): Likewise.
4822         (__gthread_t): Likewise.
4823         (__gthread_cond_t): Likewise.
4824         (__gthread_time_t): Likewise.
4825         (__GTHREAD_MUTEX_INIT): Likewise.
4826         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4827         (__GTHREAD_COND_INIT): Likewise.
4828         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4829         (__GTHREAD_TIME_INIT): Likewise.
4830         (__gthread_create): Likewise.
4831         (__gthread_join): Likewise.
4832         (__gthread_detach): Likewise.
4833         (__gthread_equal): Likewise.
4834         (__gthread_self): Likewise.
4835         (__gthread_yield): Likewise.
4836         (__gthread_cond_broadcast): Likewise.
4837         (__gthread_cond_signal): Likewise.
4838         (__gthread_cond_wait): Likewise.
4839         (__gthread_cond_timedwait): Likewise.
4840         (__gthread_cond_wait_recursive): Likewise.
4841         (__gthread_cond_destroy): Likewise.
4842         (rtems_gxx_once): Delete.
4843         (rtems_gxx_key_create): Likewise.
4844         (rtems_gxx_key_delete): Likewise.
4845         (rtems_gxx_getspecific): Likewise.
4846         (rtems_gxx_setspecific): Likewise.
4847         (rtems_gxx_mutex_init): Likewise.
4848         (rtems_gxx_mutex_destroy): Likewise.
4849         (rtems_gxx_mutex_lock): Likewise.
4850         (rtems_gxx_mutex_trylock): Likewise.
4851         (rtems_gxx_mutex_unlock): Likewise.
4852         (rtems_gxx_recursive_mutex_init): Likewise.
4853         (rtems_gxx_recursive_mutex_lock): Likewise.
4854         (rtems_gxx_recursive_mutex_trylock): Likewise.
4855         (rtems_gxx_recursive_mutex_unlock): Likewise.
4856         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4857         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4858         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4859         (__gthread_once): Likewise.
4860         (__gthread_key_create): Likewise.
4861         (__gthread_key_delete): Likewise.
4862         (__gthread_getspecific): Likewise.
4863         (__gthread_setspecific): Likewise.
4864         (__gthread_key_t): Use <pthread.h> type.
4865         (__gthread_once_t): Likewise
4866         (__gthread_mutex_t): Use <sys/lock.h> type.
4867         (__gthread_recursive_mutex_t): Likewise
4868         (__gthread_mutex_lock): Use <sys/lock.h> function.
4869         (__gthread_mutex_trylock): Likewise.
4870         (__gthread_mutex_timedlock): Likewise.
4871         (__gthread_mutex_unlock): Likewise.
4872         (__gthread_mutex_destroy): Likewise.
4873         (__gthread_recursive_mutex_lock): Likewise.
4874         (__gthread_recursive_mutex_trylock): Likewise.
4875         (__gthread_recursive_mutex_timedlock): Likewise.
4876         (__gthread_recursive_mutex_unlock): Likewise.
4877         (__gthread_recursive_mutex_destroy): Likewise.
4879 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4881         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4882         context->sp instead of context->cfa.
4884 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4886         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4887         with unwind-dw2-fde-dip.
4889 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4891         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4892         CALL12 followed by series of ENTRY to spill windowed registers.
4893         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4894         instead of making linux spill syscall.
4896 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
4898         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4899         (get_intel_cpu): Likewise.
4901 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4903         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4904         (get_intel_cpu): Add Knights Landing support.
4906 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
4908         PR target/66954
4909         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4910         (get_available_features): Handle FEATURE_PCLMUL.
4912 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
4914         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4915         Broadwell.
4917 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
4919         PR target/66954
4920         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4921         (get_available_features): Handle FEATURE_AES.
4923 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
4925         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4926         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4928 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
4930         * offloadstuff.c: Constify host data.
4932 2015-07-17  Jan Beulich  <jbeulich@suse.com>
4934         * config/t-softfp: Split up "else ifneq".
4936 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
4937             Cesar Philippidis  <cesar@codesourcery.com>
4938             Chung-Lin Tang  <cltang@codesourcery.com>
4940         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4941         for __nios2_arch__ level.
4943 2015-07-13  John Marino  <gnugcc@marino.st>
4945         * config/i386/t-dragonfly: New.
4947 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
4949         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4950         better match light-weight syscall argument order.
4951         (__kernel_cmpxchg2): Likewise.
4952         Adjust callers.
4954 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4956         * config.host: Support i[34567]86-*-elfiamcu target.
4957         * config/t-softfp-sfdftf: New file.
4958         * config/i386/32/t-iamcu: Likewise.
4959         * configure: Regenerated.
4961 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
4963         libgcc/config/arm/
4964         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4966 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4968         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4970 2015-05-27  John Marino  <gnugcc@marino.st>
4972         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4973         md_unwind_header
4974         * config/i386/freebsd-unwind.h: New.
4976 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
4978         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4979         i386/t-crtfm to tmake_file.
4980         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4981         (set_fast_math): Use set_fast_math_sse for SSE targets.
4982         * config/i386/t-crtfm: Remove.
4984 2015-05-21  Alan Modra  <amodra@gmail.com>
4986         PR libgcc/66225
4987         * config/rs6000/morestack.S: Remove ".abiversion 1".
4989 2015-05-20  Alan Modra  <amodra@gmail.com>
4991         * config/rs6000/morestack.S: New.
4992         * config/rs6000/t-stack-rs6000: New.
4993         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4994         to tmake_file.
4995         * generic-morestack.c: Don't build for powerpc 32-bit.
4997 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
4999         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5000         Remove useless endif/ifneq ($(enable_shared),yes) pair.
5002 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
5004         * config.host: FT32 target added.
5005         * config/ft32/*: New files for FT32 target.
5007 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
5009         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5010         New macros.
5011         * config/arm/ieee754-df.S: Add CFI directives.
5012         * config/arm/ieee754-sf.S: Add CFI directives.
5014 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
5016         * configure.ac: Include config/sjlj.m4.
5017         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5018         * config.in: Regenerate.
5019         * configure: Likewise.
5020         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5022 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
5024         * libgcov-util.c: Add space between string literal and macro name.
5026 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
5027             Chris Jones  <chrisj@nvidia.com>
5028             Joshua Conner  <jconner@nvidia.com>
5030         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5031         (arm*-*-uclinux*): Likewise.
5032         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5033         * config/arm/crtfastmath.c: New file.
5035 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
5037         * Makefile.in (real_host_noncanonical): New variable.
5038         (libsubdir): Use it.
5039         * configure.ac (real_host_noncanonical): Compute.  Remove special
5040         case for intelmicemul.
5041         * configure: Regenerate.
5043 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5045         * config/frv/elf-lib.h: New file.
5046         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5047         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5048         to tm_file.
5050 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5052         * config/frv/frvbengin.c: Do not include defaults.h
5053         * config/frv/frvend.c: Ditto.
5055 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
5057         * config.host: Add h8300-*-linux
5058         * config/h8300/t-linux: New file.
5059         * config/h8300/lib1funs.s: Change symbol prefix.
5060         * config/h8300/sfp-machine.h: 64bit double support.
5062 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
5063             Szabolcs Nagy  <szabolcs.nagy@arm.com>
5065         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5066         Linux if target provides dl_iterate_phdr.
5068 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
5070         PR target/65612
5071         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5072         * config/i386/cpuinfo.c (__cpu_model): Initialize.
5073         (__cpu_indicator_init@GCC_4.8.0): New.
5074         (__cpu_model@GCC_4.8.0): Likewise.
5075         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5076         -DUSE_ELF_SYMVER.
5078 2015-04-16  Nick Clifton  <nickc@redhat.com>
5080         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5081         and __modhi3 functions.
5082         * config/rl78/divmodso.S: Add G14 and G13 versions of the
5083         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5085 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
5087         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5088         do-while loop as macro body to avoid warnings.
5090 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
5091             Iain Sandoe  <iain@codesourcery.com>
5093         PR target/65351
5094         * configure: Regenerate.
5096 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
5097             Iain Sandoe  <iain@codesourcery.com>
5099         PR target/65351
5100         * configure: Regenerate.
5102 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
5104         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5106 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
5108         Implement call0 ABI for xtensa
5109         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5110         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5111         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5112         use ret in call0 ABI.
5113         * config/xtensa/t-windowed: New file.
5114         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5115         * libgcc/configure: Regenerated.
5116         * libgcc/configure.ac: Check if xtensa target is configured for
5117         windowed ABI and thus needs to use custom unwind code.
5119 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
5121         PR libgcc/64885
5122         * gthr-single.h: Use __unused__ attribute instead of unused.
5123         * config/gthr-vxworks.h: Likewise.
5124         * config/i386/gthr-win32.h: Likewise.
5126 2015-02-27  Kai Tietz  <ktietz@redhat.com>
5128         PR target/65038
5129         * config.in: Regenerated.
5130         * configure: Likewise.
5131         * configure.ac (AC_HEADER_STDC): Added explicit.
5132         (AC_CHECK_HEADERS): Check for default headers  plus
5133         for ftw.h header.
5134         * libgcov-util.c (gcov_read_profile_dir): Disable use
5135         of ftw-function, if header is not found.
5136         (ftw_read_file): Likewise.
5138 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
5140         PR target/65181
5141         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5142         -Dinhibit_libc.
5144 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
5146         * config/arm/bpabi.S (test_div_by_zero): Make label names
5147         consistent between thumb2 and arm mode cases.  Separate the
5148         signed comparison on the high word of the numerator from the
5149         unsigned comparison on the low word.
5150         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5151         signed comparison.
5153 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5155         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5156         and <string.h>.
5157         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5159 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
5161         PR gcov-profile/61889
5162         * libgcov-driver-system.c: undefine clashing macro for mkdir.
5164 2015-02-02  Nick Clifton  <nickc@redhat.com>
5166         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5167         rounding up the fraction.
5169 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
5171         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5172         oldval and newval to const void *.  Fix typo.
5173         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5174         (FETCH_AND_OP_WORD): Likewise.
5175         (OP_AND_FETCH_WORD): Likewise.
5176         (COMPARE_AND_SWAP_2): Likewise.
5177         (__sync_val_compare_and_swap_4): Likewise.
5178         (__sync_lock_test_and_set_4): Likewise.
5179         (SYNC_LOCK_RELEASE_2): Likewise.
5180         Remove support for long long atomic operations.
5182 2015-01-27  Caroline Tice  <cmtice@google.com>
5184         Committing VTV Cywin/Ming patch for Patrick Wollgast
5185         * Makefile.in: Move rules to build vtv_*.o out of the check
5186         for CUSTOM_CRTSTUFF.
5187         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5188         i[34567]86-*-mingw*)
5189          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5190         enable_vtable_verify.
5192 2015-01-27  Nick Clifton  <nickc@redhat.com>
5194         * config/rl78/cmpsi2.S: Use function start and end macros.
5195         (__gcc_bcmp): New function.
5196         * config/rl78/lshrsi3.S: Use function start and end macros.
5197         * config/rl78/mulsi3.S: Add support for G10.
5198         (__mulqi3): New function for G10.
5199         * config/rl78/signbit.S: Use function start and end macros.
5200         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5201         fpmath-sf.S.
5202         (LIB2FUNCS_EXCLUDE): Define.
5203         (LIB2FUNCS_ST): Define.
5204         * config/rl78/trampoline.S: Use function start and end macros.
5205         * config/rl78/vregs.h (START_FUNC): New macro.
5206         (START_ANOTHER_FUNC): New macro.
5207         (END_FUNC): New macro.
5208         (END_ANOTHER_FUNC): New macro.
5209         * config/rl78/bit-count.S: New file.  Contains assembler
5210         implementations of the bit counting functions: ___clzhi2,
5211         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5212         __paritysi2, __popcounthi2 and __popcountsi2.
5213         * config/rl78/fpbit-sf.S: New file.  Contains assembler
5214         implementationas of the math functions: __negsf2, __cmpsf2,
5215         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5216         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
5217         * config/rl78/fpmath-sf.S: New file.  Contains assembler
5218         implementations of the math functions: __subsf3, __addsf3,
5219         __mulsf3 and __divsf3
5221 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5223         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5224         Add i386/elf-lib.h to tm_file.
5225         * config/i386/elf-lib.h: Fix comment.
5226         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5227         && __sun__ && __svr4__]: Remove workaround.
5229 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
5231         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5232         FEATURE_BMI2.
5233         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5235 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
5237         * config/i386/cpuinfo.c (processor_subtypes): Add
5238         INTEL_COREI7_BROADWELL.
5239         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5240         model numbers.
5242 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
5244         * config/i386/elf-lib.h: New file.
5245         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5246         Wrap definition in #ifdef __i386__.
5247         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5248         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5249         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5250         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5251         to tm_file.
5253 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
5255         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5256         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5258 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
5260         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5261         Update rt_sigframe format and address for current Nios II
5262         Linux conventions.
5264 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
5266         * config.host (arm*-*-freebsd*): Add new configuration for
5267         arm*-*-freebsd*.
5268         * config/arm/freebsd-atomic.c: New file.
5269         * config/arm/t-freebsd: Likewise.
5270         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5271         'PC-relative indirect' OS's.
5273 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
5275         * config.host: Add Visium support.
5276         * config/visium: New directory.
5278 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
5280         Update copyright years.
5282 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
5284         * config.host: Support mipsisa32r6 and mipsisa64r6.
5285         * config/mips/mips16.S: Do not build for R6.
5287 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
5289         * config/sh/crt.h: New.
5290         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5291         symbols.
5292         * config/sh/crt1.S: Likewise.
5294 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
5296         PR libgcc/63832
5297         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5298         func_ptr *dtor_list temporary variable to avoid "array subscript
5299         is above array bounds" warnings.
5301 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
5303         * Makefile.in (with_aix_soname): Define.
5304         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5305         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5306         * configure: Recreate.
5308 2014-12-05  Olivier Hainque  <hainque@adacore.com>
5310         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5311         now provided by defaults.h.
5313 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
5315         PR target/55351
5316         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5317         whether it's defined.
5319 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
5321         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5322         * config/i386/cpuinfo.c (get_available_features): Detect it.
5324 2014-11-27  Tony Wang  <tony.wang@arm.com>
5326         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5327         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5328         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5330 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
5332         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5334 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
5336         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5337         instead.
5339 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
5340             John David Anglin  <danglin@gcc.gnu.org>
5342         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5343         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
5344         (OP_AND_FETCH_2): Likewise.
5345         (COMPARE_AND_SWAP_2): Likewise.
5346         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5347         (SYNC_LOCK_RELEASE_2): Likewise.
5348         (SUBWORD_SYNC_OP): Remove.
5349         (SUBWORD_VAL_CAS): Likewise.
5350         (SUBWORD_BOOL_CAS): Likewise.
5351         (FETCH_AND_OP_WORD): Update.
5352         Consistently use signed types.
5354 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
5355             Thomas Schwinge  <thomas@codesourcery.com>
5356             Ilya Verbin  <ilya.verbin@intel.com>
5357             Andrey Turetskiy  <andrey.turetskiy@intel.com>
5359         * Makefile.in (crtoffloadbegin$(objext)): New rule.
5360         (crtoffloadend$(objext)): Likewise.
5361         * configure: Regenerate.
5362         * configure.ac (accel_dir_suffix): Compute new variable.
5363         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5364         if enable_offload_targets is not empty.
5365         * offloadstuff.c: New file.
5367 2014-11-13  Nick Clifton  <nickc@redhat.com>
5369         * config/rl78/divmodhi.S: Add support for the G10 architecture.
5370         Use START_FUNC and END_FUNC macros to enable linker garbage
5371         collection.
5372         * config/rl78/divmodqi.S: Likewise.
5373         * config/rl78/divmodsi.S: Likewise.
5374         * config/rl78/mulsi3.S: Likewise.
5375         * config/rl78/lib2div.c: Remove G10 functions.
5376         * config/rl78/lib2muls.c: Likewise.
5377         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5378         * config/rl78/vregs.h (START_FUNC): New macro.
5379         (END_FUNC): New macro.
5381 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
5383         * config/mips/mips16.S: Set .module when supported.  Update O32
5384         FP64 calling convention and use for FPXX when possible.  Add FPXX
5385         calling convention fallback case.
5387 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
5389         * config.host: Handle nvptx-*-*.
5390         * shared-object.mk (as-flags-$o): Define.
5391         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5392         -xassembler-with-cpp.
5393         * static-object.mk: Identical changes.
5394         * config/nvptx/t-nvptx: New file.
5395         * config/nvptx/crt0.s: New file.
5396         * config/nvptx/free.asm: New file.
5397         * config/nvptx/malloc.asm: New file.
5398         * config/nvptx/realloc.c: New file.
5400 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5402         * Makefile.in (libgcc.map.in): New target.
5403         (libgcc.map): Use libgcc.map.in.
5404         * config/t-softfp (softfp_compat): New variable to be set by
5405         users.
5406         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5407         variables.
5408         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5409         directory.
5410         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5411         that use compat symbols and disable all code unless [SHARED].
5412         * config/t-softfp-compat: New file.
5413         * find-symver.awk: New file.
5414         * configure.ac (--with-glibc-version): New configure option.
5415         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5416         * configure: Regenerate.
5417         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5418         soft-float and e500.
5420 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
5422         * config/t-hardfp (hardfp_exclusions): Document new variable for
5423         user to define.
5424         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5425         * config/t-softfp (softfp_extras): Document new variable for user
5426         to define.
5427         (softfp_func_list): Add functions from $(softfp_extras).
5428         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5429         * config.host (powerpc*-*-linux*): For e500v1, use
5430         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5431         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5432         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5434 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
5436         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5437         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5438         memory read accesses are ok.
5440 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
5442         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5443         * configure: Regenerate.
5444         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5445         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
5446         of soft-fp for 32-bit classic hard float.  Do not use
5447         t-softfp-excl for soft float.
5449 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
5451         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5452         configurations.
5453         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5454         Remove variables.
5456 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
5458         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5459         introduced with 2014-10-21 trunk r216525.
5461 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
5462             Vidya Praveen  <vidya.praveen@atmel.com>
5463             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
5464             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
5465             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
5467         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5468         order.
5470         Updated library functions for AVRTINY arch.
5471         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5472         Replaced occurrences of r0/r1 with tmp/zero reg macros.
5473         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5474         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5475         wsubi/wadi macors.
5476         (__mulsi3_helper): Update stack, preserve callee saved regs and
5477         argument from stack. Restore callee save registers.
5478         (__mulpsi3): Likewise.
5479         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5480         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5481         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5482         AVRTINY.
5483         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5484         (__do_copy_data): Added new definition for AVRTINY.
5485         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5486         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5487         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5488         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5489         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5490         macors.
5491         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5492         AVRTINY.
5494         Fix broken long multiplication on tiny arch.
5496 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5498         * soft-fp/double.h: Update from glibc.
5499         * soft-fp/eqdf2.c: Likewise.
5500         * soft-fp/eqsf2.c: Likewise.
5501         * soft-fp/eqtf2.c: Likewise.
5502         * soft-fp/extenddftf2.c: Likewise.
5503         * soft-fp/extended.h: Likewise.
5504         * soft-fp/extendsfdf2.c: Likewise.
5505         * soft-fp/extendsftf2.c: Likewise.
5506         * soft-fp/extendxftf2.c: Likewise.
5507         * soft-fp/gedf2.c: Likewise.
5508         * soft-fp/gesf2.c: Likewise.
5509         * soft-fp/getf2.c: Likewise.
5510         * soft-fp/ledf2.c: Likewise.
5511         * soft-fp/lesf2.c: Likewise.
5512         * soft-fp/letf2.c: Likewise.
5513         * soft-fp/op-1.h: Likewise.
5514         * soft-fp/op-2.h: Likewise.
5515         * soft-fp/op-4.h: Likewise.
5516         * soft-fp/op-8.h: Likewise.
5517         * soft-fp/op-common.h: Likewise.
5518         * soft-fp/quad.h: Likewise.
5519         * soft-fp/single.h: Likewise.
5520         * soft-fp/soft-fp.h: Likewise.
5521         * soft-fp/unorddf2.c: Likewise.
5522         * soft-fp/unordsf2.c: Likewise.
5523         * soft-fp/unordtf2.c: Likewise.
5524         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5525         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5526         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5527         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5528         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5529         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5530         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5531         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5532         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5533         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5535 2014-10-08  Rong Xu  <xur@google.com>
5537         * libgcov-util.c (read_gcda_file): Fix format.
5538         (find_match_gcov_info): Ditto.
5539         (calculate_2_entries): New.
5540         (compute_one_gcov): Ditto.
5541         (gcov_info_count_all_cold): Ditto.
5542         (gcov_info_count_all_zero): Ditto.
5543         (extract_file_basename): Ditto.
5544         (get_file_basename): Ditto.
5545         (set_flag): Ditto.
5546         (matched_gcov_info): Ditto.
5547         (calculate_overlap): Ditto.
5548         (gcov_profile_overlap): Ditto.
5549         * libgcov-driver.c (compute_summary): Make
5550         it avavilable for external calls.
5552 2014-10-06  Rong Xu  <xur@google.com>
5554         * Makefile.in: Ditto.
5555         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5556         (gcov_sort_icall_topn_counter): Ditto.
5557         (gcov_sort_topn_counter_arrays): Ditto.
5558         (dump_one_gcov): Sort indirect_call topn counters.
5559         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5560         function.
5561         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5562         utility function.
5563         (__gcov_indirect_call_topn_profiler): New profiler function.
5564         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5565         * libgcov.h: New decls.
5567 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
5569         * config.host: Remove support for score-*.
5571 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
5573         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5574         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5575         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5576         __LIBGCC_XF_MANT_DIG__.
5577         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5578         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5579         __LIBGCC_TF_MANT_DIG__.
5580         * libgcc2.c (NOTRUNC): Define in terms of
5581         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5582         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5584 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
5586         PR target/63312
5587         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5588         New macros.
5590 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
5592         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5593         override USE_PT_GNU_EH_FRAME.
5594         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5595         check USE_EH_FRAME_REGISTRY_ALWAYS against
5596         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5597         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5598         variable for substituted force_explicit_eh_registry.
5599         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5600         * configure.ac (explicit-exception-frame-registration):
5601         New AC_ARG_ENABLE.
5602         * configure: Regenerate.
5604 2014-09-19  Olivier Hainque  <hainque@adacore.com>
5606         * config.host (powerpc-wrs-vxworksmils): New configuration,
5607         same as vxworksae.
5609 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
5611         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5613 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
5615         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5616         bits not set bits as indicating trapping exceptions.
5618 2014-09-17  Nathan sidwell  <nathan@acm.org>
5620         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5621         (LIBGCOV_DRIVER): ... here.
5622         * libgcov-driver.c (gcov_master): New.
5623         (gcov_exit): Remove from master chain.
5624         (__gcov_init): Add to master chain if version compatible.  Don't
5625         clear the version.
5626         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5627         (gcov_reset_int): Clear master chain, if compatible.
5628         (gcov_dump_int): New internal interface.  Dump master chain, if
5629         compatible.
5630         (gcov_dump): Alias for gcov_dump_int.
5631         * libgcov.h (struct gcov_root): Add next and prev fields.
5632         (struct gcov_master): New struct.
5633         (__gcov_master): New.
5634         (gcov_dump_int): Declare.
5636 2014-09-17  Olivier Hainque  <hainque@adacore.com>
5638         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5639         and crtbegin.o + crtend.o to extra_parts.
5641 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
5643         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5644         __LIBGCC_HAS_SF_MODE__.
5645         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5646         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5647         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5648         * config/libbid/bid_gcc_intrinsics.h
5649         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5650         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5651         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5652         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5653         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5654         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5656 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
5658         PR target/63223
5659         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5660         and R24 as needed.  Make work for all devices and .text locations.
5661         (__do_global_ctors, __do_global_dtors): Use word addresses.
5662         (__tablejump__, __tablejump_elpm__): Remove functions.
5663         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5664         Add _tablejump2.
5665         (XICALL, XIJMP): New macros.
5667 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5668         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
5670         * config.host (aarch64*): Include crtfastmath.o and
5671         t-crtfm.
5672         * config/aarch64/crtfastmath.c: New file.
5674 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
5676         * config.host: Remove picochip support.
5677         * config/picochip/adddi3.S: Remove.
5678         * config/picochip/ashlsi3.S: Remove.
5679         * config/picochip/ashlsi3.c: Remove.
5680         * config/picochip/ashrsi3.S: Remove.
5681         * config/picochip/ashrsi3.c: Remove.
5682         * config/picochip/clzsi2.S: Remove.
5683         * config/picochip/cmpsi2.S: Remove.
5684         * config/picochip/divmod15.S: Remove.
5685         * config/picochip/divmodhi4.S: Remove.
5686         * config/picochip/divmodsi4.S: Remove.
5687         * config/picochip/lib1funcs.S: Remove.
5688         * config/picochip/longjmp.S: Remove.
5689         * config/picochip/lshrsi3.S: Remove.
5690         * config/picochip/lshrsi3.c: Remove.
5691         * config/picochip/parityhi2.S: Remove.
5692         * config/picochip/popcounthi2.S: Remove.
5693         * config/picochip/setjmp.S: Remove.
5694         * config/picochip/subdi3.S: Remove.
5695         * config/picochip/t-picochip: Remove.
5696         * config/picochip/ucmpsi2.S: Remove.
5697         * config/picochip/udivmodhi4.S: Remove.
5698         * config/picochip/udivmodsi4.S: Remove.
5700 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
5702         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5703         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5704         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5705         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5706         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
5707         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5708         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
5709         defined and LIBGCC2_HAS_DF_MODE is defined.
5710         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
5711         defined and LIBGCC2_HAS_XF_MODE is defined.
5712         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
5713         defined and LIBGCC2_HAS_TF_MODE is defined.
5715 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
5717         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5718         and ROUND_TOWARDS_ZERO conditionals.
5720 2014-09-07  Nathan sidwell  <nathan@acm.org>
5722         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5723         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
5725 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
5727         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5728         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5729         uses to __LIBGCC_STACK_POINTER_REGNUM__.
5730         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5731         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5732         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5733         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5734         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5735         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5736         (DWARF_FRAME_REGISTERS): Change all uses to
5737         __LIBGCC_DWARF_FRAME_REGISTERS__.
5738         (EH_RETURN_STACKADJ_RTX): Change all uses to
5739         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5740         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5741         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
5742         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5743         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5744         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5745         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5746         to __LIBGCC_EH_FRAME_SECTION_NAME__.
5747         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5748         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5749         __LIBGCC_STACK_POINTER_REGNUM__.
5750         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5751         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5752         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5753         to __LIBGCC_STACK_POINTER_REGNUM__.
5754         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5755         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5756         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5757         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5758         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5759         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5760         (STACK_POINTER_REGNUM): Change all uses to
5761         __LIBGCC_STACK_POINTER_REGNUM__.
5762         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5763         use to __LIBGCC_STACK_POINTER_REGNUM__.
5764         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5765         uses to __LIBGCC_STACK_POINTER_REGNUM__.
5766         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5767         to __LIBGCC_DWARF_FRAME_REGISTERS__.
5768         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5769         to __LIBGCC_DWARF_FRAME_REGISTERS__.
5770         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5771         to __LIBGCC_STACK_POINTER_REGNUM__.
5772         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5773         Remove conditional definition.
5774         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5775         __LIBGCC_TEXT_SECTION_ASM_OP__.
5776         (EH_FRAME_SECTION_NAME): Change all uses to
5777         __LIBGCC_EH_FRAME_SECTION_NAME__.
5778         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5779         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5780         (CTORS_SECTION_ASM_OP): Change all uses to
5781         __LIBGCC_CTORS_SECTION_ASM_OP__.
5782         (DTORS_SECTION_ASM_OP): Change all uses to
5783         __LIBGCC_DTORS_SECTION_ASM_OP__.
5784         (JCR_SECTION_NAME): Change all uses to
5785         __LIBGCC_JCR_SECTION_NAME__.
5786         (INIT_SECTION_ASM_OP): Change all uses to
5787         __LIBGCC_INIT_SECTION_ASM_OP__.
5788         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5789         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5790         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5791         __LIBGCC_STACK_GROWS_DOWNWARD__.
5792         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5793         __LIBGCC_INIT_SECTION_ASM_OP__.
5794         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5795         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5796         (EH_FRAME_SECTION_NAME): Change all uses to
5797         __LIBGCC_EH_FRAME_SECTION_NAME__.
5798         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5799         definitions.  Change all uses to
5800         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5801         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5802         __LIBGCC_STACK_GROWS_DOWNWARD__.
5803         (DWARF_FRAME_REGISTERS): Change all uses to
5804         __LIBGCC_DWARF_FRAME_REGISTERS__.
5805         (EH_RETURN_STACKADJ_RTX): Change all uses to
5806         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5807         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5808         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5809         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5810         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5811         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5813 2014-09-02  Nathan sidwell  <nathan@acm.org>
5815         * libgcov-interface.c (STRONG_ALIAS): New.
5816         (__gcov_flush): Call __gcov_reset_int.
5817         (__gcov_reset): Strong alias for ...
5818         (__gcov_reset_ing): ... this renamed hidden version.
5819         * libgcov.h (__gcov_reset_int): New declaration.
5821 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
5823         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5824         call from here...
5825         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5826         (__dso_handle): Define on Cygwin.
5827         * config/i386/t-cygming (crtbeginS.o): New rule.
5828         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5830         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5831         declaration syntax.
5833 2014-08-13  Steve Ellcey  <sellcey@mips.com>
5835         * crtstuff.c: Undef caddr_t.
5837 2014-08-12  Steve Ellcey  <sellcey@mips.com>
5839         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
5841 2014-08-07  Nathan Sidwell  <nathan@acm.org>
5843         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5844         (LIBGCOV_DRIVER): ... to here.
5845         * libgcov.h (gcov_do_dump): New #define.
5846         (struct gcov_root): New.
5847         (__gcov_root): New declaration.
5848         (__gcov_dump_one): Declare.
5849         * libgcov-driver.c (gcov_list, gcov_dump_complete,
5850         run_accounted): Delete.
5851         (gcov_compute_histogram): Add LIST argument, adjust.
5852         (compute_summary): Adjust gcov_compute_histogram call.
5853         (gcov_do_dump): Not hidden, static in libgcov.
5854         (gcov_clear): Move  to interface.c.
5855         (__gcov_dump_one): New, broken out of ...
5856         (gcov_exit): ... here.  Make static.
5857         (__gcov_root): New.
5858         (__gcov_init): Adjust.
5859         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5860         declarations.
5861         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5862         (gcov_clear): Moved from driver.c.   Add LIST argument.
5863         (__gcov_reset): Adjust for changed interfaces.
5864         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5866 2014-08-04  Rohit  <rohitarulraj@freescale.com>
5868         PR target/60102
5869         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5870         based on change in SPE high register numbers and 3 HTM registers.
5872 2014-08-01  Nathan Sidwell  <nathan@acm.org>
5874         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5875         LIBGCOV_INTERFACE): Reformat.
5876         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5877         IN_GCOV_TOOL.
5878         * libgcov-interface.c: Reformat some comments.
5879         (__gcov_flush_mx): Add declaration.  Tidy up definition.
5881 2014-07-31  Alan Modra  <amodra@gmail.com>
5882             Peter Bergner  <bergner@vnet.ibm.com>
5884         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5885         (pack_ldouble): New function.
5886         (__gcc_qadd): Use it.
5887         (__gcc_qmul): Likewise.
5888         (__gcc_qdiv): Likewise.
5889         (__gcc_qneg): Likewise.
5890         (__gcc_stoq): Likewise.
5891         (__gcc_dtoq): Likewise.
5893 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
5895         * config/s390/tpf-unwind.h: Include <stdbool.h>.
5896         (__tpf_eh_return): Add original return address as second parameter.
5897         Handle cases where unwinder routines were called directly, instead
5898         of from within the C++ library.
5900 2014-07-29  Nathan Sidwell  <nathan@acm.org>
5902         * libgcov.h: Move renaming of entry points to lib gcov specific
5903         portion.
5904         (gcov_do_dump): New rename.
5905         (gcov_rewrite): Remove inline, make HIDDEN.
5906         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5907         (gcov_exit_compute_summary): Rename to ...
5908         (compute_summary): ... here.  Add LIST argument.
5909         (gcov_exit_merge_gcda): Rename to ...
5910         (merge_one_data): ... here.
5911         (gcov_exit_write_gcda): Rename to ...
5912         (write_one_data): ... here.
5913         (gcov_exit_merge_summary): Rename to ...
5914         (merge_summary): Add RUN_COUNTED argument.
5915         (gcov_exit_dump_gcov): Rename to ...
5916         (dump_one_gcov): Add RUN_COUNTED argument.
5917         (gcov_do_dump): New function, broken out of ...
5918         (gcov_exit): ... here.  Call it.
5920 2014-07-27  Anthony Green  <green@moxielogic.com>
5922         * config.host: Add moxiebox configuration suppport.
5924 2014-07-27  Nathan Sidwell  <nathan@acm.org>
5926         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5927         (struct gcov_filename): ... here.  Include buffer and max length
5928         fields.
5929         (gcov_max_filename): Remove.
5930         (gi_filename): Remove.
5931         (gcov_exit_compute_summary): Compute max filename here.
5932         (gcov_exit_merge_gcda): Add filename parm, adjust.
5933         (gcov_exit_merge_summary): Likewise.
5934         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5935         (gcov_exit): Likewise.
5936         (__gcov_init): Don't calculate max length here.
5937         * libgcov_util.c (max_filename_len): Remove.
5938         (read_gcda_file): Don't calculate max length here.
5939         (gcov_read_profile_dir): Don't propagate here.
5940         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5941         struct gcov_filename changes.
5942         (gcov_exit_open_gcda_file): Likewise.
5944 2014-07-25  Nathan Sidwell  <nathan@acm.org>
5946         * libgcov-driver.c (set_gcov_dump_complete,
5947         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5948         functions polluting user's namespace.
5949         (gcov_exit): Set variable directly.
5950         (gcov_clear): Reset variable directly.
5951         * libgcov-interface.c (get_gcov_dymp_complete,
5952         reset_gov_dump_complete): Remove declarations.
5953         (__gcov_reset, __gcov_dump): Don't call them.
5955 2014-07-24  DJ Delorie  <dj@redhat.com>
5957         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5958         (__gcc_deregister_frame): Move logic to detect deregister function
5959         to ...
5960         (__gcc_register_frame): here, so it's consistent with the register
5961         logic.
5963 2014-07-23  Nathan Sidwell  <nathan@acm.org>
5965         * libgcov-driver.c (set_gcov_list): Remove.
5966         (gcov_list): Make non-static in GCOV_TOOL.
5967         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5969 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
5971         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5972         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5973         Don't use SYNC_LOCK_RELEASE for int type.
5975 2014-07-14  Richard Biener  <rguenther@suse.de>
5977         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5979 2014-07-11  Rong Xu  <xur@google.com>
5981         * libgcov-util.c (gcov_max_filename): Fix declartion.
5983 2014-07-10  Rong Xu  <xur@google.com>
5985         Add gcov-tool: an offline gcda profile processing tool
5986         Support.
5987         * libgcov-driver.c (gcov_max_filename): Make available
5988         to gcov-tool.
5989         * libgcov-merge.c (__gcov_merge_add): Replace
5990         gcov_read_counter() with a Macro.
5991         (__gcov_merge_ior): Ditto.
5992         (__gcov_merge_time_profile): Ditto.
5993         (__gcov_merge_single): Ditto.
5994         (__gcov_merge_delta): Ditto.
5995         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5996         in the utility functions.
5997         (set_fn_ctrs): Utility function for reading gcda files to in-memory
5998         gcov_list object link lists.
5999         (tag_function): Ditto.
6000         (tag_blocks): Ditto.
6001         (tag_arcs): Ditto.
6002         (tag_lines): Ditto.
6003         (tag_counters): Ditto.
6004         (tag_summary): Ditto.
6005         (read_gcda_finalize): Ditto.
6006         (read_gcda_file): Ditto.
6007         (ftw_read_file): Ditto.
6008         (read_profile_dir_init): Ditto.
6009         (gcov_read_profile_dir): Ditto.
6010         (gcov_read_counter_mem): Ditto.
6011         (gcov_get_merge_weight): Ditto.
6012         (merge_wrapper): A wrapper function that calls merging handler.
6013         (gcov_merge): Merge two gcov_info objects with weights.
6014         (find_match_gcov_info): Find the matched gcov_info in the list.
6015         (gcov_profile_merge): Merge two gcov_info object lists.
6016         (__gcov_add_counter_op): Process edge profile counter values.
6017         (__gcov_ior_counter_op): Process IOR profile counter values.
6018         (__gcov_delta_counter_op): Process delta profile counter values.
6019         (__gcov_single_counter_op): Process single  profile counter values.
6020         (fp_scale): Callback function for float-point scaling.
6021         (int_scale): Callback function for integer fraction scaling.
6022         (gcov_profile_scale): Scaling profile counters.
6023         (gcov_profile_normalize): Normalize profile counters.
6024         * libgcov.h: Add headers and functions for gcov-tool use.
6025         (gcov_get_counter): New.
6026         (gcov_get_counter_target): Ditto.
6027         (struct gcov_info): Make the functions field mutable in gcov-tool
6028         compilation.
6030 2014-06-23  Kai Tietz  <ktietz@redhat.com>
6032         PR libgcc/61585
6033         * unwind-seh.c (_Unwind_GetGR): Check for proper
6034         index range.
6035         (_Unwind_SetGR): Likewise.
6037 2014-05-22  Nick Clifton  <nickc@redhat.com>
6039         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6040         -mhwmult=none.
6042 2014-05-22  Teresa Johnson  <tejohnson@google.com>
6044         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6045         include.
6047 2014-05-20  John Marino  <gnugcc@marino.st>
6049         * config.host (*-*-dragonfly*): New target.
6050         * crtstuff.c: Make dl_iterate_support generic on *bsd.
6051         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6052         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6053         * config/i386/dragonfly-unwind.h: New.
6055 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
6057         PR libgcc/60166
6058         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6059         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6061 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6063         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6064         implementation.
6066 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
6068         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6070 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6072         PR libgcc/61097
6073         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6074         if --enable-shared.
6076 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6078         Work around for current cygwin32 build problems.
6079         * config/i386/cygming-crtbegin.c (__register_frame_info,
6080         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6081         functions only for 64-bit systems.
6083 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6085         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6086         (sigill_caught, sigill_hdlr): Remove.
6088 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6090         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6091         check.
6092         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6093         Solaris 9 single-threaded support.
6094         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6095         Solaris 9 single-threaded support.  Add call_user_handler code
6096         sequences.
6097         (sparc_is_sighandler): Likewise.
6099 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6101         * config.host: Append t-floattodi to tmake_file depending on
6102         host_address.
6104 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
6106         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6108 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
6110         PR libgcc/60472
6111         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
6112         variable to avoid "array subscript is above array bounds" warnings.
6113         Use __builtin_expect when checking *jcr_list for NULL.
6115 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6117         PR libgcc/59339
6118         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6119         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6120         vtv_*.o to extra_parts if enable_vtable_verify.
6122 2014-03-06  Nick Clifton  <nickc@redhat.com>
6124         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6125         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6127 2014-02-28  Joey Ye  <joey.ye@arm.com>
6129         PR libgcc/60166
6130         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6131         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6132         Set to zero.
6134 2014-02-24  Walter Lee  <walt@tilera.com>
6136         * config.host: Support "tilegx*" and "tilepro*" triplets.
6137         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6138         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6140 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
6141             Chung-Lin Tang  <cltang@codesourcery.com>
6143         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6144         * config/nios2/crti.S: Remove .file directive.
6145         * config/nios2/crtn.S: Likewise.
6147 2014-02-18  Kai Tietz  <ktietz@redhat.com>
6148         Jonathan Schleifer  <js@webkeks.org>
6150         PR objc/56870
6151         * unwind-seh.c (_GCC_specific_handler): Pass proper
6152         value to unwind-handler.
6154 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6156         * soft-fp/adddf3.c: Update from glibc.
6157         * soft-fp/addsf3.c: Likewise.
6158         * soft-fp/addtf3.c: Likewise.
6159         * soft-fp/divdf3.c: Likewise.
6160         * soft-fp/divsf3.c: Likewise.
6161         * soft-fp/divtf3.c: Likewise.
6162         * soft-fp/double.h: Likewise.
6163         * soft-fp/eqdf2.c: Likewise.
6164         * soft-fp/eqsf2.c: Likewise.
6165         * soft-fp/eqtf2.c: Likewise.
6166         * soft-fp/extenddftf2.c: Likewise.
6167         * soft-fp/extended.h: Likewise.
6168         * soft-fp/extendsfdf2.c: Likewise.
6169         * soft-fp/extendsftf2.c: Likewise.
6170         * soft-fp/extendxftf2.c: Likewise.
6171         * soft-fp/fixdfdi.c: Likewise.
6172         * soft-fp/fixdfsi.c: Likewise.
6173         * soft-fp/fixdfti.c: Likewise.
6174         * soft-fp/fixsfdi.c: Likewise.
6175         * soft-fp/fixsfsi.c: Likewise.
6176         * soft-fp/fixsfti.c: Likewise.
6177         * soft-fp/fixtfdi.c: Likewise.
6178         * soft-fp/fixtfsi.c: Likewise.
6179         * soft-fp/fixtfti.c: Likewise.
6180         * soft-fp/fixunsdfdi.c: Likewise.
6181         * soft-fp/fixunsdfsi.c: Likewise.
6182         * soft-fp/fixunsdfti.c: Likewise.
6183         * soft-fp/fixunssfdi.c: Likewise.
6184         * soft-fp/fixunssfsi.c: Likewise.
6185         * soft-fp/fixunssfti.c: Likewise.
6186         * soft-fp/fixunstfdi.c: Likewise.
6187         * soft-fp/fixunstfsi.c: Likewise.
6188         * soft-fp/fixunstfti.c: Likewise.
6189         * soft-fp/floatdidf.c: Likewise.
6190         * soft-fp/floatdisf.c: Likewise.
6191         * soft-fp/floatditf.c: Likewise.
6192         * soft-fp/floatsidf.c: Likewise.
6193         * soft-fp/floatsisf.c: Likewise.
6194         * soft-fp/floatsitf.c: Likewise.
6195         * soft-fp/floattidf.c: Likewise.
6196         * soft-fp/floattisf.c: Likewise.
6197         * soft-fp/floattitf.c: Likewise.
6198         * soft-fp/floatundidf.c: Likewise.
6199         * soft-fp/floatundisf.c: Likewise.
6200         * soft-fp/floatunditf.c: Likewise.
6201         * soft-fp/floatunsidf.c: Likewise.
6202         * soft-fp/floatunsisf.c: Likewise.
6203         * soft-fp/floatunsitf.c: Likewise.
6204         * soft-fp/floatuntidf.c: Likewise.
6205         * soft-fp/floatuntisf.c: Likewise.
6206         * soft-fp/floatuntitf.c: Likewise.
6207         * soft-fp/gedf2.c: Likewise.
6208         * soft-fp/gesf2.c: Likewise.
6209         * soft-fp/getf2.c: Likewise.
6210         * soft-fp/ledf2.c: Likewise.
6211         * soft-fp/lesf2.c: Likewise.
6212         * soft-fp/letf2.c: Likewise.
6213         * soft-fp/muldf3.c: Likewise.
6214         * soft-fp/mulsf3.c: Likewise.
6215         * soft-fp/multf3.c: Likewise.
6216         * soft-fp/negdf2.c: Likewise.
6217         * soft-fp/negsf2.c: Likewise.
6218         * soft-fp/negtf2.c: Likewise.
6219         * soft-fp/op-1.h: Likewise.
6220         * soft-fp/op-2.h: Likewise.
6221         * soft-fp/op-4.h: Likewise.
6222         * soft-fp/op-8.h: Likewise.
6223         * soft-fp/op-common.h: Likewise.
6224         * soft-fp/quad.h: Likewise.
6225         * soft-fp/single.h: Likewise.
6226         * soft-fp/soft-fp.h: Likewise.
6227         * soft-fp/subdf3.c: Likewise.
6228         * soft-fp/subsf3.c: Likewise.
6229         * soft-fp/subtf3.c: Likewise.
6230         * soft-fp/truncdfsf2.c: Likewise.
6231         * soft-fp/trunctfdf2.c: Likewise.
6232         * soft-fp/trunctfsf2.c: Likewise.
6233         * soft-fp/trunctfxf2.c: Likewise.
6234         * soft-fp/unorddf2.c: Likewise.
6235         * soft-fp/unordsf2.c: Likewise.
6236         * soft-fp/unordtf2.c: Likewise.
6237         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6238         macro.
6239         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6240         Likewise.
6241         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6242         Likewise.
6243         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6244         Likewise.
6245         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6246         Likewise.
6247         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6248         Likewise.
6249         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6250         Likewise.
6251         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6252         Likewise.
6253         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6254         Likewise.
6255         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6256         Likewise.
6257         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6258         Likewise.
6259         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6260         Likewise.
6261         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6262         Likewise.
6263         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6264         Likewise.
6265         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6266         Likewise.
6267         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6268         Likewise.
6270 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6272         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6273         cannot be represented.
6274         * config/s390/32/_fixsfdi.c: Likewise.
6275         * config/s390/32/_fixtfdi.c: Likewise.
6276         * config/s390/32/_fixunsdfdi.c: Likewise.
6277         * config/s390/32/_fixunssfdi.c: Likewise.
6278         * config/s390/32/_fixunstfdi.c: Likewise.
6280 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
6282         * configure.ac (libgcc_cv_mips_hard_float): New.
6283         * configure: Regenerate.
6284         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6285         t-softfp-sfdf for hard-float targets.
6286         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6287         (softfp_float_modes, softfp_int_modes, softfp_extensions)
6288         (softfp_truncations, softfp_exclude_libgcc2): New.
6289         * config/t-hardfp: New file.
6290         * config/t-hardfp-sfdf: Likewise.
6291         * config/hardfp.c: Likewise.
6293 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6295         * config.host: Include t-floattodi also for s390x.
6296         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6297         * config/s390/32/_fixsfdi.c: Likewise.
6298         * config/s390/32/_fixtfdi.c: Likewise.
6299         * config/s390/32/_fixunsdfdi.c: Likewise.
6300         * config/s390/32/_fixunssfdi.c: Likewise.
6301         * config/s390/32/_fixunstfdi.c: Likewise.
6303 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6305         PR target/59788
6306         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6307         (install-libgcc-unwind-map-forbuild): New target.
6308         (all): Depend on install-libgcc-unwind-map-forbuild.
6309         (install-libgcc-unwind-map): New target.
6310         (install): Depend on install-libgcc-unwind-map.
6312 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
6314         * config/nios2/crti.S (_init): Initialize GOT pointer from
6315         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6317 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
6319         * configure.ac: Check __mips64 when setting host_address.
6320         * configure: Regenerate.
6321         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6322         mips/t-mips64 and t-softfp.
6323         (mips*-*-linux*): Don't add mips/t-tpbit.
6324         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6325         (DPBIT, DPBIT_CFLAGS): Delete.
6326         * config/mips/sfp-machine.h: New file.
6327         * config/mips/t-mips64: Likewise.
6328         * config/mips/t-softfp-tf: Likewise.
6329         * config/mips/t-tpbit: Delete.
6331 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6333         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6334         as long long.
6336 2014-01-25  Walter Lee  <walt@tilera.com>
6338         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
6339         config.h or system.h.
6340         (bool) Define.
6342 2014-01-25  Walter Lee  <walt@tilera.com>
6344         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6345         (post_atomic_barrier): Ditto.
6346         (__fetch_and_do): New macro.
6347         (__atomic_fetch_and_do): Use __fetch_and_do.
6348         (__sync_fetch_and_do): New macro.
6349         (__sync_fetch_and_add_4): New function.
6350         (__sync_fetch_and_sub_4): New function.
6351         (__sync_fetch_and_or_4): New function.
6352         (__sync_fetch_and_and_4): New function.
6353         (__sync_fetch_and_xor_4): New function.
6354         (__sync_fetch_and_nand_4): New function.
6355         (__sync_fetch_and_add_8): New function.
6356         (__sync_fetch_and_sub_8): New function.
6357         (__sync_fetch_and_or_8): New function.
6358         (__sync_fetch_and_and_8): New function.
6359         (__sync_fetch_and_xor_8): New function.
6360         (__sync_fetch_and_nand_8): New function.
6361         (__do_and_fetch): New macro.
6362         (__atomic_do_and_fetch): Use __do_and_fetch.
6363         (__sync_do_and_fetch): New macro.
6364         (__sync_add_and_fetch_4): New function.
6365         (__sync_sub_and_fetch_4): New function.
6366         (__sync_or_and_fetch_4): New function.
6367         (__sync_and_and_fetch_4): New function.
6368         (__sync_xor_and_fetch_4): New function.
6369         (__sync_nand_and_fetch_4): New function.
6370         (__sync_add_and_fetch_8): New function.
6371         (__sync_sub_and_fetch_8): New function.
6372         (__sync_or_and_fetch_8): New function.
6373         (__sync_and_and_fetch_8): New function.
6374         (__sync_xor_and_fetch_8): New function.
6375         (__sync_nand_and_fetch_8): New function.
6376         (__sync_exchange_methods): New macro.
6377         (__sync_val_compare_and_swap_4): New function.
6378         (__sync_bool_compare_and_swap_4): New function.
6379         (__sync_lock_test_and_test_4): New function.
6380         (__sync_val_compare_and_swap_8): New function.
6381         (__sync_bool_compare_and_swap_8): New function.
6382         (__sync_lock_test_and_test_8): New function.
6383         (__subword_cmpxchg_body): New macro.
6384         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6385         (__atomic_compare_exchange_2): Ditto.
6386         (__sync_subword_cmpxchg): New macro.
6387         (__sync_val_compare_and_swap_1): New function.
6388         (__sync_bool_compare_and_swap_1): New function.
6389         (__sync_val_compare_and_swap_2): New function.
6390         (__sync_bool_compare_and_swap_2): New function.
6391         (__atomic_subword): Rename to ...
6392         (__subword): ... New name.
6393         (__atomic_subword_fetch): Use __subword.
6394         (__sync_subword_fetch): New macro.
6395         (__sync_fetch_and_add_1): New function.
6396         (__sync_fetch_and_sub_1): New function.
6397         (__sync_fetch_and_or_1): New function.
6398         (__sync_fetch_and_and_1): New function.
6399         (__sync_fetch_and_xor_1): New function.
6400         (__sync_fetch_and_nand_1): New function.
6401         (__sync_fetch_and_add_2): New function.
6402         (__sync_fetch_and_sub_2): New function.
6403         (__sync_fetch_and_or_2): New function.
6404         (__sync_fetch_and_and_2): New function.
6405         (__sync_fetch_and_xor_2): New function.
6406         (__sync_fetch_and_nand_2): New function.
6407         (__sync_add_and_fetch_1): New function.
6408         (__sync_sub_and_fetch_1): New function.
6409         (__sync_or_and_fetch_1): New function.
6410         (__sync_and_and_fetch_1): New function.
6411         (__sync_xor_and_fetch_1): New function.
6412         (__sync_nand_and_fetch_1): New function.
6413         (__sync_add_and_fetch_2): New function.
6414         (__sync_sub_and_fetch_2): New function.
6415         (__sync_or_and_fetch_2): New function.
6416         (__sync_and_and_fetch_2): New function.
6417         (__sync_xor_and_fetch_2): New function.
6418         (__sync_nand_and_fetch_2): New function.
6419         (__atomic_subword_lock): Use __subword.
6420         (__sync_subword_lock): New macro.
6421         (__sync_lock_test_and_set_1): New function.
6422         (__sync_lock_test_and_set_2): New function.
6424 2014-01-25  Walter Lee  <walt@tilera.com>
6426         * config/tilepro/atomic.c (BIT_OFFSET): Define.
6427         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6428         (__atomic_subword): Ditto.
6430 2014-01-25  Walter Lee  <walt@tilera.com>
6432         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6433         a prefix op argument.
6434         (__atomic_nand_fetch_4): Add prefix op.
6435         (__atomic_nand_fetch_8): Ditto.
6437 2014-01-21  Baruch Siach  <barch@tkos.co.il>
6439         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6441 2014-01-09  Rong Xu  <xur@google.com>
6443         * libgcov-driver.c (this_prg): make it local to save
6444         bss space.
6445         (gcov_exit_compute_summary): Ditto.
6446         (gcov_exit_merge_gcda): Ditto.
6447         (gcov_exit_merge_summary): Ditto.
6448         (gcov_exit_dump_gcov): Ditto.
6450 2014-01-08  Rong Xu  <xur@google.com>
6452         * libgcov-driver.c: Use libgcov.h.
6453         (buffer_fn_data): Use xmalloc instead of malloc.
6454         (gcov_exit_merge_gcda): Ditto.
6455         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6456         * libgcov.h: New common header files for libgcov-*.h.
6457         * libgcov-interface.c: Use libgcov.h
6458         * libgcov-merge.c: Ditto.
6459         * libgcov-profiler.c: Ditto.
6460         * Makefile.in: Add dependence to libgcov.h
6462 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
6464         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6465         case of small numerator and finite nonzero result.
6467 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
6469         Update copyright years
6471 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
6473         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6474         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6475         config/arc/dp-hack.h, config/arc/fp-hack.h,
6476         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6477         config/arc/ieee-754/arc600-dsp/divdf3.S,
6478         config/arc/ieee-754/arc600-dsp/divsf3.S,
6479         config/arc/ieee-754/arc600-dsp/muldf3.S,
6480         config/arc/ieee-754/arc600-dsp/mulsf3.S,
6481         config/arc/ieee-754/arc600-mul64/divdf3.S,
6482         config/arc/ieee-754/arc600-mul64/divsf3.S,
6483         config/arc/ieee-754/arc600-mul64/muldf3.S,
6484         config/arc/ieee-754/arc600-mul64/mulsf3.S,
6485         config/arc/ieee-754/arc600/divsf3.S,
6486         config/arc/ieee-754/arc600/mulsf3.S,
6487         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6488         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6489         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6490         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6491         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6492         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6493         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6494         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6495         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6496         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6497         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6498         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6499         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6500         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6501         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6502         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6503         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6504         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6505         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6506         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6507         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6508         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6509         vtv_start_preinit.c: Use the standard form for the copyright notice.
6511 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
6512             Chung-Lin Tang  <cltang@codesourcery.com>
6513             Based on patches from Altera Corporation
6515         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6516         * config/nios2/lib2-nios2.h: New file.
6517         * config/nios2/lib2-divmod-hi.c: New file.
6518         * config/nios2/linux-unwind.h: New file.
6519         * config/nios2/lib2-divmod.c: New file.
6520         * config/nios2/linux-atomic.c: New file.
6521         * config/nios2/t-nios2: New file.
6522         * config/nios2/crti.asm: New file.
6523         * config/nios2/t-linux: New file.
6524         * config/nios2/lib2-divtable.c: New file.
6525         * config/nios2/lib2-mul.c: New file.
6526         * config/nios2/tramp.c: New file.
6527         * config/nios2/crtn.asm: New file.
6529 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
6531         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6532         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6533         from cpuid.h to check vendor signatures.
6535 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
6537         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6538         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6539         (get_amd_cpu): Likewise.
6541 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
6543         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6544         Haswell.
6546 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6547             H.J. Lu  <hongjiu.lu@intel.com>
6549         PR target/59422
6550         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
6551         and AMD_JAGUAR.
6552         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6553         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6554         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
6555         FEATURE_XOP and FEATURE_FMA.
6556         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6557         AMDFAM15H_BDVER3.
6558         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6559         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6560         FEATURE_FMA4 and FEATURE_XOP.
6562 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
6564         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6565         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6566         (get_intel_cpu): Updated.
6568 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
6570         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6572 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
6574         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6575         instructions when __SSE_MATH__ is defined.
6577 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
6579         * config.host (microblaze-*-rtems*): New.
6581 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
6583         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6584         architectures that do not have hardware divide instruction.
6585         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6587 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
6589         * longlong.h: Delete (moved to include/).
6591 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6593         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6594         of normal number and qNaN to not raise an inexact exception.
6596 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
6598         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6600 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
6602         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6603         for correct opcodes on BE.
6605 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
6607         * soft-fp/op-4.h: Update from glibc.
6609 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
6611         * libgcc2.c (__udivmoddi4): Define new implementation when
6612         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6613         divide instructions.
6615 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
6617         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6619 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6621         * config/t-softfp (soft-fp-objects-base): New variable.
6622         (soft-fp-objects): Use it.
6624 2013-11-23  David Edelson  <dje.gcc@gmail.com>
6625             Andrew Dixie  <andrewd@gentrack.com>
6627         PR target/33704
6628         * config/rs6000/aixinitfini.c: New file.
6629         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6630         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6631         symbols.
6633 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
6635         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6637 2013-11-18  Jan Hubicka  <jh@suse.cz>
6639         * libgcov-driver.c (run_accounted): Make global level static.
6640         (gcov_exit_merge_summary): Silence warning; do not clear
6641         run_accounted here.
6642         (gcov_exit): Clear it here.
6644         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6645         run_accounted.
6647         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6648         (all_prg, crc32): Remove static vars.
6649         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6650         all_prg.
6651         (gcov_exit_merge_gcda): Add crc32 parameter.
6652         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6653         do not account run if it was already accounted.
6654         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6655         (gcov_exit): Initialize all_prg; update.
6657 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
6659         * configure: Regenerate.
6661 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6662             Alan Modra  <amodra@gmail.com>
6664         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6665         (frob_update_context): Use it.
6667 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6668             Alan Modra  <amodra@gmail.com>
6670         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6671         (trampoline_initial): Provide ELFv2 variant.
6672         (__trampoline_setup): Likewise.
6674         * config/rs6000/linux-unwind.h (frob_update_context): Do not
6675         check for AIX indirect function call sequence if _CALL_ELF == 2.
6677 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6678             Alan Modra  <amodra@gmail.com>
6680         * config/rs6000/linux-unwind.h (get_regs): Do not support
6681         old kernel versions if _CALL_ELF == 2.
6682         (frob_update_context): Do not support PLT stub variants only
6683         generated by old linkers if _CALL_ELF == 2.
6685 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6686             Alan Modra  <amodra@gmail.com>
6688         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6689         location of CR save area for 64-bit little-endian systems.
6691 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
6693         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6694         in tmake_file.
6695         * config/arm/t-vxworks: Delete.
6697 2013-11-10  Kai Tietz  <ktietz@redhat.com>
6699         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6700         Increment load-count on use of LIBGCC_SONAME DLL.
6701         (hmod_libgcc): New static variable to hold handle of
6702         LIBGCC_SONAME DLL.
6703         (__gcc_deregister_frame): Decrement load-count of
6704         LIBGCC_SONAME DLL.
6706 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
6708         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6709         availability.
6710         * configure: Regenerate
6712 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
6714         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6715         FP_EX_DENORM.  Store result to volatile location after SSE division
6716         to close interrupt window.  Remove unneeded fwait after x87
6717         division since interrupt window will be closed by emitted fstp.
6718         Rewrite FP_EX_INEXACT handling.
6720 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
6722         * soft-fp/README: Update.
6723         * soft-fp/adddf3.c: Update from glibc.
6724         * soft-fp/addsf3.c: Likewise.
6725         * soft-fp/addtf3.c: Likewise.
6726         * soft-fp/divdf3.c: Likewise.
6727         * soft-fp/divsf3.c: Likewise.
6728         * soft-fp/divtf3.c: Likewise.
6729         * soft-fp/double.h: Likewise.
6730         * soft-fp/eqdf2.c: Likewise.
6731         * soft-fp/eqsf2.c: Likewise.
6732         * soft-fp/eqtf2.c: Likewise.
6733         * soft-fp/extenddftf2.c: Likewise.
6734         * soft-fp/extended.h: Likewise.
6735         * soft-fp/extendsfdf2.c: Likewise.
6736         * soft-fp/extendsftf2.c: Likewise.
6737         * soft-fp/extendxftf2.c: Likewise.
6738         * soft-fp/fixdfdi.c: Likewise.
6739         * soft-fp/fixdfsi.c: Likewise.
6740         * soft-fp/fixdfti.c: Likewise.
6741         * soft-fp/fixsfdi.c: Likewise.
6742         * soft-fp/fixsfsi.c: Likewise.
6743         * soft-fp/fixsfti.c: Likewise.
6744         * soft-fp/fixtfdi.c: Likewise.
6745         * soft-fp/fixtfsi.c: Likewise.
6746         * soft-fp/fixtfti.c: Likewise.
6747         * soft-fp/fixunsdfdi.c: Likewise.
6748         * soft-fp/fixunsdfsi.c: Likewise.
6749         * soft-fp/fixunsdfti.c: Likewise.
6750         * soft-fp/fixunssfdi.c: Likewise.
6751         * soft-fp/fixunssfsi.c: Likewise.
6752         * soft-fp/fixunssfti.c: Likewise.
6753         * soft-fp/fixunstfdi.c: Likewise.
6754         * soft-fp/fixunstfsi.c: Likewise.
6755         * soft-fp/fixunstfti.c: Likewise.
6756         * soft-fp/floatdidf.c: Likewise.
6757         * soft-fp/floatdisf.c: Likewise.
6758         * soft-fp/floatditf.c: Likewise.
6759         * soft-fp/floatsidf.c: Likewise.
6760         * soft-fp/floatsisf.c: Likewise.
6761         * soft-fp/floatsitf.c: Likewise.
6762         * soft-fp/floattidf.c: Likewise.
6763         * soft-fp/floattisf.c: Likewise.
6764         * soft-fp/floattitf.c: Likewise.
6765         * soft-fp/floatundidf.c: Likewise.
6766         * soft-fp/floatundisf.c: Likewise.
6767         * soft-fp/floatunditf.c: Likewise.
6768         * soft-fp/floatunsidf.c: Likewise.
6769         * soft-fp/floatunsisf.c: Likewise.
6770         * soft-fp/floatunsitf.c: Likewise.
6771         * soft-fp/floatuntidf.c: Likewise.
6772         * soft-fp/floatuntisf.c: Likewise.
6773         * soft-fp/floatuntitf.c: Likewise.
6774         * soft-fp/gedf2.c: Likewise.
6775         * soft-fp/gesf2.c: Likewise.
6776         * soft-fp/getf2.c: Likewise.
6777         * soft-fp/ledf2.c: Likewise.
6778         * soft-fp/lesf2.c: Likewise.
6779         * soft-fp/letf2.c: Likewise.
6780         * soft-fp/muldf3.c: Likewise.
6781         * soft-fp/mulsf3.c: Likewise.
6782         * soft-fp/multf3.c: Likewise.
6783         * soft-fp/negdf2.c: Likewise.
6784         * soft-fp/negsf2.c: Likewise.
6785         * soft-fp/negtf2.c: Likewise.
6786         * soft-fp/op-1.h: Likewise.
6787         * soft-fp/op-2.h: Likewise.
6788         * soft-fp/op-4.h: Likewise.
6789         * soft-fp/op-8.h: Likewise.
6790         * soft-fp/op-common.h: Likewise.
6791         * soft-fp/quad.h: Likewise.
6792         * soft-fp/single.h: Likewise.
6793         * soft-fp/soft-fp.h: Likewise.
6794         * soft-fp/subdf3.c: Likewise.
6795         * soft-fp/subsf3.c: Likewise.
6796         * soft-fp/subtf3.c: Likewise.
6797         * soft-fp/truncdfsf2.c: Likewise.
6798         * soft-fp/trunctfdf2.c: Likewise.
6799         * soft-fp/trunctfsf2.c: Likewise.
6800         * soft-fp/trunctfxf2.c: Likewise.
6801         * soft-fp/unorddf2.c: Likewise.
6802         * soft-fp/unordsf2.c: Likewise.
6803         * soft-fp/unordtf2.c: Likewise.
6805 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
6807         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6808         (_FP_MUL_MEAT_D): Ditto.
6809         (_FP_DIV_MEAT_S): Ditto.
6810         (_FP_DIV_MEAT_D): Ditto.
6811         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6812         t-softfp-sfdf and t-softfp to tmake_file.
6814 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
6816         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6817         * config/i386/crtprec.c: Ditto.
6819 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
6820             Shiva Chen  <shiva0217@gmail.com>
6822         * config.host (nds32*-elf*): Add nds32 target.
6823         * config/nds32 : New directory and files.
6825 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
6827         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
6828         * config.host (cpu_type) <Setting default>: Add entry for
6829         crisv32-*-*.
6830         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6831         <crisv32-*-linux*>: Adjust.
6832         * longlong.h: Wrap the whole CRIS section in a single
6833         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
6834         and sub_ddmmss.
6835         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6836         defined.
6837         [__CRIS__] (__umulsidi3): Define.
6838         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6839         * config/cris/sfp-machine.h: New file.
6840         * config/cris/umulsidi3.S: New file.
6841         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6842         * config/cris/arit.c (SIGNMULT): New macro.
6843         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6844         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6845         saving 3 out of originally 33 cycles from the fastest
6846         path, 3 out of 54 from the medium path and one from the longest
6847         path.  Improve comments.
6849 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
6851         * sync.c: Remove static aliases and define each function directly
6852         under its real name.
6854 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
6856         * config.host (hppa*64*-*-linux*): Define extra_parts.
6857         (hppa*-*-linux*): Likewise.
6859 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
6861         * config/arc/crtgend.S: Add 2013 to Copyright years.
6862         * config/arc/gmon/atomic.h: Likewise.
6863         * config/arc/gmon/auxreg.h: Likewise.
6864         * config/arc/gmon/sys/gmon_out.h: Likewise.
6865         * config/arc/gmon/sys/gmon.h: Likewise.
6866         * config/arc/gmon/prof-freq.c: Likewise.
6867         * config/arc/gmon/mcount.c: Likewise.
6868         * config/arc/gmon/prof-freq-stub.S: Likewise.
6869         * config/arc/gmon/gmon.c: Likewise.
6870         * config/arc/gmon/machine-gmon.h: Likewise.
6871         * config/arc/gmon/profil.S: Likewise.
6872         * config/arc/gmon/dcache_linesz.S: Likewise.
6873         * config/arc/crtg.S: Likewise.
6874         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6875         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6876         * config/arc/ieee-754/adddf3.S: Likewise.
6877         * config/arc/ieee-754/truncdfsf2.S: Likewise.
6878         * config/arc/ieee-754/fixsfsi.S: Likewise.
6879         * config/arc/ieee-754/gtsf2.S: Likewise.
6880         * config/arc/ieee-754/floatsisf.S: Likewise.
6881         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6882         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6883         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6884         * config/arc/ieee-754/fixdfsi.S: Likewise.
6885         * config/arc/ieee-754/addsf3.S: Likewise.
6886         * config/arc/ieee-754/gesf2.S: Likewise.
6887         * config/arc/ieee-754/floatsidf.S: Likewise.
6888         * config/arc/ieee-754/extendsfdf2.S: Likewise.
6889         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6890         * config/arc/ieee-754/gtdf2.S: Likewise.
6891         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6892         * config/arc/ieee-754/uneqdf2.S: Likewise.
6893         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6894         * config/arc/ieee-754/uneqsf2.S: Likewise.
6895         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6896         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6897         * config/arc/ieee-754/eqdf2.S: Likewise.
6898         * config/arc/ieee-754/ordsf2.S: Likewise.
6899         * config/arc/ieee-754/divsf3.S: Likewise.
6900         * config/arc/ieee-754/divdf3.S: Likewise.
6901         * config/arc/ieee-754/floatunsidf.S: Likewise.
6902         * config/arc/ieee-754/orddf2.S: Likewise.
6903         * config/arc/ieee-754/eqsf2.S: Likewise.
6904         * config/arc/ieee-754/gedf2.S: Likewise.
6905         * config/arc/crtn.S: Likewise.
6906         * config/arc/crti.S: Likewise.
6907         * config/arc/t-arc700-uClibc: Likewise.
6908         * config/arc/asm.h: Likewise.
6909         * config/arc/libgcc-excl.ver: Likewise.
6910         * config/arc/t-arc-newlib: Likewise.
6911         * config/arc/divtab-arc700.c: Likewise.
6912         * config/arc/initfini.c: Likewise.
6913         * config/arc/fp-hack.h: Likewise.
6915 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
6916             Diego Novillo  <dnovillo@google.com>
6918         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6919         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6920         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6921         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6923 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
6924             Brendan Kehoe  <brendan@zen.org>
6925             Simon Cook  <simon.cook@embecosm.com>
6927         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6928         * config/arc: New directory.
6929         * longlong.h [__arc__] (umul_ppmm): Remove.
6930         [__arc__] (__umulsidi3): Define.
6931         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6932         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6934 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
6936         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6937         CreateSemaphoreA.
6938         * config/i386/gthr-win32.h: Likewise.
6940 2013-09-16  DJ Delorie  <dj@redhat.com>
6942         * config/rl78/vregs.h: Add G10 register definitions.
6943         * config/rl78/lib2mul.c: Enable for RL78/G10.
6944         * config/rl78/lib2div.c: Likewise.
6945         * config/rl78/lshrsi3.S: Use vregs.h.
6946         * config/rl78/cmpsi2.S: Likewise.
6947         * config/rl78/trampoline.S: Likewise.
6948         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
6950 2013-09-14  DJ Delorie  <dj@redhat.com>
6951             Nick Clifton  <nickc@redhat.com>
6953         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6954         * config/rl78/vregs.h: New.
6955         * config/rl78/signbit.S: New file.  Implements signbit function.
6956         * config/rl78/divmodsi.S: New.
6957         * config/rl78/divmodhi.S: New.
6958         * config/rl78/divmodqi.S: New.
6959         * config/rl78/t-rl78: Build them here...
6960         * config/rl78/lib2div.c: ...but not here.
6962 2013-09-12  DJ Delorie  <dj@redhat.com>
6964         * config.host (msp*-*-elf): New.
6965         * config/msp430/: New port.
6967 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
6969         PR gcov-profile/58127
6970         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6971         __thread var for emulated TLS.
6972         (__gcov_indirect_call_counters): Likewise.
6974 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
6975             Catherine Moore  <clm@codesourcery.com>
6976             Richard Sandiford  <rdsandiford@googlemail.com>
6978         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6979         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6980         (CALL_STUB_NO_RET): Likewise.
6981         (CALL_STUB_RET): Likewise.
6982         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6983         __mips16_ret call/return stub symbols.
6984         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6985         to tmake_file.
6987 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
6989         * config.host <mips*-*-linux*>: Remove a stray comment.
6991 2013-08-10  Jan Hubicka  <jh@suse.cz>
6993         Work around binutils PR14342
6994         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6995         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6996         (L_gcov_indirect_call_profiler_v2): New.
6998 2013-08-06  Jan Hubicka  <jh@suse.cz>
7000         * libgcov.c (__gcov_indirect_call_callee,
7001         __gcov_indirect_call_counters): New global vars.
7002         (__gcov_indirect_call_profiler): replace by ...
7003         (__gcov_indirect_call_profiler_v2) ... this one.
7005 2013-08-06  Caroline Tice  <cmtice@google.com>
7007         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
7008         vtv_start_preinit.o and vtv_end_preinit.o.
7009         * configure.ac: Add code to check/set enable_vtable_verify.
7010         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
7011         true.
7012         * vtv_start_preinit.c: New file.
7013         * vtv_end_preinit.c: New file.
7014         * vtv_start.c: New file.
7015         * vtv_end.c: New file.
7016         * configure: Regenerated.
7018 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
7020         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7021         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7022         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7023         GPL-3.0-with-GCC-exception.
7025 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
7027         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7028         ISA and up.
7030 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7032         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7033         mapping for FPRs when creating the fallback framestate.
7035 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
7037         PR target/57516
7038         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7039         (__round_s2_const, __round_u2_const)
7040         (__round_s4_const, __round_u4_const, __round_x8):
7041         Saturate result if addition result cannot be represented.
7043 2013-07-15  Matthias Klose  <doko@ubuntu.com>
7045         * libgcc2.c: Don't include <limits.h>.
7047 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
7049         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7051 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
7053         PR target/29776
7054         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7056 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
7058         PR middle-end/36041
7059         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7060         Define.
7061         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7062         instead of table lookups.
7063         (__popcountDI2): Likewise.
7065 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
7067         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7068         correctly.
7070 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7072         PR other/53317
7073         * soft-fp/adddf3.c: Update from glibc.
7074         * soft-fp/addsf3.c: Likewise.
7075         * soft-fp/addtf3.c: Likewise.
7076         * soft-fp/divdf3.c: Likewise.
7077         * soft-fp/divsf3.c: Likewise.
7078         * soft-fp/divtf3.c: Likewise.
7079         * soft-fp/double.h: Likewise.
7080         * soft-fp/eqdf2.c: Likewise.
7081         * soft-fp/eqsf2.c: Likewise.
7082         * soft-fp/eqtf2.c: Likewise.
7083         * soft-fp/extenddftf2.c: Likewise.
7084         * soft-fp/extended.h: Likewise.
7085         * soft-fp/extendsfdf2.c: Likewise.
7086         * soft-fp/extendsftf2.c: Likewise.
7087         * soft-fp/fixdfdi.c: Likewise.
7088         * soft-fp/fixdfsi.c: Likewise.
7089         * soft-fp/fixsfdi.c: Likewise.
7090         * soft-fp/fixsfsi.c: Likewise.
7091         * soft-fp/fixtfdi.c: Likewise.
7092         * soft-fp/fixtfsi.c: Likewise.
7093         * soft-fp/fixunsdfdi.c: Likewise.
7094         * soft-fp/fixunsdfsi.c: Likewise.
7095         * soft-fp/fixunssfdi.c: Likewise.
7096         * soft-fp/fixunssfsi.c: Likewise.
7097         * soft-fp/fixunstfdi.c: Likewise.
7098         * soft-fp/fixunstfsi.c: Likewise.
7099         * soft-fp/floatdidf.c: Likewise.
7100         * soft-fp/floatdisf.c: Likewise.
7101         * soft-fp/floatditf.c: Likewise.
7102         * soft-fp/floatsidf.c: Likewise.
7103         * soft-fp/floatsisf.c: Likewise.
7104         * soft-fp/floatsitf.c: Likewise.
7105         * soft-fp/floatundidf.c: Likewise.
7106         * soft-fp/floatundisf.c: Likewise.
7107         * soft-fp/floatunditf.c: Likewise.
7108         * soft-fp/floatunsidf.c: Likewise.
7109         * soft-fp/floatunsisf.c: Likewise.
7110         * soft-fp/floatunsitf.c: Likewise.
7111         * soft-fp/gedf2.c: Likewise.
7112         * soft-fp/gesf2.c: Likewise.
7113         * soft-fp/getf2.c: Likewise.
7114         * soft-fp/ledf2.c: Likewise.
7115         * soft-fp/lesf2.c: Likewise.
7116         * soft-fp/letf2.c: Likewise.
7117         * soft-fp/muldf3.c: Likewise.
7118         * soft-fp/mulsf3.c: Likewise.
7119         * soft-fp/multf3.c: Likewise.
7120         * soft-fp/negdf2.c: Likewise.
7121         * soft-fp/negsf2.c: Likewise.
7122         * soft-fp/negtf2.c: Likewise.
7123         * soft-fp/op-1.h: Likewise.
7124         * soft-fp/op-2.h: Likewise.
7125         * soft-fp/op-4.h: Likewise.
7126         * soft-fp/op-8.h: Likewise.
7127         * soft-fp/op-common.h: Likewise.
7128         * soft-fp/quad.h: Likewise.
7129         * soft-fp/single.h: Likewise.
7130         * soft-fp/soft-fp.h: Likewise.
7131         * soft-fp/subdf3.c: Likewise.
7132         * soft-fp/subsf3.c: Likewise.
7133         * soft-fp/subtf3.c: Likewise.
7134         * soft-fp/truncdfsf2.c: Likewise.
7135         * soft-fp/trunctfdf2.c: Likewise.
7136         * soft-fp/trunctfsf2.c: Likewise.
7137         * soft-fp/unorddf2.c: Likewise.
7138         * soft-fp/unordsf2.c: Likewise.
7139         * soft-fp/unordtf2.c: Likewise.
7140         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7141         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7142         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7143         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7144         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7145         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7146         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7147         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7148         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7149         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7150         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7151         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7153 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
7155         * config/mips/lib2funcs.c: New file.
7156         * config/mips/t-mips (LIB2ADD_ST): Add it.
7158 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
7160         PR target/6526
7161         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7162         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
7164 2013-06-08  Walter Lee  <walt@tilera.com>
7166         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7167         Replace int64_t with long long.  Add __extension__ where
7168         appropriate.
7169         * config/tilepro/atomic.c: Include config.h.
7171 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
7173         * config.host (arm-wrs-vxworks): Configure with other soft float.
7175 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
7177         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7178         (mips64r5900el-*-elf*): New configurations.
7180 2013-06-04  Alan Modra  <amodra@gmail.com>
7182         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7184 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
7186         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7188 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
7190         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7191         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7192         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7194 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
7196         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7197         (powerpc-wrs-vxworks): Likewise.
7199 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
7201         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7202         signal frames as well.
7203         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7204         STACK_BIAS to the CFA offset.
7206 2013-05-17  Richard Henderson  <rth@redhat.com>
7208         PR target/49146
7209         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7210         (execute_cfa_program): Use it when storing to fs->regs.
7212 2013-05-08  Kai Tietz  <ktietz@redhat.com>
7214         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7215         (__deregister_frame_info): Likewise.
7217 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
7219         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7220         NaN's payload.
7222         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7224 2013-04-25  Alan Modra  <amodra@gmail.com>
7226         * config.host: Match little-endian powerpc-linux.
7228 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
7230         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7231         as 'unsigned long long' instead of 'unsigned long'.
7232         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7233         'signed long'.
7235 2013-04-10  Julian Brown  <julian@codesourcery.com>
7237         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7238         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7239         unsigned char/unsigned short.
7240         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7242 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7244         PR other/55274
7245         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7247 2013-04-04  Meador Inge  <meadori@codesourcery.com>
7249         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7250         computing the location of the link register.
7251         (aeabi_uldivmod): Ditto.
7253 2013-03-27  Kai Tietz  <ktietz@redhat.com>
7255         * config.host: Add support for cygwin x64 target.
7256         * configure: Regenerated.
7258 2013-03-26  Walter Lee  <walt@tilera.com>
7260         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7261         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7263 2013-03-25  Kai Tietz  <ktietz@redhat.com>
7265         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7267 2013-03-20  Robert Mason  <rbmj@verizon.net>
7269         * config/vxlib-tls.c (__gthread_get_tsd_data,)
7270         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7271         (__gthread_leave_tsd_dtor_context): Add prototypes.
7272         (tls_delete_hook): Update.
7274 2013-03-20  Catherine Moore  <clm@codesourcery.com>
7275             Joseph Myers  <joseph@codesourcery.com>
7276             Chao-ying Fu  <fu@mips.com>
7278         * config/mips/mips16.S:  Don't build for microMIPS.
7279         * config/mips/linux-unwind.h: Handle microMIPS frame.
7280         * config/mips/crtn.S (fini, init): New labels.
7282 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
7284         PR tree-optimization/53265
7285         * unwind-dw2.c (execute_cfa_program): Avoid
7286         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7287         on targets with DWARF_FRAME_REGISTERS < 32.
7289 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
7291         PR target/49880
7292         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7293         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7295 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
7297         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7298         sandybridge processors.
7300 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
7302         PR target/56529
7303         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7304         inclusion list.
7306 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7308         * config/microblaze/crti.S: Setup stack protection at entry
7310 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
7312         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7313         (__rotldi3): Shift bytewise if applicable.
7315 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
7317         * config/aarch64/sync-cache.c
7318         (__aarch64_sync_cache_range): Silence warnings.
7320 2013-02-25  Catherine Moore  <clm@codesourcery.com>
7322         Revert:
7323         2013-02-24  Catherine Moore  <clm@codesourcery.com>
7324             Joseph Myers  <joseph@codesourcery.com>
7325             Chao-ying Fu  <fu@mips.com>
7327         * config/mips/mips16.S:  Don't build for microMIPS.
7328         * config/mips/linux-unwind.h: Handle microMIPS frame.
7329         * config/mips/crtn.S (fini, init): New labels.
7331 2013-02-24  Catherine Moore  <clm@codesourcery.com>
7332             Joseph Myers  <joseph@codesourcery.com>
7333             Chao-ying Fu  <fu@mips.com>
7335         * config/mips/mips16.S:  Don't build for microMIPS.
7336         * config/mips/linux-unwind.h: Handle microMIPS frame.
7337         * config/mips/crtn.S (fini, init): New labels.
7339 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7340         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7341         as dividend.
7343 2013-02-16  Alan Modra  <amodra@gmail.com>
7345         PR target/55431
7346         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7347         (ppc_fallback_frame_state): Always set up save locations for fp
7348         and altivec.  Don't bother with non-callee-saved regs, r0-r13
7349         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7351 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
7353         PR target/54222
7354         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7355         _ssmulHA, _ssmulSA.
7356         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7357         _ssmulha3, _usmulusa3, _ssmulsa3.
7358         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7359         (__muldi3): XCALL __muldi3_6 instead of rcall.
7360         (__umulsidi3, __mulsidi3): New functions.
7361         (do_prologue_saves, do_epilogue_restores): New .macros.
7362         (__divdi3_moddi3): Use them.
7363         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7364         (__usmulusa3, __ssmulsa3): New functions.
7366 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
7367             Jack Howarth  <howarth@bromo.med.uc.edu>
7368             Patrick Marlier  <patrick.marlier@gmail.com>
7370         PR libitm/55693
7371         * config/darwin-crt-tm.c: Remove dummy functions hack.
7373 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
7375         PR target/54222
7376         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7377         * config/avr/lib2-object.mk: New iterator to build objects from it.
7378         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7379         lib2funcs.c.
7380         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7381         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7382         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7383         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7384         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7385         * config/avr/lib1funcs-fixed.S: Implement them.
7387 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
7389         Update copyright years.
7391 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
7393         PR target/54601
7394         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7395         Add crtcxa to extra_parts.
7396         * config/rs6000/exit.h: New file.
7397         * config/rs6000/cxa_atexit.c: New file.
7398         * config/rs6000/cxa_finalize.c: New file.
7399         * config/rs6000/crtcxa.c: New file.
7400         * config/rs6000/t-aix-cxa: New file.
7401         * config/rs6000/libgcc-aix-cxa.ver: New file.
7403 2013-01-31  Nick Clifton  <nickc@redhat.com>
7405         * config/v850/lib1funcs.S: Add support for e3v5 architecture
7406         variant.
7408 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
7410         PR target/54222
7411         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7412         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
7413         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7414         _divQQ,  _divHQ,  _divHA,  _divSA,
7415         _divUQQ, _divUHQ, _divUHA, _divUSA.
7417 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
7419         * config.host(microblaze*-linux*): tmake_file: Remove
7420         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7421         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7422         to exclude functions from being built with libgcc.c and use
7423         the microblaze assembly.
7425 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7427         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7428         extra_parts.
7430 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
7432         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7433         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7434         __UINTPTR_TYPE__; also cast 'base' to the same type before the
7435         alignment operation.
7437 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
7439         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7440         loop start address for cache clearing.
7442 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7444         * config/avr/lib1funcs.S: Remove trailing blanks.
7445         * config/avr/lib1funcs-fixed.S: Ditto.
7447 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7449         * config/avr/avr-lib.h: Add GPL copyright notice.
7451 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7453         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7454         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7455         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7456         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7458 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
7460         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7461         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7463 2013-01-04  Nick Clifton  <nickc@redhat.com>
7465         * config/v850/lib1funcs.S: Only provide CALLT support functions if
7466         the CALLT instruction is supported.
7468 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
7470         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7471         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7473 2012-12-13  John Tytgat  <John@bass-software.com>
7475         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7476         is 25.
7478 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
7480         PR libgcc/55451
7481         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7482         undefined signed overflows.
7484 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
7486         PR target/55344
7487         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7489 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
7491         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7492         (FP_TRAPPING_EXCEPTIONS): Define.
7493         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7494         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7496 2012-12-04  Richard Henderson  <rth@redhat.com>
7498         PR bootstrap/55571
7499         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7501 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7503         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7504         (FP_EX_SHIFT): Define.
7505         (FP_TRAPPING_EXCEPTIONS): Define.
7507 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7509         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7510         (FP_ROUNDMODE): Use FP_RND_MASK.
7511         * config/aarch64/sfp-exceptions.c: New.
7512         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7513         Use __sfp_handle_exceptions.
7515 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
7517         * config.host: (arm*-*-freebsd*): Remove.
7518         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7519         (arm*-*-elf*): Remove.
7520         (arm*-*-wince-pe*): Remove.
7521         * arm/unwind-arm.c (struct fpa_reg): Delete.
7522         (struct fpa_regs): Delete.
7523         (phase1_vrs): Remove fpa element.
7524         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7525         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7526         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7527         * ieee754-sf.S (floatundisf): Remove FPA support.
7528         (floatdisf): Likewise.
7529         * ieee75f-df.S (floatundidf): Likewise.
7530         (floatdidf): Likewise.
7532 2012-11-29  Kai Tietz  <ktietz@redhat.com>
7534         PR target/55445
7535         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7536         * unwind-generic.h: Likewise.
7537         * unwind-seh.c: Likewise.
7539 2012-11-28  Richard Henderson  <rth@redhat.com>
7541         PR libgcc/48076
7542         * emutls.c (__emutls_get_address): Avoid race condition between
7543         obj->loc.offset read and emutls_key initialization.
7545 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
7547         Adjust decimal point of signed accum mode to GCC default.
7549         PR target/54222
7550         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7551         _divqq_helper.
7552         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7553         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7554         (__mulha3, __mulsa3)
7555         (__divqq3, __divha3, __divsa3): Adjust to new position of
7556         decimal point of signed accum types.
7558         (__mulusa3_round): New function.
7559         (__mulusa3): Use it.
7560         (__divqq_helper): New function.
7561         (__udivuqq3): Use it.
7563 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
7565         PR bootstrap/55370
7566         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7568 2012-11-18  Teresa Johnson  <tejohnson@google.com>
7570         PR bootstrap/55051
7571         * libgcov.c (gcov_exit): Remove merged program summary
7572         comparison unless !GCOV_LOCKED.
7574 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7576         * soft-fp: Updated from glibc upstream.
7578 2012-11-06  Ian Lance Taylor  <iant@google.com>
7580         * generic-morestack.c (__generic_morestack): Align the returned
7581         stack pointer to a 32 byte boundary.
7582         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7583         increment the return address until we have decided that we don't
7584         have a varargs function.
7585         (__morestack) [32-bit]: Align stack correctly when calling C
7586         functions.
7587         (__morestack) [64-bit]: Likewise.
7589 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
7591         * configure: Regenerate.
7593 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
7595         PR target/55175
7596         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7597         * config/i386/sfp-machine.h: Guard exception handling
7598         code with _SOFT_FLOAT.
7599         * config/i386/32/sfp-machine.h: Guard rounding handling
7600         code with _SOFT_FLOAT.
7601         * config/i386/64/sfp-machine.h: Ditto.
7603 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
7605         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7606         as extra_parts.
7608 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
7610         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7611         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
7612         when appropriate.  Correct structure element types.
7613         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7614         -minline-all-stringops from compile flags.
7616 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
7618         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7620 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
7622         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7624 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7626         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7627         tmake_file.
7629 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
7630             Jim MacArthur  <jim.macarthur@arm.com>
7631             Marcus Shawcroft  <marcus.shawcroft@arm.com>
7632             Nigel Stephens  <nigel.stephens@arm.com>
7633             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
7634             Richard Earnshaw  <rearnsha@arm.com>
7635             Sofiane Naci  <sofiane.naci@arm.com>
7636             Stephen Thomas  <stephen.thomas@arm.com>
7637             Tejas Belagod  <tejas.belagod@arm.com>
7638             Yufeng Zhang  <yufeng.zhang@arm.com>
7640         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7641         * config/aarch64/crti.S: New file.
7642         * config/aarch64/crtn.S: New file.
7643         * config/aarch64/linux-unwind.h: New file.
7644         * config/aarch64/sfp-machine.h: New file.
7645         * config/aarch64/sync-cache.c: New file.
7646         * config/aarch64/t-aarch64: New file.
7647         * config/aarch64/t-softfp: New file.
7649 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
7651         * config/mmix/crti.S: Mark program and data addresses using PRELD.
7652         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
7653         no-longer-needed LDBU insns.
7655 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7657         * config.host
7658         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7659         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7661 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
7663         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7665 2012-10-15  Matthias Klose  <doko@ubuntu.com>
7667         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7669 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
7671         * configure: Regenerate.
7672         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7674 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
7676         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7677         instructions for 64bit targets only.
7679 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
7681         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7682         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7683         * config/i386/32/sfp-machine.h: ... here.
7684         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7685         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7686         New defines.
7688 2012-10-07  Matthias Klose  <doko@ubuntu.com>
7690         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7691         as unused.
7692         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7694 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
7696         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7697         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7698         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7699         (ElfW): Likewise.
7701 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
7703         PR other/53889
7704         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7705         Fix parameter names.
7707 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
7709         PR target/33135
7710         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7711         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7712         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7714 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
7716         PR target/50457
7717         * config/sh/linux-atomic.S: Delete.
7718         * config/sh/linux-atomic.c: New.
7719         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7720         linux-atomic.c.  Add cflags to disable warnings.
7722 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
7724         PR other/53889
7725         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7726         function.
7727         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7728         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7729         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7730         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7731         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7732         Likewise.
7733         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7734         Likewise.
7735         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7736         Likewise.
7737         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7738         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7740 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
7742         * config.host (hppa-*-openbsd*): New target.
7743         * config/pa/t-openbsd: New file.
7745 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
7747         PR target/54222
7748         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7749         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7750         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7751         (__divsa3): Use __negsi2 to negate r_quoL.
7752         * config/avr/lib1funcs.S (FALIAS): New macro.
7753         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7754         (__negsi2): ...this new function.
7755         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7756         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7757         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7758         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7759         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7760         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7762 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
7764         PR target/54089
7765         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7766         (lshrsi3): Reimplement as lshrsi3_r0.
7768 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
7770         PR target/46191
7771         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7772         of libgcc.a.
7774 2012-09-07  Teresa Johnson  <tejohnson@google.com>
7776         PR gcov-profile/54487
7777         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7778         differences.
7780 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
7782         PR target/54461
7783         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7784         not configured --with-avrlibc=no.
7785         * config/avr/t-avrlibc: New file.
7786         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7787         (DPBIT_FUNCS): Ditto.
7788         (TPBIT_FUNCS): Ditto.
7790 2012-09-04  Teresa Johnson  <tejohnson@google.com>
7792         * libgcov.c (struct gcov_summary_buffer): New structure.
7793         (gcov_histogram_insert): New function.
7794         (gcov_compute_histogram): Ditto.
7795         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7796         histograms during summary merging.
7798 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
7800         * config.host (x86_64-*-openbsd*): New target.
7802 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
7804         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7805         attribute.
7807 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7809         PR target/54222
7810         * config/avr/t-avr (conv_X): Rename to func_X.
7812 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7814         PR target/54222
7815         * config/avr/lib1funcs-fixed.S: New file.
7816         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
7817         after they are used.
7818         (neg2, neg4): New macros.
7819         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7820         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7821         (__umulhisi3): Speed up MUL variant if there is enough flash.
7822         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7823         avr-modes.def.
7824         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7825         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7826         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7827         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7828         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7829         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7830         (LIB2FUNCS_EXCLUDE): Add supported functions.
7832 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
7834         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7835         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7836         libgcc-s-objects.
7837         * fixed-obj.mk: Only expand dependency if $o is not in
7838         LIB2FUNCS_EXCLUDE.
7840 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
7842         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7844 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
7846         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7847         depend on --enable-shared.
7848         ($(lib1asmfuncs-o)): Use %.vis files independent of
7849         --enable-shared.
7850         * static-object.mk ($(base)$(objext), $(base).vis)
7851         ($(base)_s$(objext)): Use same rules for visibility handling as in
7852         shared-object.mk.
7854 2012-08-21  Ian Lance Taylor  <iant@google.com>
7856         * config/i386/morestack.S (__morestack_non_split): Increase amount
7857         of space allocated for non-split code stack.
7859 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
7861         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7862         even if inhibit_libc.
7864 2012-08-17  Julian Brown  <julian@codesourcery.com>
7866         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7867         -fexceptions -fnon-call-exceptions if not defined.
7868         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7869         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7871 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
7873         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7874         type.
7876 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
7878         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7879         rs6000/t-slibgcc-aix.
7881 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
7883         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7885 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
7887         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7889 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
7891         PR driver/54171
7892         * Makefile.in (version): Replace top_srcdir with srcdir.
7894 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
7896         * Makefile.in (version): set to BASE-VER file from gcc directory.
7898 2012-08-01  Nick Clifton  <nickc@redhat.com>
7900         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7901         Implements __clrsb for an HImode argument.
7903 2012-07-31  Nick Clifton  <nickc@redhat.com>
7905         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7906         Implements __clrsb for an HImode argument.
7907         * config/stormy16/clrsbhi2.c: New file:
7908         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7910 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
7912         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7914 2012-07-19  Tristan Gingold  <gingold@adacore.com>
7915             Richard Henderson  <rth@redhat.com>
7917         * unwind-seh.c: New file.
7918         * unwind-generic.h: Include windows.h for SEH.
7919         (_Unwind_Exception): Use 6 private fields for SEH.
7920         (_GCC_specific_handler): Declare.
7921         * unwind-c.c (__gcc_personality_seh0): New function.
7922         Adjust for SEH.
7923         * config/i386/libgcc-cygming.ver: New file.
7924         * config/i386/t-seh-eh: New file.
7925         * config.host (x86_64-*-mingw*): Default to seh.
7927 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
7929         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7931 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
7933         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7934         __builtin_expect when checking for exceptions.
7935         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7937 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
7939         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7940         function declaration.
7941         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7942         (FP_RND_MASK): New.
7943         * config/ia64/sfp-exceptions.c: New.
7944         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7946 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
7948         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7949         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7950         * config/i386/64/sfp-machine: ... (delete here) ...
7951         * config/i386/sfp-machine.h: ... to here.
7952         (FP_EX_MASK): Remove.
7953         (FP_RND_MASK): New.
7954         (FP_INIT_ROUNDMODE): Declare asm as volatile.
7956 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
7958         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7959         * config/i386/libgcc-sol2.ver: Ditto.
7960         * config/i386/libgcc-glibc.ver: Ditto.
7962 2012-06-11  Roland McGrath  <mcgrathr@google.com>
7964         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7965         If __GLIBC__ is defined, refer to __pthread_key_create instead of
7966         pthread_cancel.
7968 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
7970         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7971         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7972         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7973         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7974         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7975         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7976         * config/i386/64/sfp-machine: ... (delete here) ...
7977         * config/i386/sfp-machine.h: ... to here.
7978         (FP_EX_MASK): New.
7979         (__sfp_handle_exceptions): New function declaration.
7980         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7981         * config/i386/sfp-exceptions.c: New.
7982         * config/i386/t-softfp: New.
7983         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7984         i386/t-softfp to tmake_file.
7986 2012-06-03  David S. Miller  <davem@davemloft.net>
7988         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7989         change.
7991 2012-05-31  David S. Miller  <davem@davemloft.net>
7993         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7994         multiply and divide instructions on 32-bit when V9.
7995         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7997 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
7999         * config/arm/ieee754-df.S: Fix typos.
8000         * config/arm/ieee754-sf.S: Fix typos.
8001         * config/c6x/libunwind.S: Fix typos.
8002         * config/epiphany/udivsi3-float.c: Fix typos.
8003         * config/microblaze/muldi3_hard.S: Fix typos.
8004         * config/picochip/adddi3.S: Fix typos.
8005         * config/picochip/ashlsi3.S: Fix typos.
8006         * config/picochip/ashrsi3.S: Fix typos.
8007         * config/picochip/clzsi2.S: Fix typos.
8008         * config/picochip/cmpsi2.S: Fix typos.
8009         * config/picochip/divmod15.S: Fix typos.
8010         * config/picochip/divmodhi4.S: Fix typos.
8011         * config/picochip/divmodsi4.S: Fix typos.
8012         * config/picochip/longjmp.S: Fix typos.
8013         * config/picochip/lshrsi3.S: Fix typos.
8014         * config/picochip/parityhi2.S: Fix typos.
8015         * config/picochip/popcounthi2.S: Fix typos.
8016         * config/picochip/setjmp.S: Fix typos.
8017         * config/picochip/subdi3.S: Fix typos.
8018         * config/picochip/ucmpsi2.S: Fix typos.
8019         * config/picochip/udivmodhi4.S: Fix typos.
8020         * config/picochip/udivmodsi4.S: Fix typos.
8021         * config/spu/divv2df3.c: Fix typos.
8022         * config/spu/mfc_multi_tag_release.c: Fix typos.
8023         * config/spu/mfc_tag_release.c: Fix typos.
8024         * configure.ac: Fix typos.
8025         * configure: Regenerate.
8027 2012-05-25  Ian Lance Taylor  <iant@google.com>
8029         * config/i386/morestack.S (__morestack_non_split): Check whether
8030         caller is varargs and needs %bp to hold the stack frame on return.
8032 2012-05-25  Olivier Hainque  <hainque@adacore.com>
8034         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8035         sequence in the non pic case on VxWorks.
8037 2012-05-24  Olivier Hainque  <hainque@adacore.com>
8039         * Makefile.in: Move dependency on install-unwind_h from
8040         "install-leaf" to "install".
8042 2012-05-24  Olivier Hainque  <hainque@adacore.com>
8044         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8045         Use a separate command for stamp removals.
8047 2012-05-21  Andrew Pinski  <apinski@cavium.com>
8049         PR bootstrap/53183
8050         * configure.ac: Define the default includes to being none.
8051         * configure: Regenerate.
8053 2012-05-16  Olivier Hainque  <hainque@adacore.com>
8055         * Makefile.in (install-unwind_h): Rename into ...
8056         (install-unwind_h-forbuild): New target.
8057         (all): Use it instead of the former install-unwind_h.
8058         (install-unwind_h): Reinstate, copy to user install destination
8059         for include files, not to the internal gcc object directory one.
8060         (install-leaf): Depend on it.
8062 2012-05-15  Olivier Hainque  <hainque@adacore.com>
8064         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8065         register numbers. LR_REGNO replaces R_LR.
8066         (ucontext_for): New, helper for ...
8067         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8068         and 5.3 of ...
8069         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8071 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8073         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8074         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8075         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8076         i386/t-cpuinfo ...
8077         (i[34567]86-*-*, x86_64-*-*): ... here.
8079         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8080         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8082         * config/i386/i386-cpuinfo.c: Rename to ...
8083         * config/i386/cpuinfo.c: ... this.
8084         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8086         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8087         (libgcc_cv_init_priority): New test.
8088         * configure: Regenerate.
8089         * config.in: New file.
8090         * Makefile.in (clean): Rename config.h to auto-target.h.
8091         (config.h): Likewise.
8092         (stamp-h): Likewise.
8094         * config/i386/cpuinfo.c (auto-target.h): Include.
8095         (CONSTRUCTOR_PRIORITY): Define.
8096         (__cpu_indicator_init): Use it.
8098 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
8100         * longlong.h: Use a URL instead of an FSF postal address.
8101         Replace spaces with tab.
8103 2012-05-08  Teresa Johnson  <tejohnson@google.com>
8105         * libgcov.c (gcov_clear, __gcov_reset): New functions.
8106         (__gcov_dump): Ditto.
8107         (gcov_dump_complete): New global variable.
8108         (gcov_exit): Export hidden to enable use in L_gcov_dump.
8109         (__gcov_flush): Outline functionality now in gcov_clear.
8110         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8112 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
8114         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8115         (mips*-*-linux*): Include mips/t-tpbit when long double is
8116         16 bytes long.
8118 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
8120         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8121         (get_available_features): New argument. Check for AVX2.
8122         (__cpu_indicator_init): Modify call to get_available_features.
8124 2012-04-25  Alan Modra  <amodra@gmail.com>
8126         * config/rs6000/crtsavevr.S: New file.
8127         * config/rs6000/crtrestvr.S: New file.
8128         * config/rs6000/t-savresfgpr: Build the above.
8129         * config/rs6000/t-netbsd: Likewise.
8131 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
8133         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8135 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
8137         * libgcc/config/i386/i386-cpuinfo.c: New file.
8138         * libgcc/config/i386/t-cpuinfo: New file.
8139         * libgcc/config.host: Include t-cpuinfo.
8140         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8142 2012-04-24  Chao-ying Fu  <fu@mips.com>
8144         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8146 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
8148         struct siginfo vs. siginfo_t
8150         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8151         siginfo_t instead of struct siginfo.
8152         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8153         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8154         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8155         (ia64_handle_unwabi): Likewise.
8156         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8157         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8158         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8159         (sh_fallback_frame_state): Likewise.
8160         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8161         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8163 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
8165         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8166         system call number.
8168 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
8170         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8171         if it hasn't been previously saved.
8173 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
8175         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8176         only for glibc.
8178 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
8180         PR target/52737
8181         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8182         instead of __AVR_HAVE_8BIT_SP__.
8184 2012-03-26  Tristan Gingold  <gingold@adacore.com>
8186         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8187         (unw_table_entry): Use unw_word instead of unsigned long.
8188         (_Unwind_FindTableEntry): Likewise.
8189         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8190         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8191         (_Unwind_FindTableEntry): Likewise.
8192         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8193         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8194         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8195         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8196         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8197         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8198         (uw_init_context_1, uw_install_context): Likewise.
8199         (unw_word): Move to unwind-ia64.h
8201 2012-03-26  Tristan Gingold  <gingold@adacore.com>
8203         * config/vms/vms-ucrt0.c: Update copyright years.
8204         Add a sanity check.
8205         (___gcc_main_flags): Declare.
8206         (__main): Check flags to remap argv and exit code.
8207         * config.host (*-*-*vms*): Adjust extra_parts.
8208         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8209         (crt0.o): Add.
8211 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
8213         * arm/lib1funcs.asm (ctzsi2): New function.
8214         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8215         * arm/t-linux (LIB1ASMFUNCS): Likewise.
8216         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8217         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8218         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8219         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8221 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
8223         * config.host: Add bits to support powerpc64-*-freebsd*.
8224         * config/rs6000/freebsd-unwind.h: New file.
8225         * config/rs6000/t-freebsd64: New file.
8227 2012-03-20  Richard Guenther  <rguenther@suse.de>
8229         PR gcov-profile/52627
8230         * libgcov.c (init_mx): Fix mutex name.
8232 2012-03-16  Tristan Gingold  <gingold@adacore.com>
8234         * config/ia64/vms-unwind.h: Remove ulong (and replace
8235         it by unw_reg where used).  Define unw_reg with __int64.
8237 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8239         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8240         Solaris 8 handling.
8241         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8242         Solaris 8 handling.
8243         (sparc_is_sighandler): Likewise.
8245 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
8247         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8248         <= saved reg size.
8250 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8252         * config/arm/crtn.S: Fix typo.
8254 2012-03-13  Richard Guenther  <rguenther@suse.de>
8256         * libgcov.c: Remove stdio.h include and NULL un-define.
8258 2012-03-13  Richard Guenther  <rguenther@suse.de>
8260         PR target/52569
8261         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8263 2012-03-13  Richard Guenther  <rguenther@suse.de>
8265         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8267 2012-03-13  Richard Guenther  <rguenther@suse.de>
8269         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8270         and __gthread_mutex_init_function definitions.
8272 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8274         * config.host (mips*-*-openbsd*): Remove.
8276 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8278         * config.host: Remove alpha*-dec-osf5.1* handling.
8279         * config/alpha/gthr-posix.c: Remove.
8280         * config/alpha/libgcc-osf5.ver: Remove.
8281         * config/alpha/osf5-unwind.h: Remove.
8282         * config/alpha/t-osf-pthread: Remove.
8283         * config/alpha/t-slibgcc-osf: Remove.
8284         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8285         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8286         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8287         * mkmap-flat.awk: Remove osf_export handling.
8289 2012-03-12  Richard Guenther  <rguenther@suse.de>
8291         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8292         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8293         (__gthread_mutex_init_function): New function.
8294         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8296         PR gcov/49484
8297         * libgcov.c: Include gthr.h.
8298         (__gcov_flush_mx): New global variable.
8299         (init_mx, init_mx_once): New functions.
8300         (__gcov_flush): Protect self with a mutex.
8301         (__gcov_fork): Re-initialize mutex after forking.
8302         * unwind-dw2-fde.c: Change condition under which to use
8303         __GTHREAD_MUTEX_INIT_FUNCTION.
8305 2012-03-12  Tristan Gingold  <gingold@adacore.com>
8307         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8308         * config/ia64/t-vms: Likewise.
8310 2012-03-11  Michael Hope  <michael.hope@linaro.org>
8312         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8313         for Thumb-2.
8315 2012-03-07  Walter Lee  <walt@tilera.com>
8317         * config/tilepro/atomic.c: Rename "atomic_" prefix to
8318         "arch_atomic_".
8319         (atomic_xor): Rename and move definition to
8320         config/tilepro/atomic.h.
8321         (atomic_nand): Ditto.
8322         * config/tilepro/atomic.h: Rename "atomic_" prefix to
8323         "arch_atomic_".
8324         (arch_atomic_xor): Move from config/tilepro/atomic.c.
8325         (arch_atomic_nand): Ditto.
8327 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8329         PR target/52507
8330         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8332 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8334         PR target/52505
8335         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8336         from RAM.
8338 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8340         PR target/52461
8341         PR target/52508
8342         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8343         if RAMPZ affects reading from RAM.
8344         (__tablejump_elpm__): Ditto.
8345         (.xload): Ditto.
8346         (__movmemx_hi): Ditto.
8347         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8348         (__do_global_dtors): Ditto.
8349         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8350         (__movmemx_hi): Ditto.
8352 2012-03-05  Richard Henderson  <rth@redhat.com>
8354         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8355         [ARM] (count_trailing_zeros): Use the builtin.
8357 2012-03-01  Kai Tietz  <ktietz@redhat.com>
8359         * soft-fp: Imported from glibc upstream.
8361 2012-02-28  Kai Tietz  <ktietz@redhat.com>
8363         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8364         for mingw-targets as attribute gcc_struct.
8366 2012-02-28  Ian Lance Taylor  <iant@google.com>
8368         * generic-morestack.c (__splitstack_releasecontext): Correct call
8369         to __morestack_release_segments.
8371 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8373         PR target/52390
8374         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8375         for __linux__ when removing signals from __morestack_fullmask.
8377 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
8379         PR target/52261
8380         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8382 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8384         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8385         instead of HAVE_INITFINI_ARRAY.
8386         * config/ia64/crtend.S: Likewise.
8388 2012-02-20  Kai Tietz  <ktietz@redhat.com>
8390         PR libstdc++/52300
8391         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8393         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8394         to w32-unwind.h header.
8396 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8398         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8399         (mips*-*-linux*): Remove t-slibgcc-libgcc.
8400         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8401         * config/mips/mips16.S (__mips16_rdhwr): Delete.
8403 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8405         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8407 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8409         PR libitm/52220
8410         * config/darwin-crt-tm.c: Correct typo.
8412 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8413             Patrick Marlier  <patrick.marlier@gmail.com>
8415         PR libitm/52220
8416         * config/darwin-crt-tm.c: Generate dummy functions.
8418 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8419             Patrick Marlier  <patrick.marlier@gmail.com>
8421         PR libitm/52042
8422         * config/darwin-crt-tm.c (getTMCloneTable): New function.
8423         (__doTMRegistrations): Call it.
8424         (__doTMdeRegistrations): Likewise.
8426 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
8427             Anatoly Sokolov  <aesok@post.ru>
8428             Eric Weddington  <eric.weddington@atmel.com>
8430         PR target/52261
8431         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8432         (__epilogue_restores__): Ditto.
8434 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
8436         PR target/51921
8437         PR target/52205
8438         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8439         Solaris 11 and slightly reformat.
8440         (sparc_is_sighandler): Likewise.
8442 2012-02-14  Walter Lee  <walt@tilera.com>
8444         * config.host: Handle tilegx and tilepro.
8445         * config/tilegx/sfp-machine.h: New file.
8446         * config/tilegx/sfp-machine32.h: New file.
8447         * config/tilegx/sfp-machine64.h: New file.
8448         * config/tilegx/t-crtstuff: New file.
8449         * config/tilegx/t-softfp: New file.
8450         * config/tilegx/t-tilegx: New file.
8451         * config/tilepro/atomic.c: New file.
8452         * config/tilepro/atomic.h: New file.
8453         * config/tilepro/linux-unwind.h: New file.
8454         * config/tilepro/sfp-machine.h: New file.
8455         * config/tilepro/softdivide.c: New file.
8456         * config/tilepro/softmpy.S: New file.
8457         * config/tilepro/t-crtstuff: New file.
8458         * config/tilepro/t-tilepro: New file.
8460 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
8462         PR libstdc++/51296
8463         PR libstdc++/51906
8464         * gthr-posix.h: Allow static initializer macros to be disabled.
8465         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8467 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8469         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8470         Add t-slibgcc-libgcc to tmake_file.
8471         * config/mips/libgcc-mips16.ver: Revert previous patch.
8472         * config/mips/mips16.S (__mips16_rdhwr): Hide.
8474 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
8475             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
8477         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8478         * config/cr16/crti.S: New file.
8479         * config/cr16/crtlibid.S: New file.
8480         * config/cr16/crtn.S: New file.
8481         * config/cr16/lib1funcs.S: New file.
8482         * config/cr16/t-cr16: New file.
8483         * config/cr16/t-crtlibid: New file.
8484         * config/cr16/unwind-dw2.h: New file.
8485         * config/cr16/unwind-cr16.c: New file.
8486         * config/cr16/divmodhi3.c: New file.
8488 2012-01-25  Alan Modra  <amodra@gmail.com>
8490         * config/rs6000/t-linux64: Delete.  Move..
8491         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8492         * config/rs6000/t-linux: ..and libgcc flags to here.
8494 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
8496         * config.host (i[34567]86-*-interix3*):
8497         Change triplet to i[34567]86-*-interix[3-9]*.
8498         * configure: Regenerate.
8500 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
8501             Richard Sandiford  <rdsandiford@googlemail.com>
8503         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8504         * config/mips/mips16.S (__mips16_rdhwr): New function.
8505         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8507 2012-01-11  Nathan Sidwell  <nathan@acm.org>
8509         * libgcov.c (__gcov_init): Ignore objects with no functions.
8511 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
8513         PR target/49868
8514         Extend __pgmx semantics to linearize memory.
8515         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8516         * config/avr/lib1funcs.S (__xload_1): New function.
8517         (__movmemx_qi, __movmemx_hi): New functions.
8518         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8519         semantics.
8521 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
8523         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8524         purported sigacthandler address isn't null before dereferencing it.
8525         (sparc_is_sighandler): Likewise.
8527 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
8529         PR ada/41929
8530         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8531         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
8532         (sparc_is_sighandler): Likewise.
8533         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8535 2012-01-06  Tristan Gingold  <gingold@adacore.com>
8537         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8538         compatibility thunks...
8539         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8540         (crtbeginS.o, crtendS.o): ... and these to ...
8541         * config/ia64/t-ia64-elf: ... this new file.
8542         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8543         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8545 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8547         * configure: Regenerate.
8548         * config/s390/t-crtstuff: Remove -fPIC.
8550 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
8552         PR bootstrap/51006
8553         * enable-execute-stack-mprotect.c (getpagesize): Do not define
8554         for NetBSD.
8556 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
8558         PR target/51345
8559         * config/avr/lib1funcs.S: Remove FIXME comments.
8560         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8562 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
8564         Implement light-weight DImode support.
8565         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8566         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8567         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8568         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8570 2011-12-30  Nathan Sidwell  <nathan@acm.org>
8572         * libgcov.c (gcov_crc32): Remove global var.
8573         (free_fn_data): New function.
8574         (buffer_fn_data): Pass in filename, more robust error recovery.
8575         (crc32_unsigned): New function.
8576         (gcov_exit): More robust detection of new program. More robust
8577         error recovery.
8578         (__gcov_init): Do not update program's crc here.
8580 2011-12-21  Tristan Gingold  <gingold@adacore.com>
8582         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8584 2011-12-21  Ian Lance Taylor  <iant@google.com>
8586         * config/i386/morestack.S: Simplify CFI opcodes throughout.
8588 2011-12-20  Ian Lance Taylor  <iant@google.com>
8590         * config/i386/morestack.S (__morestack_non_split): If there is
8591         enough stack space already, don't split.  Ask for more stack space
8592         than we required.
8594 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
8596         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8597         `sys/sdt.h'.
8598         (_Unwind_DebugHook): New function.
8599         (uw_restore_core_regs): New define.
8600         (unwind_phase2): Use uw_restore_core_regs instead of
8601         restore_core_regs.
8602         (unwind_phase2_forced): Likewise.
8603         (__gnu_Unwind_Resume): Likewise.
8605 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
8607         * config/alpha/linux-unwind.h: Update copyright years.
8608         (MD_FROB_UPDATE_CONTEXT): New define.
8609         (alpha_frob_update_context): New function.
8611 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
8613         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8614         tmake_file rather replacing it.
8616 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
8618         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8619         function is not used for PPC64.
8620         (save_world): Amend comments.  Update the VRsave mask to reflect the
8621         saved regs.
8622         (rest_world): Update comments, do not  clobber r10, do not use r8.
8623         (eh_rest_world_r10): Amend comments, do not use r8.
8624         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8625         no longer used, move restore of CR and target address to the end of
8626         the routine.
8628 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
8630         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8631         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8633 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
8635         PR target/49313
8636         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8637         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8639 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
8641         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8643 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
8645         PR target/49313
8646         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8647         * config/avr/lib1funcs.S (__muldi3): New function.
8649 2011-12-06  Andrew Pinski  <apinski@cavium.com>
8651         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8652         size of func_ptr.
8653         (__frame_dummy_init_array_entry): Likewise.
8655 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
8657         Forward-port from gcc-4_6-branch r181936 2011-12-02.
8659         PR target/51345
8660         PR target/51002
8661         * config/avr/lib1funcs.S (__prologue_saves__,
8662         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8663         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
8665 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
8667         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8669 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8671         PR other/51272
8672         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8673         (_ITM_deregisterTMCloneTable): Likewise.
8674         (__register_frame_info): Fix unused warning.
8675         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8676         pthread_default_stacksize_np): Likewise.
8677         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8679 2011-11-29  DJ Delorie  <dj@redhat.com>
8681         * config.host (rl78-*-elf): New case.
8682         * config/rl78: New directory for the Renesas RL78.
8684 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
8686         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
8687         formatting.
8689 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8691         PR other/51022
8692         * config/rs6000/t-savresfgpr: New file.
8693         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8694         $(srcdir)/config/rs6000/eabi.S.
8695         * config/rs6000/t-ppccomm-ldbl: Remove.
8696         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8697         tmake_file.
8698         (powerpc-*-eabispe*): Likewise.
8699         (powerpc-*-eabi*): Likewise.
8700         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8701         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8702         to tmake_file, remove rs6000/t-ppccomm-ldbl.
8703         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8704         tmake_file.
8705         (powerpc-*-eabisim*): Likewise.
8706         (powerpc-*-elf*): Likewise.
8707         (powerpc-*-eabialtivec*): Likewise.
8708         (powerpc-xilinx-eabi*): Likewise.
8709         (powerpc-*-rtems*): Likewise.
8710         (powerpcle-*-elf*): Likewise.
8711         (powerpcle-*-eabisim*): Likewise.
8712         (powerpcle-*-eabi*): Likewise.
8714 2011-11-27  Ian Lance Taylor  <iant@google.com>
8716         * generic-morestack.c (__splitstack_find): Check for NULL old
8717         stack value.
8718         (__splitstack_resetcontext): New function.
8719         (__splitstack_releasecontext): New function.
8720         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8722 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
8724         * config/darwin-crt-tm.c: Correct comments, use correct licence.
8726 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
8728         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8730 2011-11-26  Richard Henderson  <rth@redhat.com>
8732         * config/m68k/linux-atomic.c: New file.
8733         * config/m68k/t-linux: New file.
8734         * config.host (m68k-uclinux, m68k-linux): Use it.
8736 2011-11-26  Richard Henderson  <rth@redhat.com>
8738         * crtstuff.c (__TMC_LIST__): Mark used not unused.
8739         (__TMC_END__): Only declare if hidden is available; in the definition,
8740         if hidden is unavailable add a null record.
8741         (deregister_tm_clones, register_tm_clones): New.
8742         (__do_global_dtors_aux, frame_dummy): Use them.
8743         (__do_global_dtors, __do_global_ctors_1): Likewise.
8745 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
8747         * config/darwin-crt-tm.c: New file.
8748         * config.host (darwin): Build crttms.o crttme.o to provide
8749         startup and shutdown for tm clones.
8750         * config/t-darwin (crttms.o): New build rule.
8751         (crttme.o): Likewise.
8753 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
8755         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8756         et al.
8758 2011-11-21  Richard Henderson  <rth@redhat.com>
8760         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8761         (__TMC_LIST__, __TMC_END__): New.
8762         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8763         (__do_global_dtors): Likewise.
8764         (frame_dummy): Call _ITM_registerTMCloneTable.
8765         (__do_global_ctors_1): Likewise.
8767 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8769         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8770         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8771         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8772         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8773         * config/i386/t-darwin64: Remove.
8774         * config/sh/t-netbsd (LIB2ADD): Remove.
8776 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
8778         PR target/49313
8779         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8780         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8781         * config/avr/lib1funcs.S (wmov): New assembler macro.
8782         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8783         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8784         (__udivmod64): New function.
8785         (__negdi2): New function.
8787 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
8789         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8790         *-*-freebsd*aout*): Remove.
8792 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
8794         * static-object.mk (c_flags-$o): Save c_flags.
8795         ($(base)$(objext)): Use it.
8797 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
8799         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8801 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
8803         PR target/49868
8804         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8805         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8806         New functions.
8808 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8810         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8811         functions.
8812         (aeabi_uidivmod): Likewise.
8813         (umodsi3): Likewise.
8814         (divsi3): Likewise.
8815         (aeabi_idivmod): Likewise.
8816         (modsi3): Likewise.
8818 2011-11-16  Tristan Gingold  <gingold@adacore.com>
8820         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8822 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
8824         PR target/49868
8825         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
8826         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8828 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8830         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8831         tmake_file list.
8832         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8833         * config/pa/t-stublib64: Delete.
8835 2011-11-12  Richard Henderson  <rth@redhat.com>
8837         * config/rs6000/linux-unwind.h (frob_update_context): Properly
8838         cast the pointer argument to _Unwind_SetGRPtr.
8840 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8842         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8844 2011-11-09  Ian Lance Taylor  <iant@google.com>
8846         * generic-morestack.c: Include <string.h>.
8847         (uintptr_type): Define.
8848         (struct initial_sp): Add dont_block_signals field.  Reduce size of
8849         extra array by 1.
8850         (allocate_segment): Set prev field to NULL.  Don't set
8851         __morestack_current_segment or __morestack_segments.
8852         (__generic_morestack): Update current->prev and *pp after calling
8853         allocate_segment.
8854         (__morestack_block_signals): Don't do anything if
8855         dont_block_signals is set.
8856         (__morestack_unblock_signals): Likewise.
8857         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
8858         uintptr_type.
8859         (__splitstack_block_signals): New function.
8860         (enum __splitstack_content_offsets): Define.
8861         (__splitstack_getcontext, __splitstack_setcontext): New functions.
8862         (__splitstack_makecontext): New function.
8863         (__splitstack_block_signals_context): New function.
8864         (__splitstack_find_context): New function.
8865         * config/i386/morestack.S (__morestack_get_guard): New function.
8866         (__morestack_set_guard, __morestack_make_guard): New functions.
8867         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8869 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8871         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8872         (i[34567]86-*-mingw*): ... here.
8873         (x86_64-*-mingw*): ... here.
8875 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8877         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8879 2011-11-07  Nathan Sidwell  <nathan@acm.org>
8881         * libgcov.c (struct gcov_fn_buffer): New struct.
8882         (buffer_fn_data): New helper.
8883         (gcov_exit): Rework for new gcov data structures.
8885 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
8887         PR target/49313
8888         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8890 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8892         * config.host (tmake_file): Correct comment.
8893         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8894         t-libgcc-pic.
8895         (bfin*-uclinux*): Likewise.
8896         (bfin*-linux-uclibc*): Likewise.
8897         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8899         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8900         assigning.
8901         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8902         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8903         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8904         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8905         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8906         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8907         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8908         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8909         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8910         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8911         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8912         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8913         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8915         * config/bfin/t-elf: Remove.
8916         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8918 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8920         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8921         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8922         (lm32-*-elf*, lm32-*-rtems*): Split into ...
8923         (lm32-*-elf*): ... this.
8924         (lm32-*-rtems*): ... and this.
8925         Add to tmake_file.
8926         (m32r-*-rtems*): Add to tmake_file.
8927         (moxie-*-rtems*): Likewise.
8928         (sparc-*-rtems*): Likewise.
8929         Remove t-rtems from tmake_file.
8930         (sparc64-*-rtems*): Likewise.
8931         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8932         instead.
8934 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8936         PR bootstrap/50982
8937         * config/gthr-posix.h: Move ...
8938         * gthr-posix.h: ... here.
8939         * config/gthr-lynx.h: Reflect this.
8940         * config/gthr-vxworks.h: Likewise.
8941         * config/rs6000/gthr-aix.h: Likewise.
8942         * configure.ac (target_thread_file): Likewise.
8943         * configure: Regenerate.
8945 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8947         * config.host (arm*-*-rtemseabi*): New target.
8949 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8951         PR other/50991
8952         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8953         extra-parts.
8955 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
8957         * config.host (epiphany-*-elf*): New configuration.
8958         * config/epiphany: New Directory.
8960 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
8962         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8963         * config/avr/t-rtems: New.
8964         Filter out _exit from LIB1ASMFUNCS.
8966 2011-11-04  David S. Miller  <davem@davemloft.net>
8968         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8969         * configure: Rebuild.
8971 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8973         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8974         variable.
8976 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
8978         PR target/50931
8979         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8980         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8982 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
8984         PR target/50989
8985         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8987 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8989         * config/c6x/t-elf (LIB2ADDEH): Set.
8990         * config/c6x/t-c6x-elf: Remove.
8992 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8994         * config/i386/sol2-ci.S: Rename to ...
8995         * config/i386/crti.S: ... this.
8996         * config/i386/sol2-cn.S: Rename to ...
8997         * config/i386/crtn.S: ... this.
8998         * config/sparc/sol2-ci.S: Rename to ...
8999         * config/sparc/crti.S: ... this.
9000         * config/sparc/sol2-cn.S: Rename to ...
9001         * config/sparc/crtn.S: ... this.
9002         * config/t-sol2 (CUSTOM_CRTIN): Remove.
9003         (crti.o, crtn.o): Remove.
9005 2011-11-04  Tristan Gingold  <gingold@adacore.com>
9007         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9009 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
9011         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9013 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
9015         * config.host (crisv32-*-none, cris-*-none): Remove.
9016         (crisv32-*-elf): Append to tmake_file, don't just set it.
9017         (cris-*-elf): Add missing t-fdpbit to tmake_file.
9019 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9021         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9022         (ecrtn$(objext)): Likewise.
9023         (ncrti$(objext)): Likewise.
9024         (ncrtn$(objext)): Likewise.
9026 2011-11-03  Andreas Schwab  <schwab@redhat.com>
9028         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9030 2011-11-02  David S. Miller  <davem@davemloft.net>
9032         * configure.ac: Set host_address on sparc too.
9033         * configure: Regenerate.
9034         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9035         based upon host_address.
9036         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9038 2011-11-02  Jason Merrill  <jason@redhat.com>
9040         * config/rs6000/t-ppccomm: Add missing \.
9042 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9044         * gthr-single.h, gthr.h: New files.
9045         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9046         config/gthr-vxworks.h, config/i386/gthr-win32.h,
9047         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9048         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9049         * config/i386/gthr-win32.c: Include "gthr-win32.h".
9050         * configure.ac (thread_header): New variable.
9051         Set it depending on target_thread_file.
9052         (gthr-default.h): Link from $thread_header.
9053         * configure: Regenerate.
9054         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9056 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9058         * configure.ac (tm_file_): New variable.
9059         Determine from tm_file.
9060         (tm_file, tm_defines): Substitute.
9061         * configure: Regenerate.
9062         * mkheader.sh: New file.
9063         * Makefile.in (clean): Remove libgcc_tm.h.
9064         ($(objects)): Depend on libgcc_tm.h.
9065         (libgcc_tm_defines, libgcc_tm_file): New variables.
9066         (libgcc_tm.h, libgcc_tm.stamp): New targets.
9067         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9068         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9069         ($(extra-parts)): Depend on libgcc_tm.h.
9070         * config.host (tm_defines, tm_file): New variable.
9071         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9072         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9073         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9074         (avr-*-rtems*): Likewise.
9075         (avr-*-*): Likewise.
9076         (frv-*-elf): Likewise.
9077         (frv-*-*linux*): Likewise.
9078         (h8300-*-rtems*): Likewise.
9079         (h8300-*-elf*): Likewise.
9080         (i[34567]86-*-darwin*): Likewise.
9081         (x86_64-*-darwin*): Likewise.
9082         (rx-*-elf): Likewise.
9083         (tic6x-*-uclinux): Likewise.
9084         (tic6x-*-elf): Likewise.
9085         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9086         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9087         * config/i386/cygming-crtbegin.c: Likewise.
9088         * config/i386/cygming-crtend.c: Likewise.
9089         * config/ia64/fde-vms.c: Likewise.
9090         * config/ia64/unwind-ia64.c: Likewise.
9091         * config/libbid/bid_gcc_intrinsics.h: Likewise.
9092         * config/rs6000/darwin-fallback.c: Likewise.
9093         * config/stormy16/lib2funcs.c: Likewise.
9094         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9095         * crtstuff.c: Likewise.
9096         * dfp-bit.h: Likewise.
9097         * emutls.c: Likewise.
9098         * fixed-bit.c: Likewise.
9099         * fp-bit.c: Likewise.
9100         * generic-morestack-thread.c: Likewise.
9101         * generic-morestack.c: Likewise.
9102         * libgcc2.c: Likewise.
9103         * libgcov.c: Likewise.
9104         * unwind-dw2-fde-dip.c: Likewise.
9105         * unwind-dw2-fde.c: Likewise.
9106         * unwind-dw2.c: Likewise.
9107         * unwind-sjlj.c: Likewise.
9109 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9111         * configure.ac: Include ../config/picflag.m4.
9112         (GCC_PICFLAG): Call it.
9113         Substitute.
9114         * configure: Regenerate.
9115         * Makefile.in (gcc_srcdir): Remove.
9116         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9117         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9118         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9119         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9120         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9121         Use $<.
9122         Remove comment.
9123         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9124         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9125         to refer to libgcc2.c.
9126         Use $<.
9127         * config/darwin-64.c: New file.
9128         * config/darwin-crt3.c: Remove comment.
9129         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9130         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9131         config/udivmodsi4.c: New files.
9132         * config/memcmp.c, config/memcpy.c, config/memmove.c,
9133         config/memset.c: New files.
9134         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9135         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9136         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9137         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9138         * config/t-openbsd-thread: New file.
9139         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9140         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9141         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9142         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9143         qrnnd.S.
9144         Adapt filename.
9145         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9146         to refer to gthr-posix.c.
9147         * config/alpha/t-vms (LIB2ADD): Set.
9148         * config/alpha/vms-gcc_shell_handler.c: New file.
9149         * config/arm/bpabi.c, config/arm/fp16.c,
9150         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9151         config/arm/unaligned-funcs.c: New files.
9152         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9153         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9154         * config/arm/t-linux: Likewise.
9155         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9156         * config/arm/t-netbsd: New file.
9157         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9158         * config/arm/t-symbian (LIB2ADD_ST): Set.
9159         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9160         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9161         * config/bfin/t-elf: New file.
9162         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9163         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9164         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9165         config/c6x/ltf.c: New files.
9166         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9167         (HOST_LIBGCC2_CFLAGS): Set.
9168         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9169         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9170         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9171         New files.
9172         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9173         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9174         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9175         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9176         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9177         files.
9178         * config/frv/t-frv (LIB2ADD): Set.
9179         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9180         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9181         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9182         config/h8300/popcounthi2.c: New files.
9183         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9184         * config/i386/gthr-win32.c: New file.
9185         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9186         * config/i386/t-cygwin: Likewise.
9187         * config/i386/t-darwin, config/i386/t-darwin64,
9188         config/i386/t-gthr-win32, config/i386/t-interix: New files.
9189         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9190         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9191         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9192         * config/ia64/quadlib.c: New file.
9193         * config/ia64/t-hpux (LIB2ADD): Set.
9194         * config/ia64/t-ia64: Add comment.
9195         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9196         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9197         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9198         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9199         * config/m32c/t-m32c (LIB2ADD): Set.
9200         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9201         * config/m32r/t-m32r: Likewise.
9202         * config/m68k/fpgnulib.c: New file.
9203         * config/m68k/t-floatlib (LIB2ADD): Set.
9204         (xfgnulib.c): New target.
9205         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9206         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9207         * config/mep/t-mep (LIB2ADD): Set.
9208         * config/microblaze/divsi3.asm: Rename to divsi3.S.
9209         * config/microblaze/moddi3.asm: Rename to moddi3.S.
9210         * config/microblaze/modsi3.asm: Rename to modsi3.S.
9211         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9212         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9213         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9214         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9215         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9216         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9217         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9218         New files.
9219         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9220         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9221         * config/pa/fptr.c, config/pa/lib2funcs.S,
9222         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9223         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9224         (LIB2ADD, LIB2ADD_ST): Set.
9225         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9226         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9227         Set.
9228         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9229         * config/pdp11/t-pdp11: New file.
9230         * config/picochip/libgccExtras/adddi3.S,
9231         config/picochip/libgccExtras/ashlsi3.S,
9232         config/picochip/libgccExtras/ashrsi3.S,
9233         config/picochip/libgccExtras/clzsi2.S,
9234         config/picochip/libgccExtras/cmpsi2.S,
9235         config/picochip/libgccExtras/divmod15.S,
9236         config/picochip/libgccExtras/divmodhi4.S,
9237         config/picochip/libgccExtras/divmodsi4.S,
9238         config/picochip/libgccExtras/lshrsi3.S,
9239         config/picochip/libgccExtras/parityhi2.S,
9240         config/picochip/libgccExtras/popcounthi2.S,
9241         config/picochip/libgccExtras/subdi3.S,
9242         config/picochip/libgccExtras/ucmpsi2.S,
9243         config/picochip/libgccExtras/udivmodhi4.S,
9244         config/picochip/libgccExtras/udivmodsi4.S: New files.
9245         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9246         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9247         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9248         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9249         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9250         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9251         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
9252         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9253         files.
9254         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9255         (HOST_LIBGCC2_CFLAGS): Set.
9256         * config/rs6000/t-darwin64: New file.
9257         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9258         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9259         * config/rs6000/t-ppccomm (LIB2ADD): Add
9260         $(srcdir)/config/rs6000/tramp.S.
9261         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9262         Add  $(srcdir)/config/rs6000/eabi.S.
9263         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9264         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9265         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9266         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9267         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9268         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9269         * config/rs6000/tramp.S: New file.
9270         * config/s390/t-tpf: Remove.
9271         * config/sh/linux-atomic.S: New file.
9272         * config/sh/t-linux (LIB2ADD): Set.
9273         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9274         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9275         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9276         to unwind-dw2.c.
9277         (HOST_LIBGCC2_CFLAGS): Set.
9278         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9279         * config/spu/divmodti4.c, config/spu/divv2df3.c,
9280         config/spu/float_disf.c, config/spu/float_unsdidf.c,
9281         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9282         config/spu/mfc_multi_tag_release.c,
9283         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9284         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9285         config/spu/multi3.c: New files.
9286         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9287         (HOST_LIBGCC2_CFLAGS): Set.
9288         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9289         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9290         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9291         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9292         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9293         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9294         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9295         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9296         config/stormy16/umodsi3.c: New files.
9297         * config/xtensa/lib2funcs.S: New file.
9298         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9299         * config/xtensa/t-xtensa (LIB2ADD): Set.
9300         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9301         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9302         Add t-freebsd-thread to tmake_file for posix threads.
9303         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9304         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9305         (*-*-lynxos*): Likewise.
9306         (*-*-netbsd*): Likewise.
9307         (*-*-openbsd*): Likewise.
9308         Add t-openbsd-thread to tmake_file for posix threads.
9309         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9310         (*-*-vxworks*): Set tmake_file.
9311         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9312         (alpha*-*-freebsd*): Likewise.
9313         (alpha*-*-netbsd*): Likewise.
9314         (alpha*-*-openbsd*): Likewise.
9315         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9316         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9317         (alpha*-dec-*vms*): Likewise.
9318         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9319         (bfin*-elf*): Add bfin/t-elf to tmake_file.
9320         (bfin*-uclinux*): Likewise.
9321         (bfin*-linux-uclibc*): Likewise.
9322         (crisv32-*-elf): Add cris/t-cris to tmake_file.
9323         (crisv32-*-none): Likewise.
9324         (cris-*-elf): Likewise.
9325         (cris-*-none): Likewise.
9326         (cris-*-linux*, crisv32-*-linux*): Likewise.
9327         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9328         tmake_file.
9329         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9330         tmake_file.
9331         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9332         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9333         (x86_64-*-elf*): Likewise.
9334         (i[34567]86-*-nto-qnx*): Likewise.
9335         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9336         win32 threads.
9337         (x86_64-*-mingw*): Likewise.
9338         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9339         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9340         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9341         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9342         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9343         tmake_file.
9344         (mipsisa64sr71k-*-elf*): Likewise.
9345         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9346         (mips-*-elf*, mipsel-*-elf*): Likewise.
9347         (mips64-*-elf*, mips64el-*-elf*): Likewise.
9348         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9349         (mips*-*-rtems*): Likewise.
9350         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9351         to tmake_file.
9352         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9353         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9354         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9355         (spu-*-elf*): Likewise.
9356         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9358 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9360         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9361         $(srcdir) to refer to $(LIB1ASMSRC).
9362         Use $<.
9363         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9364         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9365         config/arm/lib1funcs.S: New files.
9366         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9367         * config/arm/t-arm: New file.
9368         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9369         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9370         config/arm/t-strongarm-elf: New files.
9371         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9372         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9373         * config/avr/lib1funcs.S: New file.
9374         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9375         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9376         * config/c6x/lib1funcs.S: New file.
9377         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9378         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9379         * config/frv/lib1funcs.S: New file.
9380         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9381         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9382         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9383         * config/ia64/__divxf3.asm: Rename to ...
9384         * config/ia64/__divxf3.S: ... this.
9385         Adapt lib1funcs.asm filename.
9386         * config/ia64/_fixtfdi.asm: Rename to ...
9387         * config/ia64/_fixtfdi.S: ... this.
9388         Adapt lib1funcs.asm filename.
9389         * config/ia64/_fixunstfdi.asm: Rename to ...
9390         * config/ia64/_fixunstfdi.S: ... this.
9391         Adapt lib1funcs.asm filename.
9392         * config/ia64/_floatditf.asm: Rename to ...
9393         * config/ia64/_floatditf.S: ... this.
9394         Adapt lib1funcs.asm filename.
9395         * config/ia64/lib1funcs.S: New file.
9396         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9397         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9398         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9399         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9400         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9401         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9402         * config/mep/lib1funcs.S: New file.
9403         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9404         * config/mips/mips16.S: New file.
9405         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9406         * config/pa/milli64.S: New file.
9407         * config/pa/t-linux, config/pa/t-linux64: New files.
9408         * config/picochip/lib1funcs.S: New file.
9409         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9410         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9411         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9412         * config/sh/t-netbsd: New file.
9413         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9414         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9415         * config/sh/t-sh64: New file.
9416         * config/sparc/lb1spc.S: New file.
9417         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9418         filename.
9419         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9420         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9421         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9422         config/xtensa/lib1funcs.S: New files.
9423         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9424         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9425         tmake_file.
9426         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9427         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9428         (arm*-*-linux*): Likewise.
9429         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9430         arm*-*-linux-*eabi, add arm/t-linux otherwise.
9431         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9432         (arm*-*-ecos-elf): Likewise.
9433         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9434         (arm*-*-rtems*): Likewise.
9435         (arm*-*-elf): Likewise.
9436         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9437         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9438         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9439         (bfin*-uclinux*): Likewise.
9440         (bfin*-linux-uclibc*): Likewise.
9441         (bfin*-rtems*): Likewise.
9442         (bfin*-*): Likewise.
9443         (fido-*-elf): Merge into m68k-*-elf*.
9444         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9445         (frv-*-*linux*): Add frv/t-frv to tmake_file.
9446         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9447         (h8300-*-elf*): Likewise.
9448         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9449         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9450         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9451         (i[34567]86-*-mingw*): Likewise.
9452         (x86_64-*-mingw*): Likewise.
9453         (i[34567]86-*-interix3*): Likewise.
9454         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9455         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9456         (m68k-*-elf*): Also handle fido-*-elf.
9457         Add m68k/t-floatlib to tmake_file.
9458         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9459         (m68k-*-linux*): Likewise.
9460         (m68k-*-rtems*): Likewise.
9461         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9462         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9463         sh64*-*-*.
9464         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9465         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9466         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9467         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9468         sh/t-netbsd to tmake_file.
9469         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9470         (sh-*-rtems*): Add sh/t-sh to tmake_file.
9471         (sh-wrs-vxworks): Likewise.
9472         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9473         *-leon[3-9]*.
9474         (v850*-*-*): Add v850/t-v850 to tmake_file.
9475         (vax-*-linux*): Add vax/t-linux to tmake_file.
9476         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9478 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9480         * crtstuff.c: New file.
9481         * Makefile.in (CRTSTUFF_CFLAGS): Define.
9482         (CRTSTUFF_T_CFLAGS): Define.
9483         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9484         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9485         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9486         crtstuff.c.
9487         Use $<.
9488         (crtbeginT.o): Use $(objext).
9489         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9490         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9491         (gcc-extra-parts): Remove.
9492         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9493         Set extra_parts.
9494         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9495         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9496         Add t-crtstuff-pic to tmake_file.
9497         (*-*-lynxos*): New case.
9498         Set tmake_file, extra_parts.
9499         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9500         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9501         *-*-netbsdelf[2-9]*.
9502         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9503         (*-*-rtems*): Set extra_parts.
9504         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9505         (*-*-uclinux*): New case.
9506         Set extra_parts.
9507         (*-*-vms*): New case.
9508         Set tmake_file, extra_parts.
9509         (*-*-elf): Set extra_parts.
9510         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9511         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9512         vms/t-vms64.
9513         Set extra_parts.
9514         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9515         Set extra_parts.
9516         (arm*-*-freebsd*): Add t-crtin to tmake_file.
9517         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9518         (arm-wrs-vxworks): Append to tmake_file.
9519         Set extra_parts.
9520         (arm*-*-uclinux*): Set extra_parts.
9521         (arm*-*-ecos-elf): Likewise.
9522         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9523         arm*-*-eabi*.
9524         (arm*-*-rtems*): Set extra_parts.
9525         (arm*-*-elf): Likewise.
9526         (avr-*-rtems*): Clear extra_parts.
9527         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9528         Set extra_parts.
9529         (bfin*-uclinux*): Likewise.
9530         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9531         (bfin*-rtems*): Append to tmake_file.
9532         Set extra_parts.
9533         (bfin*-*): Likewise.
9534         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9535         (crisv32-*-elf): ... this.
9536         (crisv32-*-none): ... this.
9537         (cris-*-elf, cris-*-none): New cases.
9538         Add cris/t-elfmulti to tmake_file.
9539         (fr30-*-elf): Append to tmake_file.
9540         Set extra_parts.
9541         (frv-*-elf): Append to tmake_file, add frv/t-frv.
9542         Set extra_parts.
9543         (h8300-*-rtems*): Append to tmake_file.
9544         Set extra_parts.
9545         (h8300-*-elf*): Likewise.
9546         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9547         Set extra_parts.
9548         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9549         Set extra_parts.
9550         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9551         (x86_64-*-elf*): Likewise.
9552         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9553         (x86_64-*-freebsd*): Likewise.
9554         (x86_64-*-netbsd*): Likewise.
9555         (i[34567]86-*-linux*): Likewise.
9556         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9557         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9558         (x86_64-*-linux*): Likewise.
9559         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9560         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9561         tmake_file.
9562         Set extra_parts.
9563         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9564         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9565         Append to extra_parts, remove crtbegin.o, crtend.o.
9566         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9567         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9568         crtend.o, crtbeginS.o, crtendS.o.
9569         (ia64*-*-linux*): Comment extra_parts.
9570         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9571         Set extra_parts.
9572         (iq2000*-*-elf*): Clear extra_parts.
9573         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9574         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9575         (m32r-*-elf*, m32r-*-rtems*): Split off ...
9576         (m32r-*-rtems*): ... this.
9577         Add m32r/t-m32r to tmake_file.
9578         (m68k-*-elf*): Add t-crtin to tmake_file.
9579         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9580         (mcore-*-elf): Likewise.
9581         (microblaze*-*-*): Set extra_parts.
9582         (mips*-sde-elf*): New case.
9583         Set tmake_file, extra_parts.
9584         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9585         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9586         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9587         tmake_file.
9588         Set extra_parts.
9589         (mipsisa64sr71k-*-elf*): Likewise.
9590         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9591         (mips-*-elf*, mipsel-*-elf*): Likewise.
9592         (mips64-*-elf*, mips64el-*-elf*): Likewise.
9593         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9594         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
9595         (mips*-*-rtems*): Likewise.
9596         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9597         (moxie-*-*): Split into ...
9598         (moxie-*-elf, moxie-*-uclinux*): ... this.
9599         Add to extra_parts, remove crtbegin.o, crtend.o.
9600         (moxie-*-rtems*): New case.
9601         Set tmake_file.
9602         Clear extra_parts.
9603         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9604         Set extra_parts.
9605         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9606         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9607         tmake_file.
9608         Set extra_parts.
9609         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9610         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9611         Set extra_parts.
9612         (powerpc-*-eabisim*): Likewise.
9613         (powerpc-*-elf*): Likewise.
9614         (powerpc-*-eabialtivec*): Likewise.
9615         (powerpc-xilinx-eabi*): Likewise.
9616         (powerpc-*-eabi*): Likewise.
9617         (powerpc-*-rtems*): Likewise.
9618         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9619         tmake_file.
9620         Set extra_parts.
9621         (powerpc-*-lynxos*): Add to tmake_file.
9622         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9623         rs6000/t-crtstuff, t-crtstuff-pic.
9624         Set extra_parts.
9625         (powerpcle-*-eabisim*): Likewise.
9626         (powerpcle-*-eabi*): Likewise.
9627         (rx-*-elf): Remove extra_parts.
9628         (s390x-ibm-tpf*): Set extra_parts.
9629         (score-*-elf): Set extra_parts.
9630         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9631         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9632         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9633         (sh64l*-*-netbsd*): Split into ...
9634         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9635         Add t-crtstuff-pic to tmake_file.
9636         Set extra_parts.
9637         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9638         Set extra_parts.
9639         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9640         (sparc-*-elf*): Remove t-crtin from tmake_file.
9641         Add to extra_parts, remove crtbegin.o, crtend.o.
9642         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9643         (sparc64-*-linux*): Likewise.
9644         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9645         Add to extra_parts, remove crtbegin.o, crtend.o.
9646         (sparc64-*-elf*): Remove t-crtin from tmake_file.
9647         Add to extra_parts, remove crtbegin.o, crtend.o.
9648         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9649         Add to extra_parts, remove crtbegin.o, crtend.o.
9650         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9651         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9652         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9653         Set extra_parts.
9654         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9655         Set extra_parts.
9656         (tic6x-*-*): Change to ...
9657         (tic6x-*-elf): ... this.
9658         Set extra_parts.
9659         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9660         Set extra_parts.
9661         (am33_2.0-*-linux*): Add comment.
9662         (mep*-*-*): Add mep/t-mep to tmake_file.
9663         Set extra_parts.
9664         * config/alpha/t-vms: New file.
9665         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9666         * config/arm/crti.S, config/arm/crtn.S: New files.
9667         * config/bfin/crti.S, config/bfin/crtn.S: New files.
9668         * config/bfin/crtlibid.S: New file.
9669         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9670         * config/c6x/crti.S, config/c6x/crtn.S: New files.
9671         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9672         (crti.o, crtin.o): New rules.
9673         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9674         * config/c6x/t-uclinux: New file.
9675         * config/cris/t-elfmulti: New file.
9676         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9677         * config/fr30/crti.S, config/fr30/crtn.S: New files.
9678         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9679         * config/frv/t-frv: New file.
9680         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9681         * config/h8300/crti.S, config/h8300/crtn.S: New files.
9682         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9683         New files.
9684         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9685         refer to cygming-crtbegin.c, cygming-crtend.c.
9686         Use $<.
9687         * config/i386/t-nto: New file.
9688         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9689         * config/ia64/crti.S, config/ia64/crtn.S: New files.
9690         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9691         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9692         Use .S extension.
9693         Use $<.
9694         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9695         (crtinitS.o): New rule.
9696         * config/ia64/vms-crtinit.S: New file.
9697         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9698         * config/m32r/initfini.c: New file.
9699         * config/m32r/t-linux, config/m32r/t-m32r: New files.
9700         * config/m68k/crti.S, config/m68k/crtn.S: New files.
9701         * config/mcore/crti.S, config/mcore/crtn.S: New files.
9702         * config/mep/t-mep: New file.
9703         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9704         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9705         * config/mips/crti.S, config/mips/crtn.S: New files.
9706         * config/mips/t-crtstuff: New file.
9707         * config/mmix/crti.S, config/mmix/crtn.S: New files.
9708         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9709         (CUSTOM_CRTIN): Set.
9710         ($(T)crti.o, $(T)crtn.o): Remove $(T),
9711         dependencies.
9712         Use $(srcdir) to refer to crti.S, crtn.S.
9713         Use .S extension, $<.
9714         * config/moxie/crti.asm: Rename to ...
9715         * config/moxie/crti.S: ... this.
9716         * config/moxie/crtn.asm: Rename to ...
9717         * config/moxie/crtn.S: ... this.
9718         * config/moxie/t-moxie: Remove.
9719         * config/pa/stublib.c: New file.
9720         * config/pa/t-stublib, config/pa/t-stublib64: New files.
9721         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9722         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9723         * config/rs6000/t-crtstuff: New file.
9724         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9725         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9726         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9727         Make output file explicit.
9728         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9729         Make output file explicit.
9730         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9731         Make output file explicit.
9732         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9733         Make output file explicit.
9734         * config/score/crti.S, config/score/crtn.S: New files.
9735         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9736         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9737         files.
9738         * config/sh/t-sh, config/sh/t-superh: New files.
9739         * config/sparc/t-linux64: New file.
9740         * config/spu/cache.S, config/spu/cachemgr.c: New files.
9741         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9742         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9743         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9744         * config/t-crtin: Remove.
9745         * config/t-crtstuff-pic: New file.
9746         * config/t-sol2 (CUSTOM_CRTIN): Set.
9747         (crti.o, crtn.o): New rules.
9748         * config/vms/t-vms: New file.
9749         * config/vms/vms-ucrt0.c: New file.
9750         * config/xtensa/t-elf: New file.
9752 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9754         * Makefile.in (SHLIB_NM_FLAGS): Set.
9755         * mkmap-flat.awk, mkmap-symver.awk: New files.
9756         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9757         exceptions.
9758         * configure: Regenerate.
9759         * config/libgcc-glibc.ver: New file.
9760         * config/libgcc-libsystem.ver: New file.
9761         * config/t-libunwind (SHLIB_LC): Set.
9762         * config/t-linux: New file.
9763         * config/t-slibgcc (INSTALL_SHLIB): New.
9764         (SHLIB_INSTALL): Use it.
9765         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9766         to mkmap-symver.awk.
9767         (SHLIB_MAPFILES): Don't append, adapt pathname.
9768         (SHLIB_VERPFX): Set.
9769         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9770         to mkmap-symver.awk.
9771         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9772         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9773         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9774         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9775         to mkmap-flat.awk.
9776         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9777         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9778         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9779         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9780         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9781         * config/i386/libgcc-darwin.10.4.ver,
9782         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9783         New files.
9784         * config/i386/t-darwin: Remove.
9785         * config/i386/t-darwin64: Likewise.
9786         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9787         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9788         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9789         * config/i386/t-linux: New file.
9790         * config/i386/t-mingw32: New file.
9791         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9792         * config/ia64/t-glibc: Rename to ...
9793         * config/ia64/t-linux: ... this.
9794         (SHLIB_MAPFILES): Set.
9795         * config/ia64/t-glibc-libunwind: Rename to ...
9796         * config/ia64/t-linux-libunwind: ... this.
9797         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9798         * config/ia64/t-slibgcc-hpux: New file.
9799         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9800         * config/m68k/t-slibgcc-elf-ver: New file.
9801         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9802         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9803         to mkmap-flat.awk.
9804         * config/pa/t-slibgcc-hpux: New file.
9805         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9806         files.
9807         * config/rs6000/libgcc-darwin.10.4.ver,
9808         config/rs6000/libgcc-darwin.10.5.ver: New files.
9809         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9810         config/rs6000/libgcc-glibc.ver.
9811         * config/rs6000/libgcc-ppc64.ver: Rename to
9812         config/rs6000/libgcc-ibm-ldouble.ver.
9813         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9814         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9815         * config/rs6000/t-ldbl128: Rename to ...
9816         * config/rs6000/t-linux: ... this.
9817         (SHLIB_MAPFILES): Adapt filename.
9818         * config/rs6000/t-slibgcc-aix: New file.
9819         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9820         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9821         libgcc-excl.ver, libgcc-glibc.ver.
9822         (SHLIB_LINK, SHLIB_INSTALL): Remove.
9823         * config/sparc/libgcc-glibc.ver: New file.
9824         * config/sparc/t-linux: New file.
9825         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9826         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9827         t-slibgcc-elf-ver to tmake_file.
9828         Add t-slibgcc-nolc-override to tmake_file for posix threads on
9829         *-*-freebsd[34].
9830         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9831         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9832         t-slibgcc-elf-ver, t-linux to tmake_file.
9833         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9834         tmake_file.
9835         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9836         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9837         (alpha*-dec-*vms*): Likewise.
9838         (arm*-*-freebsd*): Append to tmake_file.
9839         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9840         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9841         arm*-*-linux-*eabi.
9842         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9843         tmake_file for arm*-*-symbianelf*.
9844         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9845         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9846         cris/t-linux.
9847         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9848         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9849         pa/t-slibgcc-dwarf-ver to tmake_file.
9850         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9851         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9852         (hppa*64*-*-hpux11*): Likewise.
9853         (hppa[12]*-*-hpux11*): Likewise.
9854         (x86_64-*-darwin*): Don't override tmake_file, but only keep
9855         i386/t-crtpc, i386/t-crtfm.
9856         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9857         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9858         to tmake_file.
9859         Add i386/t-cygwin to tmake_file.
9860         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9861         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9862         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9863         to tmake_file.
9864         Add i386/t-mingw32 to tmake_file.
9865         (x86_64-*-mingw*): Likewise.
9866         (ia64*-*-freebsd*): Append to tmake_file.
9867         (ia64*-*-linux*): Append to tmake_file.
9868         Replace ia64/t-glibc by ia64/t-linux.
9869         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9870         system libunwind.
9871         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9872         t-slibgcc-hpux to tmake_file.
9873         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9874         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9875         (m32rle-*-linux*): Likewise.
9876         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9877         sjlj exceptions.
9878         (microblaze*-linux*): New case.
9879         Append to tmake_file, add t-slibgcc-nolc-override.
9880         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9881         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9882         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9883         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9884         rs6000/t-slibgcc-aix to tmake_file.
9885         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9886         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9887         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9888         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9889         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9890         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9891         sh*-*-linux*.
9892         (sparc-*-linux*): Append to tmake_file for *-leon*.
9893         Add sparc/t-linux to tmake_file for non-Leon targets.
9894         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9895         (tic6x-*-uclinux): New case.
9896         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9897         (tic6x-*-*): Add c6x/t-elf to tmake_file.
9898         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9899         (am33_2.0-*-linux*): Append to tmake_file.
9900         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9901         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9902         x86_64-*-kfreebsd*-gnu.
9903         Add i386/t-linux to tmake_file.
9905 2011-10-28  Ian Lance Taylor  <iant@google.com>
9907         * config/i386/morestack.S: Correct CFI information to do proper
9908         returns throughout function.  In 32-bit mode, save %ebx so that it
9909         is restored on unwind.
9911 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
9913         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9914         case where B3 isn't the return register.
9916         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9917         logic for doubleword pops.
9919 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
9921         * config/rs6000/t-freebsd: Add wildcard.
9923 2011-10-21  Paul Brook  <paul@codesourcery.com>
9925         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9927 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
9928             Eric Botcazou  <ebotcazou@adacore.com>
9930         PR target/50737
9931         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9932         fs->signal_frame to 1.
9934 2011-10-07  Ian Lance Taylor  <iant@google.com>
9936         * generic-morestack-thread.c: #include <errno.h>.
9938 2011-10-07  Ian Lance Taylor  <iant@google.com>
9940         PR target/46093
9941         * generic-morestack.c (__generic_morestack): Make sure the segment
9942         is large enough for both the stack frame and the copied
9943         parameters.
9945 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9947         PR bootstrap/49804
9948         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9949         extra_parts.
9951 2011-09-28  Nick Clifton  <nickc@redhat.com>
9953         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9954         64-bit doubles are not enabled.
9955         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9956         and floatunsisf functions.
9958 2011-09-13  Paul Brook  <paul@codesourcery.com>
9960         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
9961         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9962         * unwind-arm-common.inc: New file.
9963         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9964         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9965         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9966         * config/c6x/libunwind.S: New file.
9967         * config/c6x/pr-support.c: New file.
9968         * config/c6x/unwind-c6x.c: New file.
9969         * config/c6x/unwind-c6x.h: New file.
9970         * config/c6x/t-c6x-elf: New file.
9972 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
9974         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9975         (ASM_DIVZERO): Ditto.
9976         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9978 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
9980         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9982 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
9984         PR target/50090
9985         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9986         instead of an assembly one.
9988 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
9990         PR bootstrap/50047
9991         * Makefile.in (install-unwind_h): Create
9992         $(gcc_objdir)/include/unwind.h atomically.
9994 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9996         * Makefile.in (install-unwind_h): Remove destination file first.
9998 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10000         * sync.c: New file.
10001         * config/mips/t-mips16: New file.
10002         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10003         (mips*-*-linux*): Likewise.
10004         (mips*-sde-elf*): Likewise.
10005         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10006         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10007         Add mips/t-mips16 to tmake_file.
10008         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10009         (mips-*-elf*): Likewise.
10010         (mips64-*-elf*): Likewise.
10011         (mips64orion-*-elf*): Likewise.
10012         (mips*-*-rtems*): Likewise.
10013         (mipstx39-*-elf*): Likewise.
10014         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10015         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10016         LIBGCC_SYNC_CFLAGS.
10017         Use $(srcdir) to refer to sync.c.
10018         Use $<.
10019         ($(libgcc-sync-funcs-o)): Likewise.
10020         ($(libgcc-sync-size-funcs-s-o)): Likewise.
10021         ($(libgcc-sync-funcs-s-o)): Likewise.
10023 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10025         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10026         t-libunwind.
10028 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
10030         PR other/48007
10031         * config/i386/value-unwind.h: New.
10033 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
10035         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10036         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10037         Add to tmake_file rather than overriding it.
10039 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10041         * config/t-softfp: Remove.
10042         * soft-fp: Moved from ../gcc/config.
10043         * soft-fp/README: Remove t-softfp reference.
10044         * soft-fp/t-softfp: Move to config/t-softfp.
10045         (softfp_machine_header): Remove.
10046         (softfp_file_list): Remove config subdir.
10047         (soft-fp-objects): New variable.
10048         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10049         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10050         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10051         * config/t-softfp-excl: New file.
10052         * config/t-softfp-sfdf: New file.
10053         * config/t-softfp-tf: New file.
10054         * config/no-sfp-machine.h: New file.
10055         * config/arm/sfp-machine.h: New file.
10056         * config/arm/t-softfp: New file.
10057         * config/c6x/sfp-machine.h: New file.
10058         * config/i386/32/t-fprules-softfp: Rename to ...
10059         * config/i386/32/t-softfp: ... this.
10060         (tifunctions, LIB2ADD): Remove.
10061         (softfp_int_modes): Override.
10062         * config/i386/64/t-softfp-compat (tf-functions): Remove config
10063         subdir.
10064         * config/i386/64/eqtf2.c: Likewise.
10065         * config/i386/64/getf2.c: Likewise.
10066         * config/i386/64/letf2.c: Likewise.
10067         * config/ia64/sft-machine.h: New file.
10068         * config/ia64/t-fprules-softfp: Rename to ...
10069         * config/ia64/t-softfp: ... this.
10070         * config/lm32/sfp-machine.h: New file.
10071         * config/moxie/t-moxie-softfp: Remove.
10072         * config/rs6000/ibm-ldouble-format: New file.
10073         * config/rs6000/ibm-ldouble.c: New file.
10074         * config/rs6000/libgcc-ppc-glibc.ver: New file
10075         * config/rs6000/libgcc-ppc64.ver: New file
10076         * config/rs6000/sfp-machine.h: New file.
10077         * config/rs6000/t-freebsd: New file.
10078         * config/rs6000/t-ibm-ldouble: New file.
10079         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10080         libgcc-ppc-glibc.ver.
10081         * config/rs6000/t-linux64: New file.
10082         * config/rs6000/t-ppccomm (LIB2ADD): Add
10083         $(srcdir)/config/rs6000/ibm-ldouble.c.
10084         * config/rs6000/t-ppccomm-ldbl: New file.
10085         * config/score/sfp-machine.h: New file.
10086         * config.host (sfp_machine_header): Explain.
10087         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10088         t-softfp to tmake_file.
10089         (arm*-*-uclinux*): Likewise.
10090         (arm*-*-ecos-elf): Likewise.
10091         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10092         (arm*-*-rtems*): Likewise.
10093         (arm*-*-elf): Likewise.
10094         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10095         in tmake_file.
10096         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10097         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10098         (lm32-*-uclinux*): Likewise.
10099         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10100         t-softfp-excl, t-softfp.
10101         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10102         (powerpc64-*-darwin*): Likewise.
10103         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10104         to tmake_file.
10105         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10106         tmake_file.
10107         (powerpc-*-eabisim*): Likewise.
10108         (powerpc-*-elf*): Likewise.
10109         (powerpc-*-eabialtivec*): Likewise.
10110         (powerpc-xilinx-eabi*): Likewise.
10111         (powerpc-*-rtems*): Likewise.
10112         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10113         t-softfp-excl, t-softfp to tmake_file.
10114         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10115         rs6000/t-ppccomm-ldbl to tmake_file.
10116         (powerpcle-*-elf*): Likewise.
10117         (powerpcle-*-eabisim*): Likewise.
10118         (powerpcle-*-eabi*): Likewise.
10119         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10120         rs6000/t-ibm-ldouble to tmake_file.
10121         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10122         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10123         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10124         (tic6x-*-*): Likewise.
10125         (i[34567]86-*-darwin*, x86_64-*-darwin*,
10126         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10127         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10128         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10129         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10130         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10131         t-softfp to tmake_file.
10132         * configure.ac (sfp_machine_header): Provide default if unset.
10133         Substitute.
10134         Link sfp-machine.h to config/$sfp_machine_header.
10135         * configure: Regenerate.
10137 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10139         * Makefile.in (double_type_size, long_double_type_size): Set.
10140         Remove $(fpbit-in-libgcc) support.
10141         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10142         (fpbit-src): New variable.
10143         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10144         Compile with -DFLOAT $(FPBIT_CFLAGS).
10145         Use $<.
10146         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10147         Compile with $(FPBIT_CFLAGS).
10148         Use $<.
10149         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10150         Compile with -DFLOAT $(TPBIT_CFLAGS).
10151         Use $<.
10152         * configure.ac (double_type_size, long_double_type_size):
10153         Determine and substitute.
10154         * configure: Regenerate.
10155         * fp-bit.c, fp-bit.h: New files.
10156         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10157         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10158         * config/mips/t-mips: New file.
10159         * config/mips/t-sdemtk: New file.
10160         * config/rs6000/ppc64-fp.c: New file.
10161         * config/rs6000/t-darwin (LIB2ADD): Add
10162         $(srcdir)/config/rs6000/ppc64-fp.c.
10163         * config/rs6000/t-ppc64-fp: New file.
10164         * config/rx/rx-lib.h: New file.
10165         * config/rx/t-rx (FPBIT): Set to true.
10166         ($(gcc_objdir)/fp-bit.c): Remove.
10167         (DPBIT): Set to true only with -m64bit-doubles.
10168         ($(gcc_objdir)/dp-bit.c): Remove.
10169         * config/sparc/t-softfp: Remove.
10170         * config/spu/t-elf: New file.
10171         * config/t-fdpbit, config/t-fpbit: New files.
10172         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10173         (mips*-*-*): Likewise.
10174         (arm-wrs-vxworks): Likewise.
10175         (arm*-*-freebsd*): Likewise.
10176         (avr-*-rtems*): Add t-fpbit to tmake_file.
10177         (avr-*-*): Likewise.
10178         (bfin*-elf*): Add t-fdpbit to tmake_file.
10179         (bfin*-uclinux*): Likewise.
10180         (bfin*-linux-uclibc*): Likewise.
10181         (bfin*-rtems*): New case.
10182         Add t-fdpbit to tmake_file.
10183         (bfin*-*): Add t-fdpbit to tmake_file.
10184         (crisv32-*-elf): Likewise.
10185         (cris-*-linux*): Likewise.
10186         (fr30-*-elf): Likewise.
10187         (frv-*-elf, frv-*-*linux*): Likewise.
10188         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10189         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10190         (m32r-*-elf*): Likewise.
10191         (m32rle-*-elf*): Likewise.
10192         (m32r-*-linux*): Likewise.
10193         (m32rle-*-linux*): Likewise.
10194         (mcore-*-elf): Add t-fdpbit to tmake_file.
10195         (microblaze*-*-*): Likewise.
10196         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10197         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10198         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10199         Fix typo.
10200         Add mips/t-tpbit to tmake-file.
10201         (mips*-*-linux*): Fix typo.
10202         (mips*-sde-elf*): New case
10203         Add mips/t-sdemtk unless using newlib.
10204         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10205         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10206         (mn10300-*-*): Likewise.
10207         (pdp11-*-*): Likewise.
10208         (picochip-*-*): Add t-fpbit to tmake_file.
10209         (powerpc-*-eabisimaltivec*): Likewise.
10210         (powerpc-*-eabisim*): Likewise.
10211         (powerpc-*-elf*): Likewise.
10212         (powerpc-*-eabialtivec*): Likewise.
10213         (powerpc-xilinx-eabi*): New case.
10214         Add t-fdpbit to tmake_file.
10215         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
10216         (powerpc-*-rtems*): Likewise.
10217         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10218         tmake_file.
10219         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10220         tmake_file.
10221         (powerpc-*-lynxos*): Likewise.
10222         (powerpcle-*-elf*): Likewise.
10223         (powerpcle-*-eabisim*): Likewise.
10224         (powerpcle-*-eabi*): Likewise.
10225         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10226         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10227         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10228         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10229         (rx-*-elf): Add t-fdpbit to tmake_file.
10230         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10231         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10232         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10233         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10234         sh*-*-netbsd*.
10235         (sh-*-rtems*): Add t-fdpbit to tmake_file.
10236         (sh-wrs-vxworks): Likewise.
10237         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10238         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10239         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10240         (sparc64-*-rtems*): ... new case.
10241         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10242         (spu-*-elf*): Likewise.
10243         Add spu/t-elf to tmake_file.
10244         (v850*-*-*): Add t-fdpbit to tmake_file.
10245         (xstormy16-*-elf): Likewise.
10246         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10247         (mep*-*-*): Likewise.
10249 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10251         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10252         variables.
10253         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10254         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10255         (install-unwind_h): New target.
10256         (all): Depend on it.
10257         * config.host (unwind_header): New variable.
10258         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10259         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10260         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10261         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10262         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10263         Set unwind_header.
10264         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10265         Set unwind_header.
10266         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10267         arm*-*-eabi*.
10268         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10269         Set unwind_header.
10270         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10271         (ia64*-*-freebsd*): Likewise.
10272         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10273         tmake_file.
10274         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10275         $with_system_libunwind.
10276         (ia64*-*-hpux*): Set tmake_file.
10277         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10278         (picochip-*-*): Set tmake_file.
10279         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10280         md_unwind_header.
10281         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10282         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10283         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10284         (xtensa*-*-elf*): Set tmake_file.
10285         (xtensa*-*-linux*): Likewise.
10286         * configure.ac: Include ../config/unwind_ipinfo.m4.
10287         Call GCC_CHECK_UNWIND_GETIPINFO.
10288         Link unwind.h to $unwind_header.
10289         * configure: Regenerate.
10290         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10291         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10292         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10293         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10294         * config/unwind-dw2-fde-darwin.c: New file.
10295         * config/arm/libunwind.S, config/arm/pr-support.c,
10296         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10297         config/arm/unwind-arm.h,: New files.
10298         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10299         config/ia64/t-eh-ia64, config/ia64/t-glibc,
10300         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10301         config/ia64/t-vms, config/ia64/unwind-ia64.c,
10302         config/ia64/unwind-ia64.h: New files.
10303         * config/picochip/t-picochip: New file.
10304         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10305         files.
10306         * config/rs6000/t-darwin (LIB2ADDEH): Set.
10307         * config/s390/t-tpf (LIB2ADDEH): Remove.
10308         * config/t-darwin (LIB2ADDEH): Set.
10309         * config/t-eh-dw2-dip: New file.
10310         * config/t-libunwind, config/t-libunwind-elf: New files.
10311         * config/t-sol2 (LIB2ADDEH): Remove.
10312         * config/xtensa/t-xtensa: New file.
10314 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
10316         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10317         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10318         long long to check rt_sigreturn syscall.
10320 2011-08-02  Alan Modra  <amodra@gmail.com>
10322         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10323         Restore for indirect call bcrtl from correct stack slot, and only
10324         if cfa+40 isn't valid.
10326 2011-08-01  Julian Brown  <julian@codesourcery.com>
10328         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10329         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10330         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10332 2011-08-01  Julian Brown  <julian@codesourcery.com>
10334         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10335         (libgcc-std.ver.in): Use above.
10336         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10337         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
10338         throughout file.
10339         * config/t-fixedpoint-gnu-prefix: New file.
10340         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10341         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10342         instead of __PFX__.
10344 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10346         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10347         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10348         for x86-64.  Properly check __x86_64__ and __LP64__.
10350 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10352         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10353         version.
10354         (_FP_WS_TYPE): Likewise.
10355         (_FP_I_TYPE): Likewise.
10357 2011-07-28  Alan Modra  <amodra@gmail.com>
10359         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10360         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10361         in a plt call stub.  Do restore r2 if stopped on bctrl.
10363 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10365         * config.host (i[3456x]86-*-netware*): Remove.
10366         * config/i386/netware-crt0.c, config/i386/t-nwld,
10367         config/i386/t-slibgcc-nwld: Remove.
10369 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
10371         * config.host: Handle tic6x-*-*.
10372         * config/c6x/c6x-abi.h: New file.
10374 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10376         * config/i386/crtprec.c: New file.
10377         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10378         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10379         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10380         (x86_64-*-darwin*): Likewise.
10381         (i[34567]86-*-solaris2*: Likewise.
10383 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10385         * config/alpha/crtfastmath.c: New file.
10386         * config/i386/crtfastmath.c: New file.
10387         * config/ia64/crtfastmath.c: New file.
10388         * config/mips/crtfastmath.c: New file.
10389         * config/sparc/crtfastmath.c: New file.
10391         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10392         crtfastmath.c.
10393         Add -frandom-seed=gcc-crtfastmath.
10394         * config/alpha/t-crtfm: Remove.
10395         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10396         * config/ia64/t-ia64 (crtfastmath.o): Remove.
10398         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10399         (alpha*-dec-osf5.1*): Likewise.
10400         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10401         Add crtfastmath.o to extra_parts.
10402         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10403         Add crtfastmath.o to extra_parts.
10404         (x86_64-*-darwin*): Likewise.
10405         (x86_64-*-mingw*): Likewise.
10406         (ia64*-*-elf*): Add t-crtfm to tmake_file.
10407         (ia64*-*-freebsd*): Likewise.
10408         (ia64*-*-linux*): Likewise.
10409         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10410         Add crtfastmath.o to extra_parts.
10412 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10414         * config/darwin-crt3.o: New file.
10415         * config/rs6000/darwin-crt2.c: New file.
10416         * config/t-darwin: New file.
10417         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10418         (crt2.o): New rule.
10419         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10420         (powerpc-*-darwin*): Add crt2.o to extra_parts.
10421         (powerpc64-*-darwin*): Likewise.
10423 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10425         * config/i386/netware-crt0.c: New file.
10426         * config/i386/t-nwld: Rename to ...
10427         * config/i386/t-slibgcc-nwld: ... this.
10428         * config/i386/t-nwld: New file.
10429         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10430         tmake_file.
10431         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10432         extra_parts.
10434 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10436         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10437         i386/t-crtstuff.
10438         * configure: Regenerate.
10440 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10442         * dfp-bit.c, dfp-bit.h: New files.
10443         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10444         variables.
10445         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10446         ($(d64pbit-o)): Likewise.
10447         ($(d128pbit-o)): Likewise.
10448         * config/t-dfprules: New file.
10449         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10450         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10451         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10452         (x86_64-*-linux*): Likewise.
10453         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10454         (i[34567]86-*-cygwin*): Likewise.
10455         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
10456         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10458 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10460         * Makfile.in (LIBGCOV): New variable.
10461         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10462         * libgcov.c: New file.
10464 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10466         * fixed-bit.c, fixed-bit.h: New files.
10467         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10468         refer to fixed-bit.c.
10470 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
10472         * config.host (*local*): Remove.
10474 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10476         PR target/39150
10477         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10478         like i?86-*-solaris2.1[0-9]*.
10479         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10480         * configure.ac (i?86-*-solaris2*): Likewise.
10481         * configure: Regenerate.
10483 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
10485         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10486         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10487         md_unwind_header by splitting out of...
10488         (i[34567]86-*-linux*): ... this.
10489         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10490         Remove md_unwind_header by splitting out of...
10491         (x86_64-*-linux*): ... this.
10493 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
10495         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10497 2011-06-28  Nick Clifton  <nickc@redhat.com>
10499         * config.host: Recognize all V850 variants.
10501 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
10503         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10505 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10507         * shared-object.mk (c_flags-$o): Save c_flags.
10508         ($(base)$(objext)): Use it.
10509         ($(base)_s$(objext)): Likewise.
10511 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
10513         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10514         * libgcc-std.ver.in (GCC_4.7.0): New section.
10516 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
10518         PR target/49313
10519         PR target/29524
10520         * config/avr/t-avr: Fix line endings.
10521         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
10522         _parityXX2.
10524 2011-06-14  Olivier Hainque  <hainque@adacore.com>
10525             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10527         * config/mips/irix6-unwind.h: New file.
10528         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10530 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
10532         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10533         (sparc64_fallback_frame_state): Use it.
10534         (sparc64_frob_update_context): Further adjust context.
10535         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10536         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10537         * config/sparc/sol2-cn.S: Likewise.
10539 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10541         * enable-execute-stack-empty.c: New file.
10542         * enable-execute-stack-mprotect.c: New file.
10543         * config/i386/enable-execute-stack-mingw32.c: New file.
10544         * config.host (enable_execute_stack): New variable.
10545         Select appropriate variants.
10546         * configure.ac: Link enable-execute-stack.c to
10547         $enable_execute_stack.
10548         * configure: Regenerate.
10549         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10550         (lib2funcs): Remove _enable_execute_stack.
10552 2011-06-09  David S. Miller  <davem@davemloft.net>
10553             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10555         * config.host (sparc-*-linux*): Correct md_unwind_header
10556         filename.
10557         (s390x-ibm-tpf*): Fix typo.
10559 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10561         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10562         Add crtfastmath.o to extra_parts.
10563         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10564         mips/t-crtfm.
10565         * config/mips/t-crtfm: Remove.
10567 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10569         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10571 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10573         * config.host (sh*-*-linux*): Fix typo.
10575 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10577         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10578         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10579         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10580         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10581         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10582         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10583         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10584         Wrap in !__MINGW64__.
10585         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10586         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10587         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10588         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10589         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10590         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10591         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10592         Wrap in !__LP64__.
10593         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10594         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10595         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10596         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10597         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10598         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10599         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10600         * config/no-unwind.h: New file.
10601         * config.host (md_unwind_header): Document.
10602         Define.
10603         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10604         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10605         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10606         hppa[12]*-*-hpux11*): Set md_unwind_header.
10607         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10608         Set md_unwind_header.
10609         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10610         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10611         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10612         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10613         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10614         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10615         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10616         md_unwind_header.
10617         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10618         * configure: Regenerate.
10620 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10622         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10623         Set tmake_file, extra_parts.
10624         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10625         Remove O32 support.
10626         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10627         Remove O32 support.
10628         * config/mips/t-irix6: New file.
10629         * config/mips/t-slibgcc-irix: New file.
10631 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10633         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10634         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10636 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10638         * configure.ac (target_thread_file): Determine thread model.
10639         * configure: Regenerate.
10640         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10641         * config/alpha/t-alpha: New file.
10642         * config/alpha/t-crtfm: Use $<.
10643         * config/alpha/t-ieee: New file.
10644         * config/alpha/t-osf-pthread: New file.
10645         * config/alpha/t-slibgcc-osf: New file.
10646         * config/alpha/libgcc-osf5.ver: New file.
10648 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10650         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10651         tmake_file.
10652         Add crtfastmath.o to extra_parts.
10654 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10656         * config/gmon-sol2.c: Reindent.
10657         Cleanup comments.
10658         Remove, correct casts.
10659         Use STDERR_FILENO, NULL.
10660         (BASEADDRESS): Remove.
10661         (minbrk): Remove.
10662         (errno, sbrk): Remove declarations.
10663         (monstartup) [hp300]: Remove.
10664         (mcount): Remove.
10666 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10668         * Makefile.in (cpu_type): Define.
10669         * config.host (i[34567]86-*-rtems*): Handle it.
10670         (i[34567]86-*-solaris2*): Move body ...
10671         (*-*-solaris2*): ... here.
10672         New case, generalize.
10673         (sparc-*-elf*): Handle it.
10674         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10675         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10676         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10677         Fold into ...
10678         (sparc*-*-solaris2*): ... this.
10679         New case.
10680         (sparc64-*-elf*): Handle it.
10681         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10682         Merge ../gcc/config/i386/gmon-sol2.c.
10683         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10684         Use C comments.
10685         Merge ../gcc/config/i386/sol2-gc1.asm.
10686         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10687         Use C comments.
10688         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10689         Use C comments.
10690         * config/i386/t-crtfm (crtfastmath.o): Use $<.
10691         * config/i386/t-crtstuff: New file.
10692         * config/i386/t-softfp: New file.
10693         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10694         $(T)crti.o, $(T)crtn.o): Remove.
10695         (gcrt1.o): New rule.
10696         (TARGET_LIBGCC2_CFLAGS): Remove.
10697         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10698         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10699         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10700         * config/sparc/t-sol2: New file.
10701         * config/sparc/t-crtfm: Move to ...
10702         * config/t-crtfm: ... this.
10703         Use $(cpu_type), $<.
10704         * config/t-crtin: New file.
10705         * config/sparc/t-softfp: New file.
10706         * config/sparc/t-softmul: New file.
10707         * config/t-rtems: New file.
10708         * config/t-slibgcc: New file.
10709         * config/t-slibgcc-elf-ver: New file.
10710         * config/t-slibgcc-gld: New file.
10711         * config/t-slibgcc-sld: New file.
10712         * config/t-sol2: New file.
10713         * configure.ac: Include ../config/lib-ld.m4.
10714         Call AC_LIB_PROG_LD_GNU.
10715         Substitute cpu_type.
10716         * configure: Regenerate.
10718 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
10720         PR bootstrap/49173
10721         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10722         libgcc-std.ver in the build directory.
10723         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10724         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10726 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
10728         * libgcc-std.ver.in: New file.
10729         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10730         variables.
10731         (libgcc-std.ver): New rule.
10732         * config/t-gnu-prefix: New file.
10734 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10736         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10738 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
10740         * config/i386/darwin-lib.h: New file.
10742 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
10744         * config/arm/symbian-lib.h: New.
10746 2011-05-04  Chris Demetriou  <cgd@google.com>
10748         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10749         (__x86.get_pc_thunk.bx): ...this.
10750         (__morestack): Adjust for rename, remove undef of __i686.
10752 2011-05-03  Chris Demetriou  <cgd@google.com>
10754         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10756 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
10758         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10759         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10760         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10761         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10762         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10763         Remove cases.
10765 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
10767         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10768         Adjust copyright year.
10770 2011-03-07  Ian Lance Taylor  <iant@google.com>
10772         * generic-morestack.c (__splitstack_find): Adjust returned stack
10773         pointer to include all registers pushed by __morestack.
10775 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
10777         PR target/40125
10778         * configure.ac: Call ACX_NONCANONICAL_TARGET.
10779         (toolexecdir): Calculate and AC_SUBST.
10780         (toolexeclibdir): Likewise.
10781         * Makefile.in (target_noncanonical): Import.
10782         (toolexecdir): Likewise.
10783         (toolexeclibdir): Likewise.
10784         * configure: Regenerate.
10786 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
10788         PR target/46040
10789         * config/arm/bpabi.h: Rename to...
10790         * config/arm/bpabi-lib.h: ...this.
10792 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10794         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10795         appropriate.
10796         * configure: Regenerate.
10798 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
10800         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10801         __FLOAT_WORD_ORDER__.
10802         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10803         Delete.
10805 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10807         PR other/46202
10808         * Makefile.in (install-strip): New phony target.
10810 2010-11-07  Ian Lance Taylor  <iant@google.com>
10812         PR target/46089
10813         * config/i386/morestack.S (__morestack_large_model): New
10814         function.
10816 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
10818         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10819         Delete.
10820         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10822 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
10824         * config/arm/bpabi.h: New file.
10825         * config/frv/frv-abi.h: New file.
10827 2010-10-01  Ian Lance Taylor  <iant@google.com>
10829         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10830         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10832 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10834         PR target/45858
10835         * config.host: Add the missing `$'.
10837 2010-09-30  Michael Eager  <eager@eagercon.com>
10839         * config.host: Add microblaze*-*-*.
10840         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10841         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10842         udivsi3.asm,umodsi3.asm}:  New.
10844 2010-09-28  Ian Lance Taylor  <iant@google.com>
10846         * configure.ac: Adjust CFI test to test assembler directly rather
10847         than checking gcc preprocessor macro.
10848         * configure: Rebuild.
10850 2010-09-27  Ian Lance Taylor  <iant@google.com>
10852         * configure.ac: Test whether assembler supports CFI directives.
10853         * config.host: Only add t-stack and i386/t-stack-i386 to
10854         tmake_file if libgcc_cv_cfi is "yes".
10855         * configure: Rebuild.
10857 2010-09-27  Ian Lance Taylor  <iant@google.com>
10859         * generic-morestack.h: New file.
10860         * generic-morestack.c: New file.
10861         * generic-morestack-thread.c: New file.
10862         * config/i386/morestack.S: New file.
10863         * config/t-stack: New file.
10864         * config/i386/t-stack-i386: New file.
10865         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10866         i386/t-stack-i386 to tmake_file.
10868 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
10870         * Makefile.in (libgcc-extra-parts):  Check for static archives and
10871         invoke ranlib after installing them.
10872         (gcc-extra-parts): Likewise.
10873         (install-leaf): Likewise.
10875 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
10877         * configure: Regenerated.
10879 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
10881         * configure: Regenerated.
10883 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
10884             Andrew Pinski  <pinskia@gmail.com>
10886         PR target/40959
10887         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
10889 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10891         PR target/45524
10892         * configure: Regenerated.
10894 2010-09-06  Andreas Schwab  <schwab@redhat.com>
10896         * configure: Regenerate.
10898 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
10900         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10901         64bit targets.
10902         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10903         for 64bit targets.
10905 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
10906             Iain Sandoe  <iains@gcc.gnu.org>
10908         PR target/45476
10909         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10910         LIB2FUNCS_EXCLUDE functions.
10912 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10914         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10915         Include dfp.m4.
10916         * configure: Regenerate.
10918 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
10920         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10921         i386/t-freebsd to tmake_file.
10922         * config/i386/t-freebsd: New file.
10923         * config/i386/libgcc-bsd.ver: New file.
10925 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
10927         * config.host (powerpc*-eabispe*): Set tmake_file.
10928         (powerpc*-eabi*): Likewise.
10929         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10930         crtbeginS, crtendS, crtbeginT.
10932 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
10934         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10935         to tmake_file.  Add crtfastmath.o to extra_parts.
10936         * config/mips/t-crtfm: New.
10938 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
10940         * config.host (sparc64-*-rtems*): New target.
10942 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10944         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10945         assembler syntax.
10947 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
10949         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10951 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10953         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10954         alpha-dec-osf5.0* support.
10956 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
10958         * config.host: Add lm32-*-rtems*.
10960 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10961             Uros Bizjak  <ubizjak@gmail.com>
10963         PR target/39048
10964         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10965         like other remaining 32-bit x86 OSes.
10966         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10967         assembler syntax.
10968         * config/i386/libgcc-sol2.ver: New file.
10969         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10971 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
10973         PR c/43553
10974         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10975         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10976         is used and substitute set_use_emutls.
10977         * configure: Regenerated.
10979 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
10981         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10983 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10985         PR target/38085
10986         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10987         MULTILIB_CFLAGS.
10988         ($(T)gcrt1.o): Likewise.
10989         ($(T)crt1.o): Likewise.
10990         ($(T)crti.o): Likewise.
10991         ($(T)crtn.o): Likewise.
10993 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10995         PR other/42980
10996         * Makefile.in (install): Use $(MAKE) string in rule, for
10997         parallel make.
10999 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
11001         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11002         * config/mmix/t-mmix: New file.
11003         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11005 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
11007         PR java/41991
11008         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11009         SHLIB_MAPFILES.
11011 2010-01-04  Anthony Green  <green@moxielogic.com>
11013         * config/moxie/crti.asm, config/moxie/crtn.asm,
11014         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11015         config/moxie/t-moxie: New files.
11016         * config.host: Add t-moxie-softfp reference.
11018 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
11020         PR other/39888
11021         * config/t-slibgcc-darwin: Fix embedded rpaths for
11022         --enable-version-specific-runtime-libs, build extension stub
11023         libs exposing features available from current libgcc_s.
11025 2009-11-11  Jon Beniston  <jon@beniston.com>
11027         * config.host: Add lm32 targets.
11028         * config/lm32: New directory.
11029         * config/lm32/libgcc_lm32.h: New file.
11030         * config/lm32/_mulsi3.c: New file.
11031         * config/lm32/_udivmodsi4.c: New file.
11032         * config/lm32/_divsi3.c: New file.
11033         * config/lm32/_modsi3.c: New file.
11034         * config/lm32/_udivsi3.c: New file.
11035         * config/lm32/_umodsi3.c: New file.
11036         * config/lm32/_lshrsi3.S: New file.
11037         * config/lm32/_ashrsi3.S: New file.
11038         * config/lm32/_ashlsi3.S: New file.
11039         * config/lm32/crti.S: New file.
11040         * config/lm32/crtn.S: New file.
11041         * config/lm32/t-lm32: New file.
11042         * config/lm32/t-elf: New file.
11043         * config/lm32/t-uclinux: New file.
11045 2009-10-26  Nick Clifton  <nickc@redhat.com>
11047         * config.host: Add support for RX target.
11048         * config/rx: New directory.
11049         * config/rx/rx-abi-functions.c: New file. Supplementary
11050         functions for libgcc to support the RX ABI.
11051         * config/rx/rx-abi.h: New file.  Supplementary header file for
11052         libgcc RX ABI functions.
11053         * config/rx/t-rx: New file: Makefile fragment for building
11054         libgcc for the RX.
11056 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
11058         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11059         constraint of y0 to "g".
11061 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11063         * config.host: Include the s390 makefile fragments.
11064         * config/s390/32/_fixdfdi.c: New file.
11065         * config/s390/32/_fixsfdi.c: New file.
11066         * config/s390/32/_fixtfdi.c: New file.
11067         * config/s390/32/_fixunsdfdi.c: New file.
11068         * config/s390/32/_fixunssfdi.c: New file.
11069         * config/s390/32/_fixunstfdi.c: New file.
11070         * config/s390/32/t-floattodi: New file.
11071         * config/s390/libgcc-glibc.ver: New file.
11072         * config/s390/t-crtstuff: New file.
11073         * config/s390/t-linux: New file.
11074         * config/s390/t-tpf: New file.
11076 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11078         * configure.ac (AC_PREREQ): Bump to 2.64.
11080 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
11082         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11084 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11086         * configure: Regenerate.
11088 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
11090         * config.host (ia64-hp-*vms*): New target.
11091         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11092         with ia64-hp-*vms*.
11094 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11096         * configure.ac: Add snippet for maintainer-mode.
11097         * configure: Regenerate.
11098         * Makefile.in (AUTOCONF, configure_deps): New variables.
11099         ($(srcdir)/configure)): New rule, active only with maintainer
11100         mode turned on.
11102 2009-06-23  DJ Delorie  <dj@redhat.com>
11104         Add MeP port.
11105         * config.host: Add mep support.
11107 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
11109         * config.host: Add i386/${host_address}/t-fprules-softfp and
11110         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11112         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11113         for mingw targets.
11114         * config/i386/64/_multc3.c: Likewise.
11115         * config/i386/64/_powitf2.c: Likewise.
11116         * config/i386/64/eqtf2.c: Likewise.
11117         * config/i386/64/getf2.c: Likewise.
11118         * config/i386/64/letf2.c: Likewise.
11119         * config/i386/64/letf2.c: Likewise.
11120         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11121         unsigned long long for x64 mingw targets.
11122         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11123         (_FP_I_TYPE): Define as long long for x64 mingw target.
11125 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
11127         * config.host (vax-*-linux*): New.
11129 2009-05-31  Anthony Green  <green@moxielogic.com>
11131         * config.host: Add moxie support.
11132         * config/moxie/t-moxie: New file.
11134 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
11136         * config.host: Add i386/${host_address}/t-fprules-softfp and
11137         t-softfp to tmake_file for i[34567]86-*-cygwin*.
11139 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
11141         * config.host: Add i386/${host_address}/t-fprules-softfp to
11142         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11144 2009-04-09  Nick Clifton  <nickc@redhat.com>
11146         * config/ia64/tf-signs.c: Change copyright header to refer to
11147         version 3 of the GNU General Public License with version 3.1
11148         of the GCC Runtime Library Exception and to point readers at
11149         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11150         web page.
11151         * config/i386/32/tf-signs.c: Likewise.
11152         * config/libbid/_addsub_dd.c: Likewise.
11153         * config/libbid/_addsub_sd.c: Likewise.
11154         * config/libbid/_addsub_td.c: Likewise.
11155         * config/libbid/_dd_to_df.c: Likewise.
11156         * config/libbid/_dd_to_di.c: Likewise.
11157         * config/libbid/_dd_to_sd.c: Likewise.
11158         * config/libbid/_dd_to_sf.c: Likewise.
11159         * config/libbid/_dd_to_si.c: Likewise.
11160         * config/libbid/_dd_to_td.c: Likewise.
11161         * config/libbid/_dd_to_tf.c: Likewise.
11162         * config/libbid/_dd_to_udi.c: Likewise.
11163         * config/libbid/_dd_to_usi.c: Likewise.
11164         * config/libbid/_dd_to_xf.c: Likewise.
11165         * config/libbid/_df_to_dd.c: Likewise.
11166         * config/libbid/_df_to_sd.c: Likewise.
11167         * config/libbid/_df_to_td.c: Likewise.
11168         * config/libbid/_di_to_dd.c: Likewise.
11169         * config/libbid/_di_to_sd.c: Likewise.
11170         * config/libbid/_di_to_td.c: Likewise.
11171         * config/libbid/_div_dd.c: Likewise.
11172         * config/libbid/_div_sd.c: Likewise.
11173         * config/libbid/_div_td.c: Likewise.
11174         * config/libbid/_eq_dd.c: Likewise.
11175         * config/libbid/_eq_sd.c: Likewise.
11176         * config/libbid/_eq_td.c: Likewise.
11177         * config/libbid/_ge_dd.c: Likewise.
11178         * config/libbid/_ge_sd.c: Likewise.
11179         * config/libbid/_ge_td.c: Likewise.
11180         * config/libbid/_gt_dd.c: Likewise.
11181         * config/libbid/_gt_sd.c: Likewise.
11182         * config/libbid/_gt_td.c: Likewise.
11183         * config/libbid/_isinfd128.c: Likewise.
11184         * config/libbid/_isinfd32.c: Likewise.
11185         * config/libbid/_isinfd64.c: Likewise.
11186         * config/libbid/_le_dd.c: Likewise.
11187         * config/libbid/_le_sd.c: Likewise.
11188         * config/libbid/_le_td.c: Likewise.
11189         * config/libbid/_lt_dd.c: Likewise.
11190         * config/libbid/_lt_sd.c: Likewise.
11191         * config/libbid/_lt_td.c: Likewise.
11192         * config/libbid/_mul_dd.c: Likewise.
11193         * config/libbid/_mul_sd.c: Likewise.
11194         * config/libbid/_mul_td.c: Likewise.
11195         * config/libbid/_ne_dd.c: Likewise.
11196         * config/libbid/_ne_sd.c: Likewise.
11197         * config/libbid/_ne_td.c: Likewise.
11198         * config/libbid/_sd_to_dd.c: Likewise.
11199         * config/libbid/_sd_to_df.c: Likewise.
11200         * config/libbid/_sd_to_di.c: Likewise.
11201         * config/libbid/_sd_to_sf.c: Likewise.
11202         * config/libbid/_sd_to_si.c: Likewise.
11203         * config/libbid/_sd_to_td.c: Likewise.
11204         * config/libbid/_sd_to_tf.c: Likewise.
11205         * config/libbid/_sd_to_udi.c: Likewise.
11206         * config/libbid/_sd_to_usi.c: Likewise.
11207         * config/libbid/_sd_to_xf.c: Likewise.
11208         * config/libbid/_sf_to_dd.c: Likewise.
11209         * config/libbid/_sf_to_sd.c: Likewise.
11210         * config/libbid/_sf_to_td.c: Likewise.
11211         * config/libbid/_si_to_dd.c: Likewise.
11212         * config/libbid/_si_to_sd.c: Likewise.
11213         * config/libbid/_si_to_td.c: Likewise.
11214         * config/libbid/_td_to_dd.c: Likewise.
11215         * config/libbid/_td_to_df.c: Likewise.
11216         * config/libbid/_td_to_di.c: Likewise.
11217         * config/libbid/_td_to_sd.c: Likewise.
11218         * config/libbid/_td_to_sf.c: Likewise.
11219         * config/libbid/_td_to_si.c: Likewise.
11220         * config/libbid/_td_to_tf.c: Likewise.
11221         * config/libbid/_td_to_udi.c: Likewise.
11222         * config/libbid/_td_to_usi.c: Likewise.
11223         * config/libbid/_td_to_xf.c: Likewise.
11224         * config/libbid/_tf_to_dd.c: Likewise.
11225         * config/libbid/_tf_to_sd.c: Likewise.
11226         * config/libbid/_tf_to_td.c: Likewise.
11227         * config/libbid/_udi_to_dd.c: Likewise.
11228         * config/libbid/_udi_to_sd.c: Likewise.
11229         * config/libbid/_udi_to_td.c: Likewise.
11230         * config/libbid/_unord_dd.c: Likewise.
11231         * config/libbid/_unord_sd.c: Likewise.
11232         * config/libbid/_unord_td.c: Likewise.
11233         * config/libbid/_usi_to_dd.c: Likewise.
11234         * config/libbid/_usi_to_sd.c: Likewise.
11235         * config/libbid/_usi_to_td.c: Likewise.
11236         * config/libbid/_xf_to_dd.c: Likewise.
11237         * config/libbid/_xf_to_sd.c: Likewise.
11238         * config/libbid/_xf_to_td.c: Likewise.
11239         * config/libbid/bid128.c: Likewise.
11240         * config/libbid/bid128_2_str.h: Likewise.
11241         * config/libbid/bid128_2_str_macros.h: Likewise.
11242         * config/libbid/bid128_2_str_tables.c: Likewise.
11243         * config/libbid/bid128_add.c: Likewise.
11244         * config/libbid/bid128_compare.c: Likewise.
11245         * config/libbid/bid128_div.c: Likewise.
11246         * config/libbid/bid128_fma.c: Likewise.
11247         * config/libbid/bid128_logb.c: Likewise.
11248         * config/libbid/bid128_minmax.c: Likewise.
11249         * config/libbid/bid128_mul.c: Likewise.
11250         * config/libbid/bid128_next.c: Likewise.
11251         * config/libbid/bid128_noncomp.c: Likewise.
11252         * config/libbid/bid128_quantize.c: Likewise.
11253         * config/libbid/bid128_rem.c: Likewise.
11254         * config/libbid/bid128_round_integral.c: Likewise.
11255         * config/libbid/bid128_scalb.c: Likewise.
11256         * config/libbid/bid128_sqrt.c: Likewise.
11257         * config/libbid/bid128_string.c: Likewise.
11258         * config/libbid/bid128_to_int16.c: Likewise.
11259         * config/libbid/bid128_to_int32.c: Likewise.
11260         * config/libbid/bid128_to_int64.c: Likewise.
11261         * config/libbid/bid128_to_int8.c: Likewise.
11262         * config/libbid/bid128_to_uint16.c: Likewise.
11263         * config/libbid/bid128_to_uint32.c: Likewise.
11264         * config/libbid/bid128_to_uint64.c: Likewise.
11265         * config/libbid/bid128_to_uint8.c: Likewise.
11266         * config/libbid/bid32_to_bid128.c: Likewise.
11267         * config/libbid/bid32_to_bid64.c: Likewise.
11268         * config/libbid/bid64_add.c: Likewise.
11269         * config/libbid/bid64_compare.c: Likewise.
11270         * config/libbid/bid64_div.c: Likewise.
11271         * config/libbid/bid64_fma.c: Likewise.
11272         * config/libbid/bid64_logb.c: Likewise.
11273         * config/libbid/bid64_minmax.c: Likewise.
11274         * config/libbid/bid64_mul.c: Likewise.
11275         * config/libbid/bid64_next.c: Likewise.
11276         * config/libbid/bid64_noncomp.c: Likewise.
11277         * config/libbid/bid64_quantize.c: Likewise.
11278         * config/libbid/bid64_rem.c: Likewise.
11279         * config/libbid/bid64_round_integral.c: Likewise.
11280         * config/libbid/bid64_scalb.c: Likewise.
11281         * config/libbid/bid64_sqrt.c: Likewise.
11282         * config/libbid/bid64_string.c: Likewise.
11283         * config/libbid/bid64_to_bid128.c: Likewise.
11284         * config/libbid/bid64_to_int16.c: Likewise.
11285         * config/libbid/bid64_to_int32.c: Likewise.
11286         * config/libbid/bid64_to_int64.c: Likewise.
11287         * config/libbid/bid64_to_int8.c: Likewise.
11288         * config/libbid/bid64_to_uint16.c: Likewise.
11289         * config/libbid/bid64_to_uint32.c: Likewise.
11290         * config/libbid/bid64_to_uint64.c: Likewise.
11291         * config/libbid/bid64_to_uint8.c: Likewise.
11292         * config/libbid/bid_b2d.h: Likewise.
11293         * config/libbid/bid_binarydecimal.c: Likewise.
11294         * config/libbid/bid_conf.h: Likewise.
11295         * config/libbid/bid_convert_data.c: Likewise.
11296         * config/libbid/bid_decimal_data.c: Likewise.
11297         * config/libbid/bid_decimal_globals.c: Likewise.
11298         * config/libbid/bid_div_macros.h: Likewise.
11299         * config/libbid/bid_dpd.c: Likewise.
11300         * config/libbid/bid_flag_operations.c: Likewise.
11301         * config/libbid/bid_from_int.c: Likewise.
11302         * config/libbid/bid_functions.h: Likewise.
11303         * config/libbid/bid_gcc_intrinsics.h: Likewise.
11304         * config/libbid/bid_inline_add.h: Likewise.
11305         * config/libbid/bid_internal.h: Likewise.
11306         * config/libbid/bid_round.c: Likewise.
11307         * config/libbid/bid_sqrt_macros.h: Likewise.
11309 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
11311         * Makefile.in: Change copyright header to refer to version
11312         3 of the GNU General Public License and to point readers at the
11313         COPYING3 file and the FSF's license web page.
11314         * config.host: Likewise.
11316 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
11318         * config.host: Reorder and merge to match config.gcc change.
11320 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
11322         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11324 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
11326         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11327         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11328         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11329         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11331 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
11333         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11334         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11336 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
11338         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11339         ia64/t-softfp-compat to tmake_file.
11341         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11343         * config/ia64/__divxf3.asm: New.
11344         * config/ia64/_fixtfdi.asm: Likewise.
11345         * config/ia64/_fixunstfdi.asm: Likewise.
11346         * config/ia64/_floatditf.asm: Likewise.
11347         * config/ia64/t-fprules-softfp: Likewise.
11348         * config/ia64/t-softfp-compat: Likewise.
11349         * config/ia64/tf-signs.c: Likewise.
11351 2009-01-18  Ben Elliston  <bje@au.ibm.com>
11353         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11355 2009-01-16  Ben Elliston  <bje@au.ibm.com>
11357         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11358         to tmake_file.
11360 2009-01-13  Ben Elliston  <bje@au.ibm.com>
11362         * config/t-softfp: New file.
11363         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11364         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11366 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
11368         * config.host: Add m32r*-*-rtems*.
11370 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
11372         * config.host: Add m32c*-*-rtems*.
11374 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11376         PR bootstrap/33100
11377         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11378         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11379         * configure: Regenerate.
11380         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11381         tmake_file here from gcc/config.gcc.
11382         Move extra_parts here from gcc/config.gcc.
11383         * config/i386/t-sol2: Move here from gcc/config/i386.
11384         Use gcc_srcdir instead of srcdir.
11386 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
11388         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11389         case.
11391 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
11393         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11395 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
11397         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11399 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
11401         Add picoChip port.
11402         * config.host: Add picochip-*-*.
11404 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
11406         * config.host: Match more processor names for Xtensa.
11408 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
11410         * config/i386/64/t-softfp-compat: Update comments.
11412 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11414         * config/i386/64/_divtc3-compat.c: Moved to ...
11415         * config/i386/64/_divtc3.c: Here.
11417         * config/i386/64/_multc3-compat.c: Moved to ...
11418         * config/i386/64/_multc3.c: Here.
11420         * config/i386/64/_powitf2-compat.c: Moved to ...
11421         * config/i386/64/_powitf2.c: Here.
11423         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11424         .c suffix instead of -compat.c.
11426 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
11428         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11429         (_FP_MUL_MEAT_D): Ditto.
11430         (_FP_DIV_MEAT_S): Ditto.
11431         (_FP_DIV_MEAT_D): Ditto.
11433 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
11435         * Makefile.in: Add support for __sync_* libgcc functions.
11437 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
11439         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11441 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11443         PR boostrap/36702
11444         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11445         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
11447         * config/i386/64/t-fprules-softfp: Moved to ...
11448         * config/i386/64/t-softfp-compat: This.  New.
11450 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
11452         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11453         Initialize f with 0.0.
11455 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11457         PR target/36669
11458         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11460         * config/i386/64/_divtc3-compat.c: New.
11461         * config/i386/64/_multc3-compat.c: Likewise.
11462         * config/i386/64/_powitf2-compat.c: Likewise.
11463         * config/i386/64/eqtf2.c: Likewise.
11464         * config/i386/64/getf2.c: Likewise.
11465         * config/i386/64/letf2.c: Likewise.
11466         * config/i386/64/t-fprules-softfp: Likewise.
11468 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11470         * config.host: Add i386/${host_address}/t-fprules-softfp to
11471         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11472         i[34567]86-*-linux*, x86_64-*-linux*.
11474         * configure.ac: Set host_address to 64 or 32 for x86.
11475         * configure: Regenerated.
11477         * Makefile.in (config.status): Also depend on
11478         $(srcdir)/config.host.
11480         * config/i386/32/t-fprules-softfp: New.
11481         * config/i386/32/tf-signs.c: Likewise.
11483         * config/i386/64/sfp-machine.h: New. Moved from gcc.
11485 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11486             Uros Bizjak  <ubizjak@gmail.com>
11488         * config/i386/32/sfp-machine.h: New.
11490 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
11492         * config/rs6000/t-ppccomm: Remove rules that conflict with
11493         auto-generated rules.
11495 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11497         * configure.ac: sinclude override.m4.
11498         * configure: Regenerate.
11500 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
11502         * configure: Regenerate.
11504 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
11506         * Makefile.in (DECNUMINC): Remove
11507         -I$(MULTIBUILDTOP)../../libdecnumber.
11508         * gstdint.h: New.
11510 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
11512         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11513         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11514         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11515         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11516         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11517         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11518         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11519         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11520         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11521         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11522         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11523         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11524         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11525         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11527 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
11529         * config.host (sh2[lbe]*-*-linux*): Allow target.
11531 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
11533         * config/rs6000/t-ppccomm: Add build rules for new files.
11534         (LIB2ADD_ST): New variable.
11536 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
11538         PR target/34210
11539         PR target/35508
11540         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11541         * config/t-avr: New file. Build 16bit libgcc functions.
11543 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
11545         PR target/35401
11546         * config/t-slibgcc-darwin: Make install-leaf dependent on
11547         install-darwin-libgcc-stubs instead of install.
11549 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
11551         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11552         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11553         sh-*-rtemscoff*): Remove cases.
11555 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
11557         * Makefile.in (all): Use install-leaf rather than install.
11558         (install): Split most of the rule into...
11559         (install-leaf): ...this new one.
11561 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
11562             Paolo Bonzini  <bonzini@gnu.org>
11564         PR target/30572
11565         * Makefile.in: Use @shlib_slibdir@ substitution to get
11566         correct install name on darwin.
11567         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11569 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
11571         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11572         cris-*-elf and cris-*-none.
11573         (crisv32-*-linux*): Similar, as cris-*-linux*.
11575 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
11577         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11579 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
11581         PR regression/33926
11582         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11583         * configure: Regenerated.
11585 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
11587         * Makefile.in (dfp-filenames): Replace decimal_globals,
11588         decimal_data, binarydecimal and convert_data with
11589         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11590         and bid_convert_data, respectively.
11592 2007-09-17  Chao-ying Fu  <fu@mips.com>
11593             Nigel Stephens  <nigel@mips.com>
11595         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11596         * Makefile.in (fixed_point): Define.
11597         Check if fixed_point is yes to build support functions.
11598         * configure.ac: Check for fixed_point support.
11599         * configure: Regenerated.
11600         * gen-fixed.sh: New file to generate lists of fixed-point labels,
11601         funcs, modes, from, to.
11603 2007-09-11  Janis Johnson  <janis187@us.ibm.com
11605         * Makefile.in (dfp-filenames): Add bid128_noncomp.
11607 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
11609         * Makefile.in (dfp-filenames): Remove decUtility, add
11610         decDouble, decPacked, decQuad, decSingle.
11612 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
11614         * config.host : Add x86_64-elf target.
11616 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
11618         * configure.ac (set_have_cc_tls): Add a missing =.
11619         * configure: Regenerated.
11621 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
11623         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11624         and x86_64-*-linux*.
11626         * config/t-tls: New file.
11628         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11630         * configure.ac: Include ../config/enable.m4 and
11631         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
11632         supports TLS and substitute set_have_cc_tls.
11633         * configure: Regenerated.
11635 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
11637         * Makefile.in: Use libbid for DFP when BID is enabled.
11639 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
11641         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11642         extra_parts. Add config/i386/t-cygming to tmake_file.
11643         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11645 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
11646             Danny Smith  <dannysmith@users.sourceforge.net>
11648         PR target/29498
11649         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11650         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
11651         * config/i386/t-crtfm: Compile crtfastmath.o with
11652         -minline-all-stringops.
11654 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
11656         * config.host (sparc-wrs-vxworks): New target.
11658 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
11660         * config.host: Recognize fido.
11662 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
11664         * configure: Check host, not target, for decimal float support.
11666 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
11668         * config/i386/t-crtpc: New file.
11669         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11670         (x86_64-*-linux*): Ditto.
11672 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
11674         * config.host (x86_64-*-mingw*): New target.
11676 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
11677             H.J. Lu  <hongjiu.lu@intel.com>
11679         * Makefile.in (enable_decimal_float): New.
11680         (DECNUMINC): Add
11681         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11682         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11683         (decbits-filenames): This.
11684         (decbits-objects): New.
11685         (libgcc-objects): Add $(decbits-objects).
11687         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11688         Substitute enable_decimal_float.
11689         * configure: Regenerated.
11691 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
11693         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11695 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
11697         * Makefile.in (install-info): New dummy target.
11699 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
11701         * config.host (bfin*-linux-uclibc*): Set extra_parts.
11703 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
11705         * Makefile.in: Add install-html and install-pdf dummy
11706         targets.
11708 2007-02-05  Roger Sayle  <roger@eyesopen.com>
11709             Daniel Jacobowitz  <dan@codesourcery.com>
11711         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11712         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11713         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11715 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
11717         * Makefile.in (dec-filenames): Add decExcept.
11719 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
11721         PR bootstrap/30469
11722         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11723         -fprofile-use.
11725 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
11727         * configure.ac: Add --enable-version-specific-runtime-libs.
11728         Correct $slibdir default.
11729         * configure: Regenerated.
11731 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
11733         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11735 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
11737         PR target/30519
11738         * config.host (alpha*-*-linux*): Set extra_parts.
11740 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
11742         * config/sh/t-linux: New.
11743         * config.host (sh*-*-linux*): Set tmake_file.
11745 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
11747         * Makefile.in (install): Handle multilibs.
11749 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
11751         * Makefile.in: Added .PHONY entry for documentation targets.
11753 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
11755         * Makefile.in: Add empty info, html, dvi, pdf targets.
11757 2007-01-04  Mike Stump  <mrs@apple.com>
11759         * Makefile.in (MAKEINFO): Remove.
11760         (PERL): Likewise.
11762 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
11764         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11765         * configure: Regenerate.
11766         * Makefile.in (host_subdir): Substitute it.
11767         (gcc_objdir): Use it.
11769 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11771         * config.host (ia64*-*-linux*): Set tmake_file.
11773 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11775         * Makefile.in (version): Define.
11777 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11778             Paolo Bonzini  <bonzini@gnu.org>
11780         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11781         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11782         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11783         config/sparc/t-crtfm, config/t-slibgcc-darwin,
11784         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11785         shared-object.mk, siditi-object.mk, static-object.mk: New files.
11786         * configure: Generated.
11788 Copyright (C) 2007-2021 Free Software Foundation, Inc.
11790 Copying and distribution of this file, with or without modification,
11791 are permitted in any medium without royalty provided the copyright
11792 notice and this notice are preserved.