Daily bump.
[official-gcc.git] / libgcc / ChangeLog
blob5d8556977deb76a33e71fa8f4962332873ec01a4
1 2021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
3         PR libgcc/103044
4         * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
5         called with a null argument or at the end of the backtrace and return.
6         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
8 2021-11-10  Jakub Jelinek  <jakub@redhat.com>
10         * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
11         formatting fix.
13 2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
15         * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
16         * config/i386/darwin-lib.h: Declare Darwin10 crt function.
18 2021-11-05  John David Anglin  <danglin@gcc.gnu.org>
20         PR libgomp/96661
21         * config.host (hppa*64*-*-linux*): Revise tmake_file.
22         (hppa*64*-*-hpux11*): Likewise.
23         * config/pa/sfp-exceptions.c: New.
24         * config/pa/sfp-machine.h: New.
25         * config/pa/t-dimode: New.
26         * config/pa/t-softfp-sfdftf: New.
28 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
30         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
31         tmake_file.
32         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
33         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
34         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
35         * config/pa/t-linux64 (LIB1ASMSRC): New define.
36         (LIB1ASMFUNCS): Revise.
37         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
39 2021-10-22  Stafford Horne  <shorne@gmail.com>
41         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42         Change to 0.
44 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
46         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
47         outside of get_regs() in order to use it in another function, this
48         is done twice: for __powerpc64__ and for !__powerpc64__.
49         (struct trace_arg): New struct.
50         (struct layout): New struct.
51         (ppc_backchain_fallback): New function.
52         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
53         state and call MD_BACKCHAIN_FALLBACK.
55 2021-10-13  Martin Liska  <mliska@suse.cz>
57         PR gcov-profile/90364
58         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
59         checksums.
60         (write_one_data): Write also checksum.
61         * libgcov-util.c (read_gcda_file): Read also checksum field.
62         * libgcov.h (struct gcov_info): Add new field.
64 2021-10-08  Ian Lance Taylor  <iant@golang.org>
66         * config/i386/morestack.S: Use .init_array for constructor if
67         available.
68         * config/rs6000/morestack.S: Likewise.
69         * config/s390/morestack.S: Likewise.
71 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
73         PR target/101104
74         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
75         Use more correct values for native IBM 128-bit.
77 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
79         * config/i386/libgcc-darwin.ver: Add Symbols for
80         __cpu_model, __cpu_indicator_init.
82 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
84         * config/i386/sfp-machine.h: Guard Mach-O-specific code
85         using __APPLE__.
87 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
89         * config/t-slibgcc-darwin: Delete unused code.
91 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
93         * config/i386/t-darwin: Add in a vers file for X86-specific
94         symbols.
95         * config/t-darwin: Add the generic symbol maps here...
96         * config/t-slibgcc-darwin: ... removing from here.
97         * config/i386/libgcc-darwin.ver: New file.
99 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
101         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
102         and __mulhc3.
104 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
106         * config.host: Use convenience library for Darwin10
107         unwinder shim.
108         * config/t-darwin: Build Darwin10 unwinder shim as a
109         convenience library.
111 2021-09-13  Andrew Pinski  <apinski@marvell.com>
113         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
114         * config/m32r/libgcc-glibc.ver: Removed.
115         * config/m32r/t-linux: Removed.
117 2021-09-08  liuhongt  <hongtao.liu@intel.com>
119         * config/i386/t-softfp: Compile __{mul,div}hc3 into
120         libgcc_s.so.1.
122 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
123             Iain Sandoe  <iain@sandoe.co.uk>
125         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
126         and export *hf* and *hc* functions at GCC_12.0.0.
128 2021-09-06  liuhongt  <hongtao.liu@intel.com>
130         * Makefile.in: Adjust to support specific CFLAGS for each
131         libgcc source file.
132         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
133         related libgcc source files.
134         * config/i386/t-softfp: Ditto.
135         * config/i386/_divhc3.c: New file.
136         * config/i386/_mulhc3.c: New file.
138 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
140         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
141         alias_DFtype, alias_TFtype): New.
142         (ALIAS_SELECTOR): New.
143         (strong_alias): Use __typeof and a _Generic selector to
144         provide the type to the synthesized function.
146 2021-09-02  liuhongt  <hongtao.liu@intel.com>
148         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
149         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
150         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
151         * config/i386/t-softfp: Add hf soft-fp.
152         * config.host: Add i386/64/t-softfp.
153         * config/i386/64/t-softfp: New file.
155 2021-09-02  liuhongt  <hongtao.liu@intel.com>
157         * soft-fp/eqhf2.c: New file.
158         * soft-fp/extendhfdf2.c: New file.
159         * soft-fp/extendhfsf2.c: New file.
160         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
161         * soft-fp/truncdfhf2.c: New file
162         * soft-fp/truncsfhf2.c: New file
164 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
166         * unwind-arm-common.inc (abort): Remove.
168 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
170         * config/aarch64/value-unwind.h: Add missing runtime exception
171         paragraph.
172         * config/frv/frv-abi.h: Likewise.
173         * config/i386/value-unwind.h: Likewise.
174         * config/pa/pa64-hpux-lib.h: Likewise.
176 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
178         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
179         __gcc_qadd.
180         (__gcc_qadd): Call ldouble_qadd_internal.
181         (__gcc_qsub): Call ldouble_qadd_internal with second long double
182         argument negated.
184 2021-08-26  Jonathan Yong  <10walls@gmail.com>
186         * config/i386/cygming-crtend.c: Fix register_frame_ctor
187         and register_frame_dtor warnings.
189 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
191         PR target/102035
192         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
193         Add vlldm erratum work-around.
195 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
197         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
199 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
201         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
202         (gcov_type_unsigned): Likewise.
204 2021-08-14  Stafford Horne  <shorne@gmail.com>
206         PR target/99783
207         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
208         * config/or1k/t-crtstuff: New file.
210 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
212         * libgcov-driver.c (#include <stdint.h>): Remove.
213         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
215 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
217         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
218         * gcov.h (gcov_info): Declare.
219         (__gcov_info_to_gdca): Likewise.
220         * libgcov.h (gcov_write_counter): Remove.
221         (gcov_write_tag_length): Likewise.
222         * libgcov-driver.c (#include <stdint.h>): New.
223         (#include <string.h>): Remove.
224         (NEED_L_GCOV): Conditionally define.
225         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
226         (are_all_counters_zero): New.
227         (gcov_dump_handler): Likewise.
228         (gcov_allocate_handler): Likewise.
229         (dump_unsigned): Likewise.
230         (dump_counter): Likewise.
231         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
232         Use dump_unsigned() and dump_counter().
233         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
234         dump_unsigned(), dump_counter(), and are_all_counters_zero().
235         (__gcov_info_to_gcda): New.
237 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
239         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
240         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
241         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
242         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
244 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
246         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
248 2021-07-15  Alan Modra  <amodra@gmail.com>
250         * config/rs6000/morestack.S (R2_SAVE): Define.
251         (__morestack): Save and restore r2.  Set up r2 for called
252         functions.
254 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
256         * soft-fp/extendhfxf2.c: New file.
257         * soft-fp/truncxfhf2.c: Likewise.
259 2021-06-29  Julian Brown  <julian@codesourcery.com>
261         * config/gcn/lib2-bswapti2.c: New file.
262         * config/gcn/lib2-divmod-di.c: New file.
263         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
264         typedefs.
265         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
266         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
267         lib2-bswapti2.c.
269 2021-06-29  Julian Brown  <julian@codesourcery.com>
271         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
272         return types to USItype.
273         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
275 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
277         * configure: Regenerate.
278         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
279         typos among the name, CFLAGS and the test.
280         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
281         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
282         Remove.
283         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
284         macro FLOAT128_HW_INSNS_ISA3_1.
285         (FP128_3_1_CFLAGS_HW): Fix option typo.
286         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
287         FLOAT128_HW_INSNS_ISA3_1.
288         (__floattikf_resolve): Likewise.
289         (__floatuntikf_resolve): Likewise.
290         (__fixkfti_resolve): Likewise.
291         (__fixunskfti_resolve): Likewise.
292         (__floattikf): Likewise.
293         (__floatuntikf): Likewise.
294         (__fixkfti): Likewise.
295         (__fixunskfti): Likewise.
297 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
299         PR target/99939
300         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
301         macro.
302         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
303         on passing -mcmse option.
305 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
307         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
308         _ARCH_PPC64 .
310 2021-06-09  Carl Love  <cel@us.ibm.com>
312         * config.host: Add if test and set for
313         libgcc_cv_powerpc_3_1_float128_hw.
314         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
315         Change calls of __fixkfti to __fixkfti_sw.
316         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
317         Change calls of __fixunskfti to __fixunskfti_sw.
318         * config/rs6000/float128-p10.c (__floattikf_hw,
319         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
320         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
321         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
322         __fixunskfti_resolve): Add resolve functions.
323         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
324         * config/rs6000/float128-sed (floattitf, __floatuntitf,
325         __fixtfti, __fixunstfti): Add editor commands to change names.
326         * config/rs6000/float128-sed-hw (__floattitf,
327         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
328         change names.
329         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
330         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
331         * config/rs6000/quad-float128.h (__floattikf_sw,
332         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
333         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
334         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
335         * config/rs6000/t-float128 (floattikf, floatuntikf,
336         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
337         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
338         file names to fp128_ppc_funcs.
339         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
340         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
341         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
342         * config/rs6000/t-float128-p10-hw: New file.
343         * configure: Update script for isa 3.1 128-bit float support.
344         * configure.ac: Add check for 128-bit float hardware support.
345         * config/rs6000/fixkfti-sw.c: New file.
346         * config/rs6000/fixunskfti-sw.c: New file.
347         * config/rs6000/floattikf-sw.c: New file.
348         * config/rs6000/floatuntikf-sw.c: New file.
350 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
352         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
354 2021-05-13  Martin Liska  <mliska@suse.cz>
356         * libgcov-driver.c: Fix GNU coding style.
358 2021-05-10  Martin Liska  <mliska@suse.cz>
360         * libgcov-driver.c (gcov_version): Use different name that does
361         not clash with newly introduced macro.
363 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
365         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
366         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
367         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
369 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
371         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
372         Define.
373         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
374         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
375         Define.
376         (__divkc3): Improve complex divide.
378 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
380         PR target/98952
381         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
382         trampoline size comparison in 32-bit by reversing test and
383         combining load immediate with compare.
384         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
385         in 32-bit by reversing test and combining load immediate with
386         compare.
388 2021-04-05  Florian Weimer  <fweimer@redhat.com>
389             Michael Meissner   <meissner@linux.ibm.com>
391         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
392         point functions for $(decimal_float) only.
394 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
396         PR target/97653
397         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
398         $(objext) instead of $(object).  Use _floatunditf instead of
399         _floatunsditf.  Add tf <-> ti conversion objects.
400         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
402 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
404         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
405         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
406         (fp128_decstr_objs): Delete.
407         * dfp-bit.h: Call __sprintfieee128 to do conversions from
408         _Float128 to a Decimal type.  Call __strtoieee128 to do
409         conversions from a Decimal type to _Float128.
410         * config/rs6000/_sprintfkf.c: Delete file.
411         * config/rs6000/_sprintfkf.h: Delete file.
412         * config/rs6000/_strtokf.c: Delete file.
413         * config/rs6000/_strtokf.h: Delete file.
415 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
417         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
418         to __BYTE_ORDER__.
420 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
422         PR gcov-profile/99406
423         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
424         defined, define these macros if not defined already.
426 2021-03-04  Martin Liska  <mliska@suse.cz>
428         PR gcov-profile/99105
429         * libgcov-driver.c (write_top_counters): Rename to ...
430         (write_topn_counters): ... this.
431         (write_one_data): Pre-allocate buffer for number of items
432         in the corresponding linked lists.
433         * libgcov.h (malloc_mmap): New function.
434         (allocate_gcov_kvp): Use it.
436 2021-03-04  Martin Liska  <mliska@suse.cz>
438         PR gcov-profile/99385
439         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
441 2021-03-03  Martin Liska  <mliska@suse.cz>
443         PR gcov-profile/97461
444         * config.in: Regenerate.
445         * configure: Likewise.
446         * configure.ac: Check sys/mman.h header file
447         * libgcov-driver.c (struct gcov_kvp): Remove static
448         pre-allocated pool and use a dynamic one.
449         * libgcov.h (MMAP_CHUNK_SIZE): New.
450         (gcov_counter_add): Use mmap to allocate pool for struct
451         gcov_kvp.
453 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
455         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
456         the function.
457         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
459 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
461         PR libgcc/99236
462         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
463         negation of m in unsigned type.
465 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
466             Hau Hsu  <hsuhau617@gmail.com>
468         PR target/99157
469         * config/arm/t-arm: Fix cmse support detection.
471 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
473         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
475 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
477         * config/rs6000/_dd_to_kf.c: New file.
478         * config/rs6000/_kf_to_dd.c: New file.
479         * config/rs6000/_kf_to_sd.c: New file.
480         * config/rs6000/_kf_to_td.c: New file.
481         * config/rs6000/_sd_to_kf.c: New file.
482         * config/rs6000/_sprintfkf.c: New file.
483         * config/rs6000/_sprintfkf.h: New file.
484         * config/rs6000/_strtokf.h: New file.
485         * config/rs6000/_strtokf.c: New file.
486         * config/rs6000/_td_to_kf.c: New file.
487         * config/rs6000/quad-float128.h: Add new declarations.
488         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
489         (fp128_decstr_funcs): New macro.
490         (ibm128_dec_funcs): New macro.
491         (fp128_ppc_funcs): Add the new conversions.
492         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
493         compiled with -mabi=ieeelongdouble.
494         (fp128_decstr_objs): Force __float128 <-> string conversions to be
495         compiled with -mabi=ibmlongdouble.
496         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
497         compiled with -mabi=ieeelongdouble.
498         (FP128_CFLAGS_DECIMAL): New macro.
499         (IBM128_CFLAGS_DECIMAL): New macro.
500         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
501         (BFP_TO_DFP): Add PowerPC _Float128 support.
502         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
503         IEEE 128-bit floating point.
504         (DFP_TO_BFP): Add PowerPC _Float128 support.
505         (BFP_TO_DFP): Add PowerPC _Float128 support.
506         (BFP_SPRINTF): New macro.
508 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
510         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
511         * config/i386/savms64f.h: Likewise.
512         * config/i386/resms64.h: Likewise.
513         * config/i386/resms64f.h: Likewise.
514         * config/i386/resms64x.h: Likewise.
515         * config/i386/resms64fx.h: Likewise.
517 2021-01-26  Martin Liska  <mliska@suse.cz>
519         PR gcov-profile/98739
520         * libgcov.h (gcov_topn_add_value): Do not train when
521         we have a merged profile with a negative number of total
522         value.
524 2021-01-25  Martin Liska  <mliska@suse.cz>
526         PR gcov-profile/98739
527         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
528         ends with a dropped counter.
529         * libgcov.h (gcov_topn_add_value): Add return value.
531 2021-01-13  Stafford Horne  <shorne@gmail.com>
533         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
534         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
535         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
536         FP_EX_ALL): New constant macros.
537         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
538         FP_HANDLE_EXCEPTIONS): New macros.
539         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
541 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
543         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
544         posix siginfo case to struct handler_args. Detect between legacy
545         and siginfo from the second parameter, which is a small sigcode in
546         the legacy case, and a pointer in the siginfo case.
548 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
550         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
551         functions.
552         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
553         _bswapdi2.
555 2020-12-08  Ian Lance Taylor  <iant@golang.org>
557         * generic-morestack-thread.c (free_segments): Block signals during
558         thread exit.
560 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
562         PR libgcc/97543
563         PR libgcc/97643
564         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
565         (IBM128_SHARED_OBJS): New make variable.
566         (IBM128_OBJS): New make variable.  Set all objects to use the
567         explicit IBM format, and disable gnu attributes.
568         (IBM128_CFLAGS): New make variable.
569         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
570         modules.
572 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
574         * config/t-vxworks (LIB2ADD): Drop.
575         * config/t-vxworks7 (LIB2ADD): Likewise.
576         * config/vxcache.c: Remove.
578 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
580         * libgcc2.c (bswapsi2): Make constants unsigned.
582 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
584         * libgcc2.c (absvSI2): Simplify/improve implementation by using
585         builtin_add_overflow.
586         (absvsi2, absvDI2): Likewise.
588 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
590         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
591         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
593 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
595         * config/msp430/lib2hw_mul.S (mult64_hw): New.
596         (if MUL_32): Use mult64_hw for __muldi3.
597         (if MUL_F5): Use mult64_hw for __muldi3.
598         * config/msp430/lib2mul.c (__muldi3): New.
599         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
601 2020-11-17  Alan Modra  <amodra@gmail.com>
603         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
604         (LIB2_SIDITI_CONV_FUNCS): Define.
605         * config/rs6000/ppc64-fp.c: Delete file.
607 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
609         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
610         hwmult library functions.
612 2020-11-10  Jeff Law  <law@redhat.com>
614         * libgcc2.c: Fix whitespace issues in most recent change.
616 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
618         * libgcc2.c (__addvSI3): Use overflow builtins.
619         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
620         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
621         (__negvsi2, __negvDI2): Likewise.
622         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
623         generated code.
624         * libgcc2.h (__ucmpdi2): Adjust prototype.
626 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
627             Olivier Hainque   <hainque@adacore.com>
629         * config.host (aarch64-vxworks7*, tmake_file): Add
630         ${cpu_type}/t-lse and t-slibgcc-libgcc.
632 2020-11-03  Martin Storsjö  <martin@martin.st>
634         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
635         before calling the callback.
637 2020-10-30  Olivier Hainque  <hainque@adacore.com>
638             Douglas Rupp  <rupp@adacore.com>
639             Pat Bernardi  <bernardi@adacore.com>
641         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
642         to apply to VxWorks 7 as well.
644 2020-10-29  Olivier Hainque  <hainque@adacore.com>
646         * config/gthr-vxworks-tls.c: Fix preprocessor logic
647         controlling the definition of VX_ENTER_TLS_DTOR and
648         VX_LEAVE_TLS_DTOR based on a version major check.
650 2020-10-29  Olivier Hainque  <hainque@adacore.com>
652         * config/gthr-vxworks-thread.c: Fix name of macro used
653         to condition the inclusion of an actual implementation.
655 2020-10-27  Martin Liska  <mliska@suse.cz>
657         PR gcov-profile/97461
658         * libgcov.h (gcov_counter_add): Use first static counters
659         as it should help to have malloc wrappers set up.
661 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
663         * config/gthr-vxworks-thread.c: #include gthr.h before
664         testing the guard defined there.
665         * config/gthr-vxworks-cond.c: Likewise.
667 2020-10-21  Douglas Rupp  <rupp@adacore.com>
668             Olivier Hainque  <hainque@adacore.com>
670         * config.host (powerpc*-wrs-vxworks7*): New case.
671         * configure.ac: Handle powerpc*-*-vxworks7* as
672         powerpc*-*-linux* for ppc-fp_type.
673         * configure: Regenerate.
675 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
677         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
678         section on VxWorks >= 6.
679         * config/gthr-vxworks-thread.c: Condition the entire
680         implementation on __GTHREAD_CXX0X.
682 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
684         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
685         section on VxWorks >= 6.
686         * config/gthr-vxworks-cond.c: Condition the entire
687         implementation on __GTHREAD_HAS_COND.
689 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
691         * config/gthr-vxworks.c: #include <taskLib.h>.
693 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
695         * config/gthr-vxworks.h: Rewrite remaining occurrence
696         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
698 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
699              Olivier Hainque   <hainque@adacore.com>
701         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
702         except on VxWorks 6.
704 2020-10-16  Olivier Hainque  <hainque@adacore.com>
706         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
708 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
710         * config/gthr-vxworks-thread.c: Include stdlib.h.
711         (tls_delete_hook): Prototype it.
712         (__gthread_cond_signal): Return early if no waiters.  Consume
713         signal in case the semaphore got full.  Use semInfoGet instead
714         of kernel-mode-only semInfo.
715         (__gthread_cond_timedwait): Use semExchange.  Always take the
716         mutex again before returning.
717         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
719 2020-10-14  Olivier Hainque  <hainque@adacore.com>
721         * config/t-vxworks (LIBGCC2_INCLUDES): Append
722         $(MULTISUBDIR) to the -I path for fixed headers, as we
723         arrange to have different sets of such headers for different
724         multilibs when they are activated.
725         * config/t-vxworks7: Likewise.
727 2020-10-14  Olivier Hainque  <hainque@adacore.com>
729         * config/t-vxworks: Add include-fixed to include search
730         paths for libgcc on VxWorks.
731         * config/t-vxworks7: Likewise.
733 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
735         PR target/97148
736         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
737         instead of <cetintrin.h>.
739 2020-10-01  Alan Modra  <amodra@gmail.com>
741         * config/rs6000/morestack.S,
742         * config/rs6000/tramp.S: Support __PCREL__ code.
744 2020-10-01  Alan Modra  <amodra@gmail.com>
746         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
748 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
750         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
751         variable.
753 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
755         * config/aarch64/libgcc-softfp.ver: New file.
756         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
758 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
760         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
762 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
764         PR gcov-profile/96913
765         * libgcov-driver.c (write_one_data): Avoid function pointer
766         comparison in TOP streaming decision.
768 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
769             Christophe Lyon  <christophe.lyon@linaro.org>
771         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
772         qualifier.
773         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
774         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
775         missing prototypes.
777 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
779         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
780         unused variable warning.
782 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
784         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
786 2020-09-09  Tom de Vries  <tdevries@suse.de>
788         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
789         Wbuiltin-declaration-mismatch.
791 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
793         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
794         * config/msp430/srai.S (__gnu_mspabi_srap): New.
795         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
797 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
799         * config/nvptx/atomic.c: New.
800         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
802 2020-08-03  Ian Lance Taylor  <iant@golang.org>
804         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
806 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
808         PR target/96402
809         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
810         of x(tmp0), x(tmp1) in STXP arguments.
812 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
814         * config/riscv/save-restore.S [__riscv_xlen == 64]
815         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
816         (__riscv_save_2): Replace negative immediates used for the final
817         stack pointer adjustment with positive ones, right-shifted by 4.
819 2020-07-31  Martin Liska  <mliska@suse.cz>
821         * libgcov-driver.c: Add __gcov_kvp_pool
822         and __gcov_kvp_pool_index variables.
823         * libgcov.h (allocate_gcov_kvp): New.
824         (gcov_topn_add_value): Use it.
826 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
828         * config/aarch64/lse.S: Add PAC property note.
830 2020-07-23  Martin Liska  <mliska@suse.cz>
832         PR gcov-profile/96035
833         * libgcov-driver-system.c: Create gcov folders with 0777
834         so that it respects a system umask.
836 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
838         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
840 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
842         PR target/94891
843         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
844         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
845         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
846         (MD_DEMANGLE_RETURN_ADDR): This.
847         (aarch64_post_extract_frame_addr): Rename to ...
848         (aarch64_demangle_return_addr): This.
849         (aarch64_post_frob_eh_handler_addr): Remove.
850         * unwind-dw2.c (uw_update_context): Demangle return address.
851         (uw_frob_return_addr): Remove.
853 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
855         PR target/96001
856         * config/aarch64/lse.S: Add BTI marking and related definitions,
857         and add BTI c to function entries.
859 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
861         * config/aarch64/lse.S: Add stack note.
863 2020-07-02  Martin Liska  <mliska@suse.cz>
865         PR gcov-profile/95348
866         * libgcov-driver.c (merge_one_data): Merge only profiles
867         that are not of non-zero type.
868         (write_one_data): Write counters only if there's one non-zero
869         value.
870         * libgcov-util.c (tag_function): Change signature from unsigned
871         to int.
872         (tag_blocks): Likewise.
873         (tag_arcs): Likewise.
874         (tag_counters): Likewise.
875         (tag_summary): Likewise.
876         (tag_lines): Read only if COUNTERS is non-zero.
877         (read_gcda_file): Handle negative length for COUNTERS type.
879 2020-06-25  Martin Liska  <mliska@suse.cz>
881         * libgcov-driver.c (merge_summary): Remove function as its name
882         is misleading and doing something different.
883         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
884         in gcov-tool.
885         * libgcov-util.c (curr_object_summary): Remove.
886         (read_gcda_file): Remove unused curr_object_summary.
887         (gcov_merge): Merge summaries.
888         * libgcov.h: Add summary argument for gcov_info struct.
890 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
892         PR target/95259
893         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
894         "common/config/i386/i386-cpuinfo.h" and
895         "common/config/i386/cpuinfo.h".
896         (__cpu_features2): Changed to array.
897         (get_amd_cpu): Removed.
898         (get_intel_cpu): Likewise.
899         (get_available_features): Likewise.
900         (__cpu_indicator_init): Call cpu_indicator_init.
901         * config/i386/cpuinfo.h: Removed.
903 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
905         * Makefile.in: Remove uses of empty.mk. Use -include.
906         * config/avr/t-avr: Use -include.
907         * empty.mk: Delete.
909 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
911         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
912         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
913         and 64 bit with -maix64.
914         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
915         Build and install AIX-style FAT libraries.
917 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
919         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
920         'i386/gnu-unwind.h'
921         * config/i386/gnu-unwind.h: New file.
923 2020-06-17  Martin Liska  <mliska@suse.cz>
925         * libgcov-util.c (read_gcda_finalize): Remove const operator.
926         (merge_wrapper): Add both counts and use them properly.
927         (topn_to_memory_representation): New function.
928         (gcov_merge): Covert on disk representation to in memory
929         representation.
930         * libgcov.h: Remove const operator.
932 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
934         * configure: Regenerate.
935         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
936         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
938 2020-06-09  Martin Liska  <mliska@suse.cz>
940         PR gcov-profile/95494
941         * libgcov-driver.c (write_top_counters): Cast first to
942         intptr_t as sizeof(*) != sizeof(gcov_type).
943         * libgcov.h (gcov_counter_set_if_null): Remove.
944         (gcov_topn_add_value): Cast first to intptr_t and update
945         linked list directly.
947 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
949         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
950         with uw_install_context_1.
952 2020-06-04  Andreas Schwab  <schwab@suse.de>
954         PR target/59230
955         PR libfortran/59227
956         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
957         soft-fp/divtf3.c.
958         (LIB2ADD): Add config/ia64/divtf3.c.
959         * config/ia64/divtf3.c: New file.
961 2020-06-03  Martin Liska  <mliska@suse.cz>
963         PR gcov-profile/95480
964         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
965         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
966         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
967         (gcov_counter_set_if_null): Likewise.
969 2020-06-02  Jim Wilson  <jimw@sifive.com>
971         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
972         to bgtz.
974 2020-06-02  Martin Liska  <mliska@suse.cz>
976         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
977         of xmalloc.
979 2020-06-02  Martin Liska  <mliska@suse.cz>
981         * libgcov-driver.c (prune_topn_counter): Remove.
982         (prune_counters): Likewise.
983         (merge_one_data): Special case TOP N counters
984         as they have variable length.
985         (write_top_counters): New.
986         (write_one_data): Special case TOP N.
987         (dump_one_gcov): Do not prune TOP N counters.
988         * libgcov-merge.c (merge_topn_values_set): Remove.
989         (__gcov_merge_topn): Use gcov_topn_add_value.
990         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
991         Likewise here.
992         * libgcov.h (gcov_counter_add): New.
993         (gcov_counter_set_if_null): Likewise.
994         (gcov_topn_add_value): New.
996 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
998         * config/i386/sfp-exceptions.c (struct fenv):
999         Add __attribute__ ((gcc_struct)).
1001 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
1003         PR bootstrap/95413
1004         * configure: Regenerated.
1006 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
1008         PR gcov-profile/95332
1009         * libgcov-util.c (read_gcda_file): Call gcov_magic.
1010         * libgcov.h (gcov_magic): Disable GCC poison.
1012 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1014         PR target/95212
1015         * config/i386/cpuinfo.h (processor_features): Move
1016         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1018 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1020         PR target/91695
1021         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1022         check.
1024 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1026         PR target/95212
1027         PR target/95220
1028         * config/i386/cpuinfo.c (get_available_features): Fix
1029         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
1030         * config/i386/cpuinfo.h (processor_features): Add
1031         FEATURE_AVX512VP2INTERSECT.
1033 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1035         PR bootstrap/95147
1036         * configure: Regenerated.
1038 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1040         * configure: Regenerated.
1042 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
1044         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1045         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1047 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1049         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1050         (__math_force_eval_div): New define.
1051         (__sfp_handle_exceptions): Use __math_force_eval_div to use
1052         generic division to generate INVALID, DIVZERO and INEXACT
1053         exceptions.
1055 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1057         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1058         instead of getauxval.
1059         (AT_HWCAP): Define.
1060         (HWCAP_ATOMICS): Define.
1061         Guard detection on __gnu_linux__.
1063 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
1065         * config.host: Delete changes meant for a private branch.
1066         * config/rs6000/t-float128: Likewise.
1067         * configure.ac: Likewise.
1068         * configure: Likewise.
1070 2020-05-05  Martin Liska  <mliska@suse.cz>
1072         PR gcov-profile/93623
1073         * Makefile.in: Remove __gcov_flush.
1074         * gcov.h (__gcov_flush): Remove.
1075         * libgcov-interface.c (__gcov_flush): Remove.
1076         (init_mx): Use renamed mutex.
1077         (__gcov_lock): Likewise.
1078         (__gcov_unlock): Likewise.
1079         (__gcov_fork): Likewise.
1080         (__gcov_flush): Remove.
1082 2020-05-05  Martin Liska  <mliska@suse.cz>
1084         PR gcov-profile/93623
1085         * libgcov-interface.c (__gcov_fork): Do not flush
1086         and reset only in child process.
1087         (__gcov_execl): Dump counters only and reset them
1088         only if exec* fails.
1089         (__gcov_execlp): Likewise.
1090         (__gcov_execle): Likewise.
1091         (__gcov_execv): Likewise.
1092         (__gcov_execvp): Likewise.
1093         (__gcov_execve): Likewise.
1095 2020-05-05  Martin Liska  <mliska@suse.cz>
1097         PR gcov-profile/93623
1098         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1099         * libgcov-interface.c (ALIAS_void_fn): Remove.
1100         (__gcov_lock): New.
1101         (__gcov_unlock): New.
1102         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1103         (__gcov_reset): Likewise.
1104         (__gcov_dump): Likewise.
1105         * libgcov.h (__gcov_lock): New declaration.
1106         (__gcov_unlock): Likewise.
1108 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1110         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1111         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1112         generic division to generate INVALID and DIVZERO exceptions.
1114 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1116         * config/rs6000/crtresfpr.S: Use .machine ppc.
1117         * config/rs6000/crtresxfpr.S: Likewise.
1118         * config/rs6000/crtsavfpr.S: Likewise.
1120 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1122         PR target/94514
1123         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1124         Update context->flags accroding to the frame state.
1126 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1128         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1129         Remove unneeded assignments to volatile memory.
1131 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
1133         PR target/93053
1134         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1135         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1136         is not defined, use just .arch armv8-a.
1137         (B, M, N, OPN): Define.
1138         (COMMENT): New .macro.
1139         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1140         defined.  Otherwise, move the operands right after the glue? and
1141         comment out operands where the macros are used.
1142         * configure: Regenerated.
1143         * config.in: Regenerated.
1145 2020-04-07  Ian Lance Taylor  <iant@golang.org>
1147         PR libgcc/94513
1148         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1149         syscall instead.
1151 2020-04-04  Ian Lance Taylor  <iant@golang.org>
1153         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1155 2020-04-03  Ian Lance Taylor  <iant@golang.org>
1157         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1158         than mmap/munmap, to avoid hooks.
1160 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
1162         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1163         (TPFRA_OFFSET): Macros removed.
1164         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1165         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1166         (PG3_SKIPPING_OFFSET): New macros.
1167         (__isPATrange): Use cinfc_fast for the check.
1168         (__isSkipResetAddr): New function.
1169         (s390_fallback_frame_state): Check for skip trace addresses. Use
1170         either ICST_CRET or ICST_SRET to calculate return address
1171         location.
1172         (__tpf_eh_return): Handle skip trace addresses.
1174 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
1176         PR target/94220
1177         * config/arm/lib1funcs.asm (COND): Use a single definition for
1178         unified syntax.
1179         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1180         (aeabi_idivmod): Likewise.
1181         (divsi3_skip_div0_test): Likewise.
1183 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
1185         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1187 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
1189         * config.host: Include the new makefile fragment.
1190         * config/s390/t-tpf: New file.
1192 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
1194         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1195         syntax.
1196         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1197         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1198         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1199         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1200         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1201         syntax.
1202         (divsi3, modsi3): Likewise.
1203         (clzdi2, ctzsi2): Likewise.
1204         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1205         unified syntax.
1206         (UNWIND_WRAPPER): Likewise.
1208 2020-03-02  Martin Liska  <mliska@suse.cz>
1210         * libgcov-interface.c: Remove duplicate
1211         declaration of __gcov_flush_mx.
1213 2020-02-18  Martin Liska  <mliska@suse.cz>
1215         PR ipa/92924
1216         * libgcov-merge.c (merge_topn_values_set): Record
1217         when a TOP N counter becomes invalid.  When merging
1218         remove a smallest value if the space is needed.
1220 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
1222         PR libstdc++/79193
1223         PR libstdc++/88999
1225         * configure: Regenerated.
1227 2020-02-10  Jeff Law  <law@redhat.com>
1229         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1230         sections.
1231         * config/frv/frvend.c: Similarly.
1233 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
1235         PR libgcc/85334
1236         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1237         New.
1239 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
1241         PR target/93615
1242         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1243         _Unwind_gnu_Find_got.
1244         * unwind-pe.h: Likewise.
1246 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
1248         PR target/93615
1249         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1250         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
1251         trailing :s in asm.  Formatting fixes.
1252         (_Unwind_decode_typeinfo_ptr): Adjust caller.
1254 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
1256         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1258         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1259         * config/nios2-elf-lib.h: New.
1260         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1261         code for finding GOT base for nios2.
1263 2020-01-27  Martin Liska  <mliska@suse.cz>
1265         PR gcov-profile/93403
1266         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1267         Call __gcov_indirect_call_profiler_body.
1268         (__gcov_indirect_call_profiler_body): New.
1269         (__gcov_indirect_call_profiler_v4_atomic): New.
1270         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1271         New declaration.
1273 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
1275         * config/arc/crti.S: Add RF16 object attribute.
1276         * config/arc/crtn.S: Likewise.
1277         * config/arc/crttls.S: Likewise.
1278         * config/arc/lib1funcs.S: Likewise.
1279         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1280         * config/arc/lib2funcs.c: New file.
1281         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1283 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
1285         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1286         * configure.ac: Handle `--with-toolexeclibdir='.
1287         * configure: Regenerate.
1289 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
1291         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1293 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
1295         * config/mips/gnustack.h: New file.
1296         * config/mips/crti.S: Include gnustack.h.
1297         * config/mips/crtn.S: Likewise.
1298         * config/mips/mips16.S: Likewise.
1299         * config/mips/vr4120-div.S: Likewise.
1301 2020-01-23  Martin Liska  <mliska@suse.cz>
1303         * libgcov-driver.c (prune_topn_counter): Remove
1304         check for -1 as we only prune run-time counters
1305         that do not generate an invalid state.
1307 2020-01-22  Martin Liska  <mliska@suse.cz>
1309         PR tree-optimization/92924
1310         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1311         try to find an existing value, then find an empty slot
1312         if not found.
1314 2020-01-22  Martin Liska  <mliska@suse.cz>
1316         PR tree-optimization/92924
1317         * libgcov-driver.c (prune_topn_counter): New.
1318         (prune_counters): Likewise.
1319         (dump_one_gcov): Prune a run-time counter.
1320         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1321         For a known value, add GCOV_TOPN_VALUES to value.
1322         Otherwise, decrement all counters by one.
1324 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
1326         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1328 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
1330         PR libgcc/92988
1331         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1332         DEFAULT_USE_CXA_ATEXIT is true.
1334 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
1335             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1337         * config/arm/t-arm: Check return value of gcc rather than lack of
1338         output.
1340 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
1342         * config/avr/lib1funcs.S (skip): Simplify.
1344 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
1346         * config/gcn/atomic.c: Remove include of stdint.h.
1347         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1348         __UINTPTR_TYPE__.
1350 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
1352         * config/gcn/atomic.c: New.
1353         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1355 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
1357         Implement 64-bit double functions.
1359         PR target/92055
1360         * config.host (tmake_file) [target=avr]: Add t-libf7,
1361         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1362         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1363         depending on sizeof (double) or sizeof (long double).
1364         * config/avr/libf7: New folder.
1366 2020-01-05  Olivier Hainque  <hainque@adacore.com>
1368         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1369         by IN_LIBGCC2.
1371 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
1373         Update copyright years.
1375 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1377         * config/gthr-vxworks.h: Use _vxworks-versions.h.
1378         * config/gthr-vxworks-tls.c: Likewise.
1380 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1382         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1383         standard zero-initializer syntax.
1385 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1387         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1388         reference to the internal VX_GET_TLS_DATA interface.
1390 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1392         * config/vxcrtstuff.c: Fix incorrect spelling of
1393         USE_INITFINI_ARRAY in guard.
1395 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1397         * config.host: s/msp430*-*-elf/msp430-*-elf*.
1398         Override default "extra_parts" variable.
1399         * configure: Regenerate.
1400         * configure.ac: Disable TM clone registry by default for
1401         msp430-elfbare.
1403 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1405         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1406         "extra_parts".
1407         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1409 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1411         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1412         true.
1414 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1416         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1417         defined instead of its value.
1419 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1421         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1422         if it will have contents.
1424 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
1426         PR target/92055
1427         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1429 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1431         PR libgcc/91737
1432         * config.host: Add t-gthr-noweak on *-*-musl*.
1433         * config/t-gthr-noweak: New file.
1435 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
1437         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1438         volatile void *.  Remove trap check.
1439         (__kernel_cmpxchg2): Likewise.
1440         (FETCH_AND_OP_2): Adjust operand types.
1441         (OP_AND_FETCH_2): Likewise.
1442         (FETCH_AND_OP_WORD): Likewise.
1443         (OP_AND_FETCH_WORD): Likewise.
1444         (COMPARE_AND_SWAP_2): Likewise.
1445         (__sync_val_compare_and_swap_4): Likewise.
1446         (__sync_bool_compare_and_swap_4): Likewise.
1447         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1448         (__sync_lock_test_and_set_4): Likewise.
1449         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
1450         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
1451         for release.
1452         (__sync_lock_release_8): Remove.
1454 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1456         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1457         of __sigset_t.
1459 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
1460             Doug Rupp <rupp@adacore.com>
1461             Olivier Hainque  <hainque@adacore.com>
1463         * config.host: Collapse the arm-vxworks entries into
1464         a single arm-wrs-vxworks7* one.
1465         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
1466         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1467         kernel modules, to be overriden by libstdc++ when we link with
1468         it.  Rely on externally provided __exidx_start/end.
1470 2019-11-14  Doug Rupp  <rupp@adacore.com>
1471             Olivier Hainque  <hainque@adacore.com>
1473         * config.host: Handle aarch64*-wrs-vxworks7*.
1475 2019-11-12  Olivier Hainque  <hainque@adacore.com>
1477         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1478         sources except the cxx0x support to LIB2ADDEH.  We don't support
1479         cxx0x on AE/653.
1480         * config/t-vxworksae: New file.
1481         * config.host: Handle *-*-vxworksae: Add the two aforementioned
1482         Makefile fragment files at their expected position in the tmake_file
1483         list, in accordance with what is done for other VxWorks variants.
1485 2019-11-12  Corentin Gay  <gay@adacore.com>
1486             Jerome Lambourg  <lambourg@adacore.com>
1487             Olivier Hainque  <hainque@adacore.com>
1489         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1490         sources to LIB2ADDEH.
1491         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1492         * config/t-vxworks7: Likewise.
1494         * config.host: Append a block at the end of the file to add the
1495         t-gthr files to the tmake_file list for VxWorks after everything
1496         else.
1498         * config/vxlib.c: Rename as gthr-vxworks.c.
1499         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1501         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
1502         API and a basic error checking API, both internal.  Simplify the
1503         __gthread_once_t type definition and initializers.  Add sections
1504         for condition variables support and for the C++0x thread support,
1505         conditioned against Vx653 for the latter.
1507         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1508         implementation, leveraging the TAS internal API.
1509         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1510         API, leveraging the general availability of TLS services in VxWorks7
1511         post SR6xxx.
1512         (__gthread_setspecific, __gthread_setspecific): Use it.
1513         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1514         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
1515         support based on VxWorks primitives.
1516         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
1517         based on VxWorks primitives.
1519 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
1520             Olivier Hainque  <hainque@adacore.com>
1522         * config/vxcrtstuff.c: New file.
1523         * config/t-vxcrtstuff: New Makefile fragment.
1524         * config.host: Append t-vxcrtstuff to the tmake_file list
1525         on all VxWorks ports using dwarf for table based EH.
1527 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
1529         Support 64-bit double and 64-bit long double configurations.
1531         PR target/92055
1532         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1533         long double is a 32-bit type.
1534         * config/avr/t-avrlibc: Copy double64 and long-double64
1535         multilib(s) from the vanilla one.
1536         * config/avr/t-copy-libgcc: New Makefile snip.
1538 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1540         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1541         the target output object format is not ELF.
1542         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1544 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
1546         PR libgcc/78804
1547         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1548         * fp-bit.c (pack_d, unpack_d): Remove special cases for
1549         FLOAT_BIT_ORDER_MISMATCH.
1550         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1552 2019-11-01  Jim Wilson  <jimw@sifive.com>
1554         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1556 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1558         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1559         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
1560         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1561         Define symbols for 32-bit and f5series hardware multiply
1562         register addresses.
1563         Replace hard-coded register addresses with symbols.
1564         Fix "_mspabi*" typo.
1565         Fix whitespace.
1566         * config/msp430/lib2mul.c: Add comment.
1568 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
1570         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1571         unsigned int.  Adjust callers.
1572         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1573         unsigned int *.  Load relocation offset before function pointer.
1574         Add barrier to ensure ordering.
1576 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
1578         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1579         Load PIC register after branch target.  Fix white space.
1580         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1581         implementations.  Load PIC register after branch target.  Don't
1582         clobber function pointer when it points to function descriptor.
1583         Use nullification instead of branch in LINUX implementation.
1585 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
1587         * config/pa/fptr.c: Disable -Warray-bounds warning.
1589 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
1591         * config.in, configure: Re-rebuild with stock autoconf 2.69,
1592         not the ubuntu modified 2.69.
1594         PR target/91833
1595         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
1596         initialization if !HAVE_SYS_AUXV_H.
1597         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1598         * config.in, configure: Rebuild.
1600         PR target/91834
1601         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1602         overlap the inputs.
1604 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
1606         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1607         CTR_EL0.IDC and CTR_EL0.DIC.
1609 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
1611         Revert:
1612         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1613                 Mickaël Guêné <mickael.guene@st.com>
1615         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1616         architecture.
1618 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
1620         * config/aarch64/lse-init.c: New file.
1621         * config/aarch64/lse.S: New file.
1622         * config/aarch64/t-lse: New file.
1623         * config.host: Add t-lse to all aarch64 tuples.
1625 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1626         Mickaël Guêné <mickael.guene@st.com>
1628         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1629         architecture.
1631 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1632         Mickaël Guêné <mickael.guene@st.com>
1634         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1635         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1636         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1637         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1638         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1639         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1640         (__gnu_personality_sigframe_fdpic): New.
1641         (get_eit_entry): Add FDPIC signal frame support.
1643 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1644         Mickaël Guêné <mickael.guene@st.com>
1646         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1647         (__kernel_dmb): Likewise.
1648         (__fdpic_cmpxchg): New function.
1649         (__fdpic_dmb): New function.
1650         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1651         (gnu_Unwind_Find_got): New function.
1652         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1653         * unwind-arm-common.inc (UCB_PR_GOT): New.
1654         (funcdesc_t): New struct.
1655         (get_eit_entry): Add FDPIC support.
1656         (unwind_phase2): Likewise.
1657         (unwind_phase2_forced): Likewise.
1658         (__gnu_Unwind_RaiseException): Likewise.
1659         (__gnu_Unwind_Resume): Likewise.
1660         (__gnu_Unwind_Backtrace): Likewise.
1661         * unwind-pe.h (read_encoded_value_with_base): Likewise.
1663 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1664         Mickaël Guêné <mickael.guene@st.com>
1666         * libgcc/crtstuff.c: Add support for FDPIC.
1668 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1670         * config.host: Handle *-*-uclinuxfdpiceabi.
1672 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
1674         * config.host: Set cpu_type for bpf-*-* targets.
1675         * config/bpf/t-bpf: Likewise.
1676         * config/bpf/crtn.S: Likewise.
1677         * config/bpf/crti.S: New file.
1679 2019-09-06  Jim Wilson  <jimw@sifive.com>
1681         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1682         (riscv*-*-freebsd*): Likewise.
1684 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
1686         * config.host: Remove references to spu.
1687         * config/spu/: Remove directory.
1689 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1691         PR target/91306
1692         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1693         element type, instead of "sizeof" the element type.
1694         (__DTOR_LIST__): Likewise.
1695         (__TMC_LIST__): Likewise.
1696         (__do_global_dtors_aux_fini_array_entry): Likewise.
1697         (__frame_dummy_init_array_entry): Likewise.
1698         (__CTOR_END__): Likewise.
1699         (__DTOR_END__): Likweise.
1700         (__FRAME_END__): Likewise.
1701         (__TMC_END__): Likewise.
1703 2019-08-20  Lili Cui  <lilicui@intel.com>
1705         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1706         INTEL_COREI7_COOPERLAKE.
1708 2019-07-31  Matt Thomas  <matt@3am-software.com>
1709             Nick Hudson <nick@nthcliff.demon.co.uk>
1710             Matthew Green <mrg@eterna.com.au>
1711             Maya Rashish <coypu@sdf.org>
1713         * config.host (hppa*-*-netbsd*): New case.
1714         * config/pa/t-netbsd: New file.
1716 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
1718         * config/arm/cmse.c (cmse_check_address_range): Add
1719         warn_unused_result attribute.
1721 2019-07-22  Martin Liska  <mliska@suse.cz>
1723         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1724         * config/pa/t-stublib: Likewise.
1726 2019-07-22  Stafford Horne  <shorne@gmail.com>
1728         PR target/90362
1729         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1730         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1731         instructions are not available on every processor.  Change a
1732         l.bnf to l.bf to fix logic issue.
1734 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
1736         * config.host: Remove reference to t-darwin8.
1738 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
1740         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1741         list.
1742         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
1743         mmacosx-version-min for crts to run across all system versions.
1744         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1745         * config/t-darwin: Revise mmacosx-version-min for crts to run across
1746         system versions >= 10.4.
1748 2019-07-03  Martin Liska  <mliska@suse.cz>
1750         * Makefile.in: Use topn_values instead of one_value names.
1751         * libgcov-merge.c (__gcov_merge_single): Move to ...
1752         (__gcov_merge_topn): ... this.
1753         (merge_single_value_set): Move to ...
1754         (merge_topn_values_set): ... this.
1755         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1756         ...
1757         (__gcov_topn_values_profiler_body): ... this.
1758         (__gcov_one_value_profiler_v2): Move to ...
1759         (__gcov_topn_values_profiler): ... this.
1760         (__gcov_one_value_profiler_v2_atomic): Move to ...
1761         (__gcov_topn_values_profiler_atomic): ... this.
1762         (__gcov_indirect_call_profiler_v4): Remove.
1763         * libgcov-util.c (__gcov_single_counter_op): Move to ...
1764         (__gcov_topn_counter_op): ... this.
1765         * libgcov.h (L_gcov_merge_single): Remove.
1766         (L_gcov_merge_topn): New.
1767         (__gcov_merge_single): Remove.
1768         (__gcov_merge_topn): New.
1769         (__gcov_one_value_profiler_v2): Move to ..
1770         (__gcov_topn_values_profiler): ... this.
1771         (__gcov_one_value_profiler_v2_atomic): Move to ...
1772         (__gcov_topn_values_profiler_atomic): ... this.
1774 2019-07-03  Martin Liska  <mliska@suse.cz>
1776         * libgcov-merge.c (merge_single_value_set): Support N values.
1777         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1779 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
1781         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1782         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1783         * configure.ac: Add --disable-tm-clone-registry option.
1784         * configure: Regenerate.
1786 2019-06-27  Martin Liska  <mliska@suse.cz>
1788         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1789         dead assignments.
1790         * libgcov-util.c: Likewise.
1792 2019-06-27  Martin Liska  <mliska@suse.cz>
1794         * libgcov-util.c (gcov_profile_merge): Release allocated
1795         memory.
1796         (calculate_overlap): Likewise.
1798 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
1800         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1801         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1802         Build objects for the out of line save/restore register functions
1803         so that they can be used for any supported Darwin version.
1804         * config/t-darwin: Default the build Darwin version to Darwin8
1805         (MacOS 10.4).
1807 2019-06-25  Martin Liska  <mliska@suse.cz>
1809         * libgcov-driver-system.c (replace_filename_variables): Do not
1810         call strlen with NULL argument.
1812 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
1814         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1815         * config/gcn/unwind-gcn.c: New file.
1817 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
1818             Andrew Stubbs  <ams@codesourcery.com>
1820         * configure: Regenerate.
1821         * config/gcn/gthr-gcn.h: New.
1823 2019-06-18  Tom de Vries  <tdevries@suse.de>
1825         * config/nvptx/crt0.c (__main): Declare.
1827 2019-06-17  Matthew Green  <mrg@eterna.com.au>
1828             Maya Rashish  <coypu@sdf.org>
1830         * config.host (aarch64*-*-netbsd*): New case.
1832 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1834         * config/msp430/slli.S (__mspabi_sllll): New library function for
1835         performing a logical left shift of a 64-bit value.
1836         * config/msp430/srai.S (__mspabi_srall): New library function for
1837         performing a arithmetic right shift of a 64-bit value.
1838         * config/msp430/srll.S (__mspabi_srlll): New library function for
1839         performing a logical right shift of a 64-bit value.
1841 2019-06-14  Matt Thomas  <matt@3am-software.com>
1842             Matthew Green  <mrg@eterna.com.au>
1843             Nick Hudson  <skrll@netbsd.org>
1844             Maya Rashish  <coypu@sdf.org>
1846         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1847         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1848         functions to build.
1849         * config/arm/t-netbsd-eabi: New file.
1851 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
1853         * config.host: Add PRU target.
1854         * config/pru/asri.c: New file.
1855         * config/pru/eqd.c: New file.
1856         * config/pru/eqf.c: New file.
1857         * config/pru/ged.c: New file.
1858         * config/pru/gef.c: New file.
1859         * config/pru/gtd.c: New file.
1860         * config/pru/gtf.c: New file.
1861         * config/pru/led.c: New file.
1862         * config/pru/lef.c: New file.
1863         * config/pru/lib2bitcountHI.c: New file.
1864         * config/pru/lib2divHI.c: New file.
1865         * config/pru/lib2divQI.c: New file.
1866         * config/pru/lib2divSI.c: New file.
1867         * config/pru/libgcc-eabi.ver: New file.
1868         * config/pru/ltd.c: New file.
1869         * config/pru/ltf.c: New file.
1870         * config/pru/mpyll.S: New file.
1871         * config/pru/pru-abi.h: New file.
1872         * config/pru/pru-asm.h: New file.
1873         * config/pru/pru-divmod.h: New file.
1874         * config/pru/sfp-machine.h: New file.
1875         * config/pru/t-pru: New file.
1877 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
1879         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1881 2019-06-10  Martin Liska  <mliska@suse.cz>
1883         PR bootstrap/90808
1884         * libgcov.h: Add ATTRIBUTE_UNUSED.
1886 2019-06-10  Martin Liska  <mliska@suse.cz>
1888         * Makefile.in: Add __gcov_one_value_profiler_v2,
1889         __gcov_one_value_profiler_v2_atomic and
1890         __gcov_indirect_call_profiler_v4.
1891         * libgcov-merge.c (__gcov_merge_single): Change
1892         function signature.
1893         (merge_single_value_set): New.
1894         * libgcov-profiler.c (__gcov_one_value_profiler_body):
1895         Update functionality.
1896         (__gcov_one_value_profiler): Remove.
1897         (__gcov_one_value_profiler_v2): ... this.
1898         (__gcov_one_value_profiler_atomic): Rename to ...
1899         (__gcov_one_value_profiler_v2_atomic): this.
1900         (__gcov_indirect_call_profiler_v3): Rename to ...
1901         (__gcov_indirect_call_profiler_v4): ... this.
1902         * libgcov.h (__gcov_one_value_profiler): Remove.
1903         (__gcov_one_value_profiler_atomic): Remove.
1904         (__gcov_one_value_profiler_v2_atomic): New.
1905         (__gcov_indirect_call_profiler_v3): Remove.
1906         (__gcov_one_value_profiler_v2): New.
1907         (__gcov_indirect_call_profiler_v4): New.
1908         (gcov_get_counter_ignore_scaling): New function.
1910 2019-06-07  Martin Liska  <mliska@suse.cz>
1912         * Makefile.in: Remove usage of
1913         _gcov_merge_icall_topn.
1914         * libgcov-driver.c (gcov_sort_n_vals): Remove.
1915         (gcov_sort_icall_topn_counter): Likewise.
1916         (gcov_sort_topn_counter_arrays): Likewise.
1917         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1918         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1919         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1920         Likewise.
1921         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1922         (struct indirect_call_tuple): Remove.
1923         (__gcov_indirect_call_topn_profiler): Remove.
1924         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1925         * libgcov.h (gcov_sort_n_vals): Remove.
1926         (L_gcov_merge_icall_topn): Likewise.
1927         (__gcov_merge_icall_topn): Likewise.
1928         (__gcov_indirect_call_topn_profiler): Likewise.
1930 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
1932         * config/rs6000/t-darwin: Ensure that the unwinder is built with
1933         altivec enabled.
1935 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1937         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1938         section.
1939         (__mspabi_slli): Likewise.
1940         (__mspabi_slll_n): Likewise.
1941         (__mspabi_slll): Likewise.
1942         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1943         (__mspabi_srai): Likewise.
1944         (__mspabi_sral_n): Likewise.
1945         (__mspabi_sral): Likewise.
1946         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1947         (__mspabi_srli): Likewise.
1948         (__mspabi_srll_n): Likewise.
1949         (__mspabi_srll): Likewise.
1951 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
1953         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1954         Add appropriate tm_file clause as well.
1955         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1957 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
1959         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1960         rather than .data/.bss so it can be accessed via gp-relative
1961         addressing.
1963 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
1965         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1966         (CR2_REGNO): Rename to R_CR2.
1967         (XER_REGNO): Rename to R_XER.
1968         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1969         (VRSAVE_REGNO): Rename to R_VRSAVE.
1970         (VSCR_REGNO): R_VSCR.
1972 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
1974         * config.host (rx-*-linux*): Add new case.
1975         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1977 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
1979         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1980         function.
1981         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1982         aarch64_post_frob_eh_handler_addr): Add check for b-key.
1983         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1984         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1985         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1986         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1987         string.
1988         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1989         string.
1990         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1992 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1994         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1995         Remove Solaris 9 and 10 support.
1996         (sparc_is_sighandler): Likewise.
1998 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
2000         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2002 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2004         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2005         4_FP_W_TYPEs are used for IEEE quad precision.
2006         * soft-fp/extendhftf2.c: Likewise.
2007         * soft-fp/extendsftf2.c: Likewise.
2008         * soft-fp/extendxftf2.c: Likewise.
2009         * soft-fp/trunctfdf2.c: Likewise.
2010         * soft-fp/trunctfhf2.c: Likewise.
2011         * soft-fp/trunctfsf2.c: Likewise.
2012         * soft-fp/trunctfxf2.c: Likewise.
2013         * config/rs6000/ibm-ldouble.c: Likewise.
2015 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2017         * config.host: Simplify various *-*-solaris2.1[0-9]* to
2018         *-*-solaris2*.
2019         * configure.ac: Likewise.
2020         * configure: Regenerate.
2022         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2023         Solaris 10 and Solaris 11 < snv_125 handling.
2025 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
2027         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2029 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
2031         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2032         * config/i386/cpuinfo.h (enum processor_features): Add
2033         FEATURE_AVX512BF16.
2035 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2036             Bernd Edlinger  <bernd.edlinger@hotmail.de>
2037             Jakub Jelinek  <jakub@redhat.com>
2039         PR target/89093
2040         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2041         * config/arm/unwind-arm.c: Likewise.
2042         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2043         attribute for ARM.
2045 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
2047         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2048         (RT_SIGRETURN): Update.
2049         (nds32_fallback_frame_state): Update.
2051 2019-02-21  Martin Sebor  <msebor@redhat.com>
2053         * libgcc2.h (__clear_cache): Correct signature.
2054         * libgcc2.c (__clear_cache): Same.
2056 2019-02-20  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2058         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2059         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2061 2019-02-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2063         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2064         regno instead of index to DWARF_ZERO_REG.
2066 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
2068         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2069         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2071 2019-01-31  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2073         * config/alpha/t-linux: Add -mfp-rounding-mode=d
2074         to HOST_LIBGCC2_CFLAGS.
2076 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
2078         PR libgcc/88931
2079         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
2081 2019-01-18  Martin Liska  <mliska@suse.cz>
2083         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2084         to ...
2085         (__gcov_indirect_call_profiler_v3): ... this.
2086         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2087         (__gcov_indirect_call_profiler_v3): Likewise.
2088         * Makefile.in: Bump function name.
2090 2019-01-18  Martin Liska  <mliska@suse.cz>
2092         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2093         (gcov_version): Use in gcov_error.
2094         (merge_one_data): Likewise.
2095         (dump_one_gcov): Likewise.
2097 2019-01-18  Martin Liska  <mliska@suse.cz>
2099         * libgcov-driver.c (gcov_version_string): New function.
2100         (gcov_version): Convert version integer into string.
2102 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
2103             Kwok Cheung Yeung  <kcy@codesourcery.com>
2104             Julian Brown  <julian@codesourcery.com>
2105             Tom de Vries  <tom@codesourcery.com>
2107         * config.host: Recognize amdgcn*-*-amdhsa.
2108         * config/gcn/crt0.c: New file.
2109         * config/gcn/lib2-divmod-hi.c: New file.
2110         * config/gcn/lib2-divmod.c: New file.
2111         * config/gcn/lib2-gcn.h: New file.
2112         * config/gcn/sfp-machine.h: New file.
2113         * config/gcn/t-amdgcn: New file.
2115 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
2117         PR other/16615
2119         * config/c6x/libunwind.S: Mechanically replace "can not" with
2120         "cannot".
2121         * config/tilepro/atomic.h: Likewise.
2122         * config/vxlib-tls.c: Likewise.
2123         * generic-morestack-thread.c: Likewise.
2124         * generic-morestack.c: Likewise.
2125         * mkmap-symver.awk: Likewise.
2127 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
2129         Update copyright years.
2131 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
2133         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2134         to ignore -Waddress-of-packed-member.
2136 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
2138         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2139         parameter and corresponding code.
2140         (ARM_FUNC_START): Likewise in both definitions.
2141         Also update footer comment about condition that need to match with
2142         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2143         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2144         defined.  Weakly define it in this case.
2145         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2146         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2147         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2148         comment to keep condition in sync with the one in
2149         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2151 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
2153         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2154         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2156 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2158         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2159         and .cfi_endproc directives for VxWorks targets.
2161 2018-12-05  Paul Koning  <ni1d@arrl.net>
2163         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2165 2018-11-27  Alan Modra  <amodra@gmail.com>
2167         * config/rs6000/morestack.S (__stack_split_initialize),
2168         (__morestack_get_guard, __morestack_set_guard),
2169         (__morestack_make_guard): Provide CFI covering these functions.
2170         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2172 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2174         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2175         (sc_pt_regs_lr): Update for kernel.
2176         (sc_pt_regs_tls): Update for kernel.
2178 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2180         * config/csky/linux-unwind.h: Fix coding style.
2182 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2184         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2185         (csky_fallback_frame_state): Modify the check of the
2186         instructions to adapt to changes in the kernel
2188 2018-11-09  Stafford Horne  <shorne@gmail.com>
2189             Richard Henderson  <rth@twiddle.net>
2191         * config.host: Add OpenRISC support.
2192         * config/or1k/*: New.
2194 2018-11-08  Kito Cheng  <kito@andestech.com>
2196         * soft-fp/adddf3.c: Update from glibc.
2197         * soft-fp/addsf3.c: Likewise.
2198         * soft-fp/addtf3.c: Likewise.
2199         * soft-fp/divdf3.c: Likewise.
2200         * soft-fp/divsf3.c: Likewise.
2201         * soft-fp/divtf3.c: Likewise.
2202         * soft-fp/double.h: Likewise.
2203         * soft-fp/eqdf2.c: Likewise.
2204         * soft-fp/eqsf2.c: Likewise.
2205         * soft-fp/eqtf2.c: Likewise.
2206         * soft-fp/extenddftf2.c: Likewise.
2207         * soft-fp/extended.h: Likewise.
2208         * soft-fp/extendhftf2.c: Likewise.
2209         * soft-fp/extendsfdf2.c: Likewise.
2210         * soft-fp/extendsftf2.c: Likewise.
2211         * soft-fp/extendxftf2.c: Likewise.
2212         * soft-fp/fixdfdi.c: Likewise.
2213         * soft-fp/fixdfsi.c: Likewise.
2214         * soft-fp/fixdfti.c: Likewise.
2215         * soft-fp/fixhfti.c: Likewise.
2216         * soft-fp/fixsfdi.c: Likewise.
2217         * soft-fp/fixsfsi.c: Likewise.
2218         * soft-fp/fixsfti.c: Likewise.
2219         * soft-fp/fixtfdi.c: Likewise.
2220         * soft-fp/fixtfsi.c: Likewise.
2221         * soft-fp/fixtfti.c: Likewise.
2222         * soft-fp/fixunsdfdi.c: Likewise.
2223         * soft-fp/fixunsdfsi.c: Likewise.
2224         * soft-fp/fixunsdfti.c: Likewise.
2225         * soft-fp/fixunshfti.c: Likewise.
2226         * soft-fp/fixunssfdi.c: Likewise.
2227         * soft-fp/fixunssfsi.c: Likewise.
2228         * soft-fp/fixunssfti.c: Likewise.
2229         * soft-fp/fixunstfdi.c: Likewise.
2230         * soft-fp/fixunstfsi.c: Likewise.
2231         * soft-fp/fixunstfti.c: Likewise.
2232         * soft-fp/floatdidf.c: Likewise.
2233         * soft-fp/floatdisf.c: Likewise.
2234         * soft-fp/floatditf.c: Likewise.
2235         * soft-fp/floatsidf.c: Likewise.
2236         * soft-fp/floatsisf.c: Likewise.
2237         * soft-fp/floatsitf.c: Likewise.
2238         * soft-fp/floattidf.c: Likewise.
2239         * soft-fp/floattihf.c: Likewise.
2240         * soft-fp/floattisf.c: Likewise.
2241         * soft-fp/floattitf.c: Likewise.
2242         * soft-fp/floatundidf.c: Likewise.
2243         * soft-fp/floatundisf.c: Likewise.
2244         * soft-fp/floatunditf.c: Likewise.
2245         * soft-fp/floatunsidf.c: Likewise.
2246         * soft-fp/floatunsisf.c: Likewise.
2247         * soft-fp/floatunsitf.c: Likewise.
2248         * soft-fp/floatuntidf.c: Likewise.
2249         * soft-fp/floatuntihf.c: Likewise.
2250         * soft-fp/floatuntisf.c: Likewise.
2251         * soft-fp/floatuntitf.c: Likewise.
2252         * soft-fp/gedf2.c: Likewise.
2253         * soft-fp/gesf2.c: Likewise.
2254         * soft-fp/getf2.c: Likewise.
2255         * soft-fp/half.h: Likewise.
2256         * soft-fp/ledf2.c: Likewise.
2257         * soft-fp/lesf2.c: Likewise.
2258         * soft-fp/letf2.c: Likewise.
2259         * soft-fp/muldf3.c: Likewise.
2260         * soft-fp/mulsf3.c: Likewise.
2261         * soft-fp/multf3.c: Likewise.
2262         * soft-fp/negdf2.c: Likewise.
2263         * soft-fp/negsf2.c: Likewise.
2264         * soft-fp/negtf2.c: Likewise.
2265         * soft-fp/op-1.h: Likewise.
2266         * soft-fp/op-2.h: Likewise.
2267         * soft-fp/op-4.h: Likewise.
2268         * soft-fp/op-8.h: Likewise.
2269         * soft-fp/op-common.h: Likewise.
2270         * soft-fp/quad.h: Likewise.
2271         * soft-fp/single.h: Likewise.
2272         * soft-fp/soft-fp.h: Likewise.
2273         * soft-fp/subdf3.c: Likewise.
2274         * soft-fp/subsf3.c: Likewise.
2275         * soft-fp/subtf3.c: Likewise.
2276         * soft-fp/truncdfsf2.c: Likewise.
2277         * soft-fp/trunctfdf2.c: Likewise.
2278         * soft-fp/trunctfhf2.c: Likewise.
2279         * soft-fp/trunctfsf2.c: Likewise.
2280         * soft-fp/trunctfxf2.c: Likewise.
2281         * soft-fp/unorddf2.c: Likewise.
2282         * soft-fp/unordsf2.c: Likewise.
2283         * soft-fp/unordtf2.c: Likewise.
2285 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
2287         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2288         * config/i386/cpuinfo.h (processor_types): Add znver2.
2290 2018-11-01  Paul Koning  <ni1d@arrl.net>
2292         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2293         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2295 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
2297         PR bootstrap/82856
2298         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
2299         * configure: Regenerate.
2301 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
2303         * config/arc/lib1funcs.S (_muldi3): New function.
2304         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2306 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2308         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2310 2018-10-25  Martin Liska  <mliska@suse.cz>
2312         PR other/87735
2313         * libgcov-profiler.c: Revert.
2315 2018-10-24  Martin Liska  <mliska@suse.cz>
2317         * libgcov-profiler.c: Start from 1 in order to distinguish
2318         functions which were seen and these that were not.
2320 2018-10-18  Paul Koning  <ni1d@arrl.net>
2322         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2323         standard.
2324         * divmod.c: Update references to __udivmodsi4.
2325         * udivmod.c: Ditto.
2326         * udivhi3.c: New file.
2327         * udivmodhi4.c: New file.
2328         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2330 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2332         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2334 2018-10-12  Olivier Hainque  <hainque@adacore.com>
2336         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2337         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2339 2018-10-08  Paul Koning  <ni1d@arrl.net>
2341         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2343 2018-10-04  Martin Liska  <mliska@suse.cz>
2345         PR gcov-profile/84107
2346         * libgcov-profiler.c (__gcov_indirect_call):
2347         Change type to indirect_call_tuple.
2348         (struct indirect_call_tuple): New struct.
2349         (__gcov_indirect_call_topn_profiler): Change type.
2350         (__gcov_indirect_call_profiler_v2): Use the new
2351         variables.
2352         * libgcov.h (struct indirect_call_tuple): New struct
2353         definition.
2355 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
2357         * libgcc2.c (isnan): Use __builtin_isnan.
2358         (isfinite): Use __builtin_isfinite.
2359         (isinf): Use __builtin_isinf.
2361 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
2363         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2365 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
2367         * config/vxcache.c: New file.  Provide __clear_cache, based on
2368         the cacheTextUpdate VxWorks service.
2369         * config/t-vxworks (LIB2ADD): Add vxcache.c.
2370         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2371         * config/t-vxwoks7: Likewise.
2373 2018-09-21  Martin Liska  <mliska@suse.cz>
2375         * libgcov-driver.c (crc32_unsigned): Remove.
2376         (gcov_histogram_insert): Likewise.
2377         (gcov_compute_histogram): Likewise.
2378         (compute_summary): Simplify rapidly.
2379         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2380         (merge_summary): Rapidly simplify.
2381         (dump_one_gcov): Ignore gcov_summary.
2382         (gcov_do_dump): Do not handle program summary, it's not
2383         used.
2384         * libgcov-util.c (tag_summary): Remove.
2385         (read_gcda_finalize): Fix coding style.
2386         (read_gcda_file): Initialize curr_object_summary.
2387         (compute_summary): Remove.
2388         (calculate_overlap): Remove settings of run_max.
2390 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
2392         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2393         ucontext_t type instead.
2394         (nds32_fallback_frame_state): Remove struct _sigframe statement.
2396 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
2398         * config/nds32/t-nds32-glibc: New file.
2400 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2402         * configure.ac (solaris_ld_v2_maps): New test.
2403         * configure: Regenerate.
2404         * Makefile.in (solaris_ld_v2_maps): New variable.
2405         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2406         if supported.
2408 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
2410         PR target/86951
2411         * config/arm/lib1funcs.asm (speculation_barrier): New function.
2412         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2413         to build.
2415 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
2417         * config/unwind-dw2-fde-darwin.c
2418         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2419         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
2420         * config/t-darwin: Build Darwin10 unwinder shim crt.
2421         * libgcc/config.host: Add the Darwin10 unwinder shim.
2423 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2425         * config.host: Add crtbegin.o and crtend.o for
2426         powerpc-wrs-vxworks target.
2428 2018-08-17  Jojo  <jijie_rong@c-sky.com>
2429             Huibin Wang  <huibin_wang@c-sky.com>
2430             Sandra Loosemore  <sandra@codesourcery.com>
2431             Chung-Lin Tang  <cltang@codesourcery.com>
2433         C-SKY port: libgcc
2435         * config.host: Add C-SKY support.
2436         * config/csky/*: New.
2438 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
2440         * config/nds32/t-nds32-isr: Rearrange object dependency.
2441         * config/nds32/initfini.c: Add dwarf2 unwinding support.
2442         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2443         and registers usage.
2444         * config/nds32/isr-library/excp_isr.S: Ditto.
2445         * config/nds32/isr-library/intr_isr.S: Ditto.
2446         * config/nds32/isr-library/reset.S: Ditto.
2447         * config/nds32/isr-library/restore_all.inc: Ditto.
2448         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2449         * config/nds32/isr-library/restore_partial.inc: Ditto.
2450         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2451         * config/nds32/isr-library/save_all.inc: Ditto.
2452         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2453         * config/nds32/isr-library/save_partial.inc: Ditto.
2454         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2455         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2457 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
2459         * config/pa/linux-atomic.c: Update comment.
2460         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2461         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2462         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2463         __ATOMIC_RELAXED for atomic loads.
2464         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
2465         unordered store to release lock.
2466         (__sync_lock_release_8): Likewise.
2467         (SYNC_LOCK_RELEASE_2): Remove define.
2469 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
2471         PR libgcc/86512
2472         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2473         exponent goes negative. Update my email address.
2474         * config/arm/ieee754-sf.S: Likewise.
2476 2018-08-01  Martin Liska  <mliska@suse.cz>
2478         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2479         check that  __gcov_indirect_call_callee is non-null.
2481 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
2483         * config/arm/ieee754-df.S: Fix comment for code working on
2484         architectures >= 4.
2485         * config/arm/ieee754-sf.S: Likewise.
2487 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2489         PR libgcc/85334
2490         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2491         Removed.
2493 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
2495         * configure: Regenerated.
2497 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2499         * Makefile.in (install_leaf): Use enable_gcov instead of
2500         enable_libgcov.
2502 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2504         * configure.ac: Add --disable-gcov option.
2505         * configure: Regenerate.
2506         * Makefile.in: Honour @enable_gcov@.
2508 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
2510         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2511         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2512         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2513         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2514         __ARM_ARCH__.
2515         * config/arm/ieee754-sf.S: Likewise.
2516         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2518 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
2520         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2521         longer supported.
2522         * config/arm/ieee754-sf.S: Likewise.
2524 2018-06-20  Than McIntosh  <thanm@google.com>
2526         PR libgcc/86213
2527         * generic-morestack.c (allocate_segment): Move calls to getenv and
2528         getpagesize to __morestack_load_mmap.
2529         (__morestack_load_mmap) Initialize static_pagesize and
2530         use_guard_page here so as to avoid clobbering SSE regs during a
2531         __morestack call.
2533 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
2535         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2536         support modules with -mno-gnu-attribute.
2537         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2539 2018-06-07  Olivier Hainque  <hainque@adacore.com>
2541         * config/t-vxworks (LIBGCC_INCLUDES): Add
2542         -I$(MULTIBUILDTOP)../../gcc/include.
2543         * config/t-vxworks7: Likewise. Reformat a bit to match
2544         the t-vxworks layout.
2546 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
2548         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2550 2018-06-07  Martin Liska  <mliska@suse.cz>
2552         * libgcov-driver.c: Rename cs_all to all and assign it from
2553         all_prg.
2555 2018-06-07  Martin Liska  <mliska@suse.cz>
2557         PR bootstrap/86057
2558         * libgcov-driver-system.c (replace_filename_variables): Use
2559         memcpy instead of mempcpy.
2560         (allocate_filename_struct): Do not allocate filename, allocate
2561         prefix and set it.
2562         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2563         here and properly copy content into it.
2564         * libgcov-driver.c (struct gcov_filename): Remove max_length
2565         field, change prefix from size_t into char *.
2566         (compute_summary): Do not calculate longest filename.
2567         (gcov_do_dump): Release memory of gf.filename after each file.
2568         * libgcov-util.c (compute_summary): Use new signature of
2569         compute_summary.
2570         (calculate_overlap): Likewise.
2572 2018-06-05  Martin Liska  <mliska@suse.cz>
2574         PR gcov-profile/47618
2575         * libgcov-driver-system.c (replace_filename_variables): New
2576         function.
2577         (gcov_exit_open_gcda_file): Use it.
2579 2018-06-05  Martin Liska  <mliska@suse.cz>
2581         * libgcov-driver.c (gcov_compute_histogram): Remove usage
2582         of gcov_ctr_summary.
2583         (compute_summary): Do it just for a single summary.
2584         (merge_one_data): Likewise.
2585         (merge_summary): Simplify as we read just single summary.
2586         (dump_one_gcov): Pass proper argument.
2587         * libgcov-util.c (compute_one_gcov): Simplify as we have just
2588         single summary.
2589         (gcov_info_count_all_cold): Likewise.
2590         (calculate_overlap): Likewise.
2592 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
2593             Monk Chiang  <sh.chiang04@gmail.com>
2595         * config.host (nds32*-linux*): New.
2596         * config/nds32/linux-atomic.c: New file.
2597         * config/nds32/linux-unwind.h: New file.
2599 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
2601         PR target/85591
2602         * config/i386/cpuinfo.c (get_amd_cpu): Return
2603         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2605 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
2607         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2609 2018-05-29  Martin Liska  <mliska@suse.cz>
2611         PR gcov-profile/85759
2612         * libgcov-driver-system.c (gcov_error): Introduce usage of
2613         GCOV_EXIT_AT_ERROR env. variable.
2614         * libgcov-driver.c (merge_one_data): Print error that we
2615         overwrite a gcov file with a different timestamp.
2617 2018-05-23  Kalamatee  <kalamatee@gmail.com>
2619         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2620         path to Lf$finfty.
2622 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
2623             Monk Chiang  <sh.chiang04@gmail.com>
2624             Jim Wilson <jimw@sifive.com>
2626         * config/riscv/save-restore.S: Add support for rv32e.
2628 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2630         * config/arm/libunwind.S: Update comment relating to armv5.
2632 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
2634         * config/arm/cmse.c (cmse_check_address_range): Replace
2635         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2637 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
2639         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2640         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2642 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
2644         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2645         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2647 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
2649         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2651 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
2652             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2654         PR libgcc/84292
2655         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2656         op_and_fetch to return the right result.
2658 2018-04-27  Alan Modra  <amodra@gmail.com>
2660         PR libgcc/85532
2661         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2662         -fno-asynchronous-unwind-tables.
2664 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
2666         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2667         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2669 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
2671         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2672         when including "config/i386/shadow-stack-unwind.h".
2674 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
2676         * configure: Regenerated.
2678 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
2680         PR target/85456
2681         * config/rs6000/_powikf2.c: New file.  Add support for the
2682         __builtin_powil function when long double is IEEE 128-bit floating
2683         point.
2684         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2685         __powikf2 support.
2686         (__powikf2): Likewise.
2687         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2688         (__powikf2_hw): Likewise.
2689         (__powikf2): Likewise.
2690         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2691         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2692         (_powikf2-hw.c): Likewise.
2694 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
2696         PR libgcc/85334
2697         * unwind-generic.h (_Unwind_Frames_Increment): New.
2698         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2699         Likewise.
2700         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2701         count with _Unwind_Frames_Increment.
2702         (_Unwind_ForcedUnwind_Phase2): Likewise.
2704 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
2706         PR libgcc/85379
2707         * config/i386/morestack.S (__stack_split_initialize): Add
2708         _CET_ENDBR.
2710 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
2712         * configure: Regenerated.
2714 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
2716         PR jit/85384
2717         * configure: Regenerate.
2719 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
2721         PR target/84945
2722         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2723         -Wdangling-else warnings.  Mask shift counts to avoid
2724         -Wshift-count-negative and -Wshift-count-overflow false positives.
2726 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
2728         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2730 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
2732         PR target/85100
2733         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2734         (XSTATE_FP): Likewise.
2735         (XSTATE_SSE): Likewise.
2736         (XSTATE_YMM): Likewise.
2737         (XSTATE_OPMASK): Likewise.
2738         (XSTATE_ZMM): Likewise.
2739         (XSTATE_HI_ZMM): Likewise.
2740         (XCR_AVX_ENABLED_MASK): Likewise.
2741         (XCR_AVX512F_ENABLED_MASK): Likewise.
2742         (get_available_features): Enable AVX and AVX512 features only
2743         if their states are supported by OSXSAVE.
2745 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2747         PR target/85025
2748         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2749         Fix a typo, tmp => 255.
2751 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
2753         PR target/84945
2754         * config/i386/cpuinfo.h (__cpu_features2): Declare.
2755         * config/i386/cpuinfo.c (__cpu_features2): New variable for
2756         ifndef SHARED only.
2757         (set_feature): Define.
2758         (get_available_features): Use set_feature macro.  Set __cpu_features2
2759         to the second word of features ifndef SHARED.
2761 2018-03-15  Julia Koval  <julia.koval@intel.com>
2763         * config/i386/cpuinfo.c (get_available_features): Add
2764         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2765         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2766         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2767         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2768         FEATURE_AVX512BITALG.
2770 2018-03-14  Julia Koval  <julia.koval@intel.com>
2772         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2773         icelake client and icelake server.
2775 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
2777         * config/pa/fptr.c (_dl_read_access_allowed): New.
2778         (__canonicalize_funcptr_for_compare): Use it.
2780 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
2782         PR debug/83917
2783         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2784         $asm_hidden_op if visibility ("hidden") attribute works.
2785         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2786         * config/i386/i386-asm.h: Don't include auto-host.h.
2787         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2788         PACKAGE_URL): Don't undefine.
2789         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2790         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2791         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2792         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2793         definition instead of hardcoded .hidden.
2794         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2795         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2796         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2797         (USE_GAS_CFI_DIRECTIVES): Don't define.
2798         * configure: Regenerated.
2799         * config.in: Likewise.
2801 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
2803         PR debug/83917
2804         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2805         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2806         inclusion of auto-target.h and auto-host.h.
2807         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2808         __GCC_HAVE_DWARF2_CFI_ASM.
2809         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2810         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2811         cfi_pop): Define.
2812         * config/i386/cygwin.S: Don't include auto-host.h here, just
2813         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2814         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2815         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2816         * config/i386/resms64fx.h: Add cfi_* directives.
2817         * config/i386/resms64x.h: Likewise.
2819 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
2821         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2822         .literal_position directive.
2823         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2825 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2827         PR target/84148
2828         * configure: Regenerate.
2830 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2832         PR target/84239
2833         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2834         Include cetintrin.h not x86intrin.h.
2836 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2838         PR target/84239
2839         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2840         Use new _get_ssp and _inc_ssp intrinsics.
2842 2018-02-02  Julia Koval  <julia.koval@intel.com>
2844         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2846 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
2848         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2849         option.
2850         (__divsi3): Use RF16 safe registers.
2851         (__modsi3): Likewise.
2853 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
2855         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2856         (__divsf3): Make NaN return value quiet.
2857         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2858         (__divdf3): Make NaN return value quiet.
2860 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2862         * config/rl78/anddi3.S: New assembly file.
2863         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2865 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2867         * config/rl78/umindi3.S: New assembly file.
2868         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2870 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2872         * config/rl78/smindi3.S: New assembly file.
2873         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2875 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2877         * config/rl78/smaxdi3.S: New assembly file.
2878         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2880 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2882         * config/rl78/umaxdi3.S: New assembly file.
2883         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2885 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
2887         PR lto/83452
2888         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2889         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2891 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
2893         * config/aarch64/value-unwind.h (aarch64_vg): New function.
2894         (DWARF_LAZY_REGISTER_VALUE): Define.
2895         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2896         to provide a fallback register value.
2898 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
2900         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2901         __ibm128, instead of trying to use long double.
2902         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2903         accomidate -mabi=ieeelongdouble multilibs.
2904         (CVT_IBM128_TO_FLOAT128): Likewise.
2905         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2906         the appropriate IBM extended double type.
2907         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2908         (__gcc_qsub): Likewise.
2909         (__gcc_qmul): Likewise.
2910         (__gcc_qdiv): Likewise.
2911         (pack_ldouble): Likewise.
2912         (__gcc_qneg): Likewise.
2913         (__gcc_qeq): Likewise.
2914         (__gcc_qne): Likewise.
2915         (__gcc_qge): Likewise.
2916         (__gcc_qle): Likewise.
2917         (__gcc_stoq): Likewise.
2918         (__gcc_dtoq): Likewise.
2919         (__gcc_itoq): Likewise.
2920         (__gcc_utoq): Likewise.
2921         (__gcc_qunord): Likewise.
2922         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2923         quad-float128.h for the definitions.
2924         (COPYSIGN): Use the f128 version instead of the q version.
2925         (INFINITY): Likewise.
2926         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2927         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2928         quad-float128.h for the definitions.
2929         (COPYSIGN): Use the f128 version instead of the q version.
2930         (INFINITY): Likewise.
2931         (FABS): Likewise.
2932         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2933         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2934         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2936 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2938         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2939         configuration.
2941 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
2943         Update copyright years.
2945 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
2947         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2948         * config/riscv/multi3.c: New file.
2949         * config/riscv/multi3.S: Remove.
2951 2017-12-08  Jim Wilson  <jimw@sifive.com>
2953         * config/riscv/div.S: Use FUNC_* macros.
2954         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2955         * config/riscv/save-restore.S: Likewise.
2956         * config/riscv/riscv-asm.h: New.
2958 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
2960         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2961         * config/rs6000/_divkc3.c (__divkc3): Likewise.
2963         PR libgcc/83112
2964         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2965         correct type for all ifunc resolvers to silence -Wattribute-alias
2966         warnings.  Eliminate the forward declaration of the resolver
2967         functions which is no longer needed.
2968         (__subkf3_resolve): Likewise.
2969         (__mulkf3_resolve): Likewise.
2970         (__divkf3_resolve): Likewise.
2971         (__negkf2_resolve): Likewise.
2972         (__eqkf2_resolve): Likewise.
2973         (__nekf2_resolve): Likewise.
2974         (__gekf2_resolve): Likewise.
2975         (__gtkf2_resolve): Likewise.
2976         (__lekf2_resolve): Likewise.
2977         (__ltkf2_resolve): Likewise.
2978         (__unordkf2_resolve): Likewise.
2979         (__extendsfkf2_resolve): Likewise.
2980         (__extenddfkf2_resolve): Likewise.
2981         (__trunckfsf2_resolve): Likewise.
2982         (__trunckfdf2_resolve): Likewise.
2983         (__fixkfsi_resolve): Likewise.
2984         (__fixkfdi_resolve): Likewise.
2985         (__fixunskfsi_resolve): Likewise.
2986         (__fixunskfdi_resolve): Likewise.
2987         (__floatsikf_resolve): Likewise.
2988         (__floatdikf_resolve): Likewise.
2989         (__floatunsikf_resolve): Likewise.
2990         (__floatundikf_resolve): Likewise.
2991         (__extendkftf2_resolve): Likewise.
2992         (__trunctfkf2_resolve): Likewise.
2994         PR libgcc/83103
2995         * config/rs6000/quad-float128.h (TF): Don't define if long double
2996         is IEEE 128-bit floating point.
2997         (TCtype): Define as either TCmode or KCmode, depending on whether
2998         long double is IEEE 128-bit floating point.
2999         (__mulkc3_sw): Add declarations for software/hardware versions of
3000         complex multiply/divide.
3001         (__divkc3_sw): Likewise.
3002         (__mulkc3_hw): Likewise.
3003         (__divkc3_hw): Likewise.
3004         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3005         handlers to switch between using software emulation and hardware
3006         float128 instructions, build the complex multiply/divide functions
3007         for both software and hardware support.
3008         * config/rs6000/_divkc3.c (_divkc3): Likewise.
3009         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3010         (__divkc3_resolve): Likewise.
3011         (__mulkc3): Likewise.
3012         (__divkc3): Likewise.
3013         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3014         (fp128_hw_src): Likewise.
3015         (fp128_hw_static_obj): Likewise.
3016         (fp128_hw_shared_obj): Likewise.
3017         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3018         _mulkc3.c and _divkc3.c, changing the function name.
3019         (_divkc3-hw.c): Likewise.
3020         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3021         and _divkc3-hw.c.
3023 2017-11-26  Julia Koval  <julia.koval@intel.com>
3025         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3026         * config/i386/cpuinfo.h (processor_subtypes): Add
3027         INTEL_COREI7_CANNONLAKE.
3029 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3031         PR bootstrap/83015
3032         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3033         parameter.
3034         * config/xtensa/unwind-dw2-xtensa.c: Likewise
3035         * config/ia64/unwind-ia64.c: Add frames parameter.
3036         * unwind-sjlj.c: Likewise.
3038 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3040         * config/i386/linux-unwind.h: Include
3041         config/i386/shadow-stack-unwind.h.
3042         * config/i386/shadow-stack-unwind.h: New file.
3043         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3044         pass it to _Unwind_Frames_Extra.
3045         * unwind-generic.h (_Unwind_Frames_Extra): New.
3046         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3047         parameter. Add local variable frames to count number of frames.
3048         (_Unwind_ForcedUnwind_Phase2): Likewise.
3049         (_Unwind_RaiseException): Add local variable frames to count
3050         number of frames, pass it to _Unwind_RaiseException_Phase2 and
3051         uw_install_context.
3052         (_Unwind_ForcedUnwind): Likewise.
3053         (_Unwind_Resume): Likewise.
3054         (_Unwind_Resume_or_Rethrow): Likewise.
3056 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3058         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3059         (CET_FLAGS): New.
3060         * config/i386/morestack.S: Include <cet.h>.
3061         (__morestack_large_model): Add _CET_ENDBR at function entrance.
3062         * config/i386/resms64.h: Include <cet.h>.
3063         * config/i386/resms64f.h: Likewise.
3064         * config/i386/resms64fx.h: Likewise.
3065         * config/i386/resms64x.h: Likewise.
3066         * config/i386/savms64.h: Likewise.
3067         * config/i386/savms64f.h: Likewise.
3068         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3069         (CRTSTUFF_T_CFLAGS): Likewise.
3070         * configure.ac: Include ../config/cet.m4.
3071         Set and substitute CET_FLAGS.
3072         * configure: Regenerated.
3074 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3076         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3077         renaming.
3078         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3079         * configure.ac (libgcc_cv_solaris_crts): Likewise.
3080         * configure: Regenerate.
3082 2017-11-07  Tom de Vries  <tom@codesourcery.com>
3084         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3085         after "do {} while (0)".
3087 2017-11-07  Tom de Vries  <tom@codesourcery.com>
3089         PR other/82784
3090         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3091         semicolon after "do {} while (0)".
3092         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3093         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3094         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3095         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3097 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
3099         PR libgcc/82635
3100         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3101         sysctl to determine whether we're in a trampoline.
3102         Keep the pattern matching method for systems without
3103         KERN_PROC_SIGTRAMP sysctl.
3105 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
3106             Vineet Gupta <vgupta@synopsys.com>
3108         * config.host (arc*-*-linux*): Set md_unwind_header variable.
3109         * config/arc/linux-unwind-reg.def: New file.
3110         * config/arc/linux-unwind-reg.h: Likewise.
3112 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
3114         * config/rl78/subdi3.S: New assembly file.
3115         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3117 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
3119         * config/rl78/adddi3.S: New assembly file.
3120         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3122 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
3124         PR target/82274
3125         * libgcc2.c (__mulvDI3): If both operands have
3126         the same highpart of -1 and the topmost bit of lowpart is 0,
3127         multiplication overflows even if both lowparts are 0.
3129 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
3131         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3133 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
3135         * config/microblaze/crti.S, config/microblaze/crtn.S,
3136         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3137         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3138         config/microblaze/mulsi3.S,
3139         config/microblaze/stack_overflow_exit.S,
3140         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3141         config/pa/milli64.S: Add .note.GNU-stack section.
3143 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
3145         * configure.ac: Add Check for HAVE_AS_AVX.
3146         * config.in: Regenerate.
3147         * configure: Likewise.
3148         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3149         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3150         Correct out-of-date comments.
3152 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
3154         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3155         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3157 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
3159         * config/i386/i386-asm.h (PASTE2): New macro.
3160         (ASMNAME): Modify to use PASTE2.
3161         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3162         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3163         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3164         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3165         * config/i386/resms64f.S: Likewise.
3166         * config/i386/resms64fx.S: Likewise.
3167         * config/i386/resms64x.S: Likewise.
3168         * config/i386/savms64.S: Likewise.
3169         * config/i386/savms64f.S: Likewise.
3170         * config/i386/avx_resms64.S: New file that only defines a macro and
3171         includes it's corresponding header file.
3172         * config/i386/avx_resms64f.S: Likewise.
3173         * config/i386/avx_resms64fx.S: Likewise.
3174         * config/i386/avx_resms64x.S: Likewise.
3175         * config/i386/avx_savms64.S: Likewise.
3176         * config/i386/avx_savms64f.S: Likewise.
3177         * config/i386/sse_resms64.S: Likewise.
3178         * config/i386/sse_resms64f.S: Likewise.
3179         * config/i386/sse_resms64fx.S: Likewise.
3180         * config/i386/sse_resms64x.S: Likewise.
3181         * config/i386/sse_savms64.S: Likewise.
3182         * config/i386/sse_savms64f.S: Likewise.
3183         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3185 2017-09-01  Olivier Hainque  <hainque@adacore.com>
3186         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3188 2017-08-31  Olivier Hainque  <hainque@adacore.com>
3190         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3191         match as powerpc-wrs-vxworks*.
3193 2017-08-07  Jonathan Yong  <10walls@gmail.com>
3195         * config.host (*-cygwin): Include file from mingw
3196         config/i386/enable-execute-stack-mingw32.c
3198 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
3199             Doug Rupp  <rupp@adacore.com>
3200             Olivier Hainque  <hainque@adacore.com>
3202         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3203         as well as arm-wrs-vxworks.
3204         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
3205         LIB2ADDEH.
3206         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3207         __exidx_start and __exidx_end for downloadable modules.
3209 2017-08-01  Olivier Hainque  <hainque@adacore.com>
3211         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3212         * config/t-vxworks7: Likewise.
3214 2017-08-01  Olivier Hainque  <hainque@adacore.com>
3216         * config/t-vxworks: Instead of redefining LIB2ADD,
3217         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3219 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3221         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3223 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
3225         PR testsuite/80759
3226         * config.host: include i386/t-msabi for darwin and solaris.
3227         * config/i386/i386-asm.h
3228         (ELFFN): Rename to FN_TYPE.
3229         (FN_SIZE): New macro.
3230         (FN_HIDDEN): Likewise.
3231         (ASMNAME): Likewise.
3232         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3233         .globl.
3234         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3235         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3236         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3237         .macro.
3238         * config/i386/resms64f.S: Likewise.
3239         * config/i386/resms64fx.S: Likewise.
3240         * config/i386/resms64x.S: Likewise.
3241         * config/i386/savms64.S: Likewise.
3242         * config/i386/savms64f.S: Likewise.
3244 2017-07-19  John Marino  <gnugcc@marino.st>
3246         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3248 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
3250         PR target/81193
3251         * configure.ac (PowerPC float128 hardware support): Test whether
3252         we can use __builtin_cpu_supports before enabling the ifunc
3253         handler.
3254         * configure: Regenerate.
3256 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
3258         * config.host: Remove uclibc from arc target spec.
3260 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
3262         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3264 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
3266         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3267         (have_ieee_hw_p): Delete function.
3268         (SW_OR_HW) Use __builtin_cpu_supports().
3270 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3272         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3274 2017-07-03  Olivier Hainque  <hainque@adacore.com>
3276         * config/t-vxworks7: New file, really.
3278 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
3280         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3281         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3282         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3283         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3284         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3285         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3286         config/pa/linux-unwind.h (pa32_fallback_frame_state),
3287         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3288         config/sh/linux-unwind.h (sh_fallback_frame_state),
3289         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3290         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3291         ucontext_t instead of struct ucontext.
3293 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
3295         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3296         (x86_64-wrs-vxworks7): Likewise.
3298 2017-06-27  Olivier Hainque  <hainque@adacore.com>
3300         * config/t-vxworks7: New file.
3301         * config.host (*-*-vxworks7): Use it.
3303 2017-06-22  Matt Turner  <mattst88@gmail.com>
3305         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3306         skylake case.
3308 2017-06-21  Richard Biener  <rguenther@suse.de>
3310         PR gcov-profile/81080
3311         * configure.ac: Add AC_SYS_LARGEFILE.
3312         * libgcov.h: Include auto-target.h before tsystem.h to pick
3313         up _FILE_OFFSET_BITS which might differ for multilibs.
3314         * config.in: Regenerate.
3315         * configure: Likewise.
3317 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
3319         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3321 2017-06-09  Martin Liska  <mliska@suse.cz>
3323         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3324         Reset __gcov_indirect_call_callee to NULL.
3326 2017-06-08  Olivier Hainque  <hainque@adacore.com>
3328         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3329         the set of -I options, support for direct inclusions of net/uio.h
3330         by VxWorks header files via ioLib.h.
3332 2017-06-07  Tony Reix  <tony.reix@atos.net>
3333             Matthieu Sarter  <matthieu.sarter.external@atos.net>
3334             David Edelsohn  <dje.gcc@gmail.com>
3336         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3337         unconditionally.
3338         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
3339         AIX 7.2 support.
3341 2017-06-02  Olivier Hainque  <hainque@adacore.com>
3343         * config/vxlib.c (__gthread_once): Add missing value to
3344         return statement.
3346 2017-05-30  Olivier Hainque  <hainque@adacore.com>
3348         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3349         dollar sign before $(MULTIDIR).
3351 2017-05-26  Richard Henderson  <rth@redhat.com>
3353         PR libgcc/80037
3354         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3356 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
3358         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3359         _Unwind_SetIP available as functions for arm*-*-freebsd*.
3360         * config/arm/unwind-arm.c: Implement the above.
3362 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3364         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3365         section for a non-executable stack.
3367 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
3369         PR target/80600
3370         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3372 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
3374         * config.host: Add i386/t-msabi to i386/t-linux file list.
3375         * config/i386/i386-asm.h: New file.
3376         * config/i386/resms64.S: New file.
3377         * config/i386/resms64f.S: New file.
3378         * config/i386/resms64fx.S: New file.
3379         * config/i386/resms64x.S: New file.
3380         * config/i386/savms64.S: New file.
3381         * config/i386/savms64f.S: New file.
3382         * config/i386/t-msabi: New file.
3384 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
3386         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3387         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3389 2017-05-05  Joshua Conner  <joshconner@google.com>
3391         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3392         pc-relative indirect handling for fuchsia.
3393         * config/t-slibgcc-fuchsia: New file.
3394         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3395         x86_64-*-fuchsia*): Add definitions.
3397 2017-04-19  Martin Liska  <mliska@suse.cz>
3399         PR gcov-profile/80435
3400         * Makefile.in: Install gcov.h.
3401         * gcov.h: New file.
3402         * libgcov.h: Use the header and make __gcov_flush publicly
3403         visible.
3405 2017-04-18  Martin Liska  <mliska@suse.cz>
3407         PR gcov-profile/78783
3408         * libgcov-driver.c (gcov_get_filename): New function.
3410 2017-04-07  Jeff Law  <law@redhat.com>
3412         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3413         target makefile fragment.
3414         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3416 2017-04-07  Alan Modra  <amodra@gmail.com>
3418         PR target/45053
3419         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3421 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
3423         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3425 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
3427         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3429 2017-03-10  John Marino  <gnugcc@marino.st>
3431         * config/aarch64/freebsd-unwind.h: New file.
3432         * config.host: Add aarch64-*-freebsd unwinder.
3434 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3436         * config/rs6000/crtrestvr.s: Use .machine altivec.
3437         * config/rs6000/crtsavevr.s: Ditto.
3439 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3441         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3442         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
3443         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3444         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
3445         * configure: Regenerate.
3446         * config.in: Regenerate.
3448 2017-03-02  Jonathan Yong <10walls@gmail.com>
3450         * config/i386/gthr-win32.h: Define NOGDI before
3451         windows.h include to prevent w32api CC_NONE macro
3452         clash with libgfortran.
3454 2017-03-02  Jonathan Yong <10walls@gmail.com>
3456         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3458 2017-02-16  Andrew Pinski  <apinski@cavium.com>
3460         * config/aarch64/value-unwind.h: New file.
3461         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3462         to tm_file.
3464 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
3466         * config.host: Add RISC-V tuples.
3467         * config/riscv/atomic.c: New file.
3468         * config/riscv/crti.S: Likewise.
3469         * config/riscv/crtn.S: Likewise.
3470         * config/riscv/div.S: Likewise.
3471         * config/riscv/linux-unwind.h: Likewise.
3472         * config/riscv/muldi3.S: Likewise.
3473         * config/riscv/multi3.S: Likewise.
3474         * config/riscv/save-restore.S: Likewise.
3475         * config/riscv/sfp-machine.h: Likewise.
3476         * config/riscv/t-elf: Likewise.
3477         * config/riscv/t-elf32: Likewise.
3478         * config/riscv/t-elf64: Likewise.
3479         * config/riscv/t-softfp32: Likewise.
3480         * config/riscv/t-softfp64: Likewise.
3482 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
3484         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3485         /* FALLTHRU */ comments.
3487 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
3489         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3491 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
3493         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3494         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
3495         DW_CFA_GNU_window_save for AArch64 and LP64.
3497 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
3499         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3501 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
3503         * config/aarch64/aarch64-unwind.h: New file.
3504         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3505         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3506         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3507         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3508         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3509         (aarch64_post_extract_frame_addr): New function.
3510         (aarch64_post_frob_eh_handler_addr): New function.
3511         (aarch64_frob_update_context): New function.
3512         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3513         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3514         aarch64*-*-freebsd*):
3515         Initialize md_unwind_header to include aarch64-unwind.h.
3516         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3517         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3518         __aarch64__.
3519         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3520         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3521         (uw_frob_return_addr): New function.
3522         (uw_install_context): Use uw_frob_return_addr.
3524 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
3526         PR other/79046
3527         * configure.ac: Add GCC_BASE_VER.
3528         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3529         version from BASE-VER file.
3530         * configure: Regenerated.
3532 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
3534         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3535         libmul_f5.a): Filter archived prerequisites.
3537 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
3539         * config/i386/cpuinfo.h (processor_features): Add
3540         FEATURE_AVX512VPOPCNTDQ.
3541         * config/i386/cpuinfo.c (get_available_features): Habdle new
3542         feature.
3544 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3546         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3547         payload if [__mips_nan2008].
3549 2017-01-04  Alan Modra  <amodra@gmail.com>
3551         * Makefile.in (configure_deps): Update.
3552         * configure: Regenerate.
3554 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
3556         Update copyright years.
3558 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
3560         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3561         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3562         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3564 2016-12-17  Matthias Klose  <doko@ubuntu.com>
3566         * config/arc/gmon: Remove empty directory.
3568 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
3570         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3571         crtgend.
3572         (arc*-*-elf*): Likewise.
3573         * config/arc/t-arc: Remove old gmon lib targets.
3574         * config/arc/crtg.S: Remove.
3575         * config/arc/crtgend.S: Likewise.
3576         * config/arc/gmon/atomic.h: Likewise.
3577         * config/arc/gmon/auxreg.h: Likewise.
3578         * config/arc/gmon/dcache_linesz.S: Likewise.
3579         * config/arc/gmon/gmon.c: Likewise.
3580         * config/arc/gmon/machine-gmon.h: Likewise.
3581         * config/arc/gmon/mcount.c: Likewise.
3582         * config/arc/gmon/prof-freq-stub.S: Likewise.
3583         * config/arc/gmon/prof-freq.c: Likewise.
3584         * config/arc/gmon/profil.S: Likewise.
3585         * config/arc/gmon/sys/gmon.h: Likewise.
3586         * config/arc/gmon/sys/gmon_out.h: Likewise.
3587         * config/arc/t-arc-newlib: Likewise.
3588         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3590 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
3592         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3594 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
3596         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3597         R16 instead of push + pop.
3598         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3600 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
3602         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3603         tmake_file.
3605 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
3607         * config.host (arc*-*-linux-uclibc*): Use default extra
3608         objects. Include linux-android header.
3609         * config/arc/crti.S (_init): Declare symbol as function.
3610         (_fini): Likewise.
3612 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
3614         PR fortran/78379
3615         * config/i386/cpuinfo.c:  Move denums for processor vendors,
3616         processor type, processor subtypes and declaration of
3617         struct __processor_model into
3618         * config/i386/cpuinfo.h:  New header file.
3620 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
3621             Thomas Preud'homme  <thomas.preudhomme@arm.com>
3623         * config/arm/cmse_nonsecure_call.S: New.
3624         * config/arm/t-arm: Compile cmse_nonsecure_call.S
3626 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
3627             Thomas Preud'homme  <thomas.preudhomme@arm.com>
3629         * config/arm/t-arm (HAVE_CMSE): New.
3630         * config/arm/cmse.c: New.
3632 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3634         PR gcc/74748
3635         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3636         use generic linker version information on Blackfin.
3638         PR gcc/74748
3639         * libgcc/mkmap-symver.awk: add support for skip_underscore
3641 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
3642             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3644         PR target/67710
3645         *  config/t-darwin: Default builds to 10.5 codegen.
3647 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
3649         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3650         (_FP_NANSIGN_H): Likewise.
3651         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3652         (softfp_truncations): Add tfhf.
3653         (softfp_extras): Add required conversion functions.
3655 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3656             Matthew Wahab  <matthew.wahab@arm.com>
3658         * config/arm/fp16.c (binary64): New.
3659         (__gnu_d2h_internal): New.
3660         (__gnu_d2h_ieee): New.
3661         (__gnu_d2h_alternative): New.
3663 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3664             Matthew Wahab  <matthew.wahab@arm.com>
3666         * config/arm/fp16.c (struct format): New.
3667         (binary32): New.
3668         (__gnu_float2h_internal): New.  Body moved from
3669         __gnu_f2h_internal and generalize.
3670         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3671         Call it with binary32.
3673 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3675         * soft-fp/extendhftf2.c: Update from glibc.
3676         * soft-fp/fixhfti.c: Likewise.
3677         * soft-fp/fixunshfti.c: Likewise.
3678         * soft-fp/floattihf.c: Likewise.
3679         * soft-fp/floatuntihf.c: Likewise.
3680         * soft-fp/half.h: Likewise.
3681         * soft-fp/trunctfhf2.c: Likewise.
3683 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
3685         PR libgcc/77813
3686         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3687         __TMC_END__ behind a passthrough asm.
3689 2016-11-18  Walter Lee  <walt@tilera.com>
3691         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3693 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
3695         * config/i386/cpuinfo.c (processor_features): Add
3696         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3698 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
3700         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3701         (__ARC_NORM__): Use instead ARC_OPTFPE.
3702         * config/arc/fp-hack.h: Likewise.
3703         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3704         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3706 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
3708         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3709         * config/nvptx/mgomp.c: New file.
3710         * config/nvptx/t-nvptx: Add mgomp.c
3712 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
3714         PR libgcc/68468
3715         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3717 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
3719         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3720         of checking for cpus.
3721         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3722         (__modsi3, __clzsi2): Likewise.
3724 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3726         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3727         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3728         * config/i386/t-cpuinfo-static: New.
3730 2016-11-03  Martin Liska  <mliska@suse.cz>
3732         * libgcov-profiler.c (__gcov_time_profiler): Remove.
3733         (__gcov_time_profiler_atomic): Likewise.
3735 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3737         PR libgcc/78067
3738         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3739         count_leading_zeros.
3741 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
3743         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3744         * libgcc2.c (__divmoddi4): New function.
3745         * libgcc2.h (__divmoddi4): Declare.
3746         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3747         and __PFX_divmodti4.
3749 2016-10-24  Florian Weimer  <fweimer@redhat.com>
3751         PR libgcc/78064
3752         * unwind-c.c: Include auto-target.h.
3754 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
3756         * config/pa/pa64-hpux-lib.h: New file.
3757         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3758         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3759         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3760         hppa*64*-*-hpux11*.
3762 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
3764         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3765         definition.
3766         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3767         definition.
3768         * config/xtensa/t-windowed (LIB2ADDEH): Use
3769         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3770         or xtensa/t-linux.
3772 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
3774         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3775         __ieee754_sqrt): New functions.
3776         (__divdf3): Add implementation with new FPU instructions under
3777         #if XCHAL_HAVE_DFP_DIV.
3778         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3779         __ieee754_sqrtf): New functions.
3780         (__divsf3): Add implementation with new FPU instructions under
3781         #if XCHAL_HAVE_FP_DIV.
3782         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3783         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3785 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3787         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3788         equivalent.
3789         * config/tilepro/atomic.c: Likewise and stop casting model to
3790         enum memmodel.
3792 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
3794         PR target/77586
3795         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3796         soft-fp.
3798 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
3800         * config.host: Add support for aarch64-*-freebsd*.
3802 2016-10-05  Andreas Schwab  <schwab@suse.de>
3804         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3805         (.section .init_array): Don't call __do_jv_register_classes.
3806         (.section .init): Likewise.
3808 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
3810         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3811         (__JCR_LIST__): Remove.
3812         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3813         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3814         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3815         * config/ia64/crtend.S (__JCR_END__): Remove.
3816         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3817         conditionals.
3818         (__JCR_LIST__, __JCR_END__): Remove.
3819         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3820         (__do_global_ctors_1): Likewise.
3822 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
3824         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3825         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3827 2016-09-27  Martin Liska  <mliska@suse.cz>
3829         PR gcov-profile/7970
3830         PR gcov-profile/16855
3831         PR gcov-profile/44779
3832         * libgcov-driver.c (__gcov_init): Do not register a atexit
3833         handler.
3834         (__gcov_exit): Rename from gcov_exit.
3835         * libgcov.h (__gcov_exit): Declare.
3837 2016-09-27  Martin Liska  <mliska@suse.cz>
3839         PR bootstrap/77749
3840         * Makefile.in: Remove _gcov_merge_delta.
3841         * libgcov-merge.c (void __gcov_merge_delta): Remove.
3842         * libgcov-util.c (__gcov_delta_counter_op): Remove.
3843         * libgcov.h: Remove declaration of __gcov_merge_delta.
3845 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
3847         * configure.ac: Do not create links, only substitute the filenames.
3848         * configure: Regenerate.
3849         * Makefile.in: Assign the substitution results to variables.
3850         (LIBGCC_LINKS): Define.
3851         (enable-execute-stack.c): New rule.
3852         (unwind.h): Likewise.
3853         (md-unwind-support.h): Likewise.
3854         (sfp-machine.h): Likewise.
3855         (gthr-default.h): Likewise.
3856         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3857         unwind.h as prerequisite of install-unwind_h-forbuild.
3859 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
3861         PR libgcc/71744
3862         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3863         is not the primary registry and atomics are available.
3864         (any_objects_registered): New variable.
3865         (__register_frame_info_bases, __register_frame_info_table_bases):
3866         Atomically store 1 to any_objects_registered after registering first
3867         unwind info.
3868         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3870 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
3872         PR target/63250
3873         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3874         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3875         (HFtype): Likewise.
3876         (HCtype): Likewise.
3877         (__divhc3): Likewise.
3878         (__mulhc3): Likewise.
3879         * libgcc2.c: Support _mulhc3 and _divhc3.
3881 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3883         PR libgcc/77519
3884         * libgcc2.c (NOTRUNC): Invert settings.
3886 2016-09-06  Martin Liska  <mliska@suse.cz>
3888         PR gcov-profile/77378
3889         PR gcov-profile/77466
3890         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3891         conditionaly enable/disable *_atomic functions.
3893 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
3895         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3896         where not already enabled.
3898 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3900         * config/mips/linux-unwind.h: Use sys/syscall.h.
3902 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3904         PR libgcc/77265
3905         * soft-fp/adddf3.c: Update from glibc.
3906         * soft-fp/addsf3.c: Likewise.
3907         * soft-fp/addtf3.c: Likewise.
3908         * soft-fp/divdf3.c: Likewise.
3909         * soft-fp/divsf3.c: Likewise.
3910         * soft-fp/divtf3.c: Likewise.
3911         * soft-fp/double.h: Likewise.
3912         * soft-fp/eqdf2.c: Likewise.
3913         * soft-fp/eqsf2.c: Likewise.
3914         * soft-fp/eqtf2.c: Likewise.
3915         * soft-fp/extenddftf2.c: Likewise.
3916         * soft-fp/extended.h: Likewise.
3917         * soft-fp/extendsfdf2.c: Likewise.
3918         * soft-fp/extendsftf2.c: Likewise.
3919         * soft-fp/extendxftf2.c: Likewise.
3920         * soft-fp/fixdfdi.c: Likewise.
3921         * soft-fp/fixdfsi.c: Likewise.
3922         * soft-fp/fixdfti.c: Likewise.
3923         * soft-fp/fixsfdi.c: Likewise.
3924         * soft-fp/fixsfsi.c: Likewise.
3925         * soft-fp/fixsfti.c: Likewise.
3926         * soft-fp/fixtfdi.c: Likewise.
3927         * soft-fp/fixtfsi.c: Likewise.
3928         * soft-fp/fixtfti.c: Likewise.
3929         * soft-fp/fixunsdfdi.c: Likewise.
3930         * soft-fp/fixunsdfsi.c: Likewise.
3931         * soft-fp/fixunsdfti.c: Likewise.
3932         * soft-fp/fixunssfdi.c: Likewise.
3933         * soft-fp/fixunssfsi.c: Likewise.
3934         * soft-fp/fixunssfti.c: Likewise.
3935         * soft-fp/fixunstfdi.c: Likewise.
3936         * soft-fp/fixunstfsi.c: Likewise.
3937         * soft-fp/fixunstfti.c: Likewise.
3938         * soft-fp/floatdidf.c: Likewise.
3939         * soft-fp/floatdisf.c: Likewise.
3940         * soft-fp/floatditf.c: Likewise.
3941         * soft-fp/floatsidf.c: Likewise.
3942         * soft-fp/floatsisf.c: Likewise.
3943         * soft-fp/floatsitf.c: Likewise.
3944         * soft-fp/floattidf.c: Likewise.
3945         * soft-fp/floattisf.c: Likewise.
3946         * soft-fp/floattitf.c: Likewise.
3947         * soft-fp/floatundidf.c: Likewise.
3948         * soft-fp/floatundisf.c: Likewise.
3949         * soft-fp/floatunditf.c: Likewise.
3950         * soft-fp/floatunsidf.c: Likewise.
3951         * soft-fp/floatunsisf.c: Likewise.
3952         * soft-fp/floatunsitf.c: Likewise.
3953         * soft-fp/floatuntidf.c: Likewise.
3954         * soft-fp/floatuntisf.c: Likewise.
3955         * soft-fp/floatuntitf.c: Likewise.
3956         * soft-fp/gedf2.c: Likewise.
3957         * soft-fp/gesf2.c: Likewise.
3958         * soft-fp/getf2.c: Likewise.
3959         * soft-fp/ledf2.c: Likewise.
3960         * soft-fp/lesf2.c: Likewise.
3961         * soft-fp/letf2.c: Likewise.
3962         * soft-fp/muldf3.c: Likewise.
3963         * soft-fp/mulsf3.c: Likewise.
3964         * soft-fp/multf3.c: Likewise.
3965         * soft-fp/negdf2.c: Likewise.
3966         * soft-fp/negsf2.c: Likewise.
3967         * soft-fp/negtf2.c: Likewise.
3968         * soft-fp/op-1.h: Likewise.
3969         * soft-fp/op-2.h: Likewise.
3970         * soft-fp/op-4.h: Likewise.
3971         * soft-fp/op-8.h: Likewise.
3972         * soft-fp/op-common.h: Likewise.
3973         * soft-fp/quad.h: Likewise.
3974         * soft-fp/single.h: Likewise.
3975         * soft-fp/soft-fp.h: Likewise.
3976         * soft-fp/subdf3.c: Likewise.
3977         * soft-fp/subsf3.c: Likewise.
3978         * soft-fp/subtf3.c: Likewise.
3979         * soft-fp/truncdfsf2.c: Likewise.
3980         * soft-fp/trunctfdf2.c: Likewise.
3981         * soft-fp/trunctfsf2.c: Likewise.
3982         * soft-fp/trunctfxf2.c: Likewise.
3983         * soft-fp/unorddf2.c: Likewise.
3984         * soft-fp/unordsf2.c: Likewise.
3985         * soft-fp/unordtf2.c: Likewise.
3987 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
3989         PR gcov-profile/67097
3990         * libgcov-util.c (gcov_profile_merge): Skip missing files.
3992 2016-08-10  Martin Liska  <mliska@suse.cz>
3994         PR gcov-profile/58306
3995         * Makefile.in: New functions (modules) are added.
3996         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3997         function.
3998         (__gcov_pow2_profiler_atomic): New function.
3999         (__gcov_one_value_profiler_body): New argument is instroduced.
4000         (__gcov_one_value_profiler): Call with the new argument.
4001         (__gcov_one_value_profiler_atomic): Likewise.
4002         (__gcov_indirect_call_profiler_v2): Likewise.
4003         (__gcov_time_profiler_atomic): New function.
4004         (__gcov_average_profiler_atomic): Likewise.
4005         (__gcov_ior_profiler_atomic): Likewise.
4006         * libgcov.h: Declare the aforementioned functions.
4008 2016-08-09  Martin Liska  <mliska@suse.cz>
4010         * libgcov-util.c: Fix typo and GNU coding style.
4012 2016-08-09  Martin Liska  <mliska@suse.cz>
4014         * Makefile.in: Remove __gcov_indirect_call_profiler.
4015         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4016         function.
4017         * libgcov.h: And the declaration of the function.
4019 2016-08-09  Martin Liska  <mliska@suse.cz>
4021         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4022         power of two.
4024 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4026         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4027         * config/rs6000/_mulkc3.c: Likewise.
4029 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
4031         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4032         zero_reg as previous call to __umulhisi3 already cleared it.
4034 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
4036         PR target/59833
4037         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4039 2016-07-19  Nick Clifton  <nickc@redhat.com>
4041         * config.host (m32r): Add m32r/t-m32r to tmake_file.
4042         Add crtinit.o and crtfini.o to extra_parts.
4044 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4046         * config/rs6000/_divkc3.c: New.
4047         * config/rs6000/_mulkc3.c: New.
4048         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4049         and _divkc3.
4050         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4051         fp128_ppc_funcs.
4053 2016-07-11  Hale Wang  <hale.wang@arm.com>
4054             Andre Vieira  <andre.simoesdiasvieira@arm.com>
4056         * config/arm/lib1funcs.S: Add new wrapper.
4058 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4060         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4062 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4064         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4065         and ARMv5t* rather than for a fixed list of architectures.
4067 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4069         * config/arm/bpabi-v6m.S: Clarify what architectures is the
4070         implementation suitable for.
4071         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4072         for all Thumb-1 only targets.
4073         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4074         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4075         __ARM_ARCH_6M__.
4076         (EQUIV): Likewise.
4077         (ARM_FUNC_ALIAS): Likewise.
4078         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4079         version.
4080         (modsi3): Likewise.
4081         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4082         (clzdi2): Likewise.
4083         (ctzsi2): Likewise.
4084         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4085         __ARM_ARCH_6M__ in guard for checking whether it is defined.
4086         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4087         __ARM_ARCH_6M__ and add comment to indicate the connection between
4088         this condition and the one in gcc/config/arm/elf.h.
4089         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4090         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4091         * config/arm/t-softfp: Likewise.
4093 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4095         * libgcc2.c (SYMBOL__MAIN): Remove checks for
4096         CTOR_LISTS_DEFINED_EXTERNALLY.
4098 2016-06-28  Walter Lee  <walt@tilera.com>
4100         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4101         asm/unistd.h.
4102         (SPR_CMPEXCH_VALUE): Define for tilegx.
4103         (__NR_FAST_cmpxchg): Define for tilepro.
4104         (__NR_FAST_atomic_update): Define for tilepro.
4105         (__NR_FAST_cmpxchg64): Define for tilepro.
4107 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
4109         * config.host: Add suport for arm*-*-phoenix* targets.
4111 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4113         * config.host: Remove support for mep-*.
4114         * config/mep/lib1funcs.S: Remove.
4115         * config/mep/lib2funcs.c: Remove.
4116         * config/mep/t-mep: Remove.
4117         * config/mep/tramp.c: Remove.
4119 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4121         * config.host: Remove support for avr-rtems.
4122         * config/avr/t-rtems: Remove.
4124 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4126         * config.host: Remove m32r-rtems support.
4128 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4130         * config.host: Remove h8300-rtems support.
4132 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4134         * config.host: Remove support for knetbsd.
4136 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4138         * config.host: Remove support for openbsd 2 and 3.
4140 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4142         * config.host: Remove interix support.
4143         * config/i386/t-interix: Remove.
4145 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
4147         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4148         least-significant bit in function pointer for fixup.
4150 2016-06-05  Aaron Conole  <aconole@redhat.com>
4151             Nathan Sidwell  <nathan@acm.org>
4153         PR libgcc/71400
4154         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4155         (get_gcov_error_file): Check __gcov_error_file before trying to
4156         initialize it.
4157         (gcov_error): Always use get_gcov_error_file.
4159 2016-06-02  Aaron Conole  <aconole@redhat.com>
4161         * libgcov-driver-system.c (__gcov_error_file): New.
4162         (get_gcov_error_file): New.
4163         (gcov_error): Use and set __gcov_error_file.
4164         (gcov_error_exit): New.
4165         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4167 2016-05-26  Nathan Sidwell  <nathan@acm.org>
4169         * config/nvptx/free.asm: Delete.
4170         * config/nvptx/malloc.asm: Delete.
4171         * config/nvptx/realloc.c: Delete.
4172         * t-nvptx: Update.
4174 2016-05-25  Nathan Sidwell  <nathan@acm.org>
4176         * config/nvptx/crt0.s: Delete.
4177         * config/nvptx/crt0.c: New.
4178         * t-nvptx: Update.
4180 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
4182         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4183         dw2/seh configuration.
4184         [x86_64-*-mingw*]: Likewise.
4186 2016-05-10  Joel Sherrill <joel@rtems.org>
4188         PR libgcc/70720
4189         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4190         targets so the same extra_parts are built.  Also have tmake_file add
4191         on to its value rather than override.
4193 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
4195         * config.host: Remove SH5 support.
4196         * configure: Likewise.
4198 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
4200         * config/sh/crt1.S: Remove SH5 support.
4201         * config/sh/crti.S: Likewise.
4202         * config/sh/crtn.S: Likewise.
4203         * config/sh/lib1funcs-4-300.S: Likewise.
4204         * config/sh/lib1funcs-Os-4-200.S: Likewise.
4205         * config/sh/lib1funcs.S: Likewise.
4206         * config/sh/linux-unwind.h: Likewise.
4207         * config/sh/t-sh64: Delete.
4209 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
4211         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4213 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
4214             Joern Rennecke  <joern.rennecke@embecosm.com>
4216         * config/arc/crttls.S: New file.
4217         * config/arc/t-arc: New rule.
4218         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4220 2016-04-25  Nick Clifton  <nickc@redhat.com>
4222         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4223         (__mspabi_cmpd): Likewise.
4224         * config/msp430/floathidf.c (__floathidf): Likewise.
4225         * config/msp430/floathisf.c (__floathisf): Likewise
4226         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4227         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4228         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4229         second parameter.
4230         (__ashrsi3): Likewise.
4232 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
4234         * config/m68k/linux-atomic.c: Do not include unistd.h
4236 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
4238         * config/arm/ieee754-df.S: Fix typos in comments.
4240 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
4242         PR target/70381
4243         * configure.ac (powerpc*-*-linux*): Rework tests to build
4244         __float128 emulation routines to not depend on using #pragma GCC
4245         target to enable -mfloat128.
4246         * configure: Regnerate.
4248 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
4250         PR target/67172
4251         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4252         __MINGW32__ is defined.
4254 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
4256         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4258 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
4260         PR libgcc/70363
4261         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4262         built with an assembler that does not support ISA 3.0
4263         instructions, rename __extendkftf2_sw to __extendkftf2.
4265 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4267         PR target/38239
4268         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4269         call-clobbered registers.
4270         (internal_mcount): Remove __i386__ handling.
4272 2016-02-26  Joel Sherrill <joel@rtems.org>
4274         * config.host: Add x86_64-*-rtems*.
4276 2016-02-26  Joel Sherrill <joel@rtems.org>
4278         * libgcc/config.host: Add aarch64-*-rtems*.
4280 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4281             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4283         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4284         union of u64 and double.
4285         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4286         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4287         value.
4288         (FP_ROUNDMODE): Update the usage of _fpscr.
4290 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
4292         PR driver/68463
4293         * Makefile.in (crtoffloadtable$(objext)): New rule.
4294         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4295         enable_offload_targets is not empty.
4296         * configure: Regenerate.
4297         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4298         crtoffloadtable.
4300 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
4302         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4303         .literal_position before the function.
4304         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4305         Likewise.
4307 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
4309         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4310         * config/s390/morestack.S: New file.
4311         * config/s390/t-stack-s390: New file.
4312         * generic-morestack.c (__splitstack_find): Add s390-specific code.
4314 2016-02-12  Walter Lee  <walt@tilera.com>
4316         * config.host (tilegx*-*-linux*): remove ti from
4317         softfp_int_modes for 32-bit configs.
4319 2016-02-10  Ian Lance Taylor  <iant@google.com>
4321         PR go/68562
4322         * config/i386/morestack.S (__stack_split_initialize): Align
4323         stack.
4325 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
4327         PR bootstrap/69611
4328         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4329         __FLOAT128__ to compile only for __float128 capable targets.
4331 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
4333         PR target/69444
4334         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4335         instead of ___NO_FPRS__.
4337 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
4338             Steven Munroe  <munroesj@linux.vnet.ibm.com>
4339             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4341         * config/rs6000/float128-sed: New files to convert TF names to KF
4342         names for PowerPC IEEE 128-bit floating point support.
4343         * config/rs6000/float128-sed-hw: Likewise.
4345         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4346         floating point hardware support.
4348         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4349         128-bit floating point software emulation or use ISA 3.0 hardware
4350         support if it is available.
4352         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4353         floating point.
4355         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4356         floating point to IBM extended double.
4358         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4359         double to IEEE 128-bit floating point.
4361         * config/rs6000/t-float128: New Makefile fragments to enable
4362         building __float128 emulation support.
4363         * config/rs6000/t-float128-hw: Likewise.
4365         * config/rs6000/sfp-exceptions.c: New file to provide exception
4366         support for IEEE 128-bit floating point.
4368         * config/rs6000/floattikf.c: New files for converting between IEEE
4369         128-bit floating point and signed/unsigned 128-bit integers.
4370         * config/rs6000/fixunskfti.c: Likewise.
4371         * config/rs6000/fixkfti.c: Likewise.
4372         * config/rs6000/floatuntikf.c: Likewise.
4374         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4375         when building on 64-bit systems, or when VSX is enabled.
4376         (_FP_W_TYPE): Likewise.
4377         (_FP_WS_TYPE): Likewise.
4378         (_FP_I_TYPE): Likewise.
4379         (TItype): Define on 64-bit systems.
4380         (UTItype): Likewise.
4381         (TI_BITS): Likewise.
4382         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4383         (_FP_MUL_MEAT_Q): Likewise.
4384         (_FP_DIV_MEAT_D): Likewise.
4385         (_FP_DIV_MEAT_Q): Likewise.
4386         (_FP_NANFRAC_D): Likewise.
4387         (_FP_NANFRAC_Q): Likewise.
4388         (ISA_BIT): Add exception support if we are being compiled on a
4389         machine with hardware floating point support to build the IEEE
4390         128-bit emulation functions.
4391         (FP_EX_INVALID): Likewise.
4392         (FP_EX_OVERFLOW): Likewise.
4393         (FP_EX_UNDERFLOW): Likewise.
4394         (FP_EX_DIVZERO): Likewise.
4395         (FP_EX_INEXACT): Likewise.
4396         (FP_EX_ALL): Likewise.
4397         (__sfp_handle_exceptions): Likewise.
4398         (FP_HANDLE_EXCEPTIONS): Likewise.
4399         (FP_RND_NEAREST): Likewise.
4400         (FP_RND_ZERO): Likewise.
4401         (FP_RND_PINF): Likewise.
4402         (FP_RND_MINF): Likewise.
4403         (FP_RND_MASK): Likewise.
4404         (_FP_DECL_EX): Likewise.
4405         (FP_INIT_ROUNDMODE): Likewise.
4406         (FP_ROUNDMODE): Likewise.
4408         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4409         VSX code, enable IEEE 128-bit floating point.  If the compiler can
4410         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4411         floating point hardware instructions and it supports declaring
4412         functions with the ifunc attribute, enable ifunc functions to
4413         switch between software and hardware support.
4414         * configure.ac (powerpc*-*-linux*): Likewise.
4415         * configure: Regenerate.
4417 2016-01-15  Nick Clifton  <nickc@redhat.com>
4419         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4420         dependency as the source file to be compiled.
4421         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4422         (lib2hw_mul_f5.o): Likewise.
4424 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4426         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4427         * libgcc/config/rs6000/fixkfti.c: Likewise.
4428         * libgcc/config/rs6000/fixunskfti.c: Likewise.
4429         * libgcc/config/rs6000/float128-hw.c: Likewise.
4430         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4431         * libgcc/config/rs6000/float128-sed: Likewise.
4432         * libgcc/config/rs6000/floattikf.c: Likewise.
4433         * libgcc/config/rs6000/floatuntikf.c: Likewise.
4434         * libgcc/config/rs6000/quad-float128.h: Likewise.
4435         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4436         * libgcc/config/rs6000/sfp-machine.h: Likewise.
4437         * libgcc/config/rs6000/t-float128: Likewise.
4438         * libgcc/config/rs6000/t-float128-hw: Likewise.
4439         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4440         * libgcc/config.host: Likewise.
4441         * libgcc/configure: Likewise.
4442         * libgcc/configure.ac: Likewise.
4444 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4445             Steven Munroe  <munroesj@linux.vnet.ibm.com>
4446             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4448         * config/rs6000/sfp-exceptions.c: New file to provide exception
4449         support for IEEE 128-bit floating point.
4451         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4452         floating point hardware support.
4454         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4455         point conversions.
4456         * config/rs6000/fixunskfti.c: Likewise.
4457         * config/rs6000/fixkfti.c: Likewise.
4458         * config/rs6000/floatuntikf.c: Likewise.
4459         * config/rs6000/extendkftf2-sw.c: Likewise.
4460         * config/rs6000/trunctfkf2-sw.c: Likewise.
4462         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4463         128-bit floating point software emulation or use ISA 3.0 hardware
4464         support if it is available.
4466         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4467         floating point.
4469         * config/rs6000/t-float128: New Makefile fragments to enable
4470         building __float128 emulation support.
4471         * config/rs6000/t-float128-hw: Likewise.
4473         * config/rs6000/float128-sed: New file to convert TF names to KF
4474         names for PowerPC IEEE 128-bit floating point support.
4476         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4477         when building on 64-bit systems, or when VSX is enabled.
4478         (_FP_W_TYPE): Likewise.
4479         (_FP_WS_TYPE): Likewise.
4480         (_FP_I_TYPE): Likewise.
4481         (TItype): Define on 64-bit systems.
4482         (UTItype): Likewise.
4483         (TI_BITS): Likewise.
4484         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4485         (_FP_MUL_MEAT_Q): Likewise.
4486         (_FP_DIV_MEAT_D): Likewise.
4487         (_FP_DIV_MEAT_Q): Likewise.
4488         (_FP_NANFRAC_D): Likewise.
4489         (_FP_NANFRAC_Q): Likewise.
4490         (ISA_BIT): Add exception support if we are being compiled on a
4491         machine with hardware floating point support to build the IEEE
4492         128-bit emulation functions.
4493         (FP_EX_INVALID): Likewise.
4494         (FP_EX_OVERFLOW): Likewise.
4495         (FP_EX_UNDERFLOW): Likewise.
4496         (FP_EX_DIVZERO): Likewise.
4497         (FP_EX_INEXACT): Likewise.
4498         (FP_EX_ALL): Likewise.
4499         (__sfp_handle_exceptions): Likewise.
4500         (FP_HANDLE_EXCEPTIONS): Likewise.
4501         (FP_RND_NEAREST): Likewise.
4502         (FP_RND_ZERO): Likewise.
4503         (FP_RND_PINF): Likewise.
4504         (FP_RND_MINF): Likewise.
4505         (FP_RND_MASK): Likewise.
4506         (_FP_DECL_EX): Likewise.
4507         (FP_INIT_ROUNDMODE): Likewise.
4508         (FP_ROUNDMODE): Likewise.
4510         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4511         compiler can do __float128.
4512         * configure: Regenerate.
4514         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4515         VSX code, enable IEEE 128-bit floating point.
4517 2016-01-05  Olivier Hainque  <hainque@adacore.com>
4519         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4520         specificities.
4522 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
4524         Update copyright years.
4526 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
4528         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4529         soft-fp targets.
4531 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4533         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4534         instead of abort to avoid dependency on stdlib.h.
4536 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
4538         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4539         to initialize call to __dl_fixup once.
4541 2015-12-04  Nick Clifton  <nickc@redhat.com>
4543         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4544         Allow for the second argument being negative.
4545         * config.host (extra_parts): Define for MSP430.  Create separate
4546         libraries for each of the hardware multiply formats.
4547         * config/msp430/lib2hw_mul.S: Build only the multiply routines
4548         that are needed.
4549         * config/msp430/lib2mul.c: Likewise.
4550         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4551         Add rules to build hardware multiply libraries.
4552         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4553         __mspabi_divul function.
4554         (__mspabi_divllu): New stub function.
4556 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
4558         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4559         fixup values if saved GOT address doesn't match runtime address.
4560         (fixup_branch_offset): Reorder list.
4562 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4564         * Makefile.in (VTV_CFLAGS): New variable.
4565         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4566         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4567         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4568         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4569         to extra_parts if $enable_vtable_verify = yes.
4571 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4573         PR target/68059
4574         * config/arm/linux-atomic-64bit.c (__write): Rename to...
4575         (write): ...this and fix the return type.
4577 2015-11-19  DJ Delorie  <dj@redhat.com>
4579         * config/msp430/lib2hw_mul.S: Fix alignment.
4581 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
4583         * config/nvptx/reduction.c: New.
4584         * config/nvptx/t-nvptx (LIB2ADD): Add it.
4586 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
4588         * config/rs6000/on_exit.c: New file.
4589         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4590         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4592 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
4594         * config/arc/dp-hack.h: Add support for ARCHS.
4595         * config/arc/ieee-754/divdf3.S: Likewise.
4596         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4597         * config/arc/ieee-754/muldf3.S: Likewise.
4598         * config/arc/ieee-754/mulsf3.S: Likewise
4599         * config/arc/lib1funcs.S: Likewise
4600         * config/arc/gmon/dcache_linesz.S: Don't read the build register
4601         for ARCv2 cores.
4602         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4603         for ARCv2 cores.
4604         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4605         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4606         cores.
4608 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4610         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4611         value.
4612         * config/ia64/crtend.S: Likewise.
4614 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4616         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4617         __CHAR_BIT__ instead of BITS_PER_UNIT.
4618         * fixed-bit.h: Likewise.
4619         * fp-bit.h: Likewise.
4620         * libgcc2.c (__popcountSI2): Likewise.
4621         (__popcountDI2): Likewise.
4622         * libgcc2.h: Likewise.
4623         * libgcov.h: Likewise.
4625 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
4627         * config/rs6000/atexit.c: New file.
4628         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4629         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4630         * config/rs6000/cxa_finalize.c
4631         (catomic_compare_and_exchange_bool_acq): Negate return value.
4633 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
4635         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4636         (processor_subtypes): Add znver1.
4637         (get_amd_cpu): Detect znver1.
4639 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
4641         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4642         Include crtfastmath.o.
4644 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
4646         PR libgcc/66883
4647         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4649 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
4651         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4652         * config/rl78/divmodsi.S: Update return register to r8.
4653         * config/rl78/divmodhi.S: Update return register to r8,r9.
4654         Branch to main_loop_done_himode to pop registers before return.
4656 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
4658         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4659         (__cpu_indicator_init): Fix model selection for AMD CPUs.
4661 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
4663         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4665 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
4667         * config.host (xtensa*-*-uclinux*): New configuration.
4669 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
4671         * config/i386/cpuinfo.c (processor_features): Add
4672         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4674 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4676         * soft-fp/adddf3.c: Update from glibc.
4677         * soft-fp/addsf3.c: Likewise.
4678         * soft-fp/addtf3.c: Likewise.
4679         * soft-fp/divdf3.c: Likewise.
4680         * soft-fp/divsf3.c: Likewise.
4681         * soft-fp/divtf3.c: Likewise.
4682         * soft-fp/double.h: Likewise.
4683         * soft-fp/eqdf2.c: Likewise.
4684         * soft-fp/eqsf2.c: Likewise.
4685         * soft-fp/eqtf2.c: Likewise.
4686         * soft-fp/extenddftf2.c: Likewise.
4687         * soft-fp/extended.h: Likewise.
4688         * soft-fp/extendsfdf2.c: Likewise.
4689         * soft-fp/extendsftf2.c: Likewise.
4690         * soft-fp/extendxftf2.c: Likewise.
4691         * soft-fp/fixdfdi.c: Likewise.
4692         * soft-fp/fixdfsi.c: Likewise.
4693         * soft-fp/fixdfti.c: Likewise.
4694         * soft-fp/fixsfdi.c: Likewise.
4695         * soft-fp/fixsfsi.c: Likewise.
4696         * soft-fp/fixsfti.c: Likewise.
4697         * soft-fp/fixtfdi.c: Likewise.
4698         * soft-fp/fixtfsi.c: Likewise.
4699         * soft-fp/fixtfti.c: Likewise.
4700         * soft-fp/fixunsdfdi.c: Likewise.
4701         * soft-fp/fixunsdfsi.c: Likewise.
4702         * soft-fp/fixunsdfti.c: Likewise.
4703         * soft-fp/fixunssfdi.c: Likewise.
4704         * soft-fp/fixunssfsi.c: Likewise.
4705         * soft-fp/fixunssfti.c: Likewise.
4706         * soft-fp/fixunstfdi.c: Likewise.
4707         * soft-fp/fixunstfsi.c: Likewise.
4708         * soft-fp/fixunstfti.c: Likewise.
4709         * soft-fp/floatdidf.c: Likewise.
4710         * soft-fp/floatdisf.c: Likewise.
4711         * soft-fp/floatditf.c: Likewise.
4712         * soft-fp/floatsidf.c: Likewise.
4713         * soft-fp/floatsisf.c: Likewise.
4714         * soft-fp/floatsitf.c: Likewise.
4715         * soft-fp/floattidf.c: Likewise.
4716         * soft-fp/floattisf.c: Likewise.
4717         * soft-fp/floattitf.c: Likewise.
4718         * soft-fp/floatundidf.c: Likewise.
4719         * soft-fp/floatundisf.c: Likewise.
4720         * soft-fp/floatunditf.c: Likewise.
4721         * soft-fp/floatunsidf.c: Likewise.
4722         * soft-fp/floatunsisf.c: Likewise.
4723         * soft-fp/floatunsitf.c: Likewise.
4724         * soft-fp/floatuntidf.c: Likewise.
4725         * soft-fp/floatuntisf.c: Likewise.
4726         * soft-fp/floatuntitf.c: Likewise.
4727         * soft-fp/gedf2.c: Likewise.
4728         * soft-fp/gesf2.c: Likewise.
4729         * soft-fp/getf2.c: Likewise.
4730         * soft-fp/ledf2.c: Likewise.
4731         * soft-fp/lesf2.c: Likewise.
4732         * soft-fp/letf2.c: Likewise.
4733         * soft-fp/muldf3.c: Likewise.
4734         * soft-fp/mulsf3.c: Likewise.
4735         * soft-fp/multf3.c: Likewise.
4736         * soft-fp/negdf2.c: Likewise.
4737         * soft-fp/negsf2.c: Likewise.
4738         * soft-fp/negtf2.c: Likewise.
4739         * soft-fp/op-1.h: Likewise.
4740         * soft-fp/op-2.h: Likewise.
4741         * soft-fp/op-4.h: Likewise.
4742         * soft-fp/op-8.h: Likewise.
4743         * soft-fp/op-common.h: Likewise.
4744         * soft-fp/quad.h: Likewise.
4745         * soft-fp/single.h: Likewise.
4746         * soft-fp/soft-fp.h: Likewise.
4747         * soft-fp/subdf3.c: Likewise.
4748         * soft-fp/subsf3.c: Likewise.
4749         * soft-fp/subtf3.c: Likewise.
4750         * soft-fp/truncdfsf2.c: Likewise.
4751         * soft-fp/trunctfdf2.c: Likewise.
4752         * soft-fp/trunctfsf2.c: Likewise.
4753         * soft-fp/trunctfxf2.c: Likewise.
4754         * soft-fp/unorddf2.c: Likewise.
4755         * soft-fp/unordsf2.c: Likewise.
4756         * soft-fp/unordtf2.c: Likewise.
4758 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
4760         PR libgcc/67624
4761         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4763 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4765         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4766         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4767         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4768         messages.
4769         (internal_mcount): Likewise.
4770         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4771         crt_compile, add CRTSTUFF_T_CFLAGS_S.
4773 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4775         * configure.ac (libgcc_cv_solaris_crts): New test.
4776         * configure: Regenerate.
4777         * config.in: Regenerate.
4778         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4779         * config/gmon-sol2.c: Rename to ...
4780         * config/sol2/gmon.c: ... this.
4781         Include auto-target.h.
4782         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4783         * config/t-sol2: Rename to ...
4784         * config/sol2/t-sol2: ... this.
4785         (gmon.o): Reflect renaming.
4786         (crtp.o, crtpg.o): New rules.
4787         * config.host (*-*-solaris2*): Reflect renaming.
4788         Use system CRTs if present.
4789         Remove default CRT case.
4791 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
4793         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4794         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4795         __kernel_cmpxchg2.
4796         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4797         (__sync_val_compare_and_swap_##WIDTH): Likewise.
4798         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4799         (__sync_lock_test_and_set_##WIDTH): Likewise.
4800         (__sync_lock_release_##WIDTH): Likewise.
4801         (__sync_fetch_and_##OP##_4): Change result to match type of
4802         __kernel_cmpxchg.
4803         (__sync_##OP##_and_fetch_4): Likewise.
4804         (__sync_val_compare_and_swap_4): Likewise.
4805         (__sync_bool_compare_and_swap_4): likewise.
4806         (__sync_lock_test_and_set_4): Likewise.
4807         (__sync_lock_release_4): Likewise.
4808         (FETCH_AND_OP_2): Add long long variants.
4809         (OP_AND_FETCH_2): Likewise.
4810         (COMPARE_AND_SWAP_2 ): Likewise.
4811         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4812         (SYNC_LOCK_RELEASE_2): Likewise.
4813         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4815 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
4817         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4818         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4819         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4820         (get_available_features): Habdle new features.
4822 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
4824         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4825         memory layout. Deal correctly with BSS region larger than 32K.
4826         Handle a watchdog reset like a power-on reset. Clean up unused
4827         code.
4829 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
4830             David Edelsohn  <dje.gcc@gmail.com>
4832         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4833         * config/rs6000/crtdbase.S: New file.
4834         * config/rs6000/t-aix-cxa: Build crtdbase.o.
4836 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
4838         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4839         Add support for call0 ABI.
4841 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
4843         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4845 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4847         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4848         (__GTHREAD_HAS_COND): Likewise.
4849         (__gthread_t): Likewise.
4850         (__gthread_cond_t): Likewise.
4851         (__gthread_time_t): Likewise.
4852         (__GTHREAD_MUTEX_INIT): Likewise.
4853         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4854         (__GTHREAD_COND_INIT): Likewise.
4855         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4856         (__GTHREAD_TIME_INIT): Likewise.
4857         (__gthread_create): Likewise.
4858         (__gthread_join): Likewise.
4859         (__gthread_detach): Likewise.
4860         (__gthread_equal): Likewise.
4861         (__gthread_self): Likewise.
4862         (__gthread_yield): Likewise.
4863         (__gthread_cond_broadcast): Likewise.
4864         (__gthread_cond_signal): Likewise.
4865         (__gthread_cond_wait): Likewise.
4866         (__gthread_cond_timedwait): Likewise.
4867         (__gthread_cond_wait_recursive): Likewise.
4868         (__gthread_cond_destroy): Likewise.
4869         (rtems_gxx_once): Delete.
4870         (rtems_gxx_key_create): Likewise.
4871         (rtems_gxx_key_delete): Likewise.
4872         (rtems_gxx_getspecific): Likewise.
4873         (rtems_gxx_setspecific): Likewise.
4874         (rtems_gxx_mutex_init): Likewise.
4875         (rtems_gxx_mutex_destroy): Likewise.
4876         (rtems_gxx_mutex_lock): Likewise.
4877         (rtems_gxx_mutex_trylock): Likewise.
4878         (rtems_gxx_mutex_unlock): Likewise.
4879         (rtems_gxx_recursive_mutex_init): Likewise.
4880         (rtems_gxx_recursive_mutex_lock): Likewise.
4881         (rtems_gxx_recursive_mutex_trylock): Likewise.
4882         (rtems_gxx_recursive_mutex_unlock): Likewise.
4883         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4884         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4885         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4886         (__gthread_once): Likewise.
4887         (__gthread_key_create): Likewise.
4888         (__gthread_key_delete): Likewise.
4889         (__gthread_getspecific): Likewise.
4890         (__gthread_setspecific): Likewise.
4891         (__gthread_key_t): Use <pthread.h> type.
4892         (__gthread_once_t): Likewise
4893         (__gthread_mutex_t): Use <sys/lock.h> type.
4894         (__gthread_recursive_mutex_t): Likewise
4895         (__gthread_mutex_lock): Use <sys/lock.h> function.
4896         (__gthread_mutex_trylock): Likewise.
4897         (__gthread_mutex_timedlock): Likewise.
4898         (__gthread_mutex_unlock): Likewise.
4899         (__gthread_mutex_destroy): Likewise.
4900         (__gthread_recursive_mutex_lock): Likewise.
4901         (__gthread_recursive_mutex_trylock): Likewise.
4902         (__gthread_recursive_mutex_timedlock): Likewise.
4903         (__gthread_recursive_mutex_unlock): Likewise.
4904         (__gthread_recursive_mutex_destroy): Likewise.
4906 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4908         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4909         context->sp instead of context->cfa.
4911 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4913         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4914         with unwind-dw2-fde-dip.
4916 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4918         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4919         CALL12 followed by series of ENTRY to spill windowed registers.
4920         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4921         instead of making linux spill syscall.
4923 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
4925         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4926         (get_intel_cpu): Likewise.
4928 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4930         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4931         (get_intel_cpu): Add Knights Landing support.
4933 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
4935         PR target/66954
4936         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4937         (get_available_features): Handle FEATURE_PCLMUL.
4939 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
4941         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4942         Broadwell.
4944 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
4946         PR target/66954
4947         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4948         (get_available_features): Handle FEATURE_AES.
4950 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
4952         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4953         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4955 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
4957         * offloadstuff.c: Constify host data.
4959 2015-07-17  Jan Beulich  <jbeulich@suse.com>
4961         * config/t-softfp: Split up "else ifneq".
4963 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
4964             Cesar Philippidis  <cesar@codesourcery.com>
4965             Chung-Lin Tang  <cltang@codesourcery.com>
4967         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4968         for __nios2_arch__ level.
4970 2015-07-13  John Marino  <gnugcc@marino.st>
4972         * config/i386/t-dragonfly: New.
4974 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
4976         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4977         better match light-weight syscall argument order.
4978         (__kernel_cmpxchg2): Likewise.
4979         Adjust callers.
4981 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4983         * config.host: Support i[34567]86-*-elfiamcu target.
4984         * config/t-softfp-sfdftf: New file.
4985         * config/i386/32/t-iamcu: Likewise.
4986         * configure: Regenerated.
4988 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
4990         libgcc/config/arm/
4991         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4993 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4995         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4997 2015-05-27  John Marino  <gnugcc@marino.st>
4999         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5000         md_unwind_header
5001         * config/i386/freebsd-unwind.h: New.
5003 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
5005         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5006         i386/t-crtfm to tmake_file.
5007         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5008         (set_fast_math): Use set_fast_math_sse for SSE targets.
5009         * config/i386/t-crtfm: Remove.
5011 2015-05-21  Alan Modra  <amodra@gmail.com>
5013         PR libgcc/66225
5014         * config/rs6000/morestack.S: Remove ".abiversion 1".
5016 2015-05-20  Alan Modra  <amodra@gmail.com>
5018         * config/rs6000/morestack.S: New.
5019         * config/rs6000/t-stack-rs6000: New.
5020         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5021         to tmake_file.
5022         * generic-morestack.c: Don't build for powerpc 32-bit.
5024 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
5026         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5027         Remove useless endif/ifneq ($(enable_shared),yes) pair.
5029 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
5031         * config.host: FT32 target added.
5032         * config/ft32/*: New files for FT32 target.
5034 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
5036         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5037         New macros.
5038         * config/arm/ieee754-df.S: Add CFI directives.
5039         * config/arm/ieee754-sf.S: Add CFI directives.
5041 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
5043         * configure.ac: Include config/sjlj.m4.
5044         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5045         * config.in: Regenerate.
5046         * configure: Likewise.
5047         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5049 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
5051         * libgcov-util.c: Add space between string literal and macro name.
5053 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
5054             Chris Jones  <chrisj@nvidia.com>
5055             Joshua Conner  <jconner@nvidia.com>
5057         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5058         (arm*-*-uclinux*): Likewise.
5059         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5060         * config/arm/crtfastmath.c: New file.
5062 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
5064         * Makefile.in (real_host_noncanonical): New variable.
5065         (libsubdir): Use it.
5066         * configure.ac (real_host_noncanonical): Compute.  Remove special
5067         case for intelmicemul.
5068         * configure: Regenerate.
5070 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5072         * config/frv/elf-lib.h: New file.
5073         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5074         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5075         to tm_file.
5077 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5079         * config/frv/frvbengin.c: Do not include defaults.h
5080         * config/frv/frvend.c: Ditto.
5082 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
5084         * config.host: Add h8300-*-linux
5085         * config/h8300/t-linux: New file.
5086         * config/h8300/lib1funs.s: Change symbol prefix.
5087         * config/h8300/sfp-machine.h: 64bit double support.
5089 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
5090             Szabolcs Nagy  <szabolcs.nagy@arm.com>
5092         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5093         Linux if target provides dl_iterate_phdr.
5095 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
5097         PR target/65612
5098         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5099         * config/i386/cpuinfo.c (__cpu_model): Initialize.
5100         (__cpu_indicator_init@GCC_4.8.0): New.
5101         (__cpu_model@GCC_4.8.0): Likewise.
5102         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5103         -DUSE_ELF_SYMVER.
5105 2015-04-16  Nick Clifton  <nickc@redhat.com>
5107         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5108         and __modhi3 functions.
5109         * config/rl78/divmodso.S: Add G14 and G13 versions of the
5110         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5112 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
5114         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5115         do-while loop as macro body to avoid warnings.
5117 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
5118             Iain Sandoe  <iain@codesourcery.com>
5120         PR target/65351
5121         * configure: Regenerate.
5123 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
5124             Iain Sandoe  <iain@codesourcery.com>
5126         PR target/65351
5127         * configure: Regenerate.
5129 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
5131         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5133 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
5135         Implement call0 ABI for xtensa
5136         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5137         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5138         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5139         use ret in call0 ABI.
5140         * config/xtensa/t-windowed: New file.
5141         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5142         * libgcc/configure: Regenerated.
5143         * libgcc/configure.ac: Check if xtensa target is configured for
5144         windowed ABI and thus needs to use custom unwind code.
5146 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
5148         PR libgcc/64885
5149         * gthr-single.h: Use __unused__ attribute instead of unused.
5150         * config/gthr-vxworks.h: Likewise.
5151         * config/i386/gthr-win32.h: Likewise.
5153 2015-02-27  Kai Tietz  <ktietz@redhat.com>
5155         PR target/65038
5156         * config.in: Regenerated.
5157         * configure: Likewise.
5158         * configure.ac (AC_HEADER_STDC): Added explicit.
5159         (AC_CHECK_HEADERS): Check for default headers  plus
5160         for ftw.h header.
5161         * libgcov-util.c (gcov_read_profile_dir): Disable use
5162         of ftw-function, if header is not found.
5163         (ftw_read_file): Likewise.
5165 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
5167         PR target/65181
5168         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5169         -Dinhibit_libc.
5171 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
5173         * config/arm/bpabi.S (test_div_by_zero): Make label names
5174         consistent between thumb2 and arm mode cases.  Separate the
5175         signed comparison on the high word of the numerator from the
5176         unsigned comparison on the low word.
5177         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5178         signed comparison.
5180 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5182         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5183         and <string.h>.
5184         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5186 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
5188         PR gcov-profile/61889
5189         * libgcov-driver-system.c: undefine clashing macro for mkdir.
5191 2015-02-02  Nick Clifton  <nickc@redhat.com>
5193         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5194         rounding up the fraction.
5196 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
5198         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5199         oldval and newval to const void *.  Fix typo.
5200         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5201         (FETCH_AND_OP_WORD): Likewise.
5202         (OP_AND_FETCH_WORD): Likewise.
5203         (COMPARE_AND_SWAP_2): Likewise.
5204         (__sync_val_compare_and_swap_4): Likewise.
5205         (__sync_lock_test_and_set_4): Likewise.
5206         (SYNC_LOCK_RELEASE_2): Likewise.
5207         Remove support for long long atomic operations.
5209 2015-01-27  Caroline Tice  <cmtice@google.com>
5211         Committing VTV Cywin/Ming patch for Patrick Wollgast
5212         * Makefile.in: Move rules to build vtv_*.o out of the check
5213         for CUSTOM_CRTSTUFF.
5214         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5215         i[34567]86-*-mingw*)
5216          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5217         enable_vtable_verify.
5219 2015-01-27  Nick Clifton  <nickc@redhat.com>
5221         * config/rl78/cmpsi2.S: Use function start and end macros.
5222         (__gcc_bcmp): New function.
5223         * config/rl78/lshrsi3.S: Use function start and end macros.
5224         * config/rl78/mulsi3.S: Add support for G10.
5225         (__mulqi3): New function for G10.
5226         * config/rl78/signbit.S: Use function start and end macros.
5227         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5228         fpmath-sf.S.
5229         (LIB2FUNCS_EXCLUDE): Define.
5230         (LIB2FUNCS_ST): Define.
5231         * config/rl78/trampoline.S: Use function start and end macros.
5232         * config/rl78/vregs.h (START_FUNC): New macro.
5233         (START_ANOTHER_FUNC): New macro.
5234         (END_FUNC): New macro.
5235         (END_ANOTHER_FUNC): New macro.
5236         * config/rl78/bit-count.S: New file.  Contains assembler
5237         implementations of the bit counting functions: ___clzhi2,
5238         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5239         __paritysi2, __popcounthi2 and __popcountsi2.
5240         * config/rl78/fpbit-sf.S: New file.  Contains assembler
5241         implementationas of the math functions: __negsf2, __cmpsf2,
5242         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5243         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
5244         * config/rl78/fpmath-sf.S: New file.  Contains assembler
5245         implementations of the math functions: __subsf3, __addsf3,
5246         __mulsf3 and __divsf3
5248 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5250         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5251         Add i386/elf-lib.h to tm_file.
5252         * config/i386/elf-lib.h: Fix comment.
5253         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5254         && __sun__ && __svr4__]: Remove workaround.
5256 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
5258         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5259         FEATURE_BMI2.
5260         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5262 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
5264         * config/i386/cpuinfo.c (processor_subtypes): Add
5265         INTEL_COREI7_BROADWELL.
5266         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5267         model numbers.
5269 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
5271         * config/i386/elf-lib.h: New file.
5272         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5273         Wrap definition in #ifdef __i386__.
5274         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5275         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5276         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5277         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5278         to tm_file.
5280 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
5282         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5283         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5285 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
5287         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5288         Update rt_sigframe format and address for current Nios II
5289         Linux conventions.
5291 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
5293         * config.host (arm*-*-freebsd*): Add new configuration for
5294         arm*-*-freebsd*.
5295         * config/arm/freebsd-atomic.c: New file.
5296         * config/arm/t-freebsd: Likewise.
5297         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5298         'PC-relative indirect' OS's.
5300 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
5302         * config.host: Add Visium support.
5303         * config/visium: New directory.
5305 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
5307         Update copyright years.
5309 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
5311         * config.host: Support mipsisa32r6 and mipsisa64r6.
5312         * config/mips/mips16.S: Do not build for R6.
5314 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
5316         * config/sh/crt.h: New.
5317         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5318         symbols.
5319         * config/sh/crt1.S: Likewise.
5321 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
5323         PR libgcc/63832
5324         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5325         func_ptr *dtor_list temporary variable to avoid "array subscript
5326         is above array bounds" warnings.
5328 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
5330         * Makefile.in (with_aix_soname): Define.
5331         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5332         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5333         * configure: Recreate.
5335 2014-12-05  Olivier Hainque  <hainque@adacore.com>
5337         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5338         now provided by defaults.h.
5340 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
5342         PR target/55351
5343         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5344         whether it's defined.
5346 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
5348         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5349         * config/i386/cpuinfo.c (get_available_features): Detect it.
5351 2014-11-27  Tony Wang  <tony.wang@arm.com>
5353         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5354         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5355         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5357 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
5359         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5361 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
5363         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5364         instead.
5366 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
5367             John David Anglin  <danglin@gcc.gnu.org>
5369         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5370         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
5371         (OP_AND_FETCH_2): Likewise.
5372         (COMPARE_AND_SWAP_2): Likewise.
5373         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5374         (SYNC_LOCK_RELEASE_2): Likewise.
5375         (SUBWORD_SYNC_OP): Remove.
5376         (SUBWORD_VAL_CAS): Likewise.
5377         (SUBWORD_BOOL_CAS): Likewise.
5378         (FETCH_AND_OP_WORD): Update.
5379         Consistently use signed types.
5381 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
5382             Thomas Schwinge  <thomas@codesourcery.com>
5383             Ilya Verbin  <ilya.verbin@intel.com>
5384             Andrey Turetskiy  <andrey.turetskiy@intel.com>
5386         * Makefile.in (crtoffloadbegin$(objext)): New rule.
5387         (crtoffloadend$(objext)): Likewise.
5388         * configure: Regenerate.
5389         * configure.ac (accel_dir_suffix): Compute new variable.
5390         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5391         if enable_offload_targets is not empty.
5392         * offloadstuff.c: New file.
5394 2014-11-13  Nick Clifton  <nickc@redhat.com>
5396         * config/rl78/divmodhi.S: Add support for the G10 architecture.
5397         Use START_FUNC and END_FUNC macros to enable linker garbage
5398         collection.
5399         * config/rl78/divmodqi.S: Likewise.
5400         * config/rl78/divmodsi.S: Likewise.
5401         * config/rl78/mulsi3.S: Likewise.
5402         * config/rl78/lib2div.c: Remove G10 functions.
5403         * config/rl78/lib2muls.c: Likewise.
5404         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5405         * config/rl78/vregs.h (START_FUNC): New macro.
5406         (END_FUNC): New macro.
5408 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
5410         * config/mips/mips16.S: Set .module when supported.  Update O32
5411         FP64 calling convention and use for FPXX when possible.  Add FPXX
5412         calling convention fallback case.
5414 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
5416         * config.host: Handle nvptx-*-*.
5417         * shared-object.mk (as-flags-$o): Define.
5418         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5419         -xassembler-with-cpp.
5420         * static-object.mk: Identical changes.
5421         * config/nvptx/t-nvptx: New file.
5422         * config/nvptx/crt0.s: New file.
5423         * config/nvptx/free.asm: New file.
5424         * config/nvptx/malloc.asm: New file.
5425         * config/nvptx/realloc.c: New file.
5427 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5429         * Makefile.in (libgcc.map.in): New target.
5430         (libgcc.map): Use libgcc.map.in.
5431         * config/t-softfp (softfp_compat): New variable to be set by
5432         users.
5433         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5434         variables.
5435         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5436         directory.
5437         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5438         that use compat symbols and disable all code unless [SHARED].
5439         * config/t-softfp-compat: New file.
5440         * find-symver.awk: New file.
5441         * configure.ac (--with-glibc-version): New configure option.
5442         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5443         * configure: Regenerate.
5444         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5445         soft-float and e500.
5447 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
5449         * config/t-hardfp (hardfp_exclusions): Document new variable for
5450         user to define.
5451         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5452         * config/t-softfp (softfp_extras): Document new variable for user
5453         to define.
5454         (softfp_func_list): Add functions from $(softfp_extras).
5455         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5456         * config.host (powerpc*-*-linux*): For e500v1, use
5457         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5458         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5459         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5461 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
5463         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5464         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5465         memory read accesses are ok.
5467 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
5469         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5470         * configure: Regenerate.
5471         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5472         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
5473         of soft-fp for 32-bit classic hard float.  Do not use
5474         t-softfp-excl for soft float.
5476 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
5478         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5479         configurations.
5480         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5481         Remove variables.
5483 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
5485         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5486         introduced with 2014-10-21 trunk r216525.
5488 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
5489             Vidya Praveen  <vidya.praveen@atmel.com>
5490             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
5491             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
5492             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
5494         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5495         order.
5497         Updated library functions for AVRTINY arch.
5498         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5499         Replaced occurrences of r0/r1 with tmp/zero reg macros.
5500         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5501         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5502         wsubi/wadi macors.
5503         (__mulsi3_helper): Update stack, preserve callee saved regs and
5504         argument from stack. Restore callee save registers.
5505         (__mulpsi3): Likewise.
5506         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5507         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5508         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5509         AVRTINY.
5510         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5511         (__do_copy_data): Added new definition for AVRTINY.
5512         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5513         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5514         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5515         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5516         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5517         macors.
5518         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5519         AVRTINY.
5521         Fix broken long multiplication on tiny arch.
5523 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5525         * soft-fp/double.h: Update from glibc.
5526         * soft-fp/eqdf2.c: Likewise.
5527         * soft-fp/eqsf2.c: Likewise.
5528         * soft-fp/eqtf2.c: Likewise.
5529         * soft-fp/extenddftf2.c: Likewise.
5530         * soft-fp/extended.h: Likewise.
5531         * soft-fp/extendsfdf2.c: Likewise.
5532         * soft-fp/extendsftf2.c: Likewise.
5533         * soft-fp/extendxftf2.c: Likewise.
5534         * soft-fp/gedf2.c: Likewise.
5535         * soft-fp/gesf2.c: Likewise.
5536         * soft-fp/getf2.c: Likewise.
5537         * soft-fp/ledf2.c: Likewise.
5538         * soft-fp/lesf2.c: Likewise.
5539         * soft-fp/letf2.c: Likewise.
5540         * soft-fp/op-1.h: Likewise.
5541         * soft-fp/op-2.h: Likewise.
5542         * soft-fp/op-4.h: Likewise.
5543         * soft-fp/op-8.h: Likewise.
5544         * soft-fp/op-common.h: Likewise.
5545         * soft-fp/quad.h: Likewise.
5546         * soft-fp/single.h: Likewise.
5547         * soft-fp/soft-fp.h: Likewise.
5548         * soft-fp/unorddf2.c: Likewise.
5549         * soft-fp/unordsf2.c: Likewise.
5550         * soft-fp/unordtf2.c: Likewise.
5551         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5552         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5553         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5554         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5555         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5556         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5557         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5558         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5559         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5560         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5562 2014-10-08  Rong Xu  <xur@google.com>
5564         * libgcov-util.c (read_gcda_file): Fix format.
5565         (find_match_gcov_info): Ditto.
5566         (calculate_2_entries): New.
5567         (compute_one_gcov): Ditto.
5568         (gcov_info_count_all_cold): Ditto.
5569         (gcov_info_count_all_zero): Ditto.
5570         (extract_file_basename): Ditto.
5571         (get_file_basename): Ditto.
5572         (set_flag): Ditto.
5573         (matched_gcov_info): Ditto.
5574         (calculate_overlap): Ditto.
5575         (gcov_profile_overlap): Ditto.
5576         * libgcov-driver.c (compute_summary): Make
5577         it avavilable for external calls.
5579 2014-10-06  Rong Xu  <xur@google.com>
5581         * Makefile.in: Ditto.
5582         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5583         (gcov_sort_icall_topn_counter): Ditto.
5584         (gcov_sort_topn_counter_arrays): Ditto.
5585         (dump_one_gcov): Sort indirect_call topn counters.
5586         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5587         function.
5588         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5589         utility function.
5590         (__gcov_indirect_call_topn_profiler): New profiler function.
5591         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5592         * libgcov.h: New decls.
5594 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
5596         * config.host: Remove support for score-*.
5598 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
5600         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5601         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5602         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5603         __LIBGCC_XF_MANT_DIG__.
5604         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5605         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5606         __LIBGCC_TF_MANT_DIG__.
5607         * libgcc2.c (NOTRUNC): Define in terms of
5608         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5609         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5611 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
5613         PR target/63312
5614         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5615         New macros.
5617 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
5619         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5620         override USE_PT_GNU_EH_FRAME.
5621         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5622         check USE_EH_FRAME_REGISTRY_ALWAYS against
5623         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5624         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5625         variable for substituted force_explicit_eh_registry.
5626         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5627         * configure.ac (explicit-exception-frame-registration):
5628         New AC_ARG_ENABLE.
5629         * configure: Regenerate.
5631 2014-09-19  Olivier Hainque  <hainque@adacore.com>
5633         * config.host (powerpc-wrs-vxworksmils): New configuration,
5634         same as vxworksae.
5636 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
5638         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5640 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
5642         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5643         bits not set bits as indicating trapping exceptions.
5645 2014-09-17  Nathan sidwell  <nathan@acm.org>
5647         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5648         (LIBGCOV_DRIVER): ... here.
5649         * libgcov-driver.c (gcov_master): New.
5650         (gcov_exit): Remove from master chain.
5651         (__gcov_init): Add to master chain if version compatible.  Don't
5652         clear the version.
5653         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5654         (gcov_reset_int): Clear master chain, if compatible.
5655         (gcov_dump_int): New internal interface.  Dump master chain, if
5656         compatible.
5657         (gcov_dump): Alias for gcov_dump_int.
5658         * libgcov.h (struct gcov_root): Add next and prev fields.
5659         (struct gcov_master): New struct.
5660         (__gcov_master): New.
5661         (gcov_dump_int): Declare.
5663 2014-09-17  Olivier Hainque  <hainque@adacore.com>
5665         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5666         and crtbegin.o + crtend.o to extra_parts.
5668 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
5670         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5671         __LIBGCC_HAS_SF_MODE__.
5672         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5673         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5674         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5675         * config/libbid/bid_gcc_intrinsics.h
5676         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5677         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5678         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5679         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5680         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5681         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5683 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
5685         PR target/63223
5686         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5687         and R24 as needed.  Make work for all devices and .text locations.
5688         (__do_global_ctors, __do_global_dtors): Use word addresses.
5689         (__tablejump__, __tablejump_elpm__): Remove functions.
5690         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5691         Add _tablejump2.
5692         (XICALL, XIJMP): New macros.
5694 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5695         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
5697         * config.host (aarch64*): Include crtfastmath.o and
5698         t-crtfm.
5699         * config/aarch64/crtfastmath.c: New file.
5701 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
5703         * config.host: Remove picochip support.
5704         * config/picochip/adddi3.S: Remove.
5705         * config/picochip/ashlsi3.S: Remove.
5706         * config/picochip/ashlsi3.c: Remove.
5707         * config/picochip/ashrsi3.S: Remove.
5708         * config/picochip/ashrsi3.c: Remove.
5709         * config/picochip/clzsi2.S: Remove.
5710         * config/picochip/cmpsi2.S: Remove.
5711         * config/picochip/divmod15.S: Remove.
5712         * config/picochip/divmodhi4.S: Remove.
5713         * config/picochip/divmodsi4.S: Remove.
5714         * config/picochip/lib1funcs.S: Remove.
5715         * config/picochip/longjmp.S: Remove.
5716         * config/picochip/lshrsi3.S: Remove.
5717         * config/picochip/lshrsi3.c: Remove.
5718         * config/picochip/parityhi2.S: Remove.
5719         * config/picochip/popcounthi2.S: Remove.
5720         * config/picochip/setjmp.S: Remove.
5721         * config/picochip/subdi3.S: Remove.
5722         * config/picochip/t-picochip: Remove.
5723         * config/picochip/ucmpsi2.S: Remove.
5724         * config/picochip/udivmodhi4.S: Remove.
5725         * config/picochip/udivmodsi4.S: Remove.
5727 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
5729         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5730         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5731         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5732         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5733         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
5734         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5735         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
5736         defined and LIBGCC2_HAS_DF_MODE is defined.
5737         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
5738         defined and LIBGCC2_HAS_XF_MODE is defined.
5739         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
5740         defined and LIBGCC2_HAS_TF_MODE is defined.
5742 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
5744         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5745         and ROUND_TOWARDS_ZERO conditionals.
5747 2014-09-07  Nathan sidwell  <nathan@acm.org>
5749         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5750         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
5752 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
5754         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5755         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5756         uses to __LIBGCC_STACK_POINTER_REGNUM__.
5757         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5758         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5759         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5760         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5761         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5762         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5763         (DWARF_FRAME_REGISTERS): Change all uses to
5764         __LIBGCC_DWARF_FRAME_REGISTERS__.
5765         (EH_RETURN_STACKADJ_RTX): Change all uses to
5766         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5767         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5768         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
5769         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5770         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5771         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5772         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5773         to __LIBGCC_EH_FRAME_SECTION_NAME__.
5774         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5775         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5776         __LIBGCC_STACK_POINTER_REGNUM__.
5777         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5778         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5779         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5780         to __LIBGCC_STACK_POINTER_REGNUM__.
5781         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5782         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5783         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5784         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5785         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5786         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5787         (STACK_POINTER_REGNUM): Change all uses to
5788         __LIBGCC_STACK_POINTER_REGNUM__.
5789         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5790         use to __LIBGCC_STACK_POINTER_REGNUM__.
5791         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5792         uses to __LIBGCC_STACK_POINTER_REGNUM__.
5793         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5794         to __LIBGCC_DWARF_FRAME_REGISTERS__.
5795         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5796         to __LIBGCC_DWARF_FRAME_REGISTERS__.
5797         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5798         to __LIBGCC_STACK_POINTER_REGNUM__.
5799         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5800         Remove conditional definition.
5801         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5802         __LIBGCC_TEXT_SECTION_ASM_OP__.
5803         (EH_FRAME_SECTION_NAME): Change all uses to
5804         __LIBGCC_EH_FRAME_SECTION_NAME__.
5805         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5806         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5807         (CTORS_SECTION_ASM_OP): Change all uses to
5808         __LIBGCC_CTORS_SECTION_ASM_OP__.
5809         (DTORS_SECTION_ASM_OP): Change all uses to
5810         __LIBGCC_DTORS_SECTION_ASM_OP__.
5811         (JCR_SECTION_NAME): Change all uses to
5812         __LIBGCC_JCR_SECTION_NAME__.
5813         (INIT_SECTION_ASM_OP): Change all uses to
5814         __LIBGCC_INIT_SECTION_ASM_OP__.
5815         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5816         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5817         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5818         __LIBGCC_STACK_GROWS_DOWNWARD__.
5819         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5820         __LIBGCC_INIT_SECTION_ASM_OP__.
5821         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5822         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5823         (EH_FRAME_SECTION_NAME): Change all uses to
5824         __LIBGCC_EH_FRAME_SECTION_NAME__.
5825         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5826         definitions.  Change all uses to
5827         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5828         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5829         __LIBGCC_STACK_GROWS_DOWNWARD__.
5830         (DWARF_FRAME_REGISTERS): Change all uses to
5831         __LIBGCC_DWARF_FRAME_REGISTERS__.
5832         (EH_RETURN_STACKADJ_RTX): Change all uses to
5833         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5834         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5835         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5836         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5837         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5838         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5840 2014-09-02  Nathan sidwell  <nathan@acm.org>
5842         * libgcov-interface.c (STRONG_ALIAS): New.
5843         (__gcov_flush): Call __gcov_reset_int.
5844         (__gcov_reset): Strong alias for ...
5845         (__gcov_reset_ing): ... this renamed hidden version.
5846         * libgcov.h (__gcov_reset_int): New declaration.
5848 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
5850         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5851         call from here...
5852         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5853         (__dso_handle): Define on Cygwin.
5854         * config/i386/t-cygming (crtbeginS.o): New rule.
5855         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5857         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5858         declaration syntax.
5860 2014-08-13  Steve Ellcey  <sellcey@mips.com>
5862         * crtstuff.c: Undef caddr_t.
5864 2014-08-12  Steve Ellcey  <sellcey@mips.com>
5866         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
5868 2014-08-07  Nathan Sidwell  <nathan@acm.org>
5870         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5871         (LIBGCOV_DRIVER): ... to here.
5872         * libgcov.h (gcov_do_dump): New #define.
5873         (struct gcov_root): New.
5874         (__gcov_root): New declaration.
5875         (__gcov_dump_one): Declare.
5876         * libgcov-driver.c (gcov_list, gcov_dump_complete,
5877         run_accounted): Delete.
5878         (gcov_compute_histogram): Add LIST argument, adjust.
5879         (compute_summary): Adjust gcov_compute_histogram call.
5880         (gcov_do_dump): Not hidden, static in libgcov.
5881         (gcov_clear): Move  to interface.c.
5882         (__gcov_dump_one): New, broken out of ...
5883         (gcov_exit): ... here.  Make static.
5884         (__gcov_root): New.
5885         (__gcov_init): Adjust.
5886         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5887         declarations.
5888         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5889         (gcov_clear): Moved from driver.c.   Add LIST argument.
5890         (__gcov_reset): Adjust for changed interfaces.
5891         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5893 2014-08-04  Rohit  <rohitarulraj@freescale.com>
5895         PR target/60102
5896         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5897         based on change in SPE high register numbers and 3 HTM registers.
5899 2014-08-01  Nathan Sidwell  <nathan@acm.org>
5901         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5902         LIBGCOV_INTERFACE): Reformat.
5903         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5904         IN_GCOV_TOOL.
5905         * libgcov-interface.c: Reformat some comments.
5906         (__gcov_flush_mx): Add declaration.  Tidy up definition.
5908 2014-07-31  Alan Modra  <amodra@gmail.com>
5909             Peter Bergner  <bergner@vnet.ibm.com>
5911         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5912         (pack_ldouble): New function.
5913         (__gcc_qadd): Use it.
5914         (__gcc_qmul): Likewise.
5915         (__gcc_qdiv): Likewise.
5916         (__gcc_qneg): Likewise.
5917         (__gcc_stoq): Likewise.
5918         (__gcc_dtoq): Likewise.
5920 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
5922         * config/s390/tpf-unwind.h: Include <stdbool.h>.
5923         (__tpf_eh_return): Add original return address as second parameter.
5924         Handle cases where unwinder routines were called directly, instead
5925         of from within the C++ library.
5927 2014-07-29  Nathan Sidwell  <nathan@acm.org>
5929         * libgcov.h: Move renaming of entry points to lib gcov specific
5930         portion.
5931         (gcov_do_dump): New rename.
5932         (gcov_rewrite): Remove inline, make HIDDEN.
5933         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5934         (gcov_exit_compute_summary): Rename to ...
5935         (compute_summary): ... here.  Add LIST argument.
5936         (gcov_exit_merge_gcda): Rename to ...
5937         (merge_one_data): ... here.
5938         (gcov_exit_write_gcda): Rename to ...
5939         (write_one_data): ... here.
5940         (gcov_exit_merge_summary): Rename to ...
5941         (merge_summary): Add RUN_COUNTED argument.
5942         (gcov_exit_dump_gcov): Rename to ...
5943         (dump_one_gcov): Add RUN_COUNTED argument.
5944         (gcov_do_dump): New function, broken out of ...
5945         (gcov_exit): ... here.  Call it.
5947 2014-07-27  Anthony Green  <green@moxielogic.com>
5949         * config.host: Add moxiebox configuration suppport.
5951 2014-07-27  Nathan Sidwell  <nathan@acm.org>
5953         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5954         (struct gcov_filename): ... here.  Include buffer and max length
5955         fields.
5956         (gcov_max_filename): Remove.
5957         (gi_filename): Remove.
5958         (gcov_exit_compute_summary): Compute max filename here.
5959         (gcov_exit_merge_gcda): Add filename parm, adjust.
5960         (gcov_exit_merge_summary): Likewise.
5961         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5962         (gcov_exit): Likewise.
5963         (__gcov_init): Don't calculate max length here.
5964         * libgcov_util.c (max_filename_len): Remove.
5965         (read_gcda_file): Don't calculate max length here.
5966         (gcov_read_profile_dir): Don't propagate here.
5967         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5968         struct gcov_filename changes.
5969         (gcov_exit_open_gcda_file): Likewise.
5971 2014-07-25  Nathan Sidwell  <nathan@acm.org>
5973         * libgcov-driver.c (set_gcov_dump_complete,
5974         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5975         functions polluting user's namespace.
5976         (gcov_exit): Set variable directly.
5977         (gcov_clear): Reset variable directly.
5978         * libgcov-interface.c (get_gcov_dymp_complete,
5979         reset_gov_dump_complete): Remove declarations.
5980         (__gcov_reset, __gcov_dump): Don't call them.
5982 2014-07-24  DJ Delorie  <dj@redhat.com>
5984         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5985         (__gcc_deregister_frame): Move logic to detect deregister function
5986         to ...
5987         (__gcc_register_frame): here, so it's consistent with the register
5988         logic.
5990 2014-07-23  Nathan Sidwell  <nathan@acm.org>
5992         * libgcov-driver.c (set_gcov_list): Remove.
5993         (gcov_list): Make non-static in GCOV_TOOL.
5994         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5996 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
5998         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5999         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6000         Don't use SYNC_LOCK_RELEASE for int type.
6002 2014-07-14  Richard Biener  <rguenther@suse.de>
6004         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6006 2014-07-11  Rong Xu  <xur@google.com>
6008         * libgcov-util.c (gcov_max_filename): Fix declartion.
6010 2014-07-10  Rong Xu  <xur@google.com>
6012         Add gcov-tool: an offline gcda profile processing tool
6013         Support.
6014         * libgcov-driver.c (gcov_max_filename): Make available
6015         to gcov-tool.
6016         * libgcov-merge.c (__gcov_merge_add): Replace
6017         gcov_read_counter() with a Macro.
6018         (__gcov_merge_ior): Ditto.
6019         (__gcov_merge_time_profile): Ditto.
6020         (__gcov_merge_single): Ditto.
6021         (__gcov_merge_delta): Ditto.
6022         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6023         in the utility functions.
6024         (set_fn_ctrs): Utility function for reading gcda files to in-memory
6025         gcov_list object link lists.
6026         (tag_function): Ditto.
6027         (tag_blocks): Ditto.
6028         (tag_arcs): Ditto.
6029         (tag_lines): Ditto.
6030         (tag_counters): Ditto.
6031         (tag_summary): Ditto.
6032         (read_gcda_finalize): Ditto.
6033         (read_gcda_file): Ditto.
6034         (ftw_read_file): Ditto.
6035         (read_profile_dir_init): Ditto.
6036         (gcov_read_profile_dir): Ditto.
6037         (gcov_read_counter_mem): Ditto.
6038         (gcov_get_merge_weight): Ditto.
6039         (merge_wrapper): A wrapper function that calls merging handler.
6040         (gcov_merge): Merge two gcov_info objects with weights.
6041         (find_match_gcov_info): Find the matched gcov_info in the list.
6042         (gcov_profile_merge): Merge two gcov_info object lists.
6043         (__gcov_add_counter_op): Process edge profile counter values.
6044         (__gcov_ior_counter_op): Process IOR profile counter values.
6045         (__gcov_delta_counter_op): Process delta profile counter values.
6046         (__gcov_single_counter_op): Process single  profile counter values.
6047         (fp_scale): Callback function for float-point scaling.
6048         (int_scale): Callback function for integer fraction scaling.
6049         (gcov_profile_scale): Scaling profile counters.
6050         (gcov_profile_normalize): Normalize profile counters.
6051         * libgcov.h: Add headers and functions for gcov-tool use.
6052         (gcov_get_counter): New.
6053         (gcov_get_counter_target): Ditto.
6054         (struct gcov_info): Make the functions field mutable in gcov-tool
6055         compilation.
6057 2014-06-23  Kai Tietz  <ktietz@redhat.com>
6059         PR libgcc/61585
6060         * unwind-seh.c (_Unwind_GetGR): Check for proper
6061         index range.
6062         (_Unwind_SetGR): Likewise.
6064 2014-05-22  Nick Clifton  <nickc@redhat.com>
6066         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6067         -mhwmult=none.
6069 2014-05-22  Teresa Johnson  <tejohnson@google.com>
6071         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6072         include.
6074 2014-05-20  John Marino  <gnugcc@marino.st>
6076         * config.host (*-*-dragonfly*): New target.
6077         * crtstuff.c: Make dl_iterate_support generic on *bsd.
6078         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6079         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6080         * config/i386/dragonfly-unwind.h: New.
6082 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
6084         PR libgcc/60166
6085         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6086         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6088 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6090         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6091         implementation.
6093 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
6095         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6097 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6099         PR libgcc/61097
6100         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6101         if --enable-shared.
6103 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6105         Work around for current cygwin32 build problems.
6106         * config/i386/cygming-crtbegin.c (__register_frame_info,
6107         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6108         functions only for 64-bit systems.
6110 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6112         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6113         (sigill_caught, sigill_hdlr): Remove.
6115 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6117         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6118         check.
6119         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6120         Solaris 9 single-threaded support.
6121         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6122         Solaris 9 single-threaded support.  Add call_user_handler code
6123         sequences.
6124         (sparc_is_sighandler): Likewise.
6126 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6128         * config.host: Append t-floattodi to tmake_file depending on
6129         host_address.
6131 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
6133         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6135 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
6137         PR libgcc/60472
6138         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
6139         variable to avoid "array subscript is above array bounds" warnings.
6140         Use __builtin_expect when checking *jcr_list for NULL.
6142 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6144         PR libgcc/59339
6145         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6146         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6147         vtv_*.o to extra_parts if enable_vtable_verify.
6149 2014-03-06  Nick Clifton  <nickc@redhat.com>
6151         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6152         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6154 2014-02-28  Joey Ye  <joey.ye@arm.com>
6156         PR libgcc/60166
6157         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6158         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6159         Set to zero.
6161 2014-02-24  Walter Lee  <walt@tilera.com>
6163         * config.host: Support "tilegx*" and "tilepro*" triplets.
6164         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6165         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6167 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
6168             Chung-Lin Tang  <cltang@codesourcery.com>
6170         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6171         * config/nios2/crti.S: Remove .file directive.
6172         * config/nios2/crtn.S: Likewise.
6174 2014-02-18  Kai Tietz  <ktietz@redhat.com>
6175         Jonathan Schleifer  <js@webkeks.org>
6177         PR objc/56870
6178         * unwind-seh.c (_GCC_specific_handler): Pass proper
6179         value to unwind-handler.
6181 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6183         * soft-fp/adddf3.c: Update from glibc.
6184         * soft-fp/addsf3.c: Likewise.
6185         * soft-fp/addtf3.c: Likewise.
6186         * soft-fp/divdf3.c: Likewise.
6187         * soft-fp/divsf3.c: Likewise.
6188         * soft-fp/divtf3.c: Likewise.
6189         * soft-fp/double.h: Likewise.
6190         * soft-fp/eqdf2.c: Likewise.
6191         * soft-fp/eqsf2.c: Likewise.
6192         * soft-fp/eqtf2.c: Likewise.
6193         * soft-fp/extenddftf2.c: Likewise.
6194         * soft-fp/extended.h: Likewise.
6195         * soft-fp/extendsfdf2.c: Likewise.
6196         * soft-fp/extendsftf2.c: Likewise.
6197         * soft-fp/extendxftf2.c: Likewise.
6198         * soft-fp/fixdfdi.c: Likewise.
6199         * soft-fp/fixdfsi.c: Likewise.
6200         * soft-fp/fixdfti.c: Likewise.
6201         * soft-fp/fixsfdi.c: Likewise.
6202         * soft-fp/fixsfsi.c: Likewise.
6203         * soft-fp/fixsfti.c: Likewise.
6204         * soft-fp/fixtfdi.c: Likewise.
6205         * soft-fp/fixtfsi.c: Likewise.
6206         * soft-fp/fixtfti.c: Likewise.
6207         * soft-fp/fixunsdfdi.c: Likewise.
6208         * soft-fp/fixunsdfsi.c: Likewise.
6209         * soft-fp/fixunsdfti.c: Likewise.
6210         * soft-fp/fixunssfdi.c: Likewise.
6211         * soft-fp/fixunssfsi.c: Likewise.
6212         * soft-fp/fixunssfti.c: Likewise.
6213         * soft-fp/fixunstfdi.c: Likewise.
6214         * soft-fp/fixunstfsi.c: Likewise.
6215         * soft-fp/fixunstfti.c: Likewise.
6216         * soft-fp/floatdidf.c: Likewise.
6217         * soft-fp/floatdisf.c: Likewise.
6218         * soft-fp/floatditf.c: Likewise.
6219         * soft-fp/floatsidf.c: Likewise.
6220         * soft-fp/floatsisf.c: Likewise.
6221         * soft-fp/floatsitf.c: Likewise.
6222         * soft-fp/floattidf.c: Likewise.
6223         * soft-fp/floattisf.c: Likewise.
6224         * soft-fp/floattitf.c: Likewise.
6225         * soft-fp/floatundidf.c: Likewise.
6226         * soft-fp/floatundisf.c: Likewise.
6227         * soft-fp/floatunditf.c: Likewise.
6228         * soft-fp/floatunsidf.c: Likewise.
6229         * soft-fp/floatunsisf.c: Likewise.
6230         * soft-fp/floatunsitf.c: Likewise.
6231         * soft-fp/floatuntidf.c: Likewise.
6232         * soft-fp/floatuntisf.c: Likewise.
6233         * soft-fp/floatuntitf.c: Likewise.
6234         * soft-fp/gedf2.c: Likewise.
6235         * soft-fp/gesf2.c: Likewise.
6236         * soft-fp/getf2.c: Likewise.
6237         * soft-fp/ledf2.c: Likewise.
6238         * soft-fp/lesf2.c: Likewise.
6239         * soft-fp/letf2.c: Likewise.
6240         * soft-fp/muldf3.c: Likewise.
6241         * soft-fp/mulsf3.c: Likewise.
6242         * soft-fp/multf3.c: Likewise.
6243         * soft-fp/negdf2.c: Likewise.
6244         * soft-fp/negsf2.c: Likewise.
6245         * soft-fp/negtf2.c: Likewise.
6246         * soft-fp/op-1.h: Likewise.
6247         * soft-fp/op-2.h: Likewise.
6248         * soft-fp/op-4.h: Likewise.
6249         * soft-fp/op-8.h: Likewise.
6250         * soft-fp/op-common.h: Likewise.
6251         * soft-fp/quad.h: Likewise.
6252         * soft-fp/single.h: Likewise.
6253         * soft-fp/soft-fp.h: Likewise.
6254         * soft-fp/subdf3.c: Likewise.
6255         * soft-fp/subsf3.c: Likewise.
6256         * soft-fp/subtf3.c: Likewise.
6257         * soft-fp/truncdfsf2.c: Likewise.
6258         * soft-fp/trunctfdf2.c: Likewise.
6259         * soft-fp/trunctfsf2.c: Likewise.
6260         * soft-fp/trunctfxf2.c: Likewise.
6261         * soft-fp/unorddf2.c: Likewise.
6262         * soft-fp/unordsf2.c: Likewise.
6263         * soft-fp/unordtf2.c: Likewise.
6264         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6265         macro.
6266         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6267         Likewise.
6268         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6269         Likewise.
6270         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6271         Likewise.
6272         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6273         Likewise.
6274         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6275         Likewise.
6276         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6277         Likewise.
6278         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6279         Likewise.
6280         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6281         Likewise.
6282         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6283         Likewise.
6284         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6285         Likewise.
6286         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6287         Likewise.
6288         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6289         Likewise.
6290         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6291         Likewise.
6292         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6293         Likewise.
6294         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6295         Likewise.
6297 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6299         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6300         cannot be represented.
6301         * config/s390/32/_fixsfdi.c: Likewise.
6302         * config/s390/32/_fixtfdi.c: Likewise.
6303         * config/s390/32/_fixunsdfdi.c: Likewise.
6304         * config/s390/32/_fixunssfdi.c: Likewise.
6305         * config/s390/32/_fixunstfdi.c: Likewise.
6307 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
6309         * configure.ac (libgcc_cv_mips_hard_float): New.
6310         * configure: Regenerate.
6311         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6312         t-softfp-sfdf for hard-float targets.
6313         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6314         (softfp_float_modes, softfp_int_modes, softfp_extensions)
6315         (softfp_truncations, softfp_exclude_libgcc2): New.
6316         * config/t-hardfp: New file.
6317         * config/t-hardfp-sfdf: Likewise.
6318         * config/hardfp.c: Likewise.
6320 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6322         * config.host: Include t-floattodi also for s390x.
6323         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6324         * config/s390/32/_fixsfdi.c: Likewise.
6325         * config/s390/32/_fixtfdi.c: Likewise.
6326         * config/s390/32/_fixunsdfdi.c: Likewise.
6327         * config/s390/32/_fixunssfdi.c: Likewise.
6328         * config/s390/32/_fixunstfdi.c: Likewise.
6330 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6332         PR target/59788
6333         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6334         (install-libgcc-unwind-map-forbuild): New target.
6335         (all): Depend on install-libgcc-unwind-map-forbuild.
6336         (install-libgcc-unwind-map): New target.
6337         (install): Depend on install-libgcc-unwind-map.
6339 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
6341         * config/nios2/crti.S (_init): Initialize GOT pointer from
6342         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6344 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
6346         * configure.ac: Check __mips64 when setting host_address.
6347         * configure: Regenerate.
6348         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6349         mips/t-mips64 and t-softfp.
6350         (mips*-*-linux*): Don't add mips/t-tpbit.
6351         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6352         (DPBIT, DPBIT_CFLAGS): Delete.
6353         * config/mips/sfp-machine.h: New file.
6354         * config/mips/t-mips64: Likewise.
6355         * config/mips/t-softfp-tf: Likewise.
6356         * config/mips/t-tpbit: Delete.
6358 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6360         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6361         as long long.
6363 2014-01-25  Walter Lee  <walt@tilera.com>
6365         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
6366         config.h or system.h.
6367         (bool) Define.
6369 2014-01-25  Walter Lee  <walt@tilera.com>
6371         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6372         (post_atomic_barrier): Ditto.
6373         (__fetch_and_do): New macro.
6374         (__atomic_fetch_and_do): Use __fetch_and_do.
6375         (__sync_fetch_and_do): New macro.
6376         (__sync_fetch_and_add_4): New function.
6377         (__sync_fetch_and_sub_4): New function.
6378         (__sync_fetch_and_or_4): New function.
6379         (__sync_fetch_and_and_4): New function.
6380         (__sync_fetch_and_xor_4): New function.
6381         (__sync_fetch_and_nand_4): New function.
6382         (__sync_fetch_and_add_8): New function.
6383         (__sync_fetch_and_sub_8): New function.
6384         (__sync_fetch_and_or_8): New function.
6385         (__sync_fetch_and_and_8): New function.
6386         (__sync_fetch_and_xor_8): New function.
6387         (__sync_fetch_and_nand_8): New function.
6388         (__do_and_fetch): New macro.
6389         (__atomic_do_and_fetch): Use __do_and_fetch.
6390         (__sync_do_and_fetch): New macro.
6391         (__sync_add_and_fetch_4): New function.
6392         (__sync_sub_and_fetch_4): New function.
6393         (__sync_or_and_fetch_4): New function.
6394         (__sync_and_and_fetch_4): New function.
6395         (__sync_xor_and_fetch_4): New function.
6396         (__sync_nand_and_fetch_4): New function.
6397         (__sync_add_and_fetch_8): New function.
6398         (__sync_sub_and_fetch_8): New function.
6399         (__sync_or_and_fetch_8): New function.
6400         (__sync_and_and_fetch_8): New function.
6401         (__sync_xor_and_fetch_8): New function.
6402         (__sync_nand_and_fetch_8): New function.
6403         (__sync_exchange_methods): New macro.
6404         (__sync_val_compare_and_swap_4): New function.
6405         (__sync_bool_compare_and_swap_4): New function.
6406         (__sync_lock_test_and_test_4): New function.
6407         (__sync_val_compare_and_swap_8): New function.
6408         (__sync_bool_compare_and_swap_8): New function.
6409         (__sync_lock_test_and_test_8): New function.
6410         (__subword_cmpxchg_body): New macro.
6411         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6412         (__atomic_compare_exchange_2): Ditto.
6413         (__sync_subword_cmpxchg): New macro.
6414         (__sync_val_compare_and_swap_1): New function.
6415         (__sync_bool_compare_and_swap_1): New function.
6416         (__sync_val_compare_and_swap_2): New function.
6417         (__sync_bool_compare_and_swap_2): New function.
6418         (__atomic_subword): Rename to ...
6419         (__subword): ... New name.
6420         (__atomic_subword_fetch): Use __subword.
6421         (__sync_subword_fetch): New macro.
6422         (__sync_fetch_and_add_1): New function.
6423         (__sync_fetch_and_sub_1): New function.
6424         (__sync_fetch_and_or_1): New function.
6425         (__sync_fetch_and_and_1): New function.
6426         (__sync_fetch_and_xor_1): New function.
6427         (__sync_fetch_and_nand_1): New function.
6428         (__sync_fetch_and_add_2): New function.
6429         (__sync_fetch_and_sub_2): New function.
6430         (__sync_fetch_and_or_2): New function.
6431         (__sync_fetch_and_and_2): New function.
6432         (__sync_fetch_and_xor_2): New function.
6433         (__sync_fetch_and_nand_2): New function.
6434         (__sync_add_and_fetch_1): New function.
6435         (__sync_sub_and_fetch_1): New function.
6436         (__sync_or_and_fetch_1): New function.
6437         (__sync_and_and_fetch_1): New function.
6438         (__sync_xor_and_fetch_1): New function.
6439         (__sync_nand_and_fetch_1): New function.
6440         (__sync_add_and_fetch_2): New function.
6441         (__sync_sub_and_fetch_2): New function.
6442         (__sync_or_and_fetch_2): New function.
6443         (__sync_and_and_fetch_2): New function.
6444         (__sync_xor_and_fetch_2): New function.
6445         (__sync_nand_and_fetch_2): New function.
6446         (__atomic_subword_lock): Use __subword.
6447         (__sync_subword_lock): New macro.
6448         (__sync_lock_test_and_set_1): New function.
6449         (__sync_lock_test_and_set_2): New function.
6451 2014-01-25  Walter Lee  <walt@tilera.com>
6453         * config/tilepro/atomic.c (BIT_OFFSET): Define.
6454         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6455         (__atomic_subword): Ditto.
6457 2014-01-25  Walter Lee  <walt@tilera.com>
6459         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6460         a prefix op argument.
6461         (__atomic_nand_fetch_4): Add prefix op.
6462         (__atomic_nand_fetch_8): Ditto.
6464 2014-01-21  Baruch Siach  <barch@tkos.co.il>
6466         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6468 2014-01-09  Rong Xu  <xur@google.com>
6470         * libgcov-driver.c (this_prg): make it local to save
6471         bss space.
6472         (gcov_exit_compute_summary): Ditto.
6473         (gcov_exit_merge_gcda): Ditto.
6474         (gcov_exit_merge_summary): Ditto.
6475         (gcov_exit_dump_gcov): Ditto.
6477 2014-01-08  Rong Xu  <xur@google.com>
6479         * libgcov-driver.c: Use libgcov.h.
6480         (buffer_fn_data): Use xmalloc instead of malloc.
6481         (gcov_exit_merge_gcda): Ditto.
6482         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6483         * libgcov.h: New common header files for libgcov-*.h.
6484         * libgcov-interface.c: Use libgcov.h
6485         * libgcov-merge.c: Ditto.
6486         * libgcov-profiler.c: Ditto.
6487         * Makefile.in: Add dependence to libgcov.h
6489 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
6491         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6492         case of small numerator and finite nonzero result.
6494 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
6496         Update copyright years
6498 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
6500         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6501         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6502         config/arc/dp-hack.h, config/arc/fp-hack.h,
6503         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6504         config/arc/ieee-754/arc600-dsp/divdf3.S,
6505         config/arc/ieee-754/arc600-dsp/divsf3.S,
6506         config/arc/ieee-754/arc600-dsp/muldf3.S,
6507         config/arc/ieee-754/arc600-dsp/mulsf3.S,
6508         config/arc/ieee-754/arc600-mul64/divdf3.S,
6509         config/arc/ieee-754/arc600-mul64/divsf3.S,
6510         config/arc/ieee-754/arc600-mul64/muldf3.S,
6511         config/arc/ieee-754/arc600-mul64/mulsf3.S,
6512         config/arc/ieee-754/arc600/divsf3.S,
6513         config/arc/ieee-754/arc600/mulsf3.S,
6514         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6515         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6516         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6517         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6518         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6519         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6520         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6521         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6522         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6523         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6524         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6525         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6526         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6527         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6528         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6529         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6530         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6531         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6532         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6533         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6534         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6535         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6536         vtv_start_preinit.c: Use the standard form for the copyright notice.
6538 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
6539             Chung-Lin Tang  <cltang@codesourcery.com>
6540             Based on patches from Altera Corporation
6542         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6543         * config/nios2/lib2-nios2.h: New file.
6544         * config/nios2/lib2-divmod-hi.c: New file.
6545         * config/nios2/linux-unwind.h: New file.
6546         * config/nios2/lib2-divmod.c: New file.
6547         * config/nios2/linux-atomic.c: New file.
6548         * config/nios2/t-nios2: New file.
6549         * config/nios2/crti.asm: New file.
6550         * config/nios2/t-linux: New file.
6551         * config/nios2/lib2-divtable.c: New file.
6552         * config/nios2/lib2-mul.c: New file.
6553         * config/nios2/tramp.c: New file.
6554         * config/nios2/crtn.asm: New file.
6556 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
6558         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6559         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6560         from cpuid.h to check vendor signatures.
6562 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
6564         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6565         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6566         (get_amd_cpu): Likewise.
6568 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
6570         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6571         Haswell.
6573 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6574             H.J. Lu  <hongjiu.lu@intel.com>
6576         PR target/59422
6577         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
6578         and AMD_JAGUAR.
6579         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6580         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6581         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
6582         FEATURE_XOP and FEATURE_FMA.
6583         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6584         AMDFAM15H_BDVER3.
6585         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6586         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6587         FEATURE_FMA4 and FEATURE_XOP.
6589 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
6591         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6592         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6593         (get_intel_cpu): Updated.
6595 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
6597         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6599 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
6601         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6602         instructions when __SSE_MATH__ is defined.
6604 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
6606         * config.host (microblaze-*-rtems*): New.
6608 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
6610         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6611         architectures that do not have hardware divide instruction.
6612         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6614 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
6616         * longlong.h: Delete (moved to include/).
6618 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6620         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6621         of normal number and qNaN to not raise an inexact exception.
6623 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
6625         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6627 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
6629         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6630         for correct opcodes on BE.
6632 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
6634         * soft-fp/op-4.h: Update from glibc.
6636 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
6638         * libgcc2.c (__udivmoddi4): Define new implementation when
6639         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6640         divide instructions.
6642 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
6644         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6646 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6648         * config/t-softfp (soft-fp-objects-base): New variable.
6649         (soft-fp-objects): Use it.
6651 2013-11-23  David Edelson  <dje.gcc@gmail.com>
6652             Andrew Dixie  <andrewd@gentrack.com>
6654         PR target/33704
6655         * config/rs6000/aixinitfini.c: New file.
6656         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6657         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6658         symbols.
6660 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
6662         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6664 2013-11-18  Jan Hubicka  <jh@suse.cz>
6666         * libgcov-driver.c (run_accounted): Make global level static.
6667         (gcov_exit_merge_summary): Silence warning; do not clear
6668         run_accounted here.
6669         (gcov_exit): Clear it here.
6671         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6672         run_accounted.
6674         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6675         (all_prg, crc32): Remove static vars.
6676         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6677         all_prg.
6678         (gcov_exit_merge_gcda): Add crc32 parameter.
6679         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6680         do not account run if it was already accounted.
6681         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6682         (gcov_exit): Initialize all_prg; update.
6684 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
6686         * configure: Regenerate.
6688 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6689             Alan Modra  <amodra@gmail.com>
6691         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6692         (frob_update_context): Use it.
6694 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6695             Alan Modra  <amodra@gmail.com>
6697         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6698         (trampoline_initial): Provide ELFv2 variant.
6699         (__trampoline_setup): Likewise.
6701         * config/rs6000/linux-unwind.h (frob_update_context): Do not
6702         check for AIX indirect function call sequence if _CALL_ELF == 2.
6704 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6705             Alan Modra  <amodra@gmail.com>
6707         * config/rs6000/linux-unwind.h (get_regs): Do not support
6708         old kernel versions if _CALL_ELF == 2.
6709         (frob_update_context): Do not support PLT stub variants only
6710         generated by old linkers if _CALL_ELF == 2.
6712 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6713             Alan Modra  <amodra@gmail.com>
6715         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6716         location of CR save area for 64-bit little-endian systems.
6718 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
6720         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6721         in tmake_file.
6722         * config/arm/t-vxworks: Delete.
6724 2013-11-10  Kai Tietz  <ktietz@redhat.com>
6726         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6727         Increment load-count on use of LIBGCC_SONAME DLL.
6728         (hmod_libgcc): New static variable to hold handle of
6729         LIBGCC_SONAME DLL.
6730         (__gcc_deregister_frame): Decrement load-count of
6731         LIBGCC_SONAME DLL.
6733 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
6735         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6736         availability.
6737         * configure: Regenerate
6739 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
6741         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6742         FP_EX_DENORM.  Store result to volatile location after SSE division
6743         to close interrupt window.  Remove unneeded fwait after x87
6744         division since interrupt window will be closed by emitted fstp.
6745         Rewrite FP_EX_INEXACT handling.
6747 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
6749         * soft-fp/README: Update.
6750         * soft-fp/adddf3.c: Update from glibc.
6751         * soft-fp/addsf3.c: Likewise.
6752         * soft-fp/addtf3.c: Likewise.
6753         * soft-fp/divdf3.c: Likewise.
6754         * soft-fp/divsf3.c: Likewise.
6755         * soft-fp/divtf3.c: Likewise.
6756         * soft-fp/double.h: Likewise.
6757         * soft-fp/eqdf2.c: Likewise.
6758         * soft-fp/eqsf2.c: Likewise.
6759         * soft-fp/eqtf2.c: Likewise.
6760         * soft-fp/extenddftf2.c: Likewise.
6761         * soft-fp/extended.h: Likewise.
6762         * soft-fp/extendsfdf2.c: Likewise.
6763         * soft-fp/extendsftf2.c: Likewise.
6764         * soft-fp/extendxftf2.c: Likewise.
6765         * soft-fp/fixdfdi.c: Likewise.
6766         * soft-fp/fixdfsi.c: Likewise.
6767         * soft-fp/fixdfti.c: Likewise.
6768         * soft-fp/fixsfdi.c: Likewise.
6769         * soft-fp/fixsfsi.c: Likewise.
6770         * soft-fp/fixsfti.c: Likewise.
6771         * soft-fp/fixtfdi.c: Likewise.
6772         * soft-fp/fixtfsi.c: Likewise.
6773         * soft-fp/fixtfti.c: Likewise.
6774         * soft-fp/fixunsdfdi.c: Likewise.
6775         * soft-fp/fixunsdfsi.c: Likewise.
6776         * soft-fp/fixunsdfti.c: Likewise.
6777         * soft-fp/fixunssfdi.c: Likewise.
6778         * soft-fp/fixunssfsi.c: Likewise.
6779         * soft-fp/fixunssfti.c: Likewise.
6780         * soft-fp/fixunstfdi.c: Likewise.
6781         * soft-fp/fixunstfsi.c: Likewise.
6782         * soft-fp/fixunstfti.c: Likewise.
6783         * soft-fp/floatdidf.c: Likewise.
6784         * soft-fp/floatdisf.c: Likewise.
6785         * soft-fp/floatditf.c: Likewise.
6786         * soft-fp/floatsidf.c: Likewise.
6787         * soft-fp/floatsisf.c: Likewise.
6788         * soft-fp/floatsitf.c: Likewise.
6789         * soft-fp/floattidf.c: Likewise.
6790         * soft-fp/floattisf.c: Likewise.
6791         * soft-fp/floattitf.c: Likewise.
6792         * soft-fp/floatundidf.c: Likewise.
6793         * soft-fp/floatundisf.c: Likewise.
6794         * soft-fp/floatunditf.c: Likewise.
6795         * soft-fp/floatunsidf.c: Likewise.
6796         * soft-fp/floatunsisf.c: Likewise.
6797         * soft-fp/floatunsitf.c: Likewise.
6798         * soft-fp/floatuntidf.c: Likewise.
6799         * soft-fp/floatuntisf.c: Likewise.
6800         * soft-fp/floatuntitf.c: Likewise.
6801         * soft-fp/gedf2.c: Likewise.
6802         * soft-fp/gesf2.c: Likewise.
6803         * soft-fp/getf2.c: Likewise.
6804         * soft-fp/ledf2.c: Likewise.
6805         * soft-fp/lesf2.c: Likewise.
6806         * soft-fp/letf2.c: Likewise.
6807         * soft-fp/muldf3.c: Likewise.
6808         * soft-fp/mulsf3.c: Likewise.
6809         * soft-fp/multf3.c: Likewise.
6810         * soft-fp/negdf2.c: Likewise.
6811         * soft-fp/negsf2.c: Likewise.
6812         * soft-fp/negtf2.c: Likewise.
6813         * soft-fp/op-1.h: Likewise.
6814         * soft-fp/op-2.h: Likewise.
6815         * soft-fp/op-4.h: Likewise.
6816         * soft-fp/op-8.h: Likewise.
6817         * soft-fp/op-common.h: Likewise.
6818         * soft-fp/quad.h: Likewise.
6819         * soft-fp/single.h: Likewise.
6820         * soft-fp/soft-fp.h: Likewise.
6821         * soft-fp/subdf3.c: Likewise.
6822         * soft-fp/subsf3.c: Likewise.
6823         * soft-fp/subtf3.c: Likewise.
6824         * soft-fp/truncdfsf2.c: Likewise.
6825         * soft-fp/trunctfdf2.c: Likewise.
6826         * soft-fp/trunctfsf2.c: Likewise.
6827         * soft-fp/trunctfxf2.c: Likewise.
6828         * soft-fp/unorddf2.c: Likewise.
6829         * soft-fp/unordsf2.c: Likewise.
6830         * soft-fp/unordtf2.c: Likewise.
6832 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
6834         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6835         (_FP_MUL_MEAT_D): Ditto.
6836         (_FP_DIV_MEAT_S): Ditto.
6837         (_FP_DIV_MEAT_D): Ditto.
6838         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6839         t-softfp-sfdf and t-softfp to tmake_file.
6841 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
6843         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6844         * config/i386/crtprec.c: Ditto.
6846 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
6847             Shiva Chen  <shiva0217@gmail.com>
6849         * config.host (nds32*-elf*): Add nds32 target.
6850         * config/nds32 : New directory and files.
6852 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
6854         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
6855         * config.host (cpu_type) <Setting default>: Add entry for
6856         crisv32-*-*.
6857         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6858         <crisv32-*-linux*>: Adjust.
6859         * longlong.h: Wrap the whole CRIS section in a single
6860         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
6861         and sub_ddmmss.
6862         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6863         defined.
6864         [__CRIS__] (__umulsidi3): Define.
6865         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6866         * config/cris/sfp-machine.h: New file.
6867         * config/cris/umulsidi3.S: New file.
6868         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6869         * config/cris/arit.c (SIGNMULT): New macro.
6870         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6871         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6872         saving 3 out of originally 33 cycles from the fastest
6873         path, 3 out of 54 from the medium path and one from the longest
6874         path.  Improve comments.
6876 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
6878         * sync.c: Remove static aliases and define each function directly
6879         under its real name.
6881 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
6883         * config.host (hppa*64*-*-linux*): Define extra_parts.
6884         (hppa*-*-linux*): Likewise.
6886 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
6888         * config/arc/crtgend.S: Add 2013 to Copyright years.
6889         * config/arc/gmon/atomic.h: Likewise.
6890         * config/arc/gmon/auxreg.h: Likewise.
6891         * config/arc/gmon/sys/gmon_out.h: Likewise.
6892         * config/arc/gmon/sys/gmon.h: Likewise.
6893         * config/arc/gmon/prof-freq.c: Likewise.
6894         * config/arc/gmon/mcount.c: Likewise.
6895         * config/arc/gmon/prof-freq-stub.S: Likewise.
6896         * config/arc/gmon/gmon.c: Likewise.
6897         * config/arc/gmon/machine-gmon.h: Likewise.
6898         * config/arc/gmon/profil.S: Likewise.
6899         * config/arc/gmon/dcache_linesz.S: Likewise.
6900         * config/arc/crtg.S: Likewise.
6901         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6902         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6903         * config/arc/ieee-754/adddf3.S: Likewise.
6904         * config/arc/ieee-754/truncdfsf2.S: Likewise.
6905         * config/arc/ieee-754/fixsfsi.S: Likewise.
6906         * config/arc/ieee-754/gtsf2.S: Likewise.
6907         * config/arc/ieee-754/floatsisf.S: Likewise.
6908         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6909         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6910         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6911         * config/arc/ieee-754/fixdfsi.S: Likewise.
6912         * config/arc/ieee-754/addsf3.S: Likewise.
6913         * config/arc/ieee-754/gesf2.S: Likewise.
6914         * config/arc/ieee-754/floatsidf.S: Likewise.
6915         * config/arc/ieee-754/extendsfdf2.S: Likewise.
6916         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6917         * config/arc/ieee-754/gtdf2.S: Likewise.
6918         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6919         * config/arc/ieee-754/uneqdf2.S: Likewise.
6920         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6921         * config/arc/ieee-754/uneqsf2.S: Likewise.
6922         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6923         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6924         * config/arc/ieee-754/eqdf2.S: Likewise.
6925         * config/arc/ieee-754/ordsf2.S: Likewise.
6926         * config/arc/ieee-754/divsf3.S: Likewise.
6927         * config/arc/ieee-754/divdf3.S: Likewise.
6928         * config/arc/ieee-754/floatunsidf.S: Likewise.
6929         * config/arc/ieee-754/orddf2.S: Likewise.
6930         * config/arc/ieee-754/eqsf2.S: Likewise.
6931         * config/arc/ieee-754/gedf2.S: Likewise.
6932         * config/arc/crtn.S: Likewise.
6933         * config/arc/crti.S: Likewise.
6934         * config/arc/t-arc700-uClibc: Likewise.
6935         * config/arc/asm.h: Likewise.
6936         * config/arc/libgcc-excl.ver: Likewise.
6937         * config/arc/t-arc-newlib: Likewise.
6938         * config/arc/divtab-arc700.c: Likewise.
6939         * config/arc/initfini.c: Likewise.
6940         * config/arc/fp-hack.h: Likewise.
6942 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
6943             Diego Novillo  <dnovillo@google.com>
6945         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6946         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6947         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6948         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6950 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
6951             Brendan Kehoe  <brendan@zen.org>
6952             Simon Cook  <simon.cook@embecosm.com>
6954         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6955         * config/arc: New directory.
6956         * longlong.h [__arc__] (umul_ppmm): Remove.
6957         [__arc__] (__umulsidi3): Define.
6958         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6959         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6961 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
6963         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6964         CreateSemaphoreA.
6965         * config/i386/gthr-win32.h: Likewise.
6967 2013-09-16  DJ Delorie  <dj@redhat.com>
6969         * config/rl78/vregs.h: Add G10 register definitions.
6970         * config/rl78/lib2mul.c: Enable for RL78/G10.
6971         * config/rl78/lib2div.c: Likewise.
6972         * config/rl78/lshrsi3.S: Use vregs.h.
6973         * config/rl78/cmpsi2.S: Likewise.
6974         * config/rl78/trampoline.S: Likewise.
6975         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
6977 2013-09-14  DJ Delorie  <dj@redhat.com>
6978             Nick Clifton  <nickc@redhat.com>
6980         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6981         * config/rl78/vregs.h: New.
6982         * config/rl78/signbit.S: New file.  Implements signbit function.
6983         * config/rl78/divmodsi.S: New.
6984         * config/rl78/divmodhi.S: New.
6985         * config/rl78/divmodqi.S: New.
6986         * config/rl78/t-rl78: Build them here...
6987         * config/rl78/lib2div.c: ...but not here.
6989 2013-09-12  DJ Delorie  <dj@redhat.com>
6991         * config.host (msp*-*-elf): New.
6992         * config/msp430/: New port.
6994 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
6996         PR gcov-profile/58127
6997         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6998         __thread var for emulated TLS.
6999         (__gcov_indirect_call_counters): Likewise.
7001 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
7002             Catherine Moore  <clm@codesourcery.com>
7003             Richard Sandiford  <rdsandiford@googlemail.com>
7005         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7006         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7007         (CALL_STUB_NO_RET): Likewise.
7008         (CALL_STUB_RET): Likewise.
7009         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7010         __mips16_ret call/return stub symbols.
7011         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7012         to tmake_file.
7014 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
7016         * config.host <mips*-*-linux*>: Remove a stray comment.
7018 2013-08-10  Jan Hubicka  <jh@suse.cz>
7020         Work around binutils PR14342
7021         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7022         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7023         (L_gcov_indirect_call_profiler_v2): New.
7025 2013-08-06  Jan Hubicka  <jh@suse.cz>
7027         * libgcov.c (__gcov_indirect_call_callee,
7028         __gcov_indirect_call_counters): New global vars.
7029         (__gcov_indirect_call_profiler): replace by ...
7030         (__gcov_indirect_call_profiler_v2) ... this one.
7032 2013-08-06  Caroline Tice  <cmtice@google.com>
7034         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
7035         vtv_start_preinit.o and vtv_end_preinit.o.
7036         * configure.ac: Add code to check/set enable_vtable_verify.
7037         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
7038         true.
7039         * vtv_start_preinit.c: New file.
7040         * vtv_end_preinit.c: New file.
7041         * vtv_start.c: New file.
7042         * vtv_end.c: New file.
7043         * configure: Regenerated.
7045 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
7047         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7048         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7049         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7050         GPL-3.0-with-GCC-exception.
7052 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
7054         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7055         ISA and up.
7057 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7059         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7060         mapping for FPRs when creating the fallback framestate.
7062 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
7064         PR target/57516
7065         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7066         (__round_s2_const, __round_u2_const)
7067         (__round_s4_const, __round_u4_const, __round_x8):
7068         Saturate result if addition result cannot be represented.
7070 2013-07-15  Matthias Klose  <doko@ubuntu.com>
7072         * libgcc2.c: Don't include <limits.h>.
7074 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
7076         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7078 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
7080         PR target/29776
7081         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7083 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
7085         PR middle-end/36041
7086         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7087         Define.
7088         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7089         instead of table lookups.
7090         (__popcountDI2): Likewise.
7092 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
7094         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7095         correctly.
7097 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7099         PR other/53317
7100         * soft-fp/adddf3.c: Update from glibc.
7101         * soft-fp/addsf3.c: Likewise.
7102         * soft-fp/addtf3.c: Likewise.
7103         * soft-fp/divdf3.c: Likewise.
7104         * soft-fp/divsf3.c: Likewise.
7105         * soft-fp/divtf3.c: Likewise.
7106         * soft-fp/double.h: Likewise.
7107         * soft-fp/eqdf2.c: Likewise.
7108         * soft-fp/eqsf2.c: Likewise.
7109         * soft-fp/eqtf2.c: Likewise.
7110         * soft-fp/extenddftf2.c: Likewise.
7111         * soft-fp/extended.h: Likewise.
7112         * soft-fp/extendsfdf2.c: Likewise.
7113         * soft-fp/extendsftf2.c: Likewise.
7114         * soft-fp/fixdfdi.c: Likewise.
7115         * soft-fp/fixdfsi.c: Likewise.
7116         * soft-fp/fixsfdi.c: Likewise.
7117         * soft-fp/fixsfsi.c: Likewise.
7118         * soft-fp/fixtfdi.c: Likewise.
7119         * soft-fp/fixtfsi.c: Likewise.
7120         * soft-fp/fixunsdfdi.c: Likewise.
7121         * soft-fp/fixunsdfsi.c: Likewise.
7122         * soft-fp/fixunssfdi.c: Likewise.
7123         * soft-fp/fixunssfsi.c: Likewise.
7124         * soft-fp/fixunstfdi.c: Likewise.
7125         * soft-fp/fixunstfsi.c: Likewise.
7126         * soft-fp/floatdidf.c: Likewise.
7127         * soft-fp/floatdisf.c: Likewise.
7128         * soft-fp/floatditf.c: Likewise.
7129         * soft-fp/floatsidf.c: Likewise.
7130         * soft-fp/floatsisf.c: Likewise.
7131         * soft-fp/floatsitf.c: Likewise.
7132         * soft-fp/floatundidf.c: Likewise.
7133         * soft-fp/floatundisf.c: Likewise.
7134         * soft-fp/floatunditf.c: Likewise.
7135         * soft-fp/floatunsidf.c: Likewise.
7136         * soft-fp/floatunsisf.c: Likewise.
7137         * soft-fp/floatunsitf.c: Likewise.
7138         * soft-fp/gedf2.c: Likewise.
7139         * soft-fp/gesf2.c: Likewise.
7140         * soft-fp/getf2.c: Likewise.
7141         * soft-fp/ledf2.c: Likewise.
7142         * soft-fp/lesf2.c: Likewise.
7143         * soft-fp/letf2.c: Likewise.
7144         * soft-fp/muldf3.c: Likewise.
7145         * soft-fp/mulsf3.c: Likewise.
7146         * soft-fp/multf3.c: Likewise.
7147         * soft-fp/negdf2.c: Likewise.
7148         * soft-fp/negsf2.c: Likewise.
7149         * soft-fp/negtf2.c: Likewise.
7150         * soft-fp/op-1.h: Likewise.
7151         * soft-fp/op-2.h: Likewise.
7152         * soft-fp/op-4.h: Likewise.
7153         * soft-fp/op-8.h: Likewise.
7154         * soft-fp/op-common.h: Likewise.
7155         * soft-fp/quad.h: Likewise.
7156         * soft-fp/single.h: Likewise.
7157         * soft-fp/soft-fp.h: Likewise.
7158         * soft-fp/subdf3.c: Likewise.
7159         * soft-fp/subsf3.c: Likewise.
7160         * soft-fp/subtf3.c: Likewise.
7161         * soft-fp/truncdfsf2.c: Likewise.
7162         * soft-fp/trunctfdf2.c: Likewise.
7163         * soft-fp/trunctfsf2.c: Likewise.
7164         * soft-fp/unorddf2.c: Likewise.
7165         * soft-fp/unordsf2.c: Likewise.
7166         * soft-fp/unordtf2.c: Likewise.
7167         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7168         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7169         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7170         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7171         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7172         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7173         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7174         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7175         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7176         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7177         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7178         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7180 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
7182         * config/mips/lib2funcs.c: New file.
7183         * config/mips/t-mips (LIB2ADD_ST): Add it.
7185 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
7187         PR target/6526
7188         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7189         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
7191 2013-06-08  Walter Lee  <walt@tilera.com>
7193         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7194         Replace int64_t with long long.  Add __extension__ where
7195         appropriate.
7196         * config/tilepro/atomic.c: Include config.h.
7198 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
7200         * config.host (arm-wrs-vxworks): Configure with other soft float.
7202 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
7204         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7205         (mips64r5900el-*-elf*): New configurations.
7207 2013-06-04  Alan Modra  <amodra@gmail.com>
7209         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7211 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
7213         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7215 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
7217         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7218         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7219         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7221 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
7223         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7224         (powerpc-wrs-vxworks): Likewise.
7226 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
7228         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7229         signal frames as well.
7230         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7231         STACK_BIAS to the CFA offset.
7233 2013-05-17  Richard Henderson  <rth@redhat.com>
7235         PR target/49146
7236         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7237         (execute_cfa_program): Use it when storing to fs->regs.
7239 2013-05-08  Kai Tietz  <ktietz@redhat.com>
7241         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7242         (__deregister_frame_info): Likewise.
7244 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
7246         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7247         NaN's payload.
7249         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7251 2013-04-25  Alan Modra  <amodra@gmail.com>
7253         * config.host: Match little-endian powerpc-linux.
7255 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
7257         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7258         as 'unsigned long long' instead of 'unsigned long'.
7259         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7260         'signed long'.
7262 2013-04-10  Julian Brown  <julian@codesourcery.com>
7264         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7265         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7266         unsigned char/unsigned short.
7267         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7269 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7271         PR other/55274
7272         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7274 2013-04-04  Meador Inge  <meadori@codesourcery.com>
7276         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7277         computing the location of the link register.
7278         (aeabi_uldivmod): Ditto.
7280 2013-03-27  Kai Tietz  <ktietz@redhat.com>
7282         * config.host: Add support for cygwin x64 target.
7283         * configure: Regenerated.
7285 2013-03-26  Walter Lee  <walt@tilera.com>
7287         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7288         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7290 2013-03-25  Kai Tietz  <ktietz@redhat.com>
7292         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7294 2013-03-20  Robert Mason  <rbmj@verizon.net>
7296         * config/vxlib-tls.c (__gthread_get_tsd_data,)
7297         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7298         (__gthread_leave_tsd_dtor_context): Add prototypes.
7299         (tls_delete_hook): Update.
7301 2013-03-20  Catherine Moore  <clm@codesourcery.com>
7302             Joseph Myers  <joseph@codesourcery.com>
7303             Chao-ying Fu  <fu@mips.com>
7305         * config/mips/mips16.S:  Don't build for microMIPS.
7306         * config/mips/linux-unwind.h: Handle microMIPS frame.
7307         * config/mips/crtn.S (fini, init): New labels.
7309 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
7311         PR tree-optimization/53265
7312         * unwind-dw2.c (execute_cfa_program): Avoid
7313         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7314         on targets with DWARF_FRAME_REGISTERS < 32.
7316 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
7318         PR target/49880
7319         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7320         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7322 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
7324         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7325         sandybridge processors.
7327 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
7329         PR target/56529
7330         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7331         inclusion list.
7333 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7335         * config/microblaze/crti.S: Setup stack protection at entry
7337 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
7339         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7340         (__rotldi3): Shift bytewise if applicable.
7342 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
7344         * config/aarch64/sync-cache.c
7345         (__aarch64_sync_cache_range): Silence warnings.
7347 2013-02-25  Catherine Moore  <clm@codesourcery.com>
7349         Revert:
7350         2013-02-24  Catherine Moore  <clm@codesourcery.com>
7351             Joseph Myers  <joseph@codesourcery.com>
7352             Chao-ying Fu  <fu@mips.com>
7354         * config/mips/mips16.S:  Don't build for microMIPS.
7355         * config/mips/linux-unwind.h: Handle microMIPS frame.
7356         * config/mips/crtn.S (fini, init): New labels.
7358 2013-02-24  Catherine Moore  <clm@codesourcery.com>
7359             Joseph Myers  <joseph@codesourcery.com>
7360             Chao-ying Fu  <fu@mips.com>
7362         * config/mips/mips16.S:  Don't build for microMIPS.
7363         * config/mips/linux-unwind.h: Handle microMIPS frame.
7364         * config/mips/crtn.S (fini, init): New labels.
7366 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7367         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7368         as dividend.
7370 2013-02-16  Alan Modra  <amodra@gmail.com>
7372         PR target/55431
7373         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7374         (ppc_fallback_frame_state): Always set up save locations for fp
7375         and altivec.  Don't bother with non-callee-saved regs, r0-r13
7376         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7378 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
7380         PR target/54222
7381         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7382         _ssmulHA, _ssmulSA.
7383         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7384         _ssmulha3, _usmulusa3, _ssmulsa3.
7385         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7386         (__muldi3): XCALL __muldi3_6 instead of rcall.
7387         (__umulsidi3, __mulsidi3): New functions.
7388         (do_prologue_saves, do_epilogue_restores): New .macros.
7389         (__divdi3_moddi3): Use them.
7390         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7391         (__usmulusa3, __ssmulsa3): New functions.
7393 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
7394             Jack Howarth  <howarth@bromo.med.uc.edu>
7395             Patrick Marlier  <patrick.marlier@gmail.com>
7397         PR libitm/55693
7398         * config/darwin-crt-tm.c: Remove dummy functions hack.
7400 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
7402         PR target/54222
7403         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7404         * config/avr/lib2-object.mk: New iterator to build objects from it.
7405         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7406         lib2funcs.c.
7407         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7408         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7409         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7410         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7411         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7412         * config/avr/lib1funcs-fixed.S: Implement them.
7414 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
7416         Update copyright years.
7418 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
7420         PR target/54601
7421         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7422         Add crtcxa to extra_parts.
7423         * config/rs6000/exit.h: New file.
7424         * config/rs6000/cxa_atexit.c: New file.
7425         * config/rs6000/cxa_finalize.c: New file.
7426         * config/rs6000/crtcxa.c: New file.
7427         * config/rs6000/t-aix-cxa: New file.
7428         * config/rs6000/libgcc-aix-cxa.ver: New file.
7430 2013-01-31  Nick Clifton  <nickc@redhat.com>
7432         * config/v850/lib1funcs.S: Add support for e3v5 architecture
7433         variant.
7435 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
7437         PR target/54222
7438         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7439         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
7440         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7441         _divQQ,  _divHQ,  _divHA,  _divSA,
7442         _divUQQ, _divUHQ, _divUHA, _divUSA.
7444 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
7446         * config.host(microblaze*-linux*): tmake_file: Remove
7447         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7448         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7449         to exclude functions from being built with libgcc.c and use
7450         the microblaze assembly.
7452 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7454         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7455         extra_parts.
7457 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
7459         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7460         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7461         __UINTPTR_TYPE__; also cast 'base' to the same type before the
7462         alignment operation.
7464 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
7466         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7467         loop start address for cache clearing.
7469 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7471         * config/avr/lib1funcs.S: Remove trailing blanks.
7472         * config/avr/lib1funcs-fixed.S: Ditto.
7474 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7476         * config/avr/avr-lib.h: Add GPL copyright notice.
7478 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7480         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7481         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7482         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7483         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7485 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
7487         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7488         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7490 2013-01-04  Nick Clifton  <nickc@redhat.com>
7492         * config/v850/lib1funcs.S: Only provide CALLT support functions if
7493         the CALLT instruction is supported.
7495 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
7497         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7498         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7500 2012-12-13  John Tytgat  <John@bass-software.com>
7502         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7503         is 25.
7505 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
7507         PR libgcc/55451
7508         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7509         undefined signed overflows.
7511 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
7513         PR target/55344
7514         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7516 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
7518         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7519         (FP_TRAPPING_EXCEPTIONS): Define.
7520         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7521         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7523 2012-12-04  Richard Henderson  <rth@redhat.com>
7525         PR bootstrap/55571
7526         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7528 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7530         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7531         (FP_EX_SHIFT): Define.
7532         (FP_TRAPPING_EXCEPTIONS): Define.
7534 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7536         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7537         (FP_ROUNDMODE): Use FP_RND_MASK.
7538         * config/aarch64/sfp-exceptions.c: New.
7539         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7540         Use __sfp_handle_exceptions.
7542 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
7544         * config.host: (arm*-*-freebsd*): Remove.
7545         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7546         (arm*-*-elf*): Remove.
7547         (arm*-*-wince-pe*): Remove.
7548         * arm/unwind-arm.c (struct fpa_reg): Delete.
7549         (struct fpa_regs): Delete.
7550         (phase1_vrs): Remove fpa element.
7551         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7552         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7553         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7554         * ieee754-sf.S (floatundisf): Remove FPA support.
7555         (floatdisf): Likewise.
7556         * ieee75f-df.S (floatundidf): Likewise.
7557         (floatdidf): Likewise.
7559 2012-11-29  Kai Tietz  <ktietz@redhat.com>
7561         PR target/55445
7562         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7563         * unwind-generic.h: Likewise.
7564         * unwind-seh.c: Likewise.
7566 2012-11-28  Richard Henderson  <rth@redhat.com>
7568         PR libgcc/48076
7569         * emutls.c (__emutls_get_address): Avoid race condition between
7570         obj->loc.offset read and emutls_key initialization.
7572 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
7574         Adjust decimal point of signed accum mode to GCC default.
7576         PR target/54222
7577         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7578         _divqq_helper.
7579         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7580         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7581         (__mulha3, __mulsa3)
7582         (__divqq3, __divha3, __divsa3): Adjust to new position of
7583         decimal point of signed accum types.
7585         (__mulusa3_round): New function.
7586         (__mulusa3): Use it.
7587         (__divqq_helper): New function.
7588         (__udivuqq3): Use it.
7590 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
7592         PR bootstrap/55370
7593         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7595 2012-11-18  Teresa Johnson  <tejohnson@google.com>
7597         PR bootstrap/55051
7598         * libgcov.c (gcov_exit): Remove merged program summary
7599         comparison unless !GCOV_LOCKED.
7601 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7603         * soft-fp: Updated from glibc upstream.
7605 2012-11-06  Ian Lance Taylor  <iant@google.com>
7607         * generic-morestack.c (__generic_morestack): Align the returned
7608         stack pointer to a 32 byte boundary.
7609         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7610         increment the return address until we have decided that we don't
7611         have a varargs function.
7612         (__morestack) [32-bit]: Align stack correctly when calling C
7613         functions.
7614         (__morestack) [64-bit]: Likewise.
7616 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
7618         * configure: Regenerate.
7620 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
7622         PR target/55175
7623         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7624         * config/i386/sfp-machine.h: Guard exception handling
7625         code with _SOFT_FLOAT.
7626         * config/i386/32/sfp-machine.h: Guard rounding handling
7627         code with _SOFT_FLOAT.
7628         * config/i386/64/sfp-machine.h: Ditto.
7630 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
7632         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7633         as extra_parts.
7635 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
7637         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7638         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
7639         when appropriate.  Correct structure element types.
7640         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7641         -minline-all-stringops from compile flags.
7643 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
7645         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7647 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
7649         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7651 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7653         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7654         tmake_file.
7656 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
7657             Jim MacArthur  <jim.macarthur@arm.com>
7658             Marcus Shawcroft  <marcus.shawcroft@arm.com>
7659             Nigel Stephens  <nigel.stephens@arm.com>
7660             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
7661             Richard Earnshaw  <rearnsha@arm.com>
7662             Sofiane Naci  <sofiane.naci@arm.com>
7663             Stephen Thomas  <stephen.thomas@arm.com>
7664             Tejas Belagod  <tejas.belagod@arm.com>
7665             Yufeng Zhang  <yufeng.zhang@arm.com>
7667         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7668         * config/aarch64/crti.S: New file.
7669         * config/aarch64/crtn.S: New file.
7670         * config/aarch64/linux-unwind.h: New file.
7671         * config/aarch64/sfp-machine.h: New file.
7672         * config/aarch64/sync-cache.c: New file.
7673         * config/aarch64/t-aarch64: New file.
7674         * config/aarch64/t-softfp: New file.
7676 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
7678         * config/mmix/crti.S: Mark program and data addresses using PRELD.
7679         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
7680         no-longer-needed LDBU insns.
7682 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7684         * config.host
7685         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7686         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7688 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
7690         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7692 2012-10-15  Matthias Klose  <doko@ubuntu.com>
7694         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7696 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
7698         * configure: Regenerate.
7699         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7701 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
7703         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7704         instructions for 64bit targets only.
7706 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
7708         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7709         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7710         * config/i386/32/sfp-machine.h: ... here.
7711         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7712         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7713         New defines.
7715 2012-10-07  Matthias Klose  <doko@ubuntu.com>
7717         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7718         as unused.
7719         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7721 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
7723         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7724         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7725         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7726         (ElfW): Likewise.
7728 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
7730         PR other/53889
7731         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7732         Fix parameter names.
7734 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
7736         PR target/33135
7737         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7738         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7739         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7741 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
7743         PR target/50457
7744         * config/sh/linux-atomic.S: Delete.
7745         * config/sh/linux-atomic.c: New.
7746         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7747         linux-atomic.c.  Add cflags to disable warnings.
7749 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
7751         PR other/53889
7752         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7753         function.
7754         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7755         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7756         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7757         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7758         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7759         Likewise.
7760         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7761         Likewise.
7762         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7763         Likewise.
7764         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7765         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7767 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
7769         * config.host (hppa-*-openbsd*): New target.
7770         * config/pa/t-openbsd: New file.
7772 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
7774         PR target/54222
7775         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7776         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7777         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7778         (__divsa3): Use __negsi2 to negate r_quoL.
7779         * config/avr/lib1funcs.S (FALIAS): New macro.
7780         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7781         (__negsi2): ...this new function.
7782         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7783         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7784         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7785         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7786         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7787         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7789 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
7791         PR target/54089
7792         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7793         (lshrsi3): Reimplement as lshrsi3_r0.
7795 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
7797         PR target/46191
7798         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7799         of libgcc.a.
7801 2012-09-07  Teresa Johnson  <tejohnson@google.com>
7803         PR gcov-profile/54487
7804         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7805         differences.
7807 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
7809         PR target/54461
7810         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7811         not configured --with-avrlibc=no.
7812         * config/avr/t-avrlibc: New file.
7813         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7814         (DPBIT_FUNCS): Ditto.
7815         (TPBIT_FUNCS): Ditto.
7817 2012-09-04  Teresa Johnson  <tejohnson@google.com>
7819         * libgcov.c (struct gcov_summary_buffer): New structure.
7820         (gcov_histogram_insert): New function.
7821         (gcov_compute_histogram): Ditto.
7822         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7823         histograms during summary merging.
7825 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
7827         * config.host (x86_64-*-openbsd*): New target.
7829 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
7831         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7832         attribute.
7834 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7836         PR target/54222
7837         * config/avr/t-avr (conv_X): Rename to func_X.
7839 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7841         PR target/54222
7842         * config/avr/lib1funcs-fixed.S: New file.
7843         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
7844         after they are used.
7845         (neg2, neg4): New macros.
7846         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7847         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7848         (__umulhisi3): Speed up MUL variant if there is enough flash.
7849         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7850         avr-modes.def.
7851         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7852         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7853         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7854         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7855         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7856         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7857         (LIB2FUNCS_EXCLUDE): Add supported functions.
7859 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
7861         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7862         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7863         libgcc-s-objects.
7864         * fixed-obj.mk: Only expand dependency if $o is not in
7865         LIB2FUNCS_EXCLUDE.
7867 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
7869         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7871 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
7873         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7874         depend on --enable-shared.
7875         ($(lib1asmfuncs-o)): Use %.vis files independent of
7876         --enable-shared.
7877         * static-object.mk ($(base)$(objext), $(base).vis)
7878         ($(base)_s$(objext)): Use same rules for visibility handling as in
7879         shared-object.mk.
7881 2012-08-21  Ian Lance Taylor  <iant@google.com>
7883         * config/i386/morestack.S (__morestack_non_split): Increase amount
7884         of space allocated for non-split code stack.
7886 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
7888         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7889         even if inhibit_libc.
7891 2012-08-17  Julian Brown  <julian@codesourcery.com>
7893         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7894         -fexceptions -fnon-call-exceptions if not defined.
7895         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7896         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7898 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
7900         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7901         type.
7903 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
7905         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7906         rs6000/t-slibgcc-aix.
7908 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
7910         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7912 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
7914         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7916 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
7918         PR driver/54171
7919         * Makefile.in (version): Replace top_srcdir with srcdir.
7921 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
7923         * Makefile.in (version): set to BASE-VER file from gcc directory.
7925 2012-08-01  Nick Clifton  <nickc@redhat.com>
7927         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7928         Implements __clrsb for an HImode argument.
7930 2012-07-31  Nick Clifton  <nickc@redhat.com>
7932         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7933         Implements __clrsb for an HImode argument.
7934         * config/stormy16/clrsbhi2.c: New file:
7935         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7937 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
7939         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7941 2012-07-19  Tristan Gingold  <gingold@adacore.com>
7942             Richard Henderson  <rth@redhat.com>
7944         * unwind-seh.c: New file.
7945         * unwind-generic.h: Include windows.h for SEH.
7946         (_Unwind_Exception): Use 6 private fields for SEH.
7947         (_GCC_specific_handler): Declare.
7948         * unwind-c.c (__gcc_personality_seh0): New function.
7949         Adjust for SEH.
7950         * config/i386/libgcc-cygming.ver: New file.
7951         * config/i386/t-seh-eh: New file.
7952         * config.host (x86_64-*-mingw*): Default to seh.
7954 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
7956         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7958 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
7960         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7961         __builtin_expect when checking for exceptions.
7962         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7964 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
7966         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7967         function declaration.
7968         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7969         (FP_RND_MASK): New.
7970         * config/ia64/sfp-exceptions.c: New.
7971         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7973 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
7975         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7976         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7977         * config/i386/64/sfp-machine: ... (delete here) ...
7978         * config/i386/sfp-machine.h: ... to here.
7979         (FP_EX_MASK): Remove.
7980         (FP_RND_MASK): New.
7981         (FP_INIT_ROUNDMODE): Declare asm as volatile.
7983 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
7985         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7986         * config/i386/libgcc-sol2.ver: Ditto.
7987         * config/i386/libgcc-glibc.ver: Ditto.
7989 2012-06-11  Roland McGrath  <mcgrathr@google.com>
7991         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7992         If __GLIBC__ is defined, refer to __pthread_key_create instead of
7993         pthread_cancel.
7995 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
7997         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7998         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7999         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8000         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8001         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8002         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8003         * config/i386/64/sfp-machine: ... (delete here) ...
8004         * config/i386/sfp-machine.h: ... to here.
8005         (FP_EX_MASK): New.
8006         (__sfp_handle_exceptions): New function declaration.
8007         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8008         * config/i386/sfp-exceptions.c: New.
8009         * config/i386/t-softfp: New.
8010         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8011         i386/t-softfp to tmake_file.
8013 2012-06-03  David S. Miller  <davem@davemloft.net>
8015         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8016         change.
8018 2012-05-31  David S. Miller  <davem@davemloft.net>
8020         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8021         multiply and divide instructions on 32-bit when V9.
8022         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8024 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
8026         * config/arm/ieee754-df.S: Fix typos.
8027         * config/arm/ieee754-sf.S: Fix typos.
8028         * config/c6x/libunwind.S: Fix typos.
8029         * config/epiphany/udivsi3-float.c: Fix typos.
8030         * config/microblaze/muldi3_hard.S: Fix typos.
8031         * config/picochip/adddi3.S: Fix typos.
8032         * config/picochip/ashlsi3.S: Fix typos.
8033         * config/picochip/ashrsi3.S: Fix typos.
8034         * config/picochip/clzsi2.S: Fix typos.
8035         * config/picochip/cmpsi2.S: Fix typos.
8036         * config/picochip/divmod15.S: Fix typos.
8037         * config/picochip/divmodhi4.S: Fix typos.
8038         * config/picochip/divmodsi4.S: Fix typos.
8039         * config/picochip/longjmp.S: Fix typos.
8040         * config/picochip/lshrsi3.S: Fix typos.
8041         * config/picochip/parityhi2.S: Fix typos.
8042         * config/picochip/popcounthi2.S: Fix typos.
8043         * config/picochip/setjmp.S: Fix typos.
8044         * config/picochip/subdi3.S: Fix typos.
8045         * config/picochip/ucmpsi2.S: Fix typos.
8046         * config/picochip/udivmodhi4.S: Fix typos.
8047         * config/picochip/udivmodsi4.S: Fix typos.
8048         * config/spu/divv2df3.c: Fix typos.
8049         * config/spu/mfc_multi_tag_release.c: Fix typos.
8050         * config/spu/mfc_tag_release.c: Fix typos.
8051         * configure.ac: Fix typos.
8052         * configure: Regenerate.
8054 2012-05-25  Ian Lance Taylor  <iant@google.com>
8056         * config/i386/morestack.S (__morestack_non_split): Check whether
8057         caller is varargs and needs %bp to hold the stack frame on return.
8059 2012-05-25  Olivier Hainque  <hainque@adacore.com>
8061         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8062         sequence in the non pic case on VxWorks.
8064 2012-05-24  Olivier Hainque  <hainque@adacore.com>
8066         * Makefile.in: Move dependency on install-unwind_h from
8067         "install-leaf" to "install".
8069 2012-05-24  Olivier Hainque  <hainque@adacore.com>
8071         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8072         Use a separate command for stamp removals.
8074 2012-05-21  Andrew Pinski  <apinski@cavium.com>
8076         PR bootstrap/53183
8077         * configure.ac: Define the default includes to being none.
8078         * configure: Regenerate.
8080 2012-05-16  Olivier Hainque  <hainque@adacore.com>
8082         * Makefile.in (install-unwind_h): Rename into ...
8083         (install-unwind_h-forbuild): New target.
8084         (all): Use it instead of the former install-unwind_h.
8085         (install-unwind_h): Reinstate, copy to user install destination
8086         for include files, not to the internal gcc object directory one.
8087         (install-leaf): Depend on it.
8089 2012-05-15  Olivier Hainque  <hainque@adacore.com>
8091         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8092         register numbers. LR_REGNO replaces R_LR.
8093         (ucontext_for): New, helper for ...
8094         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8095         and 5.3 of ...
8096         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8098 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8100         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8101         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8102         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8103         i386/t-cpuinfo ...
8104         (i[34567]86-*-*, x86_64-*-*): ... here.
8106         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8107         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8109         * config/i386/i386-cpuinfo.c: Rename to ...
8110         * config/i386/cpuinfo.c: ... this.
8111         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8113         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8114         (libgcc_cv_init_priority): New test.
8115         * configure: Regenerate.
8116         * config.in: New file.
8117         * Makefile.in (clean): Rename config.h to auto-target.h.
8118         (config.h): Likewise.
8119         (stamp-h): Likewise.
8121         * config/i386/cpuinfo.c (auto-target.h): Include.
8122         (CONSTRUCTOR_PRIORITY): Define.
8123         (__cpu_indicator_init): Use it.
8125 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
8127         * longlong.h: Use a URL instead of an FSF postal address.
8128         Replace spaces with tab.
8130 2012-05-08  Teresa Johnson  <tejohnson@google.com>
8132         * libgcov.c (gcov_clear, __gcov_reset): New functions.
8133         (__gcov_dump): Ditto.
8134         (gcov_dump_complete): New global variable.
8135         (gcov_exit): Export hidden to enable use in L_gcov_dump.
8136         (__gcov_flush): Outline functionality now in gcov_clear.
8137         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8139 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
8141         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8142         (mips*-*-linux*): Include mips/t-tpbit when long double is
8143         16 bytes long.
8145 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
8147         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8148         (get_available_features): New argument. Check for AVX2.
8149         (__cpu_indicator_init): Modify call to get_available_features.
8151 2012-04-25  Alan Modra  <amodra@gmail.com>
8153         * config/rs6000/crtsavevr.S: New file.
8154         * config/rs6000/crtrestvr.S: New file.
8155         * config/rs6000/t-savresfgpr: Build the above.
8156         * config/rs6000/t-netbsd: Likewise.
8158 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
8160         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8162 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
8164         * libgcc/config/i386/i386-cpuinfo.c: New file.
8165         * libgcc/config/i386/t-cpuinfo: New file.
8166         * libgcc/config.host: Include t-cpuinfo.
8167         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8169 2012-04-24  Chao-ying Fu  <fu@mips.com>
8171         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8173 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
8175         struct siginfo vs. siginfo_t
8177         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8178         siginfo_t instead of struct siginfo.
8179         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8180         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8181         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8182         (ia64_handle_unwabi): Likewise.
8183         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8184         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8185         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8186         (sh_fallback_frame_state): Likewise.
8187         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8188         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8190 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
8192         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8193         system call number.
8195 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
8197         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8198         if it hasn't been previously saved.
8200 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
8202         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8203         only for glibc.
8205 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
8207         PR target/52737
8208         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8209         instead of __AVR_HAVE_8BIT_SP__.
8211 2012-03-26  Tristan Gingold  <gingold@adacore.com>
8213         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8214         (unw_table_entry): Use unw_word instead of unsigned long.
8215         (_Unwind_FindTableEntry): Likewise.
8216         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8217         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8218         (_Unwind_FindTableEntry): Likewise.
8219         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8220         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8221         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8222         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8223         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8224         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8225         (uw_init_context_1, uw_install_context): Likewise.
8226         (unw_word): Move to unwind-ia64.h
8228 2012-03-26  Tristan Gingold  <gingold@adacore.com>
8230         * config/vms/vms-ucrt0.c: Update copyright years.
8231         Add a sanity check.
8232         (___gcc_main_flags): Declare.
8233         (__main): Check flags to remap argv and exit code.
8234         * config.host (*-*-*vms*): Adjust extra_parts.
8235         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8236         (crt0.o): Add.
8238 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
8240         * arm/lib1funcs.asm (ctzsi2): New function.
8241         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8242         * arm/t-linux (LIB1ASMFUNCS): Likewise.
8243         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8244         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8245         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8246         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8248 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
8250         * config.host: Add bits to support powerpc64-*-freebsd*.
8251         * config/rs6000/freebsd-unwind.h: New file.
8252         * config/rs6000/t-freebsd64: New file.
8254 2012-03-20  Richard Guenther  <rguenther@suse.de>
8256         PR gcov-profile/52627
8257         * libgcov.c (init_mx): Fix mutex name.
8259 2012-03-16  Tristan Gingold  <gingold@adacore.com>
8261         * config/ia64/vms-unwind.h: Remove ulong (and replace
8262         it by unw_reg where used).  Define unw_reg with __int64.
8264 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8266         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8267         Solaris 8 handling.
8268         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8269         Solaris 8 handling.
8270         (sparc_is_sighandler): Likewise.
8272 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
8274         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8275         <= saved reg size.
8277 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8279         * config/arm/crtn.S: Fix typo.
8281 2012-03-13  Richard Guenther  <rguenther@suse.de>
8283         * libgcov.c: Remove stdio.h include and NULL un-define.
8285 2012-03-13  Richard Guenther  <rguenther@suse.de>
8287         PR target/52569
8288         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8290 2012-03-13  Richard Guenther  <rguenther@suse.de>
8292         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8294 2012-03-13  Richard Guenther  <rguenther@suse.de>
8296         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8297         and __gthread_mutex_init_function definitions.
8299 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8301         * config.host (mips*-*-openbsd*): Remove.
8303 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8305         * config.host: Remove alpha*-dec-osf5.1* handling.
8306         * config/alpha/gthr-posix.c: Remove.
8307         * config/alpha/libgcc-osf5.ver: Remove.
8308         * config/alpha/osf5-unwind.h: Remove.
8309         * config/alpha/t-osf-pthread: Remove.
8310         * config/alpha/t-slibgcc-osf: Remove.
8311         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8312         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8313         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8314         * mkmap-flat.awk: Remove osf_export handling.
8316 2012-03-12  Richard Guenther  <rguenther@suse.de>
8318         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8319         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8320         (__gthread_mutex_init_function): New function.
8321         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8323         PR gcov/49484
8324         * libgcov.c: Include gthr.h.
8325         (__gcov_flush_mx): New global variable.
8326         (init_mx, init_mx_once): New functions.
8327         (__gcov_flush): Protect self with a mutex.
8328         (__gcov_fork): Re-initialize mutex after forking.
8329         * unwind-dw2-fde.c: Change condition under which to use
8330         __GTHREAD_MUTEX_INIT_FUNCTION.
8332 2012-03-12  Tristan Gingold  <gingold@adacore.com>
8334         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8335         * config/ia64/t-vms: Likewise.
8337 2012-03-11  Michael Hope  <michael.hope@linaro.org>
8339         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8340         for Thumb-2.
8342 2012-03-07  Walter Lee  <walt@tilera.com>
8344         * config/tilepro/atomic.c: Rename "atomic_" prefix to
8345         "arch_atomic_".
8346         (atomic_xor): Rename and move definition to
8347         config/tilepro/atomic.h.
8348         (atomic_nand): Ditto.
8349         * config/tilepro/atomic.h: Rename "atomic_" prefix to
8350         "arch_atomic_".
8351         (arch_atomic_xor): Move from config/tilepro/atomic.c.
8352         (arch_atomic_nand): Ditto.
8354 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8356         PR target/52507
8357         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8359 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8361         PR target/52505
8362         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8363         from RAM.
8365 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8367         PR target/52461
8368         PR target/52508
8369         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8370         if RAMPZ affects reading from RAM.
8371         (__tablejump_elpm__): Ditto.
8372         (.xload): Ditto.
8373         (__movmemx_hi): Ditto.
8374         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8375         (__do_global_dtors): Ditto.
8376         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8377         (__movmemx_hi): Ditto.
8379 2012-03-05  Richard Henderson  <rth@redhat.com>
8381         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8382         [ARM] (count_trailing_zeros): Use the builtin.
8384 2012-03-01  Kai Tietz  <ktietz@redhat.com>
8386         * soft-fp: Imported from glibc upstream.
8388 2012-02-28  Kai Tietz  <ktietz@redhat.com>
8390         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8391         for mingw-targets as attribute gcc_struct.
8393 2012-02-28  Ian Lance Taylor  <iant@google.com>
8395         * generic-morestack.c (__splitstack_releasecontext): Correct call
8396         to __morestack_release_segments.
8398 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8400         PR target/52390
8401         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8402         for __linux__ when removing signals from __morestack_fullmask.
8404 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
8406         PR target/52261
8407         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8409 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8411         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8412         instead of HAVE_INITFINI_ARRAY.
8413         * config/ia64/crtend.S: Likewise.
8415 2012-02-20  Kai Tietz  <ktietz@redhat.com>
8417         PR libstdc++/52300
8418         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8420         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8421         to w32-unwind.h header.
8423 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8425         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8426         (mips*-*-linux*): Remove t-slibgcc-libgcc.
8427         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8428         * config/mips/mips16.S (__mips16_rdhwr): Delete.
8430 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8432         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8434 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8436         PR libitm/52220
8437         * config/darwin-crt-tm.c: Correct typo.
8439 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8440             Patrick Marlier  <patrick.marlier@gmail.com>
8442         PR libitm/52220
8443         * config/darwin-crt-tm.c: Generate dummy functions.
8445 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8446             Patrick Marlier  <patrick.marlier@gmail.com>
8448         PR libitm/52042
8449         * config/darwin-crt-tm.c (getTMCloneTable): New function.
8450         (__doTMRegistrations): Call it.
8451         (__doTMdeRegistrations): Likewise.
8453 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
8454             Anatoly Sokolov  <aesok@post.ru>
8455             Eric Weddington  <eric.weddington@atmel.com>
8457         PR target/52261
8458         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8459         (__epilogue_restores__): Ditto.
8461 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
8463         PR target/51921
8464         PR target/52205
8465         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8466         Solaris 11 and slightly reformat.
8467         (sparc_is_sighandler): Likewise.
8469 2012-02-14  Walter Lee  <walt@tilera.com>
8471         * config.host: Handle tilegx and tilepro.
8472         * config/tilegx/sfp-machine.h: New file.
8473         * config/tilegx/sfp-machine32.h: New file.
8474         * config/tilegx/sfp-machine64.h: New file.
8475         * config/tilegx/t-crtstuff: New file.
8476         * config/tilegx/t-softfp: New file.
8477         * config/tilegx/t-tilegx: New file.
8478         * config/tilepro/atomic.c: New file.
8479         * config/tilepro/atomic.h: New file.
8480         * config/tilepro/linux-unwind.h: New file.
8481         * config/tilepro/sfp-machine.h: New file.
8482         * config/tilepro/softdivide.c: New file.
8483         * config/tilepro/softmpy.S: New file.
8484         * config/tilepro/t-crtstuff: New file.
8485         * config/tilepro/t-tilepro: New file.
8487 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
8489         PR libstdc++/51296
8490         PR libstdc++/51906
8491         * gthr-posix.h: Allow static initializer macros to be disabled.
8492         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8494 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8496         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8497         Add t-slibgcc-libgcc to tmake_file.
8498         * config/mips/libgcc-mips16.ver: Revert previous patch.
8499         * config/mips/mips16.S (__mips16_rdhwr): Hide.
8501 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
8502             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
8504         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8505         * config/cr16/crti.S: New file.
8506         * config/cr16/crtlibid.S: New file.
8507         * config/cr16/crtn.S: New file.
8508         * config/cr16/lib1funcs.S: New file.
8509         * config/cr16/t-cr16: New file.
8510         * config/cr16/t-crtlibid: New file.
8511         * config/cr16/unwind-dw2.h: New file.
8512         * config/cr16/unwind-cr16.c: New file.
8513         * config/cr16/divmodhi3.c: New file.
8515 2012-01-25  Alan Modra  <amodra@gmail.com>
8517         * config/rs6000/t-linux64: Delete.  Move..
8518         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8519         * config/rs6000/t-linux: ..and libgcc flags to here.
8521 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
8523         * config.host (i[34567]86-*-interix3*):
8524         Change triplet to i[34567]86-*-interix[3-9]*.
8525         * configure: Regenerate.
8527 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
8528             Richard Sandiford  <rdsandiford@googlemail.com>
8530         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8531         * config/mips/mips16.S (__mips16_rdhwr): New function.
8532         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8534 2012-01-11  Nathan Sidwell  <nathan@acm.org>
8536         * libgcov.c (__gcov_init): Ignore objects with no functions.
8538 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
8540         PR target/49868
8541         Extend __pgmx semantics to linearize memory.
8542         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8543         * config/avr/lib1funcs.S (__xload_1): New function.
8544         (__movmemx_qi, __movmemx_hi): New functions.
8545         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8546         semantics.
8548 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
8550         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8551         purported sigacthandler address isn't null before dereferencing it.
8552         (sparc_is_sighandler): Likewise.
8554 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
8556         PR ada/41929
8557         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8558         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
8559         (sparc_is_sighandler): Likewise.
8560         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8562 2012-01-06  Tristan Gingold  <gingold@adacore.com>
8564         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8565         compatibility thunks...
8566         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8567         (crtbeginS.o, crtendS.o): ... and these to ...
8568         * config/ia64/t-ia64-elf: ... this new file.
8569         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8570         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8572 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8574         * configure: Regenerate.
8575         * config/s390/t-crtstuff: Remove -fPIC.
8577 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
8579         PR bootstrap/51006
8580         * enable-execute-stack-mprotect.c (getpagesize): Do not define
8581         for NetBSD.
8583 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
8585         PR target/51345
8586         * config/avr/lib1funcs.S: Remove FIXME comments.
8587         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8589 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
8591         Implement light-weight DImode support.
8592         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8593         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8594         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8595         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8597 2011-12-30  Nathan Sidwell  <nathan@acm.org>
8599         * libgcov.c (gcov_crc32): Remove global var.
8600         (free_fn_data): New function.
8601         (buffer_fn_data): Pass in filename, more robust error recovery.
8602         (crc32_unsigned): New function.
8603         (gcov_exit): More robust detection of new program. More robust
8604         error recovery.
8605         (__gcov_init): Do not update program's crc here.
8607 2011-12-21  Tristan Gingold  <gingold@adacore.com>
8609         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8611 2011-12-21  Ian Lance Taylor  <iant@google.com>
8613         * config/i386/morestack.S: Simplify CFI opcodes throughout.
8615 2011-12-20  Ian Lance Taylor  <iant@google.com>
8617         * config/i386/morestack.S (__morestack_non_split): If there is
8618         enough stack space already, don't split.  Ask for more stack space
8619         than we required.
8621 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
8623         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8624         `sys/sdt.h'.
8625         (_Unwind_DebugHook): New function.
8626         (uw_restore_core_regs): New define.
8627         (unwind_phase2): Use uw_restore_core_regs instead of
8628         restore_core_regs.
8629         (unwind_phase2_forced): Likewise.
8630         (__gnu_Unwind_Resume): Likewise.
8632 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
8634         * config/alpha/linux-unwind.h: Update copyright years.
8635         (MD_FROB_UPDATE_CONTEXT): New define.
8636         (alpha_frob_update_context): New function.
8638 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
8640         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8641         tmake_file rather replacing it.
8643 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
8645         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8646         function is not used for PPC64.
8647         (save_world): Amend comments.  Update the VRsave mask to reflect the
8648         saved regs.
8649         (rest_world): Update comments, do not  clobber r10, do not use r8.
8650         (eh_rest_world_r10): Amend comments, do not use r8.
8651         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8652         no longer used, move restore of CR and target address to the end of
8653         the routine.
8655 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
8657         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8658         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8660 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
8662         PR target/49313
8663         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8664         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8666 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
8668         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8670 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
8672         PR target/49313
8673         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8674         * config/avr/lib1funcs.S (__muldi3): New function.
8676 2011-12-06  Andrew Pinski  <apinski@cavium.com>
8678         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8679         size of func_ptr.
8680         (__frame_dummy_init_array_entry): Likewise.
8682 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
8684         Forward-port from gcc-4_6-branch r181936 2011-12-02.
8686         PR target/51345
8687         PR target/51002
8688         * config/avr/lib1funcs.S (__prologue_saves__,
8689         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8690         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
8692 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
8694         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8696 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8698         PR other/51272
8699         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8700         (_ITM_deregisterTMCloneTable): Likewise.
8701         (__register_frame_info): Fix unused warning.
8702         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8703         pthread_default_stacksize_np): Likewise.
8704         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8706 2011-11-29  DJ Delorie  <dj@redhat.com>
8708         * config.host (rl78-*-elf): New case.
8709         * config/rl78: New directory for the Renesas RL78.
8711 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
8713         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
8714         formatting.
8716 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8718         PR other/51022
8719         * config/rs6000/t-savresfgpr: New file.
8720         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8721         $(srcdir)/config/rs6000/eabi.S.
8722         * config/rs6000/t-ppccomm-ldbl: Remove.
8723         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8724         tmake_file.
8725         (powerpc-*-eabispe*): Likewise.
8726         (powerpc-*-eabi*): Likewise.
8727         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8728         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8729         to tmake_file, remove rs6000/t-ppccomm-ldbl.
8730         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8731         tmake_file.
8732         (powerpc-*-eabisim*): Likewise.
8733         (powerpc-*-elf*): Likewise.
8734         (powerpc-*-eabialtivec*): Likewise.
8735         (powerpc-xilinx-eabi*): Likewise.
8736         (powerpc-*-rtems*): Likewise.
8737         (powerpcle-*-elf*): Likewise.
8738         (powerpcle-*-eabisim*): Likewise.
8739         (powerpcle-*-eabi*): Likewise.
8741 2011-11-27  Ian Lance Taylor  <iant@google.com>
8743         * generic-morestack.c (__splitstack_find): Check for NULL old
8744         stack value.
8745         (__splitstack_resetcontext): New function.
8746         (__splitstack_releasecontext): New function.
8747         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8749 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
8751         * config/darwin-crt-tm.c: Correct comments, use correct licence.
8753 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
8755         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8757 2011-11-26  Richard Henderson  <rth@redhat.com>
8759         * config/m68k/linux-atomic.c: New file.
8760         * config/m68k/t-linux: New file.
8761         * config.host (m68k-uclinux, m68k-linux): Use it.
8763 2011-11-26  Richard Henderson  <rth@redhat.com>
8765         * crtstuff.c (__TMC_LIST__): Mark used not unused.
8766         (__TMC_END__): Only declare if hidden is available; in the definition,
8767         if hidden is unavailable add a null record.
8768         (deregister_tm_clones, register_tm_clones): New.
8769         (__do_global_dtors_aux, frame_dummy): Use them.
8770         (__do_global_dtors, __do_global_ctors_1): Likewise.
8772 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
8774         * config/darwin-crt-tm.c: New file.
8775         * config.host (darwin): Build crttms.o crttme.o to provide
8776         startup and shutdown for tm clones.
8777         * config/t-darwin (crttms.o): New build rule.
8778         (crttme.o): Likewise.
8780 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
8782         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8783         et al.
8785 2011-11-21  Richard Henderson  <rth@redhat.com>
8787         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8788         (__TMC_LIST__, __TMC_END__): New.
8789         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8790         (__do_global_dtors): Likewise.
8791         (frame_dummy): Call _ITM_registerTMCloneTable.
8792         (__do_global_ctors_1): Likewise.
8794 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8796         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8797         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8798         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8799         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8800         * config/i386/t-darwin64: Remove.
8801         * config/sh/t-netbsd (LIB2ADD): Remove.
8803 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
8805         PR target/49313
8806         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8807         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8808         * config/avr/lib1funcs.S (wmov): New assembler macro.
8809         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8810         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8811         (__udivmod64): New function.
8812         (__negdi2): New function.
8814 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
8816         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8817         *-*-freebsd*aout*): Remove.
8819 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
8821         * static-object.mk (c_flags-$o): Save c_flags.
8822         ($(base)$(objext)): Use it.
8824 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
8826         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8828 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
8830         PR target/49868
8831         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8832         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8833         New functions.
8835 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8837         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8838         functions.
8839         (aeabi_uidivmod): Likewise.
8840         (umodsi3): Likewise.
8841         (divsi3): Likewise.
8842         (aeabi_idivmod): Likewise.
8843         (modsi3): Likewise.
8845 2011-11-16  Tristan Gingold  <gingold@adacore.com>
8847         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8849 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
8851         PR target/49868
8852         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
8853         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8855 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8857         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8858         tmake_file list.
8859         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8860         * config/pa/t-stublib64: Delete.
8862 2011-11-12  Richard Henderson  <rth@redhat.com>
8864         * config/rs6000/linux-unwind.h (frob_update_context): Properly
8865         cast the pointer argument to _Unwind_SetGRPtr.
8867 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8869         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8871 2011-11-09  Ian Lance Taylor  <iant@google.com>
8873         * generic-morestack.c: Include <string.h>.
8874         (uintptr_type): Define.
8875         (struct initial_sp): Add dont_block_signals field.  Reduce size of
8876         extra array by 1.
8877         (allocate_segment): Set prev field to NULL.  Don't set
8878         __morestack_current_segment or __morestack_segments.
8879         (__generic_morestack): Update current->prev and *pp after calling
8880         allocate_segment.
8881         (__morestack_block_signals): Don't do anything if
8882         dont_block_signals is set.
8883         (__morestack_unblock_signals): Likewise.
8884         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
8885         uintptr_type.
8886         (__splitstack_block_signals): New function.
8887         (enum __splitstack_content_offsets): Define.
8888         (__splitstack_getcontext, __splitstack_setcontext): New functions.
8889         (__splitstack_makecontext): New function.
8890         (__splitstack_block_signals_context): New function.
8891         (__splitstack_find_context): New function.
8892         * config/i386/morestack.S (__morestack_get_guard): New function.
8893         (__morestack_set_guard, __morestack_make_guard): New functions.
8894         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8896 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8898         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8899         (i[34567]86-*-mingw*): ... here.
8900         (x86_64-*-mingw*): ... here.
8902 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8904         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8906 2011-11-07  Nathan Sidwell  <nathan@acm.org>
8908         * libgcov.c (struct gcov_fn_buffer): New struct.
8909         (buffer_fn_data): New helper.
8910         (gcov_exit): Rework for new gcov data structures.
8912 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
8914         PR target/49313
8915         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8917 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8919         * config.host (tmake_file): Correct comment.
8920         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8921         t-libgcc-pic.
8922         (bfin*-uclinux*): Likewise.
8923         (bfin*-linux-uclibc*): Likewise.
8924         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8926         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8927         assigning.
8928         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8929         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8930         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8931         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8932         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8933         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8934         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8935         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8936         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8937         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8938         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8939         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8940         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8942         * config/bfin/t-elf: Remove.
8943         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8945 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8947         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8948         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8949         (lm32-*-elf*, lm32-*-rtems*): Split into ...
8950         (lm32-*-elf*): ... this.
8951         (lm32-*-rtems*): ... and this.
8952         Add to tmake_file.
8953         (m32r-*-rtems*): Add to tmake_file.
8954         (moxie-*-rtems*): Likewise.
8955         (sparc-*-rtems*): Likewise.
8956         Remove t-rtems from tmake_file.
8957         (sparc64-*-rtems*): Likewise.
8958         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8959         instead.
8961 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8963         PR bootstrap/50982
8964         * config/gthr-posix.h: Move ...
8965         * gthr-posix.h: ... here.
8966         * config/gthr-lynx.h: Reflect this.
8967         * config/gthr-vxworks.h: Likewise.
8968         * config/rs6000/gthr-aix.h: Likewise.
8969         * configure.ac (target_thread_file): Likewise.
8970         * configure: Regenerate.
8972 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8974         * config.host (arm*-*-rtemseabi*): New target.
8976 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8978         PR other/50991
8979         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8980         extra-parts.
8982 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
8984         * config.host (epiphany-*-elf*): New configuration.
8985         * config/epiphany: New Directory.
8987 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
8989         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8990         * config/avr/t-rtems: New.
8991         Filter out _exit from LIB1ASMFUNCS.
8993 2011-11-04  David S. Miller  <davem@davemloft.net>
8995         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8996         * configure: Rebuild.
8998 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9000         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9001         variable.
9003 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
9005         PR target/50931
9006         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9007         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9009 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
9011         PR target/50989
9012         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9014 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9016         * config/c6x/t-elf (LIB2ADDEH): Set.
9017         * config/c6x/t-c6x-elf: Remove.
9019 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9021         * config/i386/sol2-ci.S: Rename to ...
9022         * config/i386/crti.S: ... this.
9023         * config/i386/sol2-cn.S: Rename to ...
9024         * config/i386/crtn.S: ... this.
9025         * config/sparc/sol2-ci.S: Rename to ...
9026         * config/sparc/crti.S: ... this.
9027         * config/sparc/sol2-cn.S: Rename to ...
9028         * config/sparc/crtn.S: ... this.
9029         * config/t-sol2 (CUSTOM_CRTIN): Remove.
9030         (crti.o, crtn.o): Remove.
9032 2011-11-04  Tristan Gingold  <gingold@adacore.com>
9034         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9036 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
9038         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9040 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
9042         * config.host (crisv32-*-none, cris-*-none): Remove.
9043         (crisv32-*-elf): Append to tmake_file, don't just set it.
9044         (cris-*-elf): Add missing t-fdpbit to tmake_file.
9046 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9048         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9049         (ecrtn$(objext)): Likewise.
9050         (ncrti$(objext)): Likewise.
9051         (ncrtn$(objext)): Likewise.
9053 2011-11-03  Andreas Schwab  <schwab@redhat.com>
9055         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9057 2011-11-02  David S. Miller  <davem@davemloft.net>
9059         * configure.ac: Set host_address on sparc too.
9060         * configure: Regenerate.
9061         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9062         based upon host_address.
9063         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9065 2011-11-02  Jason Merrill  <jason@redhat.com>
9067         * config/rs6000/t-ppccomm: Add missing \.
9069 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9071         * gthr-single.h, gthr.h: New files.
9072         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9073         config/gthr-vxworks.h, config/i386/gthr-win32.h,
9074         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9075         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9076         * config/i386/gthr-win32.c: Include "gthr-win32.h".
9077         * configure.ac (thread_header): New variable.
9078         Set it depending on target_thread_file.
9079         (gthr-default.h): Link from $thread_header.
9080         * configure: Regenerate.
9081         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9083 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9085         * configure.ac (tm_file_): New variable.
9086         Determine from tm_file.
9087         (tm_file, tm_defines): Substitute.
9088         * configure: Regenerate.
9089         * mkheader.sh: New file.
9090         * Makefile.in (clean): Remove libgcc_tm.h.
9091         ($(objects)): Depend on libgcc_tm.h.
9092         (libgcc_tm_defines, libgcc_tm_file): New variables.
9093         (libgcc_tm.h, libgcc_tm.stamp): New targets.
9094         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9095         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9096         ($(extra-parts)): Depend on libgcc_tm.h.
9097         * config.host (tm_defines, tm_file): New variable.
9098         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9099         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9100         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9101         (avr-*-rtems*): Likewise.
9102         (avr-*-*): Likewise.
9103         (frv-*-elf): Likewise.
9104         (frv-*-*linux*): Likewise.
9105         (h8300-*-rtems*): Likewise.
9106         (h8300-*-elf*): Likewise.
9107         (i[34567]86-*-darwin*): Likewise.
9108         (x86_64-*-darwin*): Likewise.
9109         (rx-*-elf): Likewise.
9110         (tic6x-*-uclinux): Likewise.
9111         (tic6x-*-elf): Likewise.
9112         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9113         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9114         * config/i386/cygming-crtbegin.c: Likewise.
9115         * config/i386/cygming-crtend.c: Likewise.
9116         * config/ia64/fde-vms.c: Likewise.
9117         * config/ia64/unwind-ia64.c: Likewise.
9118         * config/libbid/bid_gcc_intrinsics.h: Likewise.
9119         * config/rs6000/darwin-fallback.c: Likewise.
9120         * config/stormy16/lib2funcs.c: Likewise.
9121         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9122         * crtstuff.c: Likewise.
9123         * dfp-bit.h: Likewise.
9124         * emutls.c: Likewise.
9125         * fixed-bit.c: Likewise.
9126         * fp-bit.c: Likewise.
9127         * generic-morestack-thread.c: Likewise.
9128         * generic-morestack.c: Likewise.
9129         * libgcc2.c: Likewise.
9130         * libgcov.c: Likewise.
9131         * unwind-dw2-fde-dip.c: Likewise.
9132         * unwind-dw2-fde.c: Likewise.
9133         * unwind-dw2.c: Likewise.
9134         * unwind-sjlj.c: Likewise.
9136 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9138         * configure.ac: Include ../config/picflag.m4.
9139         (GCC_PICFLAG): Call it.
9140         Substitute.
9141         * configure: Regenerate.
9142         * Makefile.in (gcc_srcdir): Remove.
9143         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9144         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9145         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9146         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9147         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9148         Use $<.
9149         Remove comment.
9150         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9151         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9152         to refer to libgcc2.c.
9153         Use $<.
9154         * config/darwin-64.c: New file.
9155         * config/darwin-crt3.c: Remove comment.
9156         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9157         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9158         config/udivmodsi4.c: New files.
9159         * config/memcmp.c, config/memcpy.c, config/memmove.c,
9160         config/memset.c: New files.
9161         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9162         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9163         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9164         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9165         * config/t-openbsd-thread: New file.
9166         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9167         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9168         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9169         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9170         qrnnd.S.
9171         Adapt filename.
9172         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9173         to refer to gthr-posix.c.
9174         * config/alpha/t-vms (LIB2ADD): Set.
9175         * config/alpha/vms-gcc_shell_handler.c: New file.
9176         * config/arm/bpabi.c, config/arm/fp16.c,
9177         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9178         config/arm/unaligned-funcs.c: New files.
9179         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9180         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9181         * config/arm/t-linux: Likewise.
9182         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9183         * config/arm/t-netbsd: New file.
9184         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9185         * config/arm/t-symbian (LIB2ADD_ST): Set.
9186         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9187         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9188         * config/bfin/t-elf: New file.
9189         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9190         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9191         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9192         config/c6x/ltf.c: New files.
9193         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9194         (HOST_LIBGCC2_CFLAGS): Set.
9195         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9196         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9197         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9198         New files.
9199         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9200         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9201         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9202         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9203         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9204         files.
9205         * config/frv/t-frv (LIB2ADD): Set.
9206         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9207         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9208         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9209         config/h8300/popcounthi2.c: New files.
9210         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9211         * config/i386/gthr-win32.c: New file.
9212         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9213         * config/i386/t-cygwin: Likewise.
9214         * config/i386/t-darwin, config/i386/t-darwin64,
9215         config/i386/t-gthr-win32, config/i386/t-interix: New files.
9216         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9217         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9218         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9219         * config/ia64/quadlib.c: New file.
9220         * config/ia64/t-hpux (LIB2ADD): Set.
9221         * config/ia64/t-ia64: Add comment.
9222         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9223         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9224         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9225         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9226         * config/m32c/t-m32c (LIB2ADD): Set.
9227         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9228         * config/m32r/t-m32r: Likewise.
9229         * config/m68k/fpgnulib.c: New file.
9230         * config/m68k/t-floatlib (LIB2ADD): Set.
9231         (xfgnulib.c): New target.
9232         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9233         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9234         * config/mep/t-mep (LIB2ADD): Set.
9235         * config/microblaze/divsi3.asm: Rename to divsi3.S.
9236         * config/microblaze/moddi3.asm: Rename to moddi3.S.
9237         * config/microblaze/modsi3.asm: Rename to modsi3.S.
9238         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9239         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9240         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9241         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9242         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9243         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9244         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9245         New files.
9246         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9247         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9248         * config/pa/fptr.c, config/pa/lib2funcs.S,
9249         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9250         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9251         (LIB2ADD, LIB2ADD_ST): Set.
9252         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9253         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9254         Set.
9255         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9256         * config/pdp11/t-pdp11: New file.
9257         * config/picochip/libgccExtras/adddi3.S,
9258         config/picochip/libgccExtras/ashlsi3.S,
9259         config/picochip/libgccExtras/ashrsi3.S,
9260         config/picochip/libgccExtras/clzsi2.S,
9261         config/picochip/libgccExtras/cmpsi2.S,
9262         config/picochip/libgccExtras/divmod15.S,
9263         config/picochip/libgccExtras/divmodhi4.S,
9264         config/picochip/libgccExtras/divmodsi4.S,
9265         config/picochip/libgccExtras/lshrsi3.S,
9266         config/picochip/libgccExtras/parityhi2.S,
9267         config/picochip/libgccExtras/popcounthi2.S,
9268         config/picochip/libgccExtras/subdi3.S,
9269         config/picochip/libgccExtras/ucmpsi2.S,
9270         config/picochip/libgccExtras/udivmodhi4.S,
9271         config/picochip/libgccExtras/udivmodsi4.S: New files.
9272         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9273         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9274         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9275         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9276         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9277         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9278         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
9279         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9280         files.
9281         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9282         (HOST_LIBGCC2_CFLAGS): Set.
9283         * config/rs6000/t-darwin64: New file.
9284         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9285         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9286         * config/rs6000/t-ppccomm (LIB2ADD): Add
9287         $(srcdir)/config/rs6000/tramp.S.
9288         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9289         Add  $(srcdir)/config/rs6000/eabi.S.
9290         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9291         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9292         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9293         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9294         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9295         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9296         * config/rs6000/tramp.S: New file.
9297         * config/s390/t-tpf: Remove.
9298         * config/sh/linux-atomic.S: New file.
9299         * config/sh/t-linux (LIB2ADD): Set.
9300         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9301         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9302         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9303         to unwind-dw2.c.
9304         (HOST_LIBGCC2_CFLAGS): Set.
9305         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9306         * config/spu/divmodti4.c, config/spu/divv2df3.c,
9307         config/spu/float_disf.c, config/spu/float_unsdidf.c,
9308         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9309         config/spu/mfc_multi_tag_release.c,
9310         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9311         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9312         config/spu/multi3.c: New files.
9313         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9314         (HOST_LIBGCC2_CFLAGS): Set.
9315         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9316         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9317         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9318         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9319         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9320         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9321         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9322         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9323         config/stormy16/umodsi3.c: New files.
9324         * config/xtensa/lib2funcs.S: New file.
9325         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9326         * config/xtensa/t-xtensa (LIB2ADD): Set.
9327         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9328         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9329         Add t-freebsd-thread to tmake_file for posix threads.
9330         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9331         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9332         (*-*-lynxos*): Likewise.
9333         (*-*-netbsd*): Likewise.
9334         (*-*-openbsd*): Likewise.
9335         Add t-openbsd-thread to tmake_file for posix threads.
9336         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9337         (*-*-vxworks*): Set tmake_file.
9338         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9339         (alpha*-*-freebsd*): Likewise.
9340         (alpha*-*-netbsd*): Likewise.
9341         (alpha*-*-openbsd*): Likewise.
9342         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9343         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9344         (alpha*-dec-*vms*): Likewise.
9345         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9346         (bfin*-elf*): Add bfin/t-elf to tmake_file.
9347         (bfin*-uclinux*): Likewise.
9348         (bfin*-linux-uclibc*): Likewise.
9349         (crisv32-*-elf): Add cris/t-cris to tmake_file.
9350         (crisv32-*-none): Likewise.
9351         (cris-*-elf): Likewise.
9352         (cris-*-none): Likewise.
9353         (cris-*-linux*, crisv32-*-linux*): Likewise.
9354         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9355         tmake_file.
9356         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9357         tmake_file.
9358         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9359         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9360         (x86_64-*-elf*): Likewise.
9361         (i[34567]86-*-nto-qnx*): Likewise.
9362         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9363         win32 threads.
9364         (x86_64-*-mingw*): Likewise.
9365         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9366         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9367         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9368         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9369         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9370         tmake_file.
9371         (mipsisa64sr71k-*-elf*): Likewise.
9372         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9373         (mips-*-elf*, mipsel-*-elf*): Likewise.
9374         (mips64-*-elf*, mips64el-*-elf*): Likewise.
9375         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9376         (mips*-*-rtems*): Likewise.
9377         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9378         to tmake_file.
9379         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9380         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9381         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9382         (spu-*-elf*): Likewise.
9383         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9385 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9387         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9388         $(srcdir) to refer to $(LIB1ASMSRC).
9389         Use $<.
9390         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9391         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9392         config/arm/lib1funcs.S: New files.
9393         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9394         * config/arm/t-arm: New file.
9395         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9396         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9397         config/arm/t-strongarm-elf: New files.
9398         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9399         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9400         * config/avr/lib1funcs.S: New file.
9401         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9402         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9403         * config/c6x/lib1funcs.S: New file.
9404         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9405         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9406         * config/frv/lib1funcs.S: New file.
9407         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9408         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9409         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9410         * config/ia64/__divxf3.asm: Rename to ...
9411         * config/ia64/__divxf3.S: ... this.
9412         Adapt lib1funcs.asm filename.
9413         * config/ia64/_fixtfdi.asm: Rename to ...
9414         * config/ia64/_fixtfdi.S: ... this.
9415         Adapt lib1funcs.asm filename.
9416         * config/ia64/_fixunstfdi.asm: Rename to ...
9417         * config/ia64/_fixunstfdi.S: ... this.
9418         Adapt lib1funcs.asm filename.
9419         * config/ia64/_floatditf.asm: Rename to ...
9420         * config/ia64/_floatditf.S: ... this.
9421         Adapt lib1funcs.asm filename.
9422         * config/ia64/lib1funcs.S: New file.
9423         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9424         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9425         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9426         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9427         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9428         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9429         * config/mep/lib1funcs.S: New file.
9430         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9431         * config/mips/mips16.S: New file.
9432         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9433         * config/pa/milli64.S: New file.
9434         * config/pa/t-linux, config/pa/t-linux64: New files.
9435         * config/picochip/lib1funcs.S: New file.
9436         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9437         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9438         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9439         * config/sh/t-netbsd: New file.
9440         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9441         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9442         * config/sh/t-sh64: New file.
9443         * config/sparc/lb1spc.S: New file.
9444         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9445         filename.
9446         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9447         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9448         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9449         config/xtensa/lib1funcs.S: New files.
9450         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9451         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9452         tmake_file.
9453         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9454         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9455         (arm*-*-linux*): Likewise.
9456         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9457         arm*-*-linux-*eabi, add arm/t-linux otherwise.
9458         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9459         (arm*-*-ecos-elf): Likewise.
9460         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9461         (arm*-*-rtems*): Likewise.
9462         (arm*-*-elf): Likewise.
9463         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9464         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9465         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9466         (bfin*-uclinux*): Likewise.
9467         (bfin*-linux-uclibc*): Likewise.
9468         (bfin*-rtems*): Likewise.
9469         (bfin*-*): Likewise.
9470         (fido-*-elf): Merge into m68k-*-elf*.
9471         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9472         (frv-*-*linux*): Add frv/t-frv to tmake_file.
9473         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9474         (h8300-*-elf*): Likewise.
9475         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9476         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9477         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9478         (i[34567]86-*-mingw*): Likewise.
9479         (x86_64-*-mingw*): Likewise.
9480         (i[34567]86-*-interix3*): Likewise.
9481         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9482         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9483         (m68k-*-elf*): Also handle fido-*-elf.
9484         Add m68k/t-floatlib to tmake_file.
9485         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9486         (m68k-*-linux*): Likewise.
9487         (m68k-*-rtems*): Likewise.
9488         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9489         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9490         sh64*-*-*.
9491         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9492         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9493         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9494         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9495         sh/t-netbsd to tmake_file.
9496         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9497         (sh-*-rtems*): Add sh/t-sh to tmake_file.
9498         (sh-wrs-vxworks): Likewise.
9499         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9500         *-leon[3-9]*.
9501         (v850*-*-*): Add v850/t-v850 to tmake_file.
9502         (vax-*-linux*): Add vax/t-linux to tmake_file.
9503         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9505 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9507         * crtstuff.c: New file.
9508         * Makefile.in (CRTSTUFF_CFLAGS): Define.
9509         (CRTSTUFF_T_CFLAGS): Define.
9510         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9511         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9512         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9513         crtstuff.c.
9514         Use $<.
9515         (crtbeginT.o): Use $(objext).
9516         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9517         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9518         (gcc-extra-parts): Remove.
9519         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9520         Set extra_parts.
9521         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9522         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9523         Add t-crtstuff-pic to tmake_file.
9524         (*-*-lynxos*): New case.
9525         Set tmake_file, extra_parts.
9526         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9527         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9528         *-*-netbsdelf[2-9]*.
9529         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9530         (*-*-rtems*): Set extra_parts.
9531         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9532         (*-*-uclinux*): New case.
9533         Set extra_parts.
9534         (*-*-vms*): New case.
9535         Set tmake_file, extra_parts.
9536         (*-*-elf): Set extra_parts.
9537         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9538         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9539         vms/t-vms64.
9540         Set extra_parts.
9541         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9542         Set extra_parts.
9543         (arm*-*-freebsd*): Add t-crtin to tmake_file.
9544         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9545         (arm-wrs-vxworks): Append to tmake_file.
9546         Set extra_parts.
9547         (arm*-*-uclinux*): Set extra_parts.
9548         (arm*-*-ecos-elf): Likewise.
9549         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9550         arm*-*-eabi*.
9551         (arm*-*-rtems*): Set extra_parts.
9552         (arm*-*-elf): Likewise.
9553         (avr-*-rtems*): Clear extra_parts.
9554         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9555         Set extra_parts.
9556         (bfin*-uclinux*): Likewise.
9557         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9558         (bfin*-rtems*): Append to tmake_file.
9559         Set extra_parts.
9560         (bfin*-*): Likewise.
9561         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9562         (crisv32-*-elf): ... this.
9563         (crisv32-*-none): ... this.
9564         (cris-*-elf, cris-*-none): New cases.
9565         Add cris/t-elfmulti to tmake_file.
9566         (fr30-*-elf): Append to tmake_file.
9567         Set extra_parts.
9568         (frv-*-elf): Append to tmake_file, add frv/t-frv.
9569         Set extra_parts.
9570         (h8300-*-rtems*): Append to tmake_file.
9571         Set extra_parts.
9572         (h8300-*-elf*): Likewise.
9573         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9574         Set extra_parts.
9575         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9576         Set extra_parts.
9577         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9578         (x86_64-*-elf*): Likewise.
9579         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9580         (x86_64-*-freebsd*): Likewise.
9581         (x86_64-*-netbsd*): Likewise.
9582         (i[34567]86-*-linux*): Likewise.
9583         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9584         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9585         (x86_64-*-linux*): Likewise.
9586         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9587         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9588         tmake_file.
9589         Set extra_parts.
9590         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9591         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9592         Append to extra_parts, remove crtbegin.o, crtend.o.
9593         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9594         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9595         crtend.o, crtbeginS.o, crtendS.o.
9596         (ia64*-*-linux*): Comment extra_parts.
9597         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9598         Set extra_parts.
9599         (iq2000*-*-elf*): Clear extra_parts.
9600         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9601         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9602         (m32r-*-elf*, m32r-*-rtems*): Split off ...
9603         (m32r-*-rtems*): ... this.
9604         Add m32r/t-m32r to tmake_file.
9605         (m68k-*-elf*): Add t-crtin to tmake_file.
9606         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9607         (mcore-*-elf): Likewise.
9608         (microblaze*-*-*): Set extra_parts.
9609         (mips*-sde-elf*): New case.
9610         Set tmake_file, extra_parts.
9611         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9612         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9613         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9614         tmake_file.
9615         Set extra_parts.
9616         (mipsisa64sr71k-*-elf*): Likewise.
9617         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9618         (mips-*-elf*, mipsel-*-elf*): Likewise.
9619         (mips64-*-elf*, mips64el-*-elf*): Likewise.
9620         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9621         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
9622         (mips*-*-rtems*): Likewise.
9623         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9624         (moxie-*-*): Split into ...
9625         (moxie-*-elf, moxie-*-uclinux*): ... this.
9626         Add to extra_parts, remove crtbegin.o, crtend.o.
9627         (moxie-*-rtems*): New case.
9628         Set tmake_file.
9629         Clear extra_parts.
9630         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9631         Set extra_parts.
9632         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9633         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9634         tmake_file.
9635         Set extra_parts.
9636         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9637         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9638         Set extra_parts.
9639         (powerpc-*-eabisim*): Likewise.
9640         (powerpc-*-elf*): Likewise.
9641         (powerpc-*-eabialtivec*): Likewise.
9642         (powerpc-xilinx-eabi*): Likewise.
9643         (powerpc-*-eabi*): Likewise.
9644         (powerpc-*-rtems*): Likewise.
9645         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9646         tmake_file.
9647         Set extra_parts.
9648         (powerpc-*-lynxos*): Add to tmake_file.
9649         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9650         rs6000/t-crtstuff, t-crtstuff-pic.
9651         Set extra_parts.
9652         (powerpcle-*-eabisim*): Likewise.
9653         (powerpcle-*-eabi*): Likewise.
9654         (rx-*-elf): Remove extra_parts.
9655         (s390x-ibm-tpf*): Set extra_parts.
9656         (score-*-elf): Set extra_parts.
9657         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9658         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9659         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9660         (sh64l*-*-netbsd*): Split into ...
9661         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9662         Add t-crtstuff-pic to tmake_file.
9663         Set extra_parts.
9664         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9665         Set extra_parts.
9666         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9667         (sparc-*-elf*): Remove t-crtin from tmake_file.
9668         Add to extra_parts, remove crtbegin.o, crtend.o.
9669         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9670         (sparc64-*-linux*): Likewise.
9671         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9672         Add to extra_parts, remove crtbegin.o, crtend.o.
9673         (sparc64-*-elf*): Remove t-crtin from tmake_file.
9674         Add to extra_parts, remove crtbegin.o, crtend.o.
9675         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9676         Add to extra_parts, remove crtbegin.o, crtend.o.
9677         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9678         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9679         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9680         Set extra_parts.
9681         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9682         Set extra_parts.
9683         (tic6x-*-*): Change to ...
9684         (tic6x-*-elf): ... this.
9685         Set extra_parts.
9686         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9687         Set extra_parts.
9688         (am33_2.0-*-linux*): Add comment.
9689         (mep*-*-*): Add mep/t-mep to tmake_file.
9690         Set extra_parts.
9691         * config/alpha/t-vms: New file.
9692         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9693         * config/arm/crti.S, config/arm/crtn.S: New files.
9694         * config/bfin/crti.S, config/bfin/crtn.S: New files.
9695         * config/bfin/crtlibid.S: New file.
9696         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9697         * config/c6x/crti.S, config/c6x/crtn.S: New files.
9698         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9699         (crti.o, crtin.o): New rules.
9700         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9701         * config/c6x/t-uclinux: New file.
9702         * config/cris/t-elfmulti: New file.
9703         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9704         * config/fr30/crti.S, config/fr30/crtn.S: New files.
9705         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9706         * config/frv/t-frv: New file.
9707         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9708         * config/h8300/crti.S, config/h8300/crtn.S: New files.
9709         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9710         New files.
9711         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9712         refer to cygming-crtbegin.c, cygming-crtend.c.
9713         Use $<.
9714         * config/i386/t-nto: New file.
9715         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9716         * config/ia64/crti.S, config/ia64/crtn.S: New files.
9717         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9718         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9719         Use .S extension.
9720         Use $<.
9721         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9722         (crtinitS.o): New rule.
9723         * config/ia64/vms-crtinit.S: New file.
9724         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9725         * config/m32r/initfini.c: New file.
9726         * config/m32r/t-linux, config/m32r/t-m32r: New files.
9727         * config/m68k/crti.S, config/m68k/crtn.S: New files.
9728         * config/mcore/crti.S, config/mcore/crtn.S: New files.
9729         * config/mep/t-mep: New file.
9730         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9731         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9732         * config/mips/crti.S, config/mips/crtn.S: New files.
9733         * config/mips/t-crtstuff: New file.
9734         * config/mmix/crti.S, config/mmix/crtn.S: New files.
9735         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9736         (CUSTOM_CRTIN): Set.
9737         ($(T)crti.o, $(T)crtn.o): Remove $(T),
9738         dependencies.
9739         Use $(srcdir) to refer to crti.S, crtn.S.
9740         Use .S extension, $<.
9741         * config/moxie/crti.asm: Rename to ...
9742         * config/moxie/crti.S: ... this.
9743         * config/moxie/crtn.asm: Rename to ...
9744         * config/moxie/crtn.S: ... this.
9745         * config/moxie/t-moxie: Remove.
9746         * config/pa/stublib.c: New file.
9747         * config/pa/t-stublib, config/pa/t-stublib64: New files.
9748         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9749         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9750         * config/rs6000/t-crtstuff: New file.
9751         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9752         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9753         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9754         Make output file explicit.
9755         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9756         Make output file explicit.
9757         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9758         Make output file explicit.
9759         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9760         Make output file explicit.
9761         * config/score/crti.S, config/score/crtn.S: New files.
9762         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9763         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9764         files.
9765         * config/sh/t-sh, config/sh/t-superh: New files.
9766         * config/sparc/t-linux64: New file.
9767         * config/spu/cache.S, config/spu/cachemgr.c: New files.
9768         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9769         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9770         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9771         * config/t-crtin: Remove.
9772         * config/t-crtstuff-pic: New file.
9773         * config/t-sol2 (CUSTOM_CRTIN): Set.
9774         (crti.o, crtn.o): New rules.
9775         * config/vms/t-vms: New file.
9776         * config/vms/vms-ucrt0.c: New file.
9777         * config/xtensa/t-elf: New file.
9779 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9781         * Makefile.in (SHLIB_NM_FLAGS): Set.
9782         * mkmap-flat.awk, mkmap-symver.awk: New files.
9783         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9784         exceptions.
9785         * configure: Regenerate.
9786         * config/libgcc-glibc.ver: New file.
9787         * config/libgcc-libsystem.ver: New file.
9788         * config/t-libunwind (SHLIB_LC): Set.
9789         * config/t-linux: New file.
9790         * config/t-slibgcc (INSTALL_SHLIB): New.
9791         (SHLIB_INSTALL): Use it.
9792         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9793         to mkmap-symver.awk.
9794         (SHLIB_MAPFILES): Don't append, adapt pathname.
9795         (SHLIB_VERPFX): Set.
9796         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9797         to mkmap-symver.awk.
9798         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9799         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9800         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9801         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9802         to mkmap-flat.awk.
9803         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9804         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9805         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9806         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9807         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9808         * config/i386/libgcc-darwin.10.4.ver,
9809         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9810         New files.
9811         * config/i386/t-darwin: Remove.
9812         * config/i386/t-darwin64: Likewise.
9813         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9814         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9815         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9816         * config/i386/t-linux: New file.
9817         * config/i386/t-mingw32: New file.
9818         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9819         * config/ia64/t-glibc: Rename to ...
9820         * config/ia64/t-linux: ... this.
9821         (SHLIB_MAPFILES): Set.
9822         * config/ia64/t-glibc-libunwind: Rename to ...
9823         * config/ia64/t-linux-libunwind: ... this.
9824         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9825         * config/ia64/t-slibgcc-hpux: New file.
9826         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9827         * config/m68k/t-slibgcc-elf-ver: New file.
9828         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9829         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9830         to mkmap-flat.awk.
9831         * config/pa/t-slibgcc-hpux: New file.
9832         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9833         files.
9834         * config/rs6000/libgcc-darwin.10.4.ver,
9835         config/rs6000/libgcc-darwin.10.5.ver: New files.
9836         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9837         config/rs6000/libgcc-glibc.ver.
9838         * config/rs6000/libgcc-ppc64.ver: Rename to
9839         config/rs6000/libgcc-ibm-ldouble.ver.
9840         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9841         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9842         * config/rs6000/t-ldbl128: Rename to ...
9843         * config/rs6000/t-linux: ... this.
9844         (SHLIB_MAPFILES): Adapt filename.
9845         * config/rs6000/t-slibgcc-aix: New file.
9846         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9847         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9848         libgcc-excl.ver, libgcc-glibc.ver.
9849         (SHLIB_LINK, SHLIB_INSTALL): Remove.
9850         * config/sparc/libgcc-glibc.ver: New file.
9851         * config/sparc/t-linux: New file.
9852         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9853         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9854         t-slibgcc-elf-ver to tmake_file.
9855         Add t-slibgcc-nolc-override to tmake_file for posix threads on
9856         *-*-freebsd[34].
9857         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9858         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9859         t-slibgcc-elf-ver, t-linux to tmake_file.
9860         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9861         tmake_file.
9862         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9863         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9864         (alpha*-dec-*vms*): Likewise.
9865         (arm*-*-freebsd*): Append to tmake_file.
9866         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9867         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9868         arm*-*-linux-*eabi.
9869         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9870         tmake_file for arm*-*-symbianelf*.
9871         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9872         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9873         cris/t-linux.
9874         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9875         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9876         pa/t-slibgcc-dwarf-ver to tmake_file.
9877         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9878         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9879         (hppa*64*-*-hpux11*): Likewise.
9880         (hppa[12]*-*-hpux11*): Likewise.
9881         (x86_64-*-darwin*): Don't override tmake_file, but only keep
9882         i386/t-crtpc, i386/t-crtfm.
9883         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9884         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9885         to tmake_file.
9886         Add i386/t-cygwin to tmake_file.
9887         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9888         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9889         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9890         to tmake_file.
9891         Add i386/t-mingw32 to tmake_file.
9892         (x86_64-*-mingw*): Likewise.
9893         (ia64*-*-freebsd*): Append to tmake_file.
9894         (ia64*-*-linux*): Append to tmake_file.
9895         Replace ia64/t-glibc by ia64/t-linux.
9896         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9897         system libunwind.
9898         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9899         t-slibgcc-hpux to tmake_file.
9900         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9901         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9902         (m32rle-*-linux*): Likewise.
9903         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9904         sjlj exceptions.
9905         (microblaze*-linux*): New case.
9906         Append to tmake_file, add t-slibgcc-nolc-override.
9907         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9908         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9909         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9910         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9911         rs6000/t-slibgcc-aix to tmake_file.
9912         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9913         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9914         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9915         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9916         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9917         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9918         sh*-*-linux*.
9919         (sparc-*-linux*): Append to tmake_file for *-leon*.
9920         Add sparc/t-linux to tmake_file for non-Leon targets.
9921         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9922         (tic6x-*-uclinux): New case.
9923         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9924         (tic6x-*-*): Add c6x/t-elf to tmake_file.
9925         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9926         (am33_2.0-*-linux*): Append to tmake_file.
9927         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9928         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9929         x86_64-*-kfreebsd*-gnu.
9930         Add i386/t-linux to tmake_file.
9932 2011-10-28  Ian Lance Taylor  <iant@google.com>
9934         * config/i386/morestack.S: Correct CFI information to do proper
9935         returns throughout function.  In 32-bit mode, save %ebx so that it
9936         is restored on unwind.
9938 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
9940         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9941         case where B3 isn't the return register.
9943         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9944         logic for doubleword pops.
9946 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
9948         * config/rs6000/t-freebsd: Add wildcard.
9950 2011-10-21  Paul Brook  <paul@codesourcery.com>
9952         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9954 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
9955             Eric Botcazou  <ebotcazou@adacore.com>
9957         PR target/50737
9958         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9959         fs->signal_frame to 1.
9961 2011-10-07  Ian Lance Taylor  <iant@google.com>
9963         * generic-morestack-thread.c: #include <errno.h>.
9965 2011-10-07  Ian Lance Taylor  <iant@google.com>
9967         PR target/46093
9968         * generic-morestack.c (__generic_morestack): Make sure the segment
9969         is large enough for both the stack frame and the copied
9970         parameters.
9972 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9974         PR bootstrap/49804
9975         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9976         extra_parts.
9978 2011-09-28  Nick Clifton  <nickc@redhat.com>
9980         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9981         64-bit doubles are not enabled.
9982         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9983         and floatunsisf functions.
9985 2011-09-13  Paul Brook  <paul@codesourcery.com>
9987         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
9988         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9989         * unwind-arm-common.inc: New file.
9990         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9991         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9992         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9993         * config/c6x/libunwind.S: New file.
9994         * config/c6x/pr-support.c: New file.
9995         * config/c6x/unwind-c6x.c: New file.
9996         * config/c6x/unwind-c6x.h: New file.
9997         * config/c6x/t-c6x-elf: New file.
9999 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
10001         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10002         (ASM_DIVZERO): Ditto.
10003         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10005 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
10007         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10009 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
10011         PR target/50090
10012         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10013         instead of an assembly one.
10015 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
10017         PR bootstrap/50047
10018         * Makefile.in (install-unwind_h): Create
10019         $(gcc_objdir)/include/unwind.h atomically.
10021 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10023         * Makefile.in (install-unwind_h): Remove destination file first.
10025 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10027         * sync.c: New file.
10028         * config/mips/t-mips16: New file.
10029         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10030         (mips*-*-linux*): Likewise.
10031         (mips*-sde-elf*): Likewise.
10032         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10033         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10034         Add mips/t-mips16 to tmake_file.
10035         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10036         (mips-*-elf*): Likewise.
10037         (mips64-*-elf*): Likewise.
10038         (mips64orion-*-elf*): Likewise.
10039         (mips*-*-rtems*): Likewise.
10040         (mipstx39-*-elf*): Likewise.
10041         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10042         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10043         LIBGCC_SYNC_CFLAGS.
10044         Use $(srcdir) to refer to sync.c.
10045         Use $<.
10046         ($(libgcc-sync-funcs-o)): Likewise.
10047         ($(libgcc-sync-size-funcs-s-o)): Likewise.
10048         ($(libgcc-sync-funcs-s-o)): Likewise.
10050 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10052         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10053         t-libunwind.
10055 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
10057         PR other/48007
10058         * config/i386/value-unwind.h: New.
10060 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
10062         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10063         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10064         Add to tmake_file rather than overriding it.
10066 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10068         * config/t-softfp: Remove.
10069         * soft-fp: Moved from ../gcc/config.
10070         * soft-fp/README: Remove t-softfp reference.
10071         * soft-fp/t-softfp: Move to config/t-softfp.
10072         (softfp_machine_header): Remove.
10073         (softfp_file_list): Remove config subdir.
10074         (soft-fp-objects): New variable.
10075         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10076         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10077         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10078         * config/t-softfp-excl: New file.
10079         * config/t-softfp-sfdf: New file.
10080         * config/t-softfp-tf: New file.
10081         * config/no-sfp-machine.h: New file.
10082         * config/arm/sfp-machine.h: New file.
10083         * config/arm/t-softfp: New file.
10084         * config/c6x/sfp-machine.h: New file.
10085         * config/i386/32/t-fprules-softfp: Rename to ...
10086         * config/i386/32/t-softfp: ... this.
10087         (tifunctions, LIB2ADD): Remove.
10088         (softfp_int_modes): Override.
10089         * config/i386/64/t-softfp-compat (tf-functions): Remove config
10090         subdir.
10091         * config/i386/64/eqtf2.c: Likewise.
10092         * config/i386/64/getf2.c: Likewise.
10093         * config/i386/64/letf2.c: Likewise.
10094         * config/ia64/sft-machine.h: New file.
10095         * config/ia64/t-fprules-softfp: Rename to ...
10096         * config/ia64/t-softfp: ... this.
10097         * config/lm32/sfp-machine.h: New file.
10098         * config/moxie/t-moxie-softfp: Remove.
10099         * config/rs6000/ibm-ldouble-format: New file.
10100         * config/rs6000/ibm-ldouble.c: New file.
10101         * config/rs6000/libgcc-ppc-glibc.ver: New file
10102         * config/rs6000/libgcc-ppc64.ver: New file
10103         * config/rs6000/sfp-machine.h: New file.
10104         * config/rs6000/t-freebsd: New file.
10105         * config/rs6000/t-ibm-ldouble: New file.
10106         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10107         libgcc-ppc-glibc.ver.
10108         * config/rs6000/t-linux64: New file.
10109         * config/rs6000/t-ppccomm (LIB2ADD): Add
10110         $(srcdir)/config/rs6000/ibm-ldouble.c.
10111         * config/rs6000/t-ppccomm-ldbl: New file.
10112         * config/score/sfp-machine.h: New file.
10113         * config.host (sfp_machine_header): Explain.
10114         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10115         t-softfp to tmake_file.
10116         (arm*-*-uclinux*): Likewise.
10117         (arm*-*-ecos-elf): Likewise.
10118         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10119         (arm*-*-rtems*): Likewise.
10120         (arm*-*-elf): Likewise.
10121         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10122         in tmake_file.
10123         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10124         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10125         (lm32-*-uclinux*): Likewise.
10126         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10127         t-softfp-excl, t-softfp.
10128         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10129         (powerpc64-*-darwin*): Likewise.
10130         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10131         to tmake_file.
10132         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10133         tmake_file.
10134         (powerpc-*-eabisim*): Likewise.
10135         (powerpc-*-elf*): Likewise.
10136         (powerpc-*-eabialtivec*): Likewise.
10137         (powerpc-xilinx-eabi*): Likewise.
10138         (powerpc-*-rtems*): Likewise.
10139         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10140         t-softfp-excl, t-softfp to tmake_file.
10141         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10142         rs6000/t-ppccomm-ldbl to tmake_file.
10143         (powerpcle-*-elf*): Likewise.
10144         (powerpcle-*-eabisim*): Likewise.
10145         (powerpcle-*-eabi*): Likewise.
10146         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10147         rs6000/t-ibm-ldouble to tmake_file.
10148         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10149         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10150         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10151         (tic6x-*-*): Likewise.
10152         (i[34567]86-*-darwin*, x86_64-*-darwin*,
10153         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10154         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10155         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10156         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10157         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10158         t-softfp to tmake_file.
10159         * configure.ac (sfp_machine_header): Provide default if unset.
10160         Substitute.
10161         Link sfp-machine.h to config/$sfp_machine_header.
10162         * configure: Regenerate.
10164 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10166         * Makefile.in (double_type_size, long_double_type_size): Set.
10167         Remove $(fpbit-in-libgcc) support.
10168         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10169         (fpbit-src): New variable.
10170         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10171         Compile with -DFLOAT $(FPBIT_CFLAGS).
10172         Use $<.
10173         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10174         Compile with $(FPBIT_CFLAGS).
10175         Use $<.
10176         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10177         Compile with -DFLOAT $(TPBIT_CFLAGS).
10178         Use $<.
10179         * configure.ac (double_type_size, long_double_type_size):
10180         Determine and substitute.
10181         * configure: Regenerate.
10182         * fp-bit.c, fp-bit.h: New files.
10183         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10184         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10185         * config/mips/t-mips: New file.
10186         * config/mips/t-sdemtk: New file.
10187         * config/rs6000/ppc64-fp.c: New file.
10188         * config/rs6000/t-darwin (LIB2ADD): Add
10189         $(srcdir)/config/rs6000/ppc64-fp.c.
10190         * config/rs6000/t-ppc64-fp: New file.
10191         * config/rx/rx-lib.h: New file.
10192         * config/rx/t-rx (FPBIT): Set to true.
10193         ($(gcc_objdir)/fp-bit.c): Remove.
10194         (DPBIT): Set to true only with -m64bit-doubles.
10195         ($(gcc_objdir)/dp-bit.c): Remove.
10196         * config/sparc/t-softfp: Remove.
10197         * config/spu/t-elf: New file.
10198         * config/t-fdpbit, config/t-fpbit: New files.
10199         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10200         (mips*-*-*): Likewise.
10201         (arm-wrs-vxworks): Likewise.
10202         (arm*-*-freebsd*): Likewise.
10203         (avr-*-rtems*): Add t-fpbit to tmake_file.
10204         (avr-*-*): Likewise.
10205         (bfin*-elf*): Add t-fdpbit to tmake_file.
10206         (bfin*-uclinux*): Likewise.
10207         (bfin*-linux-uclibc*): Likewise.
10208         (bfin*-rtems*): New case.
10209         Add t-fdpbit to tmake_file.
10210         (bfin*-*): Add t-fdpbit to tmake_file.
10211         (crisv32-*-elf): Likewise.
10212         (cris-*-linux*): Likewise.
10213         (fr30-*-elf): Likewise.
10214         (frv-*-elf, frv-*-*linux*): Likewise.
10215         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10216         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10217         (m32r-*-elf*): Likewise.
10218         (m32rle-*-elf*): Likewise.
10219         (m32r-*-linux*): Likewise.
10220         (m32rle-*-linux*): Likewise.
10221         (mcore-*-elf): Add t-fdpbit to tmake_file.
10222         (microblaze*-*-*): Likewise.
10223         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10224         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10225         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10226         Fix typo.
10227         Add mips/t-tpbit to tmake-file.
10228         (mips*-*-linux*): Fix typo.
10229         (mips*-sde-elf*): New case
10230         Add mips/t-sdemtk unless using newlib.
10231         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10232         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10233         (mn10300-*-*): Likewise.
10234         (pdp11-*-*): Likewise.
10235         (picochip-*-*): Add t-fpbit to tmake_file.
10236         (powerpc-*-eabisimaltivec*): Likewise.
10237         (powerpc-*-eabisim*): Likewise.
10238         (powerpc-*-elf*): Likewise.
10239         (powerpc-*-eabialtivec*): Likewise.
10240         (powerpc-xilinx-eabi*): New case.
10241         Add t-fdpbit to tmake_file.
10242         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
10243         (powerpc-*-rtems*): Likewise.
10244         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10245         tmake_file.
10246         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10247         tmake_file.
10248         (powerpc-*-lynxos*): Likewise.
10249         (powerpcle-*-elf*): Likewise.
10250         (powerpcle-*-eabisim*): Likewise.
10251         (powerpcle-*-eabi*): Likewise.
10252         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10253         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10254         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10255         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10256         (rx-*-elf): Add t-fdpbit to tmake_file.
10257         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10258         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10259         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10260         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10261         sh*-*-netbsd*.
10262         (sh-*-rtems*): Add t-fdpbit to tmake_file.
10263         (sh-wrs-vxworks): Likewise.
10264         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10265         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10266         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10267         (sparc64-*-rtems*): ... new case.
10268         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10269         (spu-*-elf*): Likewise.
10270         Add spu/t-elf to tmake_file.
10271         (v850*-*-*): Add t-fdpbit to tmake_file.
10272         (xstormy16-*-elf): Likewise.
10273         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10274         (mep*-*-*): Likewise.
10276 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10278         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10279         variables.
10280         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10281         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10282         (install-unwind_h): New target.
10283         (all): Depend on it.
10284         * config.host (unwind_header): New variable.
10285         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10286         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10287         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10288         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10289         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10290         Set unwind_header.
10291         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10292         Set unwind_header.
10293         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10294         arm*-*-eabi*.
10295         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10296         Set unwind_header.
10297         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10298         (ia64*-*-freebsd*): Likewise.
10299         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10300         tmake_file.
10301         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10302         $with_system_libunwind.
10303         (ia64*-*-hpux*): Set tmake_file.
10304         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10305         (picochip-*-*): Set tmake_file.
10306         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10307         md_unwind_header.
10308         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10309         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10310         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10311         (xtensa*-*-elf*): Set tmake_file.
10312         (xtensa*-*-linux*): Likewise.
10313         * configure.ac: Include ../config/unwind_ipinfo.m4.
10314         Call GCC_CHECK_UNWIND_GETIPINFO.
10315         Link unwind.h to $unwind_header.
10316         * configure: Regenerate.
10317         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10318         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10319         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10320         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10321         * config/unwind-dw2-fde-darwin.c: New file.
10322         * config/arm/libunwind.S, config/arm/pr-support.c,
10323         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10324         config/arm/unwind-arm.h,: New files.
10325         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10326         config/ia64/t-eh-ia64, config/ia64/t-glibc,
10327         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10328         config/ia64/t-vms, config/ia64/unwind-ia64.c,
10329         config/ia64/unwind-ia64.h: New files.
10330         * config/picochip/t-picochip: New file.
10331         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10332         files.
10333         * config/rs6000/t-darwin (LIB2ADDEH): Set.
10334         * config/s390/t-tpf (LIB2ADDEH): Remove.
10335         * config/t-darwin (LIB2ADDEH): Set.
10336         * config/t-eh-dw2-dip: New file.
10337         * config/t-libunwind, config/t-libunwind-elf: New files.
10338         * config/t-sol2 (LIB2ADDEH): Remove.
10339         * config/xtensa/t-xtensa: New file.
10341 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
10343         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10344         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10345         long long to check rt_sigreturn syscall.
10347 2011-08-02  Alan Modra  <amodra@gmail.com>
10349         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10350         Restore for indirect call bcrtl from correct stack slot, and only
10351         if cfa+40 isn't valid.
10353 2011-08-01  Julian Brown  <julian@codesourcery.com>
10355         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10356         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10357         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10359 2011-08-01  Julian Brown  <julian@codesourcery.com>
10361         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10362         (libgcc-std.ver.in): Use above.
10363         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10364         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
10365         throughout file.
10366         * config/t-fixedpoint-gnu-prefix: New file.
10367         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10368         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10369         instead of __PFX__.
10371 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10373         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10374         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10375         for x86-64.  Properly check __x86_64__ and __LP64__.
10377 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10379         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10380         version.
10381         (_FP_WS_TYPE): Likewise.
10382         (_FP_I_TYPE): Likewise.
10384 2011-07-28  Alan Modra  <amodra@gmail.com>
10386         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10387         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10388         in a plt call stub.  Do restore r2 if stopped on bctrl.
10390 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10392         * config.host (i[3456x]86-*-netware*): Remove.
10393         * config/i386/netware-crt0.c, config/i386/t-nwld,
10394         config/i386/t-slibgcc-nwld: Remove.
10396 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
10398         * config.host: Handle tic6x-*-*.
10399         * config/c6x/c6x-abi.h: New file.
10401 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10403         * config/i386/crtprec.c: New file.
10404         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10405         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10406         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10407         (x86_64-*-darwin*): Likewise.
10408         (i[34567]86-*-solaris2*: Likewise.
10410 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10412         * config/alpha/crtfastmath.c: New file.
10413         * config/i386/crtfastmath.c: New file.
10414         * config/ia64/crtfastmath.c: New file.
10415         * config/mips/crtfastmath.c: New file.
10416         * config/sparc/crtfastmath.c: New file.
10418         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10419         crtfastmath.c.
10420         Add -frandom-seed=gcc-crtfastmath.
10421         * config/alpha/t-crtfm: Remove.
10422         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10423         * config/ia64/t-ia64 (crtfastmath.o): Remove.
10425         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10426         (alpha*-dec-osf5.1*): Likewise.
10427         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10428         Add crtfastmath.o to extra_parts.
10429         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10430         Add crtfastmath.o to extra_parts.
10431         (x86_64-*-darwin*): Likewise.
10432         (x86_64-*-mingw*): Likewise.
10433         (ia64*-*-elf*): Add t-crtfm to tmake_file.
10434         (ia64*-*-freebsd*): Likewise.
10435         (ia64*-*-linux*): Likewise.
10436         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10437         Add crtfastmath.o to extra_parts.
10439 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10441         * config/darwin-crt3.o: New file.
10442         * config/rs6000/darwin-crt2.c: New file.
10443         * config/t-darwin: New file.
10444         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10445         (crt2.o): New rule.
10446         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10447         (powerpc-*-darwin*): Add crt2.o to extra_parts.
10448         (powerpc64-*-darwin*): Likewise.
10450 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10452         * config/i386/netware-crt0.c: New file.
10453         * config/i386/t-nwld: Rename to ...
10454         * config/i386/t-slibgcc-nwld: ... this.
10455         * config/i386/t-nwld: New file.
10456         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10457         tmake_file.
10458         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10459         extra_parts.
10461 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10463         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10464         i386/t-crtstuff.
10465         * configure: Regenerate.
10467 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10469         * dfp-bit.c, dfp-bit.h: New files.
10470         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10471         variables.
10472         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10473         ($(d64pbit-o)): Likewise.
10474         ($(d128pbit-o)): Likewise.
10475         * config/t-dfprules: New file.
10476         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10477         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10478         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10479         (x86_64-*-linux*): Likewise.
10480         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10481         (i[34567]86-*-cygwin*): Likewise.
10482         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
10483         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10485 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10487         * Makfile.in (LIBGCOV): New variable.
10488         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10489         * libgcov.c: New file.
10491 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10493         * fixed-bit.c, fixed-bit.h: New files.
10494         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10495         refer to fixed-bit.c.
10497 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
10499         * config.host (*local*): Remove.
10501 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10503         PR target/39150
10504         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10505         like i?86-*-solaris2.1[0-9]*.
10506         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10507         * configure.ac (i?86-*-solaris2*): Likewise.
10508         * configure: Regenerate.
10510 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
10512         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10513         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10514         md_unwind_header by splitting out of...
10515         (i[34567]86-*-linux*): ... this.
10516         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10517         Remove md_unwind_header by splitting out of...
10518         (x86_64-*-linux*): ... this.
10520 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
10522         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10524 2011-06-28  Nick Clifton  <nickc@redhat.com>
10526         * config.host: Recognize all V850 variants.
10528 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
10530         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10532 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10534         * shared-object.mk (c_flags-$o): Save c_flags.
10535         ($(base)$(objext)): Use it.
10536         ($(base)_s$(objext)): Likewise.
10538 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
10540         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10541         * libgcc-std.ver.in (GCC_4.7.0): New section.
10543 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
10545         PR target/49313
10546         PR target/29524
10547         * config/avr/t-avr: Fix line endings.
10548         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
10549         _parityXX2.
10551 2011-06-14  Olivier Hainque  <hainque@adacore.com>
10552             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10554         * config/mips/irix6-unwind.h: New file.
10555         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10557 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
10559         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10560         (sparc64_fallback_frame_state): Use it.
10561         (sparc64_frob_update_context): Further adjust context.
10562         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10563         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10564         * config/sparc/sol2-cn.S: Likewise.
10566 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10568         * enable-execute-stack-empty.c: New file.
10569         * enable-execute-stack-mprotect.c: New file.
10570         * config/i386/enable-execute-stack-mingw32.c: New file.
10571         * config.host (enable_execute_stack): New variable.
10572         Select appropriate variants.
10573         * configure.ac: Link enable-execute-stack.c to
10574         $enable_execute_stack.
10575         * configure: Regenerate.
10576         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10577         (lib2funcs): Remove _enable_execute_stack.
10579 2011-06-09  David S. Miller  <davem@davemloft.net>
10580             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10582         * config.host (sparc-*-linux*): Correct md_unwind_header
10583         filename.
10584         (s390x-ibm-tpf*): Fix typo.
10586 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10588         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10589         Add crtfastmath.o to extra_parts.
10590         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10591         mips/t-crtfm.
10592         * config/mips/t-crtfm: Remove.
10594 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10596         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10598 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10600         * config.host (sh*-*-linux*): Fix typo.
10602 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10604         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10605         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10606         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10607         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10608         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10609         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10610         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10611         Wrap in !__MINGW64__.
10612         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10613         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10614         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10615         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10616         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10617         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10618         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10619         Wrap in !__LP64__.
10620         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10621         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10622         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10623         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10624         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10625         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10626         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10627         * config/no-unwind.h: New file.
10628         * config.host (md_unwind_header): Document.
10629         Define.
10630         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10631         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10632         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10633         hppa[12]*-*-hpux11*): Set md_unwind_header.
10634         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10635         Set md_unwind_header.
10636         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10637         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10638         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10639         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10640         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10641         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10642         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10643         md_unwind_header.
10644         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10645         * configure: Regenerate.
10647 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10649         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10650         Set tmake_file, extra_parts.
10651         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10652         Remove O32 support.
10653         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10654         Remove O32 support.
10655         * config/mips/t-irix6: New file.
10656         * config/mips/t-slibgcc-irix: New file.
10658 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10660         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10661         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10663 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10665         * configure.ac (target_thread_file): Determine thread model.
10666         * configure: Regenerate.
10667         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10668         * config/alpha/t-alpha: New file.
10669         * config/alpha/t-crtfm: Use $<.
10670         * config/alpha/t-ieee: New file.
10671         * config/alpha/t-osf-pthread: New file.
10672         * config/alpha/t-slibgcc-osf: New file.
10673         * config/alpha/libgcc-osf5.ver: New file.
10675 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10677         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10678         tmake_file.
10679         Add crtfastmath.o to extra_parts.
10681 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10683         * config/gmon-sol2.c: Reindent.
10684         Cleanup comments.
10685         Remove, correct casts.
10686         Use STDERR_FILENO, NULL.
10687         (BASEADDRESS): Remove.
10688         (minbrk): Remove.
10689         (errno, sbrk): Remove declarations.
10690         (monstartup) [hp300]: Remove.
10691         (mcount): Remove.
10693 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10695         * Makefile.in (cpu_type): Define.
10696         * config.host (i[34567]86-*-rtems*): Handle it.
10697         (i[34567]86-*-solaris2*): Move body ...
10698         (*-*-solaris2*): ... here.
10699         New case, generalize.
10700         (sparc-*-elf*): Handle it.
10701         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10702         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10703         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10704         Fold into ...
10705         (sparc*-*-solaris2*): ... this.
10706         New case.
10707         (sparc64-*-elf*): Handle it.
10708         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10709         Merge ../gcc/config/i386/gmon-sol2.c.
10710         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10711         Use C comments.
10712         Merge ../gcc/config/i386/sol2-gc1.asm.
10713         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10714         Use C comments.
10715         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10716         Use C comments.
10717         * config/i386/t-crtfm (crtfastmath.o): Use $<.
10718         * config/i386/t-crtstuff: New file.
10719         * config/i386/t-softfp: New file.
10720         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10721         $(T)crti.o, $(T)crtn.o): Remove.
10722         (gcrt1.o): New rule.
10723         (TARGET_LIBGCC2_CFLAGS): Remove.
10724         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10725         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10726         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10727         * config/sparc/t-sol2: New file.
10728         * config/sparc/t-crtfm: Move to ...
10729         * config/t-crtfm: ... this.
10730         Use $(cpu_type), $<.
10731         * config/t-crtin: New file.
10732         * config/sparc/t-softfp: New file.
10733         * config/sparc/t-softmul: New file.
10734         * config/t-rtems: New file.
10735         * config/t-slibgcc: New file.
10736         * config/t-slibgcc-elf-ver: New file.
10737         * config/t-slibgcc-gld: New file.
10738         * config/t-slibgcc-sld: New file.
10739         * config/t-sol2: New file.
10740         * configure.ac: Include ../config/lib-ld.m4.
10741         Call AC_LIB_PROG_LD_GNU.
10742         Substitute cpu_type.
10743         * configure: Regenerate.
10745 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
10747         PR bootstrap/49173
10748         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10749         libgcc-std.ver in the build directory.
10750         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10751         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10753 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
10755         * libgcc-std.ver.in: New file.
10756         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10757         variables.
10758         (libgcc-std.ver): New rule.
10759         * config/t-gnu-prefix: New file.
10761 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10763         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10765 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
10767         * config/i386/darwin-lib.h: New file.
10769 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
10771         * config/arm/symbian-lib.h: New.
10773 2011-05-04  Chris Demetriou  <cgd@google.com>
10775         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10776         (__x86.get_pc_thunk.bx): ...this.
10777         (__morestack): Adjust for rename, remove undef of __i686.
10779 2011-05-03  Chris Demetriou  <cgd@google.com>
10781         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10783 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
10785         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10786         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10787         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10788         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10789         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10790         Remove cases.
10792 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
10794         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10795         Adjust copyright year.
10797 2011-03-07  Ian Lance Taylor  <iant@google.com>
10799         * generic-morestack.c (__splitstack_find): Adjust returned stack
10800         pointer to include all registers pushed by __morestack.
10802 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
10804         PR target/40125
10805         * configure.ac: Call ACX_NONCANONICAL_TARGET.
10806         (toolexecdir): Calculate and AC_SUBST.
10807         (toolexeclibdir): Likewise.
10808         * Makefile.in (target_noncanonical): Import.
10809         (toolexecdir): Likewise.
10810         (toolexeclibdir): Likewise.
10811         * configure: Regenerate.
10813 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
10815         PR target/46040
10816         * config/arm/bpabi.h: Rename to...
10817         * config/arm/bpabi-lib.h: ...this.
10819 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10821         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10822         appropriate.
10823         * configure: Regenerate.
10825 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
10827         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10828         __FLOAT_WORD_ORDER__.
10829         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10830         Delete.
10832 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10834         PR other/46202
10835         * Makefile.in (install-strip): New phony target.
10837 2010-11-07  Ian Lance Taylor  <iant@google.com>
10839         PR target/46089
10840         * config/i386/morestack.S (__morestack_large_model): New
10841         function.
10843 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
10845         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10846         Delete.
10847         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10849 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
10851         * config/arm/bpabi.h: New file.
10852         * config/frv/frv-abi.h: New file.
10854 2010-10-01  Ian Lance Taylor  <iant@google.com>
10856         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10857         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10859 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10861         PR target/45858
10862         * config.host: Add the missing `$'.
10864 2010-09-30  Michael Eager  <eager@eagercon.com>
10866         * config.host: Add microblaze*-*-*.
10867         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10868         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10869         udivsi3.asm,umodsi3.asm}:  New.
10871 2010-09-28  Ian Lance Taylor  <iant@google.com>
10873         * configure.ac: Adjust CFI test to test assembler directly rather
10874         than checking gcc preprocessor macro.
10875         * configure: Rebuild.
10877 2010-09-27  Ian Lance Taylor  <iant@google.com>
10879         * configure.ac: Test whether assembler supports CFI directives.
10880         * config.host: Only add t-stack and i386/t-stack-i386 to
10881         tmake_file if libgcc_cv_cfi is "yes".
10882         * configure: Rebuild.
10884 2010-09-27  Ian Lance Taylor  <iant@google.com>
10886         * generic-morestack.h: New file.
10887         * generic-morestack.c: New file.
10888         * generic-morestack-thread.c: New file.
10889         * config/i386/morestack.S: New file.
10890         * config/t-stack: New file.
10891         * config/i386/t-stack-i386: New file.
10892         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10893         i386/t-stack-i386 to tmake_file.
10895 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
10897         * Makefile.in (libgcc-extra-parts):  Check for static archives and
10898         invoke ranlib after installing them.
10899         (gcc-extra-parts): Likewise.
10900         (install-leaf): Likewise.
10902 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
10904         * configure: Regenerated.
10906 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
10908         * configure: Regenerated.
10910 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
10911             Andrew Pinski  <pinskia@gmail.com>
10913         PR target/40959
10914         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
10916 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10918         PR target/45524
10919         * configure: Regenerated.
10921 2010-09-06  Andreas Schwab  <schwab@redhat.com>
10923         * configure: Regenerate.
10925 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
10927         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10928         64bit targets.
10929         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10930         for 64bit targets.
10932 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
10933             Iain Sandoe  <iains@gcc.gnu.org>
10935         PR target/45476
10936         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10937         LIB2FUNCS_EXCLUDE functions.
10939 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10941         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10942         Include dfp.m4.
10943         * configure: Regenerate.
10945 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
10947         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10948         i386/t-freebsd to tmake_file.
10949         * config/i386/t-freebsd: New file.
10950         * config/i386/libgcc-bsd.ver: New file.
10952 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
10954         * config.host (powerpc*-eabispe*): Set tmake_file.
10955         (powerpc*-eabi*): Likewise.
10956         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10957         crtbeginS, crtendS, crtbeginT.
10959 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
10961         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10962         to tmake_file.  Add crtfastmath.o to extra_parts.
10963         * config/mips/t-crtfm: New.
10965 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
10967         * config.host (sparc64-*-rtems*): New target.
10969 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10971         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10972         assembler syntax.
10974 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
10976         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10978 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10980         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10981         alpha-dec-osf5.0* support.
10983 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
10985         * config.host: Add lm32-*-rtems*.
10987 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10988             Uros Bizjak  <ubizjak@gmail.com>
10990         PR target/39048
10991         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10992         like other remaining 32-bit x86 OSes.
10993         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10994         assembler syntax.
10995         * config/i386/libgcc-sol2.ver: New file.
10996         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10998 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
11000         PR c/43553
11001         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11002         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11003         is used and substitute set_use_emutls.
11004         * configure: Regenerated.
11006 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
11008         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11010 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11012         PR target/38085
11013         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11014         MULTILIB_CFLAGS.
11015         ($(T)gcrt1.o): Likewise.
11016         ($(T)crt1.o): Likewise.
11017         ($(T)crti.o): Likewise.
11018         ($(T)crtn.o): Likewise.
11020 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11022         PR other/42980
11023         * Makefile.in (install): Use $(MAKE) string in rule, for
11024         parallel make.
11026 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
11028         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11029         * config/mmix/t-mmix: New file.
11030         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11032 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
11034         PR java/41991
11035         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11036         SHLIB_MAPFILES.
11038 2010-01-04  Anthony Green  <green@moxielogic.com>
11040         * config/moxie/crti.asm, config/moxie/crtn.asm,
11041         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11042         config/moxie/t-moxie: New files.
11043         * config.host: Add t-moxie-softfp reference.
11045 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
11047         PR other/39888
11048         * config/t-slibgcc-darwin: Fix embedded rpaths for
11049         --enable-version-specific-runtime-libs, build extension stub
11050         libs exposing features available from current libgcc_s.
11052 2009-11-11  Jon Beniston  <jon@beniston.com>
11054         * config.host: Add lm32 targets.
11055         * config/lm32: New directory.
11056         * config/lm32/libgcc_lm32.h: New file.
11057         * config/lm32/_mulsi3.c: New file.
11058         * config/lm32/_udivmodsi4.c: New file.
11059         * config/lm32/_divsi3.c: New file.
11060         * config/lm32/_modsi3.c: New file.
11061         * config/lm32/_udivsi3.c: New file.
11062         * config/lm32/_umodsi3.c: New file.
11063         * config/lm32/_lshrsi3.S: New file.
11064         * config/lm32/_ashrsi3.S: New file.
11065         * config/lm32/_ashlsi3.S: New file.
11066         * config/lm32/crti.S: New file.
11067         * config/lm32/crtn.S: New file.
11068         * config/lm32/t-lm32: New file.
11069         * config/lm32/t-elf: New file.
11070         * config/lm32/t-uclinux: New file.
11072 2009-10-26  Nick Clifton  <nickc@redhat.com>
11074         * config.host: Add support for RX target.
11075         * config/rx: New directory.
11076         * config/rx/rx-abi-functions.c: New file. Supplementary
11077         functions for libgcc to support the RX ABI.
11078         * config/rx/rx-abi.h: New file.  Supplementary header file for
11079         libgcc RX ABI functions.
11080         * config/rx/t-rx: New file: Makefile fragment for building
11081         libgcc for the RX.
11083 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
11085         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11086         constraint of y0 to "g".
11088 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11090         * config.host: Include the s390 makefile fragments.
11091         * config/s390/32/_fixdfdi.c: New file.
11092         * config/s390/32/_fixsfdi.c: New file.
11093         * config/s390/32/_fixtfdi.c: New file.
11094         * config/s390/32/_fixunsdfdi.c: New file.
11095         * config/s390/32/_fixunssfdi.c: New file.
11096         * config/s390/32/_fixunstfdi.c: New file.
11097         * config/s390/32/t-floattodi: New file.
11098         * config/s390/libgcc-glibc.ver: New file.
11099         * config/s390/t-crtstuff: New file.
11100         * config/s390/t-linux: New file.
11101         * config/s390/t-tpf: New file.
11103 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11105         * configure.ac (AC_PREREQ): Bump to 2.64.
11107 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
11109         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11111 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11113         * configure: Regenerate.
11115 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
11117         * config.host (ia64-hp-*vms*): New target.
11118         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11119         with ia64-hp-*vms*.
11121 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11123         * configure.ac: Add snippet for maintainer-mode.
11124         * configure: Regenerate.
11125         * Makefile.in (AUTOCONF, configure_deps): New variables.
11126         ($(srcdir)/configure)): New rule, active only with maintainer
11127         mode turned on.
11129 2009-06-23  DJ Delorie  <dj@redhat.com>
11131         Add MeP port.
11132         * config.host: Add mep support.
11134 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
11136         * config.host: Add i386/${host_address}/t-fprules-softfp and
11137         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11139         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11140         for mingw targets.
11141         * config/i386/64/_multc3.c: Likewise.
11142         * config/i386/64/_powitf2.c: Likewise.
11143         * config/i386/64/eqtf2.c: Likewise.
11144         * config/i386/64/getf2.c: Likewise.
11145         * config/i386/64/letf2.c: Likewise.
11146         * config/i386/64/letf2.c: Likewise.
11147         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11148         unsigned long long for x64 mingw targets.
11149         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11150         (_FP_I_TYPE): Define as long long for x64 mingw target.
11152 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
11154         * config.host (vax-*-linux*): New.
11156 2009-05-31  Anthony Green  <green@moxielogic.com>
11158         * config.host: Add moxie support.
11159         * config/moxie/t-moxie: New file.
11161 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
11163         * config.host: Add i386/${host_address}/t-fprules-softfp and
11164         t-softfp to tmake_file for i[34567]86-*-cygwin*.
11166 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
11168         * config.host: Add i386/${host_address}/t-fprules-softfp to
11169         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11171 2009-04-09  Nick Clifton  <nickc@redhat.com>
11173         * config/ia64/tf-signs.c: Change copyright header to refer to
11174         version 3 of the GNU General Public License with version 3.1
11175         of the GCC Runtime Library Exception and to point readers at
11176         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11177         web page.
11178         * config/i386/32/tf-signs.c: Likewise.
11179         * config/libbid/_addsub_dd.c: Likewise.
11180         * config/libbid/_addsub_sd.c: Likewise.
11181         * config/libbid/_addsub_td.c: Likewise.
11182         * config/libbid/_dd_to_df.c: Likewise.
11183         * config/libbid/_dd_to_di.c: Likewise.
11184         * config/libbid/_dd_to_sd.c: Likewise.
11185         * config/libbid/_dd_to_sf.c: Likewise.
11186         * config/libbid/_dd_to_si.c: Likewise.
11187         * config/libbid/_dd_to_td.c: Likewise.
11188         * config/libbid/_dd_to_tf.c: Likewise.
11189         * config/libbid/_dd_to_udi.c: Likewise.
11190         * config/libbid/_dd_to_usi.c: Likewise.
11191         * config/libbid/_dd_to_xf.c: Likewise.
11192         * config/libbid/_df_to_dd.c: Likewise.
11193         * config/libbid/_df_to_sd.c: Likewise.
11194         * config/libbid/_df_to_td.c: Likewise.
11195         * config/libbid/_di_to_dd.c: Likewise.
11196         * config/libbid/_di_to_sd.c: Likewise.
11197         * config/libbid/_di_to_td.c: Likewise.
11198         * config/libbid/_div_dd.c: Likewise.
11199         * config/libbid/_div_sd.c: Likewise.
11200         * config/libbid/_div_td.c: Likewise.
11201         * config/libbid/_eq_dd.c: Likewise.
11202         * config/libbid/_eq_sd.c: Likewise.
11203         * config/libbid/_eq_td.c: Likewise.
11204         * config/libbid/_ge_dd.c: Likewise.
11205         * config/libbid/_ge_sd.c: Likewise.
11206         * config/libbid/_ge_td.c: Likewise.
11207         * config/libbid/_gt_dd.c: Likewise.
11208         * config/libbid/_gt_sd.c: Likewise.
11209         * config/libbid/_gt_td.c: Likewise.
11210         * config/libbid/_isinfd128.c: Likewise.
11211         * config/libbid/_isinfd32.c: Likewise.
11212         * config/libbid/_isinfd64.c: Likewise.
11213         * config/libbid/_le_dd.c: Likewise.
11214         * config/libbid/_le_sd.c: Likewise.
11215         * config/libbid/_le_td.c: Likewise.
11216         * config/libbid/_lt_dd.c: Likewise.
11217         * config/libbid/_lt_sd.c: Likewise.
11218         * config/libbid/_lt_td.c: Likewise.
11219         * config/libbid/_mul_dd.c: Likewise.
11220         * config/libbid/_mul_sd.c: Likewise.
11221         * config/libbid/_mul_td.c: Likewise.
11222         * config/libbid/_ne_dd.c: Likewise.
11223         * config/libbid/_ne_sd.c: Likewise.
11224         * config/libbid/_ne_td.c: Likewise.
11225         * config/libbid/_sd_to_dd.c: Likewise.
11226         * config/libbid/_sd_to_df.c: Likewise.
11227         * config/libbid/_sd_to_di.c: Likewise.
11228         * config/libbid/_sd_to_sf.c: Likewise.
11229         * config/libbid/_sd_to_si.c: Likewise.
11230         * config/libbid/_sd_to_td.c: Likewise.
11231         * config/libbid/_sd_to_tf.c: Likewise.
11232         * config/libbid/_sd_to_udi.c: Likewise.
11233         * config/libbid/_sd_to_usi.c: Likewise.
11234         * config/libbid/_sd_to_xf.c: Likewise.
11235         * config/libbid/_sf_to_dd.c: Likewise.
11236         * config/libbid/_sf_to_sd.c: Likewise.
11237         * config/libbid/_sf_to_td.c: Likewise.
11238         * config/libbid/_si_to_dd.c: Likewise.
11239         * config/libbid/_si_to_sd.c: Likewise.
11240         * config/libbid/_si_to_td.c: Likewise.
11241         * config/libbid/_td_to_dd.c: Likewise.
11242         * config/libbid/_td_to_df.c: Likewise.
11243         * config/libbid/_td_to_di.c: Likewise.
11244         * config/libbid/_td_to_sd.c: Likewise.
11245         * config/libbid/_td_to_sf.c: Likewise.
11246         * config/libbid/_td_to_si.c: Likewise.
11247         * config/libbid/_td_to_tf.c: Likewise.
11248         * config/libbid/_td_to_udi.c: Likewise.
11249         * config/libbid/_td_to_usi.c: Likewise.
11250         * config/libbid/_td_to_xf.c: Likewise.
11251         * config/libbid/_tf_to_dd.c: Likewise.
11252         * config/libbid/_tf_to_sd.c: Likewise.
11253         * config/libbid/_tf_to_td.c: Likewise.
11254         * config/libbid/_udi_to_dd.c: Likewise.
11255         * config/libbid/_udi_to_sd.c: Likewise.
11256         * config/libbid/_udi_to_td.c: Likewise.
11257         * config/libbid/_unord_dd.c: Likewise.
11258         * config/libbid/_unord_sd.c: Likewise.
11259         * config/libbid/_unord_td.c: Likewise.
11260         * config/libbid/_usi_to_dd.c: Likewise.
11261         * config/libbid/_usi_to_sd.c: Likewise.
11262         * config/libbid/_usi_to_td.c: Likewise.
11263         * config/libbid/_xf_to_dd.c: Likewise.
11264         * config/libbid/_xf_to_sd.c: Likewise.
11265         * config/libbid/_xf_to_td.c: Likewise.
11266         * config/libbid/bid128.c: Likewise.
11267         * config/libbid/bid128_2_str.h: Likewise.
11268         * config/libbid/bid128_2_str_macros.h: Likewise.
11269         * config/libbid/bid128_2_str_tables.c: Likewise.
11270         * config/libbid/bid128_add.c: Likewise.
11271         * config/libbid/bid128_compare.c: Likewise.
11272         * config/libbid/bid128_div.c: Likewise.
11273         * config/libbid/bid128_fma.c: Likewise.
11274         * config/libbid/bid128_logb.c: Likewise.
11275         * config/libbid/bid128_minmax.c: Likewise.
11276         * config/libbid/bid128_mul.c: Likewise.
11277         * config/libbid/bid128_next.c: Likewise.
11278         * config/libbid/bid128_noncomp.c: Likewise.
11279         * config/libbid/bid128_quantize.c: Likewise.
11280         * config/libbid/bid128_rem.c: Likewise.
11281         * config/libbid/bid128_round_integral.c: Likewise.
11282         * config/libbid/bid128_scalb.c: Likewise.
11283         * config/libbid/bid128_sqrt.c: Likewise.
11284         * config/libbid/bid128_string.c: Likewise.
11285         * config/libbid/bid128_to_int16.c: Likewise.
11286         * config/libbid/bid128_to_int32.c: Likewise.
11287         * config/libbid/bid128_to_int64.c: Likewise.
11288         * config/libbid/bid128_to_int8.c: Likewise.
11289         * config/libbid/bid128_to_uint16.c: Likewise.
11290         * config/libbid/bid128_to_uint32.c: Likewise.
11291         * config/libbid/bid128_to_uint64.c: Likewise.
11292         * config/libbid/bid128_to_uint8.c: Likewise.
11293         * config/libbid/bid32_to_bid128.c: Likewise.
11294         * config/libbid/bid32_to_bid64.c: Likewise.
11295         * config/libbid/bid64_add.c: Likewise.
11296         * config/libbid/bid64_compare.c: Likewise.
11297         * config/libbid/bid64_div.c: Likewise.
11298         * config/libbid/bid64_fma.c: Likewise.
11299         * config/libbid/bid64_logb.c: Likewise.
11300         * config/libbid/bid64_minmax.c: Likewise.
11301         * config/libbid/bid64_mul.c: Likewise.
11302         * config/libbid/bid64_next.c: Likewise.
11303         * config/libbid/bid64_noncomp.c: Likewise.
11304         * config/libbid/bid64_quantize.c: Likewise.
11305         * config/libbid/bid64_rem.c: Likewise.
11306         * config/libbid/bid64_round_integral.c: Likewise.
11307         * config/libbid/bid64_scalb.c: Likewise.
11308         * config/libbid/bid64_sqrt.c: Likewise.
11309         * config/libbid/bid64_string.c: Likewise.
11310         * config/libbid/bid64_to_bid128.c: Likewise.
11311         * config/libbid/bid64_to_int16.c: Likewise.
11312         * config/libbid/bid64_to_int32.c: Likewise.
11313         * config/libbid/bid64_to_int64.c: Likewise.
11314         * config/libbid/bid64_to_int8.c: Likewise.
11315         * config/libbid/bid64_to_uint16.c: Likewise.
11316         * config/libbid/bid64_to_uint32.c: Likewise.
11317         * config/libbid/bid64_to_uint64.c: Likewise.
11318         * config/libbid/bid64_to_uint8.c: Likewise.
11319         * config/libbid/bid_b2d.h: Likewise.
11320         * config/libbid/bid_binarydecimal.c: Likewise.
11321         * config/libbid/bid_conf.h: Likewise.
11322         * config/libbid/bid_convert_data.c: Likewise.
11323         * config/libbid/bid_decimal_data.c: Likewise.
11324         * config/libbid/bid_decimal_globals.c: Likewise.
11325         * config/libbid/bid_div_macros.h: Likewise.
11326         * config/libbid/bid_dpd.c: Likewise.
11327         * config/libbid/bid_flag_operations.c: Likewise.
11328         * config/libbid/bid_from_int.c: Likewise.
11329         * config/libbid/bid_functions.h: Likewise.
11330         * config/libbid/bid_gcc_intrinsics.h: Likewise.
11331         * config/libbid/bid_inline_add.h: Likewise.
11332         * config/libbid/bid_internal.h: Likewise.
11333         * config/libbid/bid_round.c: Likewise.
11334         * config/libbid/bid_sqrt_macros.h: Likewise.
11336 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
11338         * Makefile.in: Change copyright header to refer to version
11339         3 of the GNU General Public License and to point readers at the
11340         COPYING3 file and the FSF's license web page.
11341         * config.host: Likewise.
11343 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
11345         * config.host: Reorder and merge to match config.gcc change.
11347 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
11349         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11351 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
11353         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11354         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11355         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11356         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11358 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
11360         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11361         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11363 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
11365         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11366         ia64/t-softfp-compat to tmake_file.
11368         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11370         * config/ia64/__divxf3.asm: New.
11371         * config/ia64/_fixtfdi.asm: Likewise.
11372         * config/ia64/_fixunstfdi.asm: Likewise.
11373         * config/ia64/_floatditf.asm: Likewise.
11374         * config/ia64/t-fprules-softfp: Likewise.
11375         * config/ia64/t-softfp-compat: Likewise.
11376         * config/ia64/tf-signs.c: Likewise.
11378 2009-01-18  Ben Elliston  <bje@au.ibm.com>
11380         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11382 2009-01-16  Ben Elliston  <bje@au.ibm.com>
11384         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11385         to tmake_file.
11387 2009-01-13  Ben Elliston  <bje@au.ibm.com>
11389         * config/t-softfp: New file.
11390         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11391         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11393 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
11395         * config.host: Add m32r*-*-rtems*.
11397 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
11399         * config.host: Add m32c*-*-rtems*.
11401 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11403         PR bootstrap/33100
11404         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11405         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11406         * configure: Regenerate.
11407         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11408         tmake_file here from gcc/config.gcc.
11409         Move extra_parts here from gcc/config.gcc.
11410         * config/i386/t-sol2: Move here from gcc/config/i386.
11411         Use gcc_srcdir instead of srcdir.
11413 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
11415         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11416         case.
11418 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
11420         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11422 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
11424         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11426 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
11428         Add picoChip port.
11429         * config.host: Add picochip-*-*.
11431 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
11433         * config.host: Match more processor names for Xtensa.
11435 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
11437         * config/i386/64/t-softfp-compat: Update comments.
11439 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11441         * config/i386/64/_divtc3-compat.c: Moved to ...
11442         * config/i386/64/_divtc3.c: Here.
11444         * config/i386/64/_multc3-compat.c: Moved to ...
11445         * config/i386/64/_multc3.c: Here.
11447         * config/i386/64/_powitf2-compat.c: Moved to ...
11448         * config/i386/64/_powitf2.c: Here.
11450         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11451         .c suffix instead of -compat.c.
11453 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
11455         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11456         (_FP_MUL_MEAT_D): Ditto.
11457         (_FP_DIV_MEAT_S): Ditto.
11458         (_FP_DIV_MEAT_D): Ditto.
11460 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
11462         * Makefile.in: Add support for __sync_* libgcc functions.
11464 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
11466         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11468 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11470         PR boostrap/36702
11471         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11472         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
11474         * config/i386/64/t-fprules-softfp: Moved to ...
11475         * config/i386/64/t-softfp-compat: This.  New.
11477 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
11479         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11480         Initialize f with 0.0.
11482 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11484         PR target/36669
11485         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11487         * config/i386/64/_divtc3-compat.c: New.
11488         * config/i386/64/_multc3-compat.c: Likewise.
11489         * config/i386/64/_powitf2-compat.c: Likewise.
11490         * config/i386/64/eqtf2.c: Likewise.
11491         * config/i386/64/getf2.c: Likewise.
11492         * config/i386/64/letf2.c: Likewise.
11493         * config/i386/64/t-fprules-softfp: Likewise.
11495 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11497         * config.host: Add i386/${host_address}/t-fprules-softfp to
11498         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11499         i[34567]86-*-linux*, x86_64-*-linux*.
11501         * configure.ac: Set host_address to 64 or 32 for x86.
11502         * configure: Regenerated.
11504         * Makefile.in (config.status): Also depend on
11505         $(srcdir)/config.host.
11507         * config/i386/32/t-fprules-softfp: New.
11508         * config/i386/32/tf-signs.c: Likewise.
11510         * config/i386/64/sfp-machine.h: New. Moved from gcc.
11512 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11513             Uros Bizjak  <ubizjak@gmail.com>
11515         * config/i386/32/sfp-machine.h: New.
11517 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
11519         * config/rs6000/t-ppccomm: Remove rules that conflict with
11520         auto-generated rules.
11522 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11524         * configure.ac: sinclude override.m4.
11525         * configure: Regenerate.
11527 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
11529         * configure: Regenerate.
11531 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
11533         * Makefile.in (DECNUMINC): Remove
11534         -I$(MULTIBUILDTOP)../../libdecnumber.
11535         * gstdint.h: New.
11537 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
11539         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11540         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11541         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11542         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11543         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11544         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11545         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11546         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11547         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11548         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11549         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11550         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11551         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11552         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11554 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
11556         * config.host (sh2[lbe]*-*-linux*): Allow target.
11558 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
11560         * config/rs6000/t-ppccomm: Add build rules for new files.
11561         (LIB2ADD_ST): New variable.
11563 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
11565         PR target/34210
11566         PR target/35508
11567         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11568         * config/t-avr: New file. Build 16bit libgcc functions.
11570 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
11572         PR target/35401
11573         * config/t-slibgcc-darwin: Make install-leaf dependent on
11574         install-darwin-libgcc-stubs instead of install.
11576 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
11578         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11579         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11580         sh-*-rtemscoff*): Remove cases.
11582 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
11584         * Makefile.in (all): Use install-leaf rather than install.
11585         (install): Split most of the rule into...
11586         (install-leaf): ...this new one.
11588 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
11589             Paolo Bonzini  <bonzini@gnu.org>
11591         PR target/30572
11592         * Makefile.in: Use @shlib_slibdir@ substitution to get
11593         correct install name on darwin.
11594         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11596 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
11598         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11599         cris-*-elf and cris-*-none.
11600         (crisv32-*-linux*): Similar, as cris-*-linux*.
11602 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
11604         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11606 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
11608         PR regression/33926
11609         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11610         * configure: Regenerated.
11612 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
11614         * Makefile.in (dfp-filenames): Replace decimal_globals,
11615         decimal_data, binarydecimal and convert_data with
11616         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11617         and bid_convert_data, respectively.
11619 2007-09-17  Chao-ying Fu  <fu@mips.com>
11620             Nigel Stephens  <nigel@mips.com>
11622         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11623         * Makefile.in (fixed_point): Define.
11624         Check if fixed_point is yes to build support functions.
11625         * configure.ac: Check for fixed_point support.
11626         * configure: Regenerated.
11627         * gen-fixed.sh: New file to generate lists of fixed-point labels,
11628         funcs, modes, from, to.
11630 2007-09-11  Janis Johnson  <janis187@us.ibm.com
11632         * Makefile.in (dfp-filenames): Add bid128_noncomp.
11634 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
11636         * Makefile.in (dfp-filenames): Remove decUtility, add
11637         decDouble, decPacked, decQuad, decSingle.
11639 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
11641         * config.host : Add x86_64-elf target.
11643 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
11645         * configure.ac (set_have_cc_tls): Add a missing =.
11646         * configure: Regenerated.
11648 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
11650         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11651         and x86_64-*-linux*.
11653         * config/t-tls: New file.
11655         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11657         * configure.ac: Include ../config/enable.m4 and
11658         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
11659         supports TLS and substitute set_have_cc_tls.
11660         * configure: Regenerated.
11662 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
11664         * Makefile.in: Use libbid for DFP when BID is enabled.
11666 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
11668         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11669         extra_parts. Add config/i386/t-cygming to tmake_file.
11670         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11672 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
11673             Danny Smith  <dannysmith@users.sourceforge.net>
11675         PR target/29498
11676         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11677         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
11678         * config/i386/t-crtfm: Compile crtfastmath.o with
11679         -minline-all-stringops.
11681 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
11683         * config.host (sparc-wrs-vxworks): New target.
11685 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
11687         * config.host: Recognize fido.
11689 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
11691         * configure: Check host, not target, for decimal float support.
11693 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
11695         * config/i386/t-crtpc: New file.
11696         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11697         (x86_64-*-linux*): Ditto.
11699 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
11701         * config.host (x86_64-*-mingw*): New target.
11703 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
11704             H.J. Lu  <hongjiu.lu@intel.com>
11706         * Makefile.in (enable_decimal_float): New.
11707         (DECNUMINC): Add
11708         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11709         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11710         (decbits-filenames): This.
11711         (decbits-objects): New.
11712         (libgcc-objects): Add $(decbits-objects).
11714         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11715         Substitute enable_decimal_float.
11716         * configure: Regenerated.
11718 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
11720         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11722 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
11724         * Makefile.in (install-info): New dummy target.
11726 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
11728         * config.host (bfin*-linux-uclibc*): Set extra_parts.
11730 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
11732         * Makefile.in: Add install-html and install-pdf dummy
11733         targets.
11735 2007-02-05  Roger Sayle  <roger@eyesopen.com>
11736             Daniel Jacobowitz  <dan@codesourcery.com>
11738         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11739         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11740         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11742 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
11744         * Makefile.in (dec-filenames): Add decExcept.
11746 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
11748         PR bootstrap/30469
11749         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11750         -fprofile-use.
11752 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
11754         * configure.ac: Add --enable-version-specific-runtime-libs.
11755         Correct $slibdir default.
11756         * configure: Regenerated.
11758 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
11760         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11762 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
11764         PR target/30519
11765         * config.host (alpha*-*-linux*): Set extra_parts.
11767 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
11769         * config/sh/t-linux: New.
11770         * config.host (sh*-*-linux*): Set tmake_file.
11772 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
11774         * Makefile.in (install): Handle multilibs.
11776 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
11778         * Makefile.in: Added .PHONY entry for documentation targets.
11780 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
11782         * Makefile.in: Add empty info, html, dvi, pdf targets.
11784 2007-01-04  Mike Stump  <mrs@apple.com>
11786         * Makefile.in (MAKEINFO): Remove.
11787         (PERL): Likewise.
11789 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
11791         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11792         * configure: Regenerate.
11793         * Makefile.in (host_subdir): Substitute it.
11794         (gcc_objdir): Use it.
11796 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11798         * config.host (ia64*-*-linux*): Set tmake_file.
11800 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11802         * Makefile.in (version): Define.
11804 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11805             Paolo Bonzini  <bonzini@gnu.org>
11807         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11808         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11809         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11810         config/sparc/t-crtfm, config/t-slibgcc-darwin,
11811         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11812         shared-object.mk, siditi-object.mk, static-object.mk: New files.
11813         * configure: Generated.
11815 Copyright (C) 2007-2021 Free Software Foundation, Inc.
11817 Copying and distribution of this file, with or without modification,
11818 are permitted in any medium without royalty provided the copyright
11819 notice and this notice are preserved.